[PATCH] arm64: dts: meson: shorten audio card names for alsa compatibility

2020-12-31 Thread Christian Hewitt
This patch shortens all audio card model names by dropping the SoC prefix (for conformity) and rewording those that are still longer than alsa's 15 character name limit [0] to avoid userspace config issues. [0]

Re: Generate the config file for kernel compilation non-interactively in script.

2020-12-31 Thread Randy Dunlap
On 12/31/20 8:51 PM, Hongyi Zhao wrote: > Hi, > > I want to build the realtime Linux for ROS 2 according to the > guidelines here: > . > > For this purpose, I must enable the rt_preempt relative options in

[PATCH] platform/x86: ideapad-laptop: Add has_touchpad_switch

2020-12-31 Thread Jiaxun Yang
Newer ideapads (e.g.: Yoga 14s, 720S 14) comes with I2C HID Touchpad and do not use EC to switch touchpad. Reading VPCCMD_R_TOUCHPAD will return zero thus touchpad may be blocked. Writing VPCCMD_W_TOUCHPAD may cause a spurious key press. Add has_touchpad_switch to workaround these machines.

Re: [PATCH] openrisc: restart: Call common handlers before hanging

2020-12-31 Thread Stafford Horne
On Sun, Dec 27, 2020 at 07:44:46PM +1030, Joel Stanley wrote: > Currently openrisc will print a message and then hang in an infinite > loop when rebooting. > > This patch adopts some code from ARM, which calls the common restart > infrastructure and hangs after a small delay if the restart infra

[PATCH v2 2/2] scsi: ufs: Protect PM ops and err_handler from user access through sysfs

2020-12-31 Thread Can Guo
User layer may access sysfs nodes when system PM ops or error handling is running, which can cause various problems. Rename eh_sem to host_sem and use it to protect PM ops and error handling from user layer intervene. Signed-off-by: Can Guo --- drivers/scsi/ufs/ufs-sysfs.c | 104

[PATCH v2 1/2] scsi: ufs: Fix a possible NULL pointer issue

2020-12-31 Thread Can Guo
During system resume/suspend, hba could be NULL. In this case, do not touch eh_sem. Fixes: 88a92d6ae4fe ("scsi: ufs: Serialize eh_work with system PM events and async scan") Signed-off-by: Can Guo --- drivers/scsi/ufs/ufshcd.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-)

Generate the config file for kernel compilation non-interactively in script.

2020-12-31 Thread Hongyi Zhao
Hi, I want to build the realtime Linux for ROS 2 according to the guidelines here: . For this purpose, I must enable the rt_preempt relative options in the kernel withe the following method interactively: $

[PATCH v2] fs/dax: include to fix build error on ARC

2020-12-31 Thread Randy Dunlap
fs/dax.c uses copy_user_page() but ARC does not provide that interface, resulting in a build error. Provide copy_user_page() in (beside copy_page()) and add to fs/dax.c to fix the build error. ../fs/dax.c: In function 'copy_cow_page_dax': ../fs/dax.c:702:2: error: implicit declaration of

[PATCH RESEND] ia64: remove duplicate entries in generic_defconfig

2020-12-31 Thread Randy Dunlap
Fix ia64 generic_defconfig duplicate entries, as warned by: + arch/ia64/configs/generic_defconfig: warning: override: reassigning to symbol ATA: => 58 + arch/ia64/configs/generic_defconfig: warning: override: reassigning to symbol ATA_PIIX: => 59 These 2 symbols still have the same value

[PATCH v2] Documentation/admin-guide: kernel-parameters: hyphenate comma-separated

2020-12-31 Thread Randy Dunlap
Hyphenate "comma separated" when it is used as a compound adjective. hyphenated. Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org --- v2: rebase & resend Documentation/admin-guide/kernel-parameters.txt | 12 ++-- 1 file changed, 6 insertions(+), 6

[PATCH] [v2]net:ppp: remove disc_data_lock in ppp line discipline

2020-12-31 Thread Gao Yan
In tty layer, it provides tty->ldisc_sem to protect all tty_ldisc_ops including ppp_sync_ldisc. So I think tty->ldisc_sem can also protect tty->disc_data, and the disc_data_lock is not necessary. Signed-off-by: Gao Yan --- drivers/net/ppp/ppp_async.c | 11 ++-

Re: [PATCH RFC] KVM: arm64: vgic: Decouple the check of the EnableLPIs bit from the ITS LPI translation

2020-12-31 Thread Shenming Lu
On 2020/12/31 20:22, Marc Zyngier wrote: > On 2020-12-31 11:58, Shenming Lu wrote: >> On 2020/12/31 16:57, Marc Zyngier wrote: >>> Hi Shemming, >>> >>> On 2020-12-31 06:28, Shenming Lu wrote: When the EnableLPIs bit is set to 0, any ITS LPI requests in the Redistributor would be ignored.

[PATCH] mm: memcg: add swapcache stat for memcg v2

2020-12-31 Thread Shakeel Butt
This patch adds swapcache stat for the cgroup v2. The swapcache represents the memory that is accounted against both the memory and the swap limit of the cgroup. The main motivation behind exposing the swapcache stat is for enabling users to gracefully migrate from cgroup v1's memsw counter to

Re: checkpatch.pl: Bogus case of DT_SPLIT_BINDING_PATCH

2020-12-31 Thread Joe Perches
On Thu, 2020-12-31 at 23:04 +0100, Jonathan Neuschäfer wrote: > Hi, > > I've encountered a case where the DT_SPLIT_BINDING_PATCH warning was > emitted even though I didn't change anything outside of Documentation/ > devicetree/bindings. I just converted a binding from plain text to YAML. Rob?

Re: [PATCH] net: remove disc_data_lock in ppp line discipline

2020-12-31 Thread Xie He
> In tty layer, it use tty->ldisc_sem to proect tty_ldisc_ops. > So I think tty->ldisc_sem can also protect tty->disc_data; It might help by CC'ing TTY people, so that we could get this reviewed by people who are familiar with TTY code. Greg Kroah-Hartman (supporter:TTY LAYER) Jiri Slaby

Re: [PATCH v5 5/6] hwmon: ahc1ec0-hwmon: Add sub-device hwmon for Advantech embedded controller

2020-12-31 Thread Guenter Roeck
On Thu, Dec 31, 2020 at 08:39:47PM +0800, Campion Kang wrote: > This is one of sub-device driver for Advantech embedded controller > AHC1EC0. This driver provides sysfs ABI for Advantech related > applications to monitor the system status. > > Signed-off-by: Campion Kang > --- >

Re: [RFC][PATCH] afs: Work around strnlen() oops with CONFIG_FORTIFIED_SOURCE=y

2020-12-31 Thread Daniel Axtens
Hi David, > CONFIG_FORTIFIED_SOURCE=y now causes an oops in strnlen() from afs (see > attached patch for an explanation). Is replacing the use with memchr() the > right approach? Or should I be calling __real_strnlen() or whatever it's > called? You certainly shouldn't be calling

WARNING: suspicious RCU usage in xt_obj_to_user

2020-12-31 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:f838f8d2 mfd: ab8500-debugfs: Remove extraneous seq_putc git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=17074c4750 kernel config: https://syzkaller.appspot.com/x/.config?x=7a43a64bad3fdb39

Re: [PATCH] [sh] fix trivial misannotations

2020-12-31 Thread John Paul Adrian Glaubitz
On 1/1/21 12:23 AM, Al Viro wrote: > Trivial misannotations in > * get_user() (__gu_addr is a userland pointer there) > * ip_fast_csum() (sum is __wsum, not unsigned int) > * csum_and_copy_to_user() (destination is void *, not const void * - mea > culpa) > * __clear_user() (to is a userland

fs/cifs/inode.c:2882:1: warning: stack frame size of 2096 bytes in function 'cifs_setattr'

2020-12-31 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f6e1ea19649216156576aeafa784e3b4cee45549 commit: c6cc4c5a72505a0ecefc9b413f16bec512f38078 cifs: handle -EINTR in cifs_setattr date: 3 months ago config: powerpc-randconfig-r036-20210101 (attached as

Re: [PATCH v5 2/6] dt: bindings: add mt7621-clk device tree binding documentation

2020-12-31 Thread Sergio Paracuellos
Hi Rob, Thanks for the review. On Thu, Dec 31, 2020 at 11:38 PM Rob Herring wrote: > > On Sun, Dec 20, 2020 at 10:37:20AM +0100, Sergio Paracuellos wrote: > > Adds device tree binding documentation for clocks in the > > MT7621 SOC. > > > > Signed-off-by: Sergio Paracuellos > > --- > >

[PATCH] [sh] fix trivial misannotations

2020-12-31 Thread Al Viro
Trivial misannotations in * get_user() (__gu_addr is a userland pointer there) * ip_fast_csum() (sum is __wsum, not unsigned int) * csum_and_copy_to_user() (destination is void *, not const void * - mea culpa) * __clear_user() (to is a userland pointer) * several places in

net/wireless/pmsr.c:164:12: warning: stack frame size of 2432 bytes in function 'pmsr_parse_peer'

2020-12-31 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f6e1ea19649216156576aeafa784e3b4cee45549 commit: 44f3625bc61653ea3bde9960298faf2f5518fda5 netlink: export policy in extended ACK date: 3 months ago config: powerpc-randconfig-r036-20210101 (attached as

Re: [GIT PULL] xfs: new code for 5.11

2020-12-31 Thread Darrick J. Wong
On Tue, Dec 29, 2020 at 10:49:55AM +0300, Dmitrii Tcvetkov wrote: > >Please pull the following branch containing all the new xfs code for > >5.11. In this release we add the ability to set a 'needsrepair' flag > >indicating that we /know/ the filesystem requires xfs_repair, but other > >than

[tip:x86/microcode] BUILD SUCCESS c769dcd423785703f17ca0a99925a7f9d84b3cbc

2020-12-31 Thread kernel test robot
allnoconfig i386 randconfig-a016-20201231 i386 randconfig-a015-20201231 i386 randconfig-a014-20201231 i386 randconfig-a012-20201231 i386 randconfig-a011-20201231 i386 randconfig-a013-20201231

Re: [PATCH] atomic: remove further references to atomic_ops

2020-12-31 Thread Jonathan Corbet
On Sun, 20 Dec 2020 07:09:27 +0100 Lukas Bulwahn wrote: > Commit f0400a77ebdc ("atomic: Delete obsolete documentation") removed > ./Documentation/core-api/atomic_ops.rst, but missed to remove further > references to that file. > > Hence, make htmldocs warns: > >

Re: [PATCH 2/4] mfd: qca639x: add support for QCA639x powerup sequence

2020-12-31 Thread Rob Herring
On Mon, Dec 21, 2020 at 05:08:44PM +0300, Dmitry Baryshkov wrote: > Hello, > > On Mon, 21 Dec 2020 at 12:02, Lee Jones wrote: > > > > On Sun, 20 Dec 2020, Dmitry Baryshkov wrote: > > > > > Qualcomm QCA639x is a family of WiFi + Bluetooth SoCs, with BT part > > > being controlled through the UART

Re: [PATCH 1/4] dt-bindings: mfd: qcom,qca639x: add binding for QCA639x defvice

2020-12-31 Thread Rob Herring
On Sun, Dec 20, 2020 at 07:58:42PM +0300, Dmitry Baryshkov wrote: > Qualcomm QCA639x is a family of WiFi + Bluetooth SoCs, with BT part > being controlled through the UART and WiFi being present on PCIe bus. > Both blocks share common power sources. Add binding to describe power > sequencing

Re: [RFC PATCH] Documentation: doc-guide: fixes to sphinx.rst

2020-12-31 Thread Jonathan Corbet
On Mon, 28 Dec 2020 15:12:12 -0800 Randy Dunlap wrote: > Various fixes to sphinx.rst: > > - eliminate a double-space between 2 words > - grammar/wording > - punctuation > - call rows in a table 'rows' instead of 'columns' (or does Sphinx > call everything a column?) > - It seems that

Re: [PATCH] docs/mm: concepts.rst: Correct the threshold to low watermark

2020-12-31 Thread Jonathan Corbet
On Sun, 27 Dec 2020 15:15:19 +0800 winnd...@163.com wrote: > It should be "low watermark" where we wake up kswapd daemon. > > Signed-off-by: Liao Pingfang > --- > Documentation/admin-guide/mm/concepts.rst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [PATCH] Documentation: admin: early_param()s are also listed in kernel-parameters

2020-12-31 Thread Jonathan Corbet
On Sat, 26 Dec 2020 09:44:33 -0800 Randy Dunlap wrote: > Add info that "early_param()" kernel boot parameters are also listed > in kernel-parameters.txt. > > Signed-off-by: Randy Dunlap > Cc: Jonathan Corbet > Cc: linux-...@vger.kernel.org > --- >

Re: [PATCH v2] docs: Fix reST markup when linking to sections

2020-12-31 Thread Jonathan Corbet
On Mon, 28 Dec 2020 14:46:07 + Nícolas F. R. A. Prado wrote: > During the process of converting the documentation to reST, some links > were converted using the following wrong syntax (and sometimes using %20 > instead of spaces): > >`Display text <#section-name-in-html>`__ > > This

Re: [PATCH v5 2/6] dt: bindings: add mt7621-clk device tree binding documentation

2020-12-31 Thread Rob Herring
On Sun, Dec 20, 2020 at 10:37:20AM +0100, Sergio Paracuellos wrote: > Adds device tree binding documentation for clocks in the > MT7621 SOC. > > Signed-off-by: Sergio Paracuellos > --- > .../bindings/clock/mediatek,mt7621-clk.yaml | 52 +++ > 1 file changed, 52 insertions(+) >

Re: [PATCH v13 2/6] powerpc: Move arch independent ima kexec functions to drivers/of/kexec.c

2020-12-31 Thread Rob Herring
On Sat, Dec 19, 2020 at 09:57:09AM -0800, Lakshmi Ramasubramanian wrote: > The functions defined in "arch/powerpc/kexec/ima.c" handle setting up > and freeing the resources required to carry over the IMA measurement > list from the current kernel to the next kernel across kexec system call. >

Re: [RFC PATCH v1 1/4] media: dt-bindings: rockchip-rga: add more rga compatible properties

2020-12-31 Thread Rob Herring
On Sat, 19 Dec 2020 12:26:50 +0100, Johan Jonker wrote: > Add more rga compatible properties. > > "rockchip,px30-rga", "rockchip,rk3288-rga" > "rockchip,rk3328-rga", "rockchip,rk3288-rga" > "rockchip,rk3368-rga", "rockchip,rk3288-rga" > > make ARCH=arm64 dt_binding_check >

Gespendet

2020-12-31 Thread Mr. Landolt
850.000,00 Euro wurden Ihnen gerade gespendet.

checkpatch.pl: Bogus case of DT_SPLIT_BINDING_PATCH

2020-12-31 Thread Jonathan Neuschäfer
Hi, I've encountered a case where the DT_SPLIT_BINDING_PATCH warning was emitted even though I didn't change anything outside of Documentation/ devicetree/bindings. I just converted a binding from plain text to YAML. Here's a transcript of checkpatch (from Linux 5.11-rc1)'s output: $

Re: [PATCH] xfs: Wake CIL push waiters more reliably

2020-12-31 Thread Dave Chinner
On Thu, Dec 31, 2020 at 12:48:56PM +0100, Donald Buczek wrote: > On 30.12.20 23:16, Dave Chinner wrote: > > On Wed, Dec 30, 2020 at 12:56:27AM +0100, Donald Buczek wrote: > > > Threads, which committed items to the CIL, wait in the > > > xc_push_wait waitqueue when used_space in the push context >

drivers/media/test-drivers/vidtv/vidtv_mux.c:379:13: warning: stack frame size of 2624 bytes in function 'vidtv_mux_tick'

2020-12-31 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f6e1ea19649216156576aeafa784e3b4cee45549 commit: f90cf6079bf67988f8b1ad1ade70fc89d0080905 media: vidtv: add a bridge driver date: 4 months ago config: powerpc-randconfig-r036-20210101 (attached as

[PATCH] percpu: fix clang modpost warning in pcpu_build_alloc_info()

2020-12-31 Thread Dennis Zhou
This is an unusual situation so I thought it best to explain it in a separate patch. "percpu: reduce the number of cpu distance comparisons" introduces a dependency on cpumask helper functions in __init code. This code references a struct cpumask annotated __initdata. When the function is inlined

Re: [PATCH] of: property: Add device link support for interrupts

2020-12-31 Thread Rob Herring
On Mon, Dec 21, 2020 at 09:30:45AM +, Marc Zyngier wrote: > On 2020-12-18 21:07, Saravana Kannan wrote: > > Add support for creating device links out of interrupts property. > > > > Cc: Marc Zyngier > > Cc: Kevin Hilman > > Signed-off-by: Saravana Kannan > > --- > > Rob/Greg, > > > > This

UBSAN: shift-out-of-bounds in gred_change

2020-12-31 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:3db1a3fa Merge tag 'staging-5.11-rc1' of git://git.kernel... git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=155708db50 kernel config: https://syzkaller.appspot.com/x/.config?x=2ae878fbf640b72b

Re: memory leak in zr364xx_probe

2020-12-31 Thread syzbot
Hello, syzbot has tested the proposed patch but the reproducer is still triggering an issue: BUG: unable to handle kernel NULL pointer dereference in __videobuf_free zr364xx 4-1:0.0: model 06d6:003b detected usb 4-1: 320x240 mode selected zr364xx: start read pipe failed BUG: kernel NULL pointer

Re: mmotm 2020-12-31-11-52 uploaded (mm/cma.c)

2020-12-31 Thread Randy Dunlap
On 12/31/20 11:53 AM, a...@linux-foundation.org wrote: > The mm-of-the-moment snapshot 2020-12-31-11-52 has been uploaded to > >https://www.ozlabs.org/~akpm/mmotm/ > > mmotm-readme.txt says > > README for mm-of-the-moment: > > https://www.ozlabs.org/~akpm/mmotm/ > > This is a snapshot of

Re: memory leak in zr364xx_probe

2020-12-31 Thread Ezequiel Garcia
Let's see if this works: #syz test: https://gitlab.collabora.com/linux/0day.git a1714d224e516b579d09cc1b4c3d85042e42f14c On Wed, 23 Dec 2020 at 12:27, syzbot wrote: > > Hello, > > syzbot found the following issue on: > > HEAD commit:3644e2d2 mm/filemap: fix infinite loop in

Re: power-off delay/hang due to commit 6d25be57 (mainline)

2020-12-31 Thread Rafael J. Wysocki
On Wednesday, December 2, 2020 8:13:38 PM CET Rafael J. Wysocki wrote: > On Wed, Dec 2, 2020 at 7:31 PM Rafael J. Wysocki wrote: > > > > On Wed, Dec 2, 2020 at 7:03 PM Sebastian Andrzej Siewior > > wrote: > > > > > > On 2020-10-26 18:20:59 [+0100], To Rafael J. Wysocki wrote: > > > > > > > >

Re: [PATCH v2 1/2] dt-bindings: pwm: allwinner: Add V3s compatible description

2020-12-31 Thread Rob Herring
On Fri, 18 Dec 2020 21:54:35 +0100, Paul Kocialkowski wrote: > Introduce bindings description for the V3s PWM, which is > register-compatible with the A20 PWM. > > Signed-off-by: Paul Kocialkowski > --- > .../devicetree/bindings/pwm/allwinner,sun4i-a10-pwm.yaml | 3 +++ > 1 file changed,

[PATCH] ARM: dts: da850: add MMD SDIO interrupts

2020-12-31 Thread David Lechner
This adds the MMC SDIO interrupts to the MMC nodes in the device tree for TI DA850/AM18XX/OMAP-L138. The missing interrupts were causing the following error message to be printed: davinci_mmc 1c4.mmc: IRQ index 1 not found Signed-off-by: David Lechner --- arch/arm/boot/dts/da850.dtsi

Re: [PATCH 5/8] dt-bindings: serial: stm32: update rts-gpios and cts-gpios

2020-12-31 Thread Rob Herring
On Fri, 18 Dec 2020 20:00:16 +0100, Erwan Le Ray wrote: > Update rts-gpios and cts-gpios: > - remove max-items as already defined in serial.yaml > - add a note describing rts-gpios and cts-gpios usage with stm32 > > Document the use of cts-gpios and rts-gpios for flow control in STM32 UART >

Re: [PATCH 1/5] dt-bindings: watchdog: renesas,wdt: add r8a779a0 (V3U) support

2020-12-31 Thread Rob Herring
On Fri, 18 Dec 2020 18:37:26 +0100, Wolfram Sang wrote: > Signed-off-by: Wolfram Sang > --- > > Please apply it to the watchdog-tree. > > Documentation/devicetree/bindings/watchdog/renesas,wdt.yaml | 1 + > 1 file changed, 1 insertion(+) > Acked-by: Rob Herring

Re: [PATCH] Revert "clk: imx: fix composite peripheral flags"

2020-12-31 Thread Fabio Estevam
Hi Martin, On Thu, Dec 31, 2020 at 11:22 AM Martin Kepplinger wrote: > > This reverts commit 936c383673b9e3007432f17140ac62de53d87db9. > > It breaks clock reparenting via devfreq on the imx8mq used in the > Librem 5 phone. When switching dram frequency (which worked before) > the system now

Re: [PATCH] ASoC: fsl: fix -Wmaybe-uninitialized warning

2020-12-31 Thread Nicolin Chen
On Wed, Dec 30, 2020 at 04:44:15PM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann > > Clang points out a code path that returns an undefined value > in an error case: > > sound/soc/fsl/imx-hdmi.c:165:6: error: variable 'ret' is used uninitialized > whenever 'if' condition is true

Re: [PATCH 4.19 287/346] crypto: ecdh - avoid unaligned accesses in ecdh_set_secret()

2020-12-31 Thread Pavel Machek
Hi! > ecdh_set_secret() casts a void* pointer to a const u64* in order to > feed it into ecc_is_key_valid(). This is not generally permitted by > the C standard, and leads to actual misalignment faults on ARMv6 > cores. In some cases, these are fixed up in software, but this still > leads to

mmotm 2020-12-31-11-52 uploaded

2020-12-31 Thread akpm
The mm-of-the-moment snapshot 2020-12-31-11-52 has been uploaded to https://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: https://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You

Re: [PATCH] cifs: style: replace one-element array with flexible-array

2020-12-31 Thread Steve French
merged into cifs-2.6.git for-next On Wed, Dec 30, 2020 at 12:37 AM YANG LI wrote: > > There is a regular need in the kernel to provide a way to declare > having a dynamically sized set of trailing elements in a structure. > Kernel code should always use "flexible array members"[1] for these >

Re: [PATCH v3 0/2] Kbuild: DWARF v5 support

2020-12-31 Thread Sedat Dilek
On Mon, Dec 28, 2020 at 4:15 PM Sedat Dilek wrote: > > On Sun, Dec 27, 2020 at 7:47 PM Sedat Dilek wrote: > > > > On Fri, Dec 4, 2020 at 2:13 AM 'Nick Desaulniers' via Clang Built > > Linux wrote: > > > > > > sigh...I ran a broken script to send the series which doesn't cc folks > > >

Re: [PATCH 3/3] dt-bindings: mxsfb: add compatible for i.MX6UL/i.MX6ULL

2020-12-31 Thread Rob Herring
On Fri, Dec 18, 2020 at 03:10:35PM +0100, Sébastien Szymanski wrote: > i.MX6UL/i.MX6ULL have eLCDIF controller, too. > > Signed-off-by: Sébastien Szymanski > --- > Documentation/devicetree/bindings/display/mxsfb.txt | 1 + > 1 file changed, 1 insertion(+) This will need to be rebased on this:

Re: [PATCH 1/2] Documentation: devicetree: Add new compatible string for eeprom microchip 93LC46B

2020-12-31 Thread Rob Herring
On Fri, Dec 18, 2020 at 07:38:10PM +0530, Aswath Govindraju wrote: > Add a new compatible string for eeprom microchip 93LC46B in eeprom-93xx46 > dt-binding file as it belongs to the 93xx46 family of devices. > > Signed-off-by: Aswath Govindraju > --- >

Re: [PATCH 1/8] dt-binding: watchdog: add more Rockchip compatibles to snps, dw-wdt.yaml

2020-12-31 Thread Rob Herring
On Fri, 18 Dec 2020 13:05:27 +0100, Johan Jonker wrote: > The watchdog compatible strings are suppose to be SoC orientated. > In the more recently added Rockchip SoC dtsi files only > the fallback string "snps,dw-wdt" is used, so add the following > compatible strings: > > "rockchip,px30-wdt",

Re: [PATCH 1/5] dt-bindings: remoteproc: Add PRU consumer bindings

2020-12-31 Thread Rob Herring
On Tue, Dec 22, 2020 at 8:57 AM Grzegorz Jaszczyk wrote: > > Hi Rob, > > On Fri, 18 Dec 2020 at 23:51, Rob Herring wrote: > > > > On Wed, Dec 16, 2020 at 9:55 AM Grzegorz Jaszczyk > > wrote: > > > > > > Hi Rob, > > > > > > On Mon, 14 Dec 2020 at 23:58, Rob Herring wrote: > > > > > > > > On

Re: [PATCH v2] dt-bindings: display: bridge: tc358768: Change maintainer information

2020-12-31 Thread Rob Herring
On Fri, 18 Dec 2020 10:35:22 +0200, Peter Ujfalusi wrote: > My employment with TI is coming to an end and I will not have access to > the board where this bridge is connected to and I will also loose access to > the manual of the chip. > > Add the missing copyright information, author and change

[PATCH] sound: Convert strlcpy to strscpy when return value is unused

2020-12-31 Thread Joe Perches
strlcpy is deprecated. see: Documentation/process/deprecated.rst Change the calls that do not use the strlcpy return value to the preferred strscpy. Done with cocci script: @@ expression e1, e2, e3; @@ - strlcpy( + strscpy( e1, e2, e3); This cocci script leaves the

Re: [PATCH v5 2/9] dt-bindings: spi: Add Tegra Quad SPI device tree binding

2020-12-31 Thread Rob Herring
On Mon, 21 Dec 2020 13:17:32 -0800, Sowjanya Komatineni wrote: > This patch adds YAML based device tree binding document for Tegra > Quad SPI driver. > > Signed-off-by: Sowjanya Komatineni > --- > .../bindings/spi/nvidia,tegra210-quad.yaml | 117 > + > 1 file

Re: [PATCH v2] PCI: dwc: Fix MSI not work after resume

2020-12-31 Thread Rob Herring
On Mon, Dec 28, 2020 at 8:36 PM Jisheng Zhang wrote: > > After we move dw_pcie_msi_init() into core -- dw_pcie_host_init(), the > MSI stops working after resume. Because dw_pcie_host_init() is only > called once during probe. To fix this issue, we move dw_pcie_msi_init() > to dw_pcie_setup_rc().

Re: C/C++ Code Reviewer Available

2020-12-31 Thread Theodore Ts'o
On Wed, Dec 30, 2020 at 11:45:58PM -0800, Robin Rowe wrote: > "Linux kernel's Kroah-Hartman: We're not struggling to get new coders, it's > code review that's the bottleneck", says article at The Register. > > Ok, I've used C++ for 20 years, taught C/C++ at two universities, and > developed

Re: [PATCH 4.19 267/346] ALSA: hda/ca0132 - Change Input Source enum strings.

2020-12-31 Thread Pavel Machek
Hi! > From: Connor McAdams > > commit 7079f785b50055a32b72eddcb7d9ba5688db24d0 upstream. > > Change the Input Source enumerated control's strings to make it play > nice with pulseaudio. > +++ b/sound/pci/hda/patch_ca0132.c > @@ -106,7 +106,7 @@ enum { > }; > > /* Strings for Input Source

Re: [PATCH 2/5] dt-bindings: Amlogic: add the documentation for the SECBUS2 registers

2020-12-31 Thread Rob Herring
On Wed, Dec 30, 2020 at 02:27:21AM +0100, Martin Blumenstingl wrote: > The Meson8/Meson8b/Meson8m2 SoCs have a register bank called SECBUS2 which > contains registers for various IP blocks such as pin-controller bits for > the BSD_EN and TEST_N GPIOs as well as some AO ARC core control bits. > The

Re: [PATCH v10 1/7] [v10,1/7]: dt-bindings: soc: mediatek: add mtk svs dt-bindings

2020-12-31 Thread Rob Herring
On Sun, Dec 27, 2020 at 06:54:43PM +0800, Roger Lu wrote: > Document the binding for enabling mtk svs on MediaTek SoC. > > Signed-off-by: Roger Lu > --- > .../bindings/soc/mediatek/mtk-svs.yaml| 75 +++ > 1 file changed, 75 insertions(+) > create mode 100644 >

Re: [PATCH 1/2] ASoC: SOF: Intel: hda: Modify existing helper to disable WAKEEN

2020-12-31 Thread Kai-Heng Feng
On Thu, Dec 31, 2020 at 6:52 PM Takashi Iwai wrote: > > On Tue, 29 Dec 2020 14:38:14 +0100, > Kai-Heng Feng wrote: > > > > Modify hda_codec_jack_wake_enable() to also support disable WAKEEN. > > This is a preparation for next patch. > > > > No functional change intended. > > Maybe it's better to

Re: [PATCH 2/2] ASoC: SOF: Intel: hda: Avoid checking jack on system suspend

2020-12-31 Thread Kai-Heng Feng
On Thu, Dec 31, 2020 at 6:55 PM Takashi Iwai wrote: > > On Tue, 29 Dec 2020 14:38:15 +0100, > Kai-Heng Feng wrote: > > > > System takes a very long time to suspend after commit 215a22ed31a1 > > ("ALSA: hda: Refactor codec PM to use direct-complete optimization"): > > [ 90.065964] PM: suspend

Re: [PATCH] i3c/master/mipi-i3c-hci: Fix position of __maybe_unused in i3c_hci_of_match

2020-12-31 Thread Alexandre Belloni
On Mon, 21 Dec 2020 19:59:31 -0700, Nathan Chancellor wrote: > Clang warns: > > ../drivers/i3c/master/mipi-i3c-hci/core.c:780:21: warning: attribute > declaration must precede definition [-Wignored-attributes] > static const struct __maybe_unused of_device_id i3c_hci_of_match[] = { >

[PATCH net] net: lapb: Decrease the refcount of "struct lapb_cb" in lapb_device_event

2020-12-31 Thread Xie He
In lapb_device_event, lapb_devtostruct is called to get a reference to an object of "struct lapb_cb". lapb_devtostruct increases the refcount of the object and returns a pointer to it. However, we didn't decrease the refcount after we finished using the pointer. This patch fixes this problem.

Re: [PATCH 1/4] net: sfp: add workaround for Realtek RTL8672 and RTL9601C chips

2020-12-31 Thread Andrew Lunn
> > Looking at sfp_module_info(), adding a check for i2c_block_size < 2 > > when determining what length to return. ethtool should do the right > > thing, know that the second page has not been returned to user space. > > But if we limit length of eeprom then userspace would not be able to >

Re: [PATCH v3 00/13] Add CMU/RMU/DMA/MMC/I2C support for Actions Semi

2020-12-31 Thread Manivannan Sadhasivam
On 31 December 2020 2:42:02 PM IST, Cristian Ciocaltea wrote: >On Thu, Dec 31, 2020 at 01:24:35PM +0530, Manivannan Sadhasivam wrote: >> On Tue, Dec 29, 2020 at 11:17:15PM +0200, Cristian Ciocaltea wrote: >> > Hi, >> > >> > This patchset brings a series of improvements for the Actions Semi

possible deadlock in io_timeout_fn (2)

2020-12-31 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:f6e1ea19 Merge tag 'ceph-for-5.11-rc2' of git://github.com.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=108227df50 kernel config: https://syzkaller.appspot.com/x/.config?x=725326c654c08da7

Re: [PATCH 1/4] net: sfp: add workaround for Realtek RTL8672 and RTL9601C chips

2020-12-31 Thread Pali Rohár
On Thursday 31 December 2020 16:30:33 Andrew Lunn wrote: > On Thu, Dec 31, 2020 at 01:14:10PM +0100, Pali Rohár wrote: > > On Wednesday 30 December 2020 19:09:58 Russell King - ARM Linux admin wrote: > > > On Wed, Dec 30, 2020 at 06:43:07PM +0100, Pali Rohár wrote: > > > > On Wednesday 30 December

[PATCH] dt-bindings: mips: lantiq: Document Lantiq Xway PMU bindings

2020-12-31 Thread Aleksander Jan Bajkowski
Document the Lantiq Xway SoC series Power Management Unit (PMU) bindings. Signed-off-by: Aleksander Jan Bajkowski --- .../bindings/mips/lantiq/lantiq,pmu.yaml | 32 +++ 1 file changed, 32 insertions(+) create mode 100644

Re: [RFC PATCH 1/2] EDAC/ghes: Add EDAC device for the CPU caches

2020-12-31 Thread Borislav Petkov
On Tue, Dec 08, 2020 at 05:29:58PM +, Shiju Jose wrote: > The corrected error count on the CPU caches required > reporting to the user-space for the predictive failure > analysis. For this purpose, add an EDAC device and device > blocks for the CPU caches found. > The cache's corrected error

SDHCI:drivers problem running on pynq

2020-12-31 Thread 徐天宇
When I run the RV_BOOT.bin, which is generated by riscv-pk with linux-5.9.4 as payload, on xilinx pynq-z2, the BBL met the problem below: mmc0: Timeout waiting for hardware cmd interrupt. mmc0: sdhci: SDHCI REGISTER DUMP === mmc0: sdhci: Sys addr: 0x | Version:

RE: [PATCH bpf-next] xsk: build skb by page

2020-12-31 Thread John Fastabend
Xuan Zhuo wrote: > This patch is used to construct skb based on page to save memory copy > overhead. > > Taking into account the problem of addr unaligned, and the > possibility of frame size greater than page in the future. > > Signed-off-by: Xuan Zhuo > --- > net/xdp/xsk.c | 68 >

[rcu:rcu/next] BUILD SUCCESS WITH WARNING 295c99e6b1466988ac66cd710411f11c610b0294

2020-12-31 Thread kernel test robot
randconfig-a003-20201231 i386 randconfig-a004-20201231 i386 randconfig-a002-20201231 i386 randconfig-a001-20201231 i386 randconfig-a005-20201231 i386 randconfig-a006-20201231 x86_64 randconfig-a015-20201231

Re: [PATCH 1/3] MIPS: Add vulnerabilities infrastructure

2020-12-31 Thread Jiaxun Yang
在 2020/12/31 23:38, WANG Xuerui 写道: Hi Jiaxun, Overall a nice step towards a more conformant arch/mips! Some nits below though. On 12/30/20 11:23 AM, Jiaxun Yang wrote: Add infrastructure to display CPU vulnerabilities. As most MIPS CPU vendors are dead today and we can't confirm

Re: [PATCH -tip v2] x86/kprobes: Do not decode opcode in resume_execution()

2020-12-31 Thread Borislav Petkov
On Fri, Dec 18, 2020 at 11:12:05PM +0900, Masami Hiramatsu wrote: > @@ -467,8 +489,8 @@ static int arch_copy_kprobe(struct kprobe *p) >*/ > len = prepare_boost(buf, p, ); > > - /* Check whether the instruction modifies Interrupt Flag or not */ > - p->ainsn.if_modifier =

Re: [PATCH 3/3] MIPS: cpu-probe: Vulnerabilities for Loongson cores

2020-12-31 Thread Jiaxun Yang
在 2020/12/31 23:43, WANG Xuerui 写道: Hi Jiaxun, On 12/30/20 11:23 AM, Jiaxun Yang wrote: Loongson64C is known to be vulnerable to meltdown according to PoC from Rui Wang . Loongson64G defended these side-channel attack by silicon. "Loongson64G mitigated it in hardware"? Signed-off-by:

[PATCH] can: rcar: Update help description for CAN_RCAR_CANFD config

2020-12-31 Thread Lad Prabhakar
The rcar_canfd driver supports R-Car Gen3 and RZ/G2 SoC's, update the description to reflect this. Signed-off-by: Lad Prabhakar --- drivers/net/can/rcar/Kconfig | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/can/rcar/Kconfig

[PATCH] can: rcar: Update help description for CAN_RCAR config

2020-12-31 Thread Lad Prabhakar
The rcar_can driver supports R-Car Gen{1,2,3} and RZ/G{1,2} SoC's, update the description to reflect this. Signed-off-by: Lad Prabhakar --- drivers/net/can/rcar/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/can/rcar/Kconfig

Re: [PATCH 1/2] dt-bindings: Convert Arm Mali Valhall GPU to DT schema

2020-12-31 Thread Rob Herring
On Thu, Dec 24, 2020 at 08:31:18PM +0800, Nick Fan wrote: > Convert the Arm Valhall GPU binding to DT schema format. Convert? There's no existing binding. > > Define a compatible string for the Mali Valhall GPU > for Mediatek's SoC platform. > > Signed-off-by: Nick Fan > --- >

Re: [PATCH 3/3] MIPS: cpu-probe: Vulnerabilities for Loongson cores

2020-12-31 Thread WANG Xuerui
Hi Jiaxun, On 12/30/20 11:23 AM, Jiaxun Yang wrote: Loongson64C is known to be vulnerable to meltdown according to PoC from Rui Wang . Loongson64G defended these side-channel attack by silicon. "Loongson64G mitigated it in hardware"? Signed-off-by: Jiaxun Yang ---

Re: [PATCH 1/3] dt-bindings: power: Introduce 'assigned-performance-states' property

2020-12-31 Thread Rob Herring
On Thu, Dec 24, 2020 at 04:42:08PM +0530, Roja Rani Yarubandi wrote: > While most devices within power-domains which support performance states, > scale the performance state dynamically, some devices might want to > set a static/default performance state while the device is active. > These

Re: [PATCH 1/3] MIPS: Add vulnerabilities infrastructure

2020-12-31 Thread WANG Xuerui
Hi Jiaxun, Overall a nice step towards a more conformant arch/mips! Some nits below though. On 12/30/20 11:23 AM, Jiaxun Yang wrote: Add infrastructure to display CPU vulnerabilities. As most MIPS CPU vendors are dead today and we can't confirm vulnerabilities states with them, we'll

Re: [PATCH v3 1/3] dt-bindings: regulator: document binding for MT6315 regulator

2020-12-31 Thread Rob Herring
On Wed, Dec 23, 2020 at 08:13:42PM +0800, Hsin-Hsiung Wang wrote: > Add device tree binding information for MT6315 regulator driver. > Example bindings for MT6315 are added. > > Signed-off-by: Hsin-Hsiung Wang > --- > .../bindings/regulator/mt6315-regulator.yaml | 71 +++ > 1

Re: [PATCH v5 2/4] dt-bindings: spmi: document binding for the Mediatek SPMI controller

2020-12-31 Thread Rob Herring
On Wed, 23 Dec 2020 10:44:27 +0800, Hsin-Hsiung Wang wrote: > This adds documentation for the SPMI controller found on Mediatek SoCs. > > Signed-off-by: Hsin-Hsiung Wang > --- > .../bindings/spmi/mtk,spmi-mtk-pmif.yaml | 74 +++ > 1 file changed, 74 insertions(+) > create

Re: [PATCH 1/4] net: sfp: add workaround for Realtek RTL8672 and RTL9601C chips

2020-12-31 Thread Pali Rohár
On Thursday 31 December 2020 16:09:25 Andrew Lunn wrote: > On Thu, Dec 31, 2020 at 01:14:10PM +0100, Pali Rohár wrote: > > On Wednesday 30 December 2020 19:09:58 Russell King - ARM Linux admin wrote: > > > On Wed, Dec 30, 2020 at 06:43:07PM +0100, Pali Rohár wrote: > > > > On Wednesday 30 December

[PATCH] gpio: Kconfig: Update help description for GPIO_RCAR

2020-12-31 Thread Lad Prabhakar
The gpio-rcar driver supports R-Car Gen{1,2,3} and RZ/G{1,2} SoC's, update the description to reflect this. Signed-off-by: Lad Prabhakar --- drivers/gpio/Kconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index

Re: [PATCH v5 1/4] dt-bindings: spmi: modify the constraint 'maxItems' to 'minItems'

2020-12-31 Thread Rob Herring
On Wed, Dec 23, 2020 at 10:44:26AM +0800, Hsin-Hsiung Wang wrote: > The constraint of 'maxItem: 1' might be larger than 1, so we modify it > to 'minItem: 0'. > > Signed-off-by: Hsin-Hsiung Wang > --- > Documentation/devicetree/bindings/spmi/spmi.yaml | 2 +- > 1 file changed, 1 insertion(+), 1

[PATCH] trace: Update trace_ignore_this_task() kernel-doc comment

2020-12-31 Thread Qiujun Huang
Update kernel-doc parameter after commit b3b1e6ededa4 ("ftrace: Create set_ftrace_notrace_pid to not trace tasks") added @filtered_no_pids. Signed-off-by: Qiujun Huang --- kernel/trace/trace.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel/trace/trace.c

Re: [PATCH 3/5] dt-bindings: remoteproc: Add the documentation for Meson AO ARC rproc

2020-12-31 Thread Rob Herring
On Wed, 30 Dec 2020 02:27:22 +0100, Martin Blumenstingl wrote: > Amlogic Meson6, Meson8, Meson8b and Meson8m2 SoCs embed an ARC EM4 > controller for always-on operations, typically used for managing system > suspend. > > Signed-off-by: Martin Blumenstingl > --- >

Re: [PATCH v5 3/6] dt-bindings: mfd: ahc1ec0.yaml: Add Advantech embedded controller - AHC1EC0

2020-12-31 Thread Rob Herring
On Thu, 31 Dec 2020 20:39:45 +0800, Campion Kang wrote: > Add DT binding schema for Advantech embedded controller AHC1EC0. > > Signed-off-by: Campion Kang > --- > .../devicetree/bindings/mfd/ahc1ec0.yaml | 69 +++ > 1 file changed, 69 insertions(+) > create mode 100644

Re: [PATCH v2 1/2] dt-bindings: timer: Add bindings for Intel Keem Bay SoC timer

2020-12-31 Thread Rob Herring
On Wed, 30 Dec 2020 14:25:26 +0800, vijayakannan.ayyathu...@intel.com wrote: > From: Vijayakannan Ayyathurai > > Add Device Tree bindings for the Timer IP, which used as clocksource and > clockevent device in the Intel Keem Bay SoC. > > Acked-by: Mark Gross > Acked-by: Andy Shevchenko >

Re: [PATCH 2/5] dt-bindings: Amlogic: add the documentation for the SECBUS2 registers

2020-12-31 Thread Rob Herring
On Wed, 30 Dec 2020 02:27:21 +0100, Martin Blumenstingl wrote: > The Meson8/Meson8b/Meson8m2 SoCs have a register bank called SECBUS2 which > contains registers for various IP blocks such as pin-controller bits for > the BSD_EN and TEST_N GPIOs as well as some AO ARC core control bits. > The

  1   2   3   >