Re: [Linux-stm32] [PATCH 5/8] ARM: dts: stm32: introduce stm32h7-pinctrl.dtsi to support stm32h75x

2021-03-11 Thread Ahmad Fatoum
Hello Dillon, On 11.03.21 13:23, dillon min wrote: > For stm32h7's new board support , I guess following the stm32f7/stm32f4's > style > is a reasonable way to do it, but add a little optimization。 > which means : > old structure > stm32h7-pinctrl.dtsi --> stm32h743-pinctrl.dtsi (referenced by >

Re: KMSAN: kernel-infoleak in compat_drm_wait_vblank

2021-03-11 Thread Daniel Vetter
On Wed, Mar 03, 2021 at 04:37:18PM +0100, Michel Dänzer wrote: > On 2021-02-22 10:15 a.m., syzbot wrote: > > Hello, > > > > syzbot found the following issue on: > > > > HEAD commit:29ad81a1 arch/x86: add missing include to sparsemem.h > > git tree: https://github.com/google/kmsan.git ma

Re: [PATCH] arm64: dts: ti: k3-am65-mcu: Add RTI watchdog entry

2021-03-11 Thread Nishanth Menon
ti@4061 { Jan, I was about to pick up the patches and was running through my sanity checks and the following caught my eye with dtbs_check (dtschema is at 2021.2.1) test against next-20210311 /workdir/arch/arm64/boot/dts/ti/k3-am654-base-board.dt.yaml: rti@4061: $nodename:0: 'rti@4061

Re: [PATCH 0/6] usbip fixes to crashes found by syzbot

2021-03-11 Thread Greg KH
On Thu, Mar 11, 2021 at 09:34:38PM +0900, Tetsuo Handa wrote: > On 2021/03/11 3:33, Greg KH wrote: > > On Sun, Mar 07, 2021 at 08:53:25PM -0700, Shuah Khan wrote: > >> This patch series fixes the following problems founds in syzbot > >> fuzzing. > > > > Thanks for these, all now queued up. > > I

Re: [External] Re: [PATCH v18 9/9] mm: hugetlb: optimize the code with the help of the compiler

2021-03-11 Thread Muchun Song
On Thu, Mar 11, 2021 at 8:16 PM Michal Hocko wrote: > > On Thu 11-03-21 18:00:09, Muchun Song wrote: > [...] > > Sorry. I am confused why you disagree with this change. > > It does not bring any disadvantages. > > Because it is adding a code which is not really necessary and which will > have to b

Re: [PATCH] lib/test_kmod: Fix a use after free in register_test_dev_kmod

2021-03-11 Thread Luis Chamberlain
On Thu, Mar 11, 2021 at 12:02:46AM -0800, Lv Yunlong wrote: > In register_test_dev_kmod, it calls free_test_dev_kmod() to free > test_dev. But free_test_dev_kmod() can't set the original pointer > test_dev to NULL, because the test_dev was passed by it's value > not reference. Did you actually get

Re: [PATCH v7 11/11] pwm: Add Raspberry Pi Firmware based PWM bus

2021-03-11 Thread Nicolas Saenz Julienne
Hi Uwe, thanks for taking the time to look into this. :) On Wed, 2021-03-10 at 12:50 +0100, Uwe Kleine-König wrote: > Hello Nicolas, > > On Mon, Jan 18, 2021 at 01:32:44PM +0100, Nicolas Saenz Julienne wrote: [...] > > + /* > > +* This sets the default duty cycle after resetting the board

Re: [PATCH] arm64: dts: ti: k3-am65-mcu: Add RTI watchdog entry

2021-03-11 Thread Jan Kiszka
ti,loczrama = <1>; >>> }; >>> }; >>> + >>> + mcu_rti1: rti@4061 { > > Jan, I was about to pick up the patches and was running through > my sanity checks and the following caught my eye with dtbs_check >

Re: [Linux-stm32] [PATCH 5/8] ARM: dts: stm32: introduce stm32h7-pinctrl.dtsi to support stm32h75x

2021-03-11 Thread dillon min
Hi Ahmad, Thanks for discussing. On Thu, Mar 11, 2021 at 8:55 PM Ahmad Fatoum wrote: > > Hello Dillon, > > On 11.03.21 13:23, dillon min wrote: > > For stm32h7's new board support , I guess following the stm32f7/stm32f4's > > style > > is a reasonable way to do it, but add a little optimization

[PATCH -next] mfd: Make symbol 'atc260x_i2c_of_match' static

2021-03-11 Thread 'Wei Yongjun
From: Wei Yongjun The sparse tool complains as follows: drivers/mfd/atc260x-i2c.c:45:27: warning: symbol 'atc260x_i2c_of_match' was not declared. Should it be static? This symbol is not used outside of atc260x-i2c.c, so this commit marks it static. Fixes: f7cb7fe34db9 ("mfd: Add MFD driver fo

[PATCH] gcov: fail build on gcov_info size mismatch

2021-03-11 Thread Peter Oberparleiter
gcov kernel profiling works by emulating parts of GCC's libgcov in the kernel, including a definition of struct gcov_info used by profiling code to handle coverage data. The original definition of this data type is not available outside of GCC's source tree, and when it changes with new GCC version

Re: [PATCH 04/44] vgacon: comment on vga_rolled_over

2021-03-11 Thread Daniel Vetter
On Tue, Mar 02, 2021 at 07:21:34AM +0100, Jiri Slaby wrote: > Long time ago, I figured out what this number is good for and documented > that locally. But never submitted, so do it now. > > Signed-off-by: Jiri Slaby > Cc: dri-de...@lists.freedesktop.org > Cc: linux-fb...@vger.kernel.org I think

Re: [PATCH 5.4 00/24] 5.4.105-rc1 review

2021-03-11 Thread Greg KH
On Wed, Mar 10, 2021 at 08:19:45PM -0800, Florian Fainelli wrote: > +Alex, > > On 3/10/2021 5:24 AM, gre...@linuxfoundation.org wrote: > > From: Greg Kroah-Hartman > > > > This is the start of the stable review cycle for the 5.4.105 release. > > There are 24 patches in this series, all will be p

Re: [PATCH v6 00/12] x86: major paravirt cleanup

2021-03-11 Thread Jürgen Groß
On 11.03.21 13:51, Borislav Petkov wrote: On Thu, Mar 11, 2021 at 01:50:26PM +0100, Borislav Petkov wrote: and move the cleanups patches 13 and 14 to the beginning of the set? Yeah, 14 needs ALTERNATIVE_TERNARY so I guess after patch 5, that is. I'm putting 13 at the begin of the series and

Re: [PATCH] drm/radeon: fix copy of uninitialized variable back to userspace

2021-03-11 Thread Daniel Vetter
On Wed, Mar 03, 2021 at 08:42:31AM +0100, Christian König wrote: > Am 03.03.21 um 01:27 schrieb Colin King: > > From: Colin Ian King > > > > Currently the ioctl command RADEON_INFO_SI_BACKEND_ENABLED_MASK can > > copy back uninitialised data in value_tmp that pointer *value points > > to. This ca

Re: [PATCH v3 2/4] mm: memcontrol: make page_memcg{_rcu} only applicable for non-kmem page

2021-03-11 Thread Johannes Weiner
On Tue, Mar 09, 2021 at 06:07:15PM +0800, Muchun Song wrote: > We want to reuse the obj_cgroup APIs to charge the kmem pages. > If we do that, we should store an object cgroup pointer to > page->memcg_data for the kmem pages. > > Finally, page->memcg_data can have 3 different meanings. > > 1) F

[PATCH] leds: leds-dual-gpio: Add dual GPIO LEDs driver

2021-03-11 Thread Hermes Zhang
From: Hermes Zhang Introduce a new Dual GPIO LED driver. These two GPIOs LED will act as one LED as normal GPIO LED but give the possibility to change the intensity in four levels: OFF, LOW, MIDDLE and HIGH. --- drivers/leds/Kconfig | 9 +++ drivers/leds/Makefile | 1 + driv

Re: [PATCH v4 3/3] arm64: dts: ti: Add support for Siemens IOT2050 boards

2021-03-11 Thread Nishanth Menon
On 10:37-20210310, Jan Kiszka wrote: > From: Jan Kiszka > + spidev@0 { > + compatible = "rohm,dh2228fv"; > + spi-max-frequency = <2000>; > + reg = <0>; Jan, As part of my final sanity checks, I noticed that we missed this: is a checkpatch warning WAR

Re: [PATCH v7 11/11] pwm: Add Raspberry Pi Firmware based PWM bus

2021-03-11 Thread Uwe Kleine-König
Hello Nicolas, On Thu, Mar 11, 2021 at 02:01:00PM +0100, Nicolas Saenz Julienne wrote: > On Wed, 2021-03-10 at 12:50 +0100, Uwe Kleine-König wrote: > > On Mon, Jan 18, 2021 at 01:32:44PM +0100, Nicolas Saenz Julienne wrote: > > [...] > > > > + /* > > > + * This sets the default duty cycle after

Linux 4.4.261

2021-03-11 Thread gregkh
From: Greg Kroah-Hartman I'm announcing the release of the 4.4.261 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal ker

Re: Linux 4.9.261

2021-03-11 Thread gregkh
From: Greg Kroah-Hartman diff --git a/Makefile b/Makefile index 7a29676e2b2f..7a233c641906 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 260 +SUBLEVEL = 261 EXTRAVERSION = NAME = Roaring Lionus diff --git a/drivers/block/rsxx/core.c b/drivers/bl

Linux 4.9.261

2021-03-11 Thread gregkh
From: Greg Kroah-Hartman I'm announcing the release of the 4.9.261 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal ker

Re: Linux 4.4.261

2021-03-11 Thread gregkh
From: Greg Kroah-Hartman diff --git a/Makefile b/Makefile index 7efb6921d9de..607f1b19555f 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 260 +SUBLEVEL = 261 EXTRAVERSION = NAME = Blurry Fish Butt diff --git a/drivers/block/rsxx/core.c b/drivers/

Re: [PATCH v2 3/3] arm64: dts: ti: k3-j7200-som-p0: Add nodes for OSPI0

2021-03-11 Thread Nishanth Menon
On 21:43-20210305, Vignesh Raghavendra wrote: > > > On 3/5/21 9:09 PM, Pratyush Yadav wrote: > > TI J7200 has the Cadence OSPI controller for interfacing with OSPI > > flashes. Add its node to allow using SPI flashes. > > > > Signed-off-by: Pratyush Yadav > > --- > > Reviewed-by: Vignesh Ragha

Re: [PATCH v2 00/14] Introduce STM32MP1 RCC in secured mode

2021-03-11 Thread Marek Vasut
On 3/11/21 2:15 PM, Alexandre TORGUE wrote: Hi Marek Hello Alexandre, On 3/11/21 12:43 PM, Marek Vasut wrote: On 3/11/21 9:08 AM, Alexandre TORGUE wrote: Hi ALex Hello everyone, [...] Subject: Re: [PATCH v2 00/14] Introduce STM32MP1 RCC in secured mode On 1/26/21 3:01 AM, gabriel.fern

[PATCH] PCI: Print a debug message on PCI device release

2021-03-11 Thread Niklas Schnelle
Commit 62795041418d ("PCI: enhance physical slot debug information") added a debug print on releasing the PCI slot and another message on destroying it. There is however no debug print on releasing the PCI device structure itself and even with closely looking at the kernel log during hotplug testin

Re: [PATCH] ASoC: qcom: lpass-cpu: Fix lpass dai ids parse

2021-03-11 Thread Mark Brown
On Thu, Mar 11, 2021 at 01:48:05PM +0530, Srinivasa Rao Mandadapu wrote: > The max boundary check while parsing dai ids makes > sound card registration fail after common up dai ids. > > Fixes: cd3484f7f1386 (ASoC: dt-bindings: lpass: Fix and common up lpass dai > ids) Commit: 43e2ca64db47 ("ASoC

Re: [PATCH 0/6] usbip fixes to crashes found by syzbot

2021-03-11 Thread Tetsuo Handa
On 2021/03/11 21:57, Greg KH wrote: > On Thu, Mar 11, 2021 at 09:34:38PM +0900, Tetsuo Handa wrote: >> On 2021/03/11 3:33, Greg KH wrote: >>> On Sun, Mar 07, 2021 at 08:53:25PM -0700, Shuah Khan wrote: This patch series fixes the following problems founds in syzbot fuzzing. >>> >>> Thanks

Re: [PATCH v14 8/8] kselftest/arm64: Verify that TCO is enabled in load_unaligned_zeropad()

2021-03-11 Thread Catalin Marinas
On Mon, Mar 08, 2021 at 04:14:34PM +, Vincenzo Frascino wrote: > load_unaligned_zeropad() and __get/put_kernel_nofault() functions can > read passed some buffer limits which may include some MTE granule with a > different tag. > > When MTE async mode is enable, the load operation crosses the b

Re: [PATCH] drivers: spi: cadence: set cqspi to the driver_data field of struct device

2021-03-11 Thread Mark Brown
On Thu, Mar 11, 2021 at 05:12:20PM +0800, meng...@windriver.com wrote: > From: Meng Li > > When initialize cadence qspi controller, it is need to set cqspi > to the driver_data field of struct device, because it will be > used in function cqspi_remove/suspend/resume(). Otherwise, there > will be

[PATCH v1 1/1] ALSA: hda/realtek: Sort alphanumerically the HDA_CODEC_ENTRY() entries.

2021-03-11 Thread Andy Shevchenko
Sort alphanumerically the HDA_CODEC_ENTRY() entries for better maintenance. No functional change implied. Note, that HDA_CODEC_REV_ENTRY() goes after HDA_CODEC_ENTRY() as per default value in the latter macro. Signed-off-by: Andy Shevchenko --- sound/pci/hda/patch_realtek.c | 10 +- 1 f

[PATCH v1 1/1] ALSA: hda/realtek: Sort alphanumerically the SND_PCI_QUIRK() entries.

2021-03-11 Thread Andy Shevchenko
Sort alphanumerically the SND_PCI_QUIRK() entries for better maintenance. No functional change implied. Signed-off-by: Andy Shevchenko --- sound/pci/hda/patch_realtek.c | 73 +-- 1 file changed, 36 insertions(+), 37 deletions(-) diff --git a/sound/pci/hda/patch_r

Re: [PATCH] drivers: spi: cadence: set cqspi to the driver_data field of struct device

2021-03-11 Thread Mark Brown
On Thu, Mar 11, 2021 at 05:12:20PM +0800, meng...@windriver.com wrote: > Fixes: 31fb632b5d43("spi: Move cadence-quadspi driver to drivers/spi/") Commit: 5e838bc8035a ("spi: cadence: set cqspi to the driver_data field of struct device") Fixes tag: Fixes: 31fb632b5d43("spi: Move cadence-qu

Linux 4.14.225

2021-03-11 Thread gregkh
From: Greg Kroah-Hartman I'm announcing the release of the 4.14.225 kernel. All users of the 4.14 kernel series must upgrade. The updated 4.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y and can be browsed at the normal

Re: Linux 4.14.225

2021-03-11 Thread gregkh
From: Greg Kroah-Hartman diff --git a/Makefile b/Makefile index eda72c1ca13a..6941aa5bd186 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 14 -SUBLEVEL = 224 +SUBLEVEL = 225 EXTRAVERSION = NAME = Petit Gorille diff --git a/dr

Linux 4.19.180

2021-03-11 Thread gregkh
From: Greg Kroah-Hartman I'm announcing the release of the 4.19.180 kernel. All users of the 4.19 kernel series must upgrade. The updated 4.19.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.y and can be browsed at the normal

Re: Linux 4.19.180

2021-03-11 Thread gregkh
From: Greg Kroah-Hartman diff --git a/Makefile b/Makefile index 040b3cd699b0..48cdfe5ce992 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 19 -SUBLEVEL = 179 +SUBLEVEL = 180 EXTRAVERSION = NAME = "People's Front" diff --git a

Re: [PATCH v2 2/2] modules: add CONFIG_MODPROBE_PATH

2021-03-11 Thread Jessica Yu
+++ Rasmus Villemoes [09/03/21 22:17 +0100]: Allow the developer to specifiy the initial value of the modprobe_path[] string. This can be used to set it to the empty string initially, thus effectively disabling request_module() during early boot until userspace writes a new value via the /proc/sy

Linux 5.4.105

2021-03-11 Thread gregkh
From: Greg Kroah-Hartman I'm announcing the release of the 5.4.105 kernel. All users of the 5.4 kernel series must upgrade. The updated 5.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.4.y and can be browsed at the normal ker

[PATCH] x86/kvmclock: Stop kvmclocks for hibernate restore

2021-03-11 Thread Lenny Szubowicz
Turn off host updates to the registered kvmclock memory locations when transitioning to a hibernated kernel in resume_target_kernel(). This is accomplished for secondary vcpus by disabling host clock updates for that vcpu when it is put offline. For the primary vcpu, it's accomplished by using the

Re: Linux 5.4.105

2021-03-11 Thread gregkh
From: Greg Kroah-Hartman diff --git a/Makefile b/Makefile index e94dcf2d77f5..e27d031f3241 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 4 -SUBLEVEL = 104 +SUBLEVEL = 105 EXTRAVERSION = NAME = Kleptomaniac Octopus diff --gi

Linux 5.10.23

2021-03-11 Thread gregkh
From: Greg Kroah-Hartman I'm announcing the release of the 5.10.23 kernel. All users of the 5.10 kernel series must upgrade. The updated 5.10.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.10.y and can be browsed at the normal

Re: Linux 5.10.23

2021-03-11 Thread gregkh
From: Greg Kroah-Hartman diff --git a/Makefile b/Makefile index 12a2a7271fcb..7fdb78b48f55 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 10 -SUBLEVEL = 22 +SUBLEVEL = 23 EXTRAVERSION = NAME = Dare mighty things diff --git a

Re: Linux 5.11.6

2021-03-11 Thread gregkh
From: Greg Kroah-Hartman diff --git a/Makefile b/Makefile index 1673c12fb4b3..472136a7881e 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 11 -SUBLEVEL = 5 +SUBLEVEL = 6 EXTRAVERSION = NAME = 💕 Valentine's Day Edition 💕 diff

Linux 5.11.6

2021-03-11 Thread gregkh
From: Greg Kroah-Hartman I'm announcing the release of the 5.11.6 kernel. All users of the 5.11 kernel series must upgrade. The updated 5.11.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.11.y and can be browsed at the normal k

Re: [PATCH v4 3/3] media: i2c: Introduce a driver for the Techwell TW9900 decoder

2021-03-11 Thread Maxime Chevallier
Hi Hans, and thanks for the review. On Thu, 4 Mar 2021 16:37:53 +0100 Hans Verkuil wrote: >Hi Maxime, > >Some more code review comments: > >> +static int tw9900_set_fmt(struct v4l2_subdev *sd, >> + struct v4l2_subdev_pad_config *cfg, >> + struct v4l2_su

Re: arm64 syzbot instances

2021-03-11 Thread Arnd Bergmann
On Thu, Mar 11, 2021 at 12:38 PM Dmitry Vyukov wrote: > > The instances found few arm64-specific issues that we have not > observed on other instances: I've had a brief look at these: > https://syzkaller.appspot.com/bug?id=1d22a2cc3521d5cf6b41bd6b825793c2015f861f This one doesn't seem arm64 sp

Re: [PATCH 5/8] ARM: dts: stm32: introduce stm32h7-pinctrl.dtsi to support stm32h75x

2021-03-11 Thread Alexandre TORGUE
Hi Dillon On 3/11/21 1:23 PM, dillon min wrote: Hi Alexandre On Thu, Mar 11, 2021 at 6:40 PM Alexandre TORGUE wrote: Hi Dillon On 3/3/21 9:05 AM, dillon.min...@gmail.com wrote: From: dillon min To support stm32h750 and stm32h743, we need a base stm32h7-pinctrl.dtsi as stm32h743 & h750 ha

Re: 'make O=' indigestion with module signing

2021-03-11 Thread David Howells
David Howells wrote: > I'll have to try with the aarch64 build, see if it's something in that that's > the problem. That works too... kind of. Building in the certs/ dir is fine - and all the cert generation and extraction is done in the expected place, but the link fails with errors like: aar

Re: [RESEND 00/53] Rid GPU from W=1 warnings

2021-03-11 Thread Daniel Vetter
On Mon, Mar 08, 2021 at 09:19:32AM +, Lee Jones wrote: > On Fri, 05 Mar 2021, Roland Scheidegger wrote: > > > The vmwgfx ones look all good to me, so for > > 23-53: Reviewed-by: Roland Scheidegger > > That said, they were already signed off by Zack, so not sure what > > happened here. > > Ye

Re: [PATCH 7/8] ARM: dts: stm32: add support for art-pi board based on stm32h750xbh6

2021-03-11 Thread Alexandre TORGUE
On 3/11/21 1:32 PM, dillon min wrote: Hi Alexandre On Thu, Mar 11, 2021 at 6:42 PM Alexandre TORGUE wrote: On 3/3/21 9:05 AM, dillon.min...@gmail.com wrote: From: dillon min This patchset has following changes: - add stm32h750i-art-pi.dtb - add dts binding usart3 for bt, uart4 for co

Re: [PATCH] staging: rtl8723bs: align comments

2021-03-11 Thread Fabio Aiuto
On Thu, Mar 11, 2021 at 09:03:57AM +0100, Miguel Ojeda wrote: > On Wed, Mar 10, 2021 at 11:00 PM Fabio Aiuto wrote: > > > > I am sorry, I fear I don't understand, checkpatch.sh script says the patch > > is ok. > > Where have I to add a ' ' (a blank?)? > > Please take a look at Documentation/proc

Re: Re: [PATCH] lib/test_kmod: Fix a use after free in register_test_dev_kmod

2021-03-11 Thread lyl2019
> -原始邮件- > 发件人: "Luis Chamberlain" > 发送时间: 2021-03-11 21:01:08 (星期四) > 收件人: "Lv Yunlong" > 抄送: linux-kernel@vger.kernel.org > 主题: Re: [PATCH] lib/test_kmod: Fix a use after free in register_test_dev_kmod > > On Thu, Mar 11, 2021 at 12:02:46AM -0800, Lv Yunlong wrote: > > In register_t

Re: [PATCH 3/4] usb: typec: tcpci_maxim: configure charging & data paths

2021-03-11 Thread Heikki Krogerus
Hi, On Thu, Mar 11, 2021 at 02:03:12AM -0800, Badhri Jagan Sridharan wrote: > This change allows the driver to configure input current/voltage > limit for the charging path. The driver sets current_max and voltage_max > values of the power supply identified through chg-psy-name. > > The change al

Re: [PATCH v1 1/1] ALSA: hda/realtek: Sort alphanumerically the HDA_CODEC_ENTRY() entries.

2021-03-11 Thread Takashi Iwai
On Thu, 11 Mar 2021 14:27:48 +0100, Andy Shevchenko wrote: > > Sort alphanumerically the HDA_CODEC_ENTRY() entries for better maintenance. > No functional change implied. > > Note, that HDA_CODEC_REV_ENTRY() goes after HDA_CODEC_ENTRY() as per > default value in the latter macro. This breaks the

Re: [RFT PATCH v3 12/27] of/address: Add infrastructure to declare MMIO as non-posted

2021-03-11 Thread Arnd Bergmann
On Thu, Mar 11, 2021 at 1:11 PM Hector Martin wrote: > On 11/03/2021 18.12, Arnd Bergmann wrote: > > On Wed, Mar 10, 2021 at 6:01 PM Rob Herring wrote: > >> On Wed, Mar 10, 2021 at 1:27 AM Hector Martin wrote: > >>> Works for me; then let's just make it non-recursive. > >>> > >>> Do you think we

Re: [PATCH -tip 3/5] kprobes: treewide: Remove trampoline_address from kretprobe_trampoline_handler()

2021-03-11 Thread Masami Hiramatsu
Hi Miroslav, On Thu, 11 Mar 2021 00:42:25 +0900 Masami Hiramatsu wrote: > > > + */ > > > +static nokprobe_inline void *kretprobe_trampoline_addr(void) > > > +{ > > > + return dereference_function_descriptor(kretprobe_trampoline); > > > +} > > > + > > > > Would it make sense to use this in s390

Re: [PATCH v1 1/1] ALSA: hda/realtek: Sort alphanumerically the SND_PCI_QUIRK() entries.

2021-03-11 Thread Takashi Iwai
On Thu, 11 Mar 2021 14:27:41 +0100, Andy Shevchenko wrote: > > Sort alphanumerically the SND_PCI_QUIRK() entries for better maintenance. > No functional change implied. I'd love to apply this kind of cleanups (and I do sometimes partially), but practically seen, this may make the stable backporti

Re: [PATCH v7 11/11] pwm: Add Raspberry Pi Firmware based PWM bus

2021-03-11 Thread Nicolas Saenz Julienne
On Thu, 2021-03-11 at 14:18 +0100, Uwe Kleine-König wrote: > Hello Nicolas, > > On Thu, Mar 11, 2021 at 02:01:00PM +0100, Nicolas Saenz Julienne wrote: > > On Wed, 2021-03-10 at 12:50 +0100, Uwe Kleine-König wrote: > > > On Mon, Jan 18, 2021 at 01:32:44PM +0100, Nicolas Saenz Julienne wrote: > >

Re: [PATCH v2 3/3] arm64: dts: ti: k3-j7200-som-p0: Add nodes for OSPI0

2021-03-11 Thread Pratyush Yadav
On 11/03/21 07:22AM, Nishanth Menon wrote: > On 21:43-20210305, Vignesh Raghavendra wrote: > > > > > > On 3/5/21 9:09 PM, Pratyush Yadav wrote: > > > TI J7200 has the Cadence OSPI controller for interfacing with OSPI > > > flashes. Add its node to allow using SPI flashes. > > > > > > Signed-off-

RE: -Walign-mismatch in block/blk-mq.c

2021-03-11 Thread David Laight
From: Jens Axboe > Sent: 10 March 2021 20:40 > > On 3/10/21 1:33 PM, Nathan Chancellor wrote: > > On Wed, Mar 10, 2021 at 01:21:52PM -0700, Jens Axboe wrote: > >> On 3/10/21 11:23 AM, Nathan Chancellor wrote: > >>> Hi Jens, > >>> > >>> There is a new clang warning added in the development branch,

Re: [External] Re: [PATCH v18 9/9] mm: hugetlb: optimize the code with the help of the compiler

2021-03-11 Thread Oscar Salvador
On Thu, Mar 11, 2021 at 01:16:37PM +0100, Michal Hocko wrote: > On Thu 11-03-21 18:00:09, Muchun Song wrote: > [...] > > Sorry. I am confused why you disagree with this change. > > It does not bring any disadvantages. > > Because it is adding a code which is not really necessary and which will > h

RE: [RFC PATCH 0/5] RPMB internal and user-space API + WIP virtio-rpmb frontend

2021-03-11 Thread Avri Altman
> Avri Altman writes: > > > The mmc driver has some hooks to support rpmb access, but access is > > mainly facilitated from user space, e.g. mmc-utils. > > > > The ufs driver has no concept of rpmb access - it is facilitated via > > user space, e.g. ufs-utils and similar. > > > > Both for ufs and

Re: [PATCH v2 25/43] powerpc/32: Replace ASM exception exit by C exception exit from ppc64

2021-03-11 Thread Michael Ellerman
Christophe Leroy writes: > This patch replaces the PPC32 ASM exception exit by C exception exit. > > Signed-off-by: Christophe Leroy > --- > arch/powerpc/kernel/entry_32.S | 481 +--- > arch/powerpc/kernel/interrupt.c | 4 + > 2 files changed, 132 insertions(+), 35

Re: [PATCH]] drm/amdgpu/gfx9: add gfxoff quirk

2021-03-11 Thread Daniel Gomez
On Thu, 11 Mar 2021 at 10:09, Daniel Gomez wrote: > > On Wed, 10 Mar 2021 at 18:06, Alex Deucher wrote: > > > > On Wed, Mar 10, 2021 at 11:37 AM Daniel Gomez wrote: > > > > > > Disabling GFXOFF via the quirk list fixes a hardware lockup in > > > Ryzen V1605B, RAVEN 0x1002:0x15DD rev 0x83. > > >

Re: [PATCH v4 3/3] arm64: dts: ti: Add support for Siemens IOT2050 boards

2021-03-11 Thread Jan Kiszka
On 11.03.21 14:17, Nishanth Menon wrote: > On 10:37-20210310, Jan Kiszka wrote: >> From: Jan Kiszka >> +spidev@0 { >> +compatible = "rohm,dh2228fv"; >> +spi-max-frequency = <2000>; >> +reg = <0>; > > Jan, > > As part of my final sanity checks, I notice

Re: [PATCH v2 3/3] arm64: dts: ti: k3-j7200-som-p0: Add nodes for OSPI0

2021-03-11 Thread Nishanth Menon
On 19:11-20210311, Pratyush Yadav wrote: > On 11/03/21 07:22AM, Nishanth Menon wrote: > > On 21:43-20210305, Vignesh Raghavendra wrote: > > > > > > > > > On 3/5/21 9:09 PM, Pratyush Yadav wrote: > > > > TI J7200 has the Cadence OSPI controller fo

[PATCH] media: v4l2-ioctl: Fix check_ext_ctrls

2021-03-11 Thread Ricardo Ribalda
Drivers that do not use the ctrl-framework use this function instead. - Return error when handling of REQUEST_VAL. - Do not check for multiple classes when getting the DEF_VAL. Fixes v4l2-compliance: Control ioctls (Input 0): fail: v4l2-test-controls.cpp(813): doioctl(node, VIDIO

Re: [RESEND 00/53] Rid GPU from W=1 warnings

2021-03-11 Thread Lee Jones
On Thu, 11 Mar 2021, Daniel Vetter wrote: > On Mon, Mar 08, 2021 at 09:19:32AM +, Lee Jones wrote: > > On Fri, 05 Mar 2021, Roland Scheidegger wrote: > > > > > The vmwgfx ones look all good to me, so for > > > 23-53: Reviewed-by: Roland Scheidegger > > > That said, they were already signed o

Re: [PATCH v3] fs/locks: print full locks information

2021-03-11 Thread Jeff Layton
On Thu, 2021-03-11 at 11:45 +0800, Luo Longjun wrote: > 在 2021/3/9 21:37, Jeff Layton 写道: > > On Thu, 2021-02-25 at 22:58 -0500, Luo Longjun wrote: > > > Commit fd7732e033e3 ("fs/locks: create a tree of dependent requests.") > > > has put blocked locks into a tree. > > > > > > So, with a for loop,

[PATCH 1/2] vhost-vdpa: fix use-after-free of v->config_ctx

2021-03-11 Thread Stefano Garzarella
When the 'v->config_ctx' eventfd_ctx reference is released we didn't set it to NULL. So if the same character device (e.g. /dev/vhost-vdpa-0) is re-opened, the 'v->config_ctx' is invalid and calling again vhost_vdpa_config_put() causes use-after-free issues like the following refcount_t underflow:

[PATCH 0/2] vhost-vdpa: fix issues around v->config_ctx handling

2021-03-11 Thread Stefano Garzarella
While writing a test for a Rust library [1] to handle vhost-vdpa devices, I experienced the 'use-after-free' issue fixed in patch 1, then I discovered the potential issue when eventfd_ctx_fdget() fails fixed in patch 2. Do you think it might be useful to write a vdpa test suite, perhaps using this

[PATCH 2/2] vhost-vdpa: set v->config_ctx to NULL if eventfd_ctx_fdget() fails

2021-03-11 Thread Stefano Garzarella
In vhost_vdpa_set_config_call() if eventfd_ctx_fdget() fails the 'v->config_ctx' contains an error instead of a valid pointer. Since we consider 'v->config_ctx' valid if it is not NULL, we should set it to NULL in this case to avoid to use an invalid pointer in other functions such as vhost_vdpa_c

Re: [PATCH] tracing: remove holes in events

2021-03-11 Thread Steven Rostedt
On Thu, 11 Mar 2021 17:44:15 +0800 Tony Lu wrote: > --- > include/trace/events/net.h| 42 +-- > include/trace/events/qdisc.h | 4 ++-- > include/trace/events/sunrpc.h | 4 ++-- > include/trace/events/tcp.h| 2 +- > 4 files changed, 26 insertions(+), 26

YOU HAVE WON

2021-03-11 Thread lottonlxxx
LOTTO.NL, 2391 Beds 152 Koningin Julianaplein 21, Den Haag-Netherlands. (Lotto affiliate with Subscriber Agents). From: Susan Console (Lottery Coordinator) Website: www.lotto.nl Sir/Madam, CONGRATULATIONS!!! We are pleased to inform you of the result of the Lotto NL Winners International progr

Re: Re: [PATCH] lib/test_kmod: Fix a use after free in register_test_dev_kmod

2021-03-11 Thread Luis Chamberlain
On Thu, Mar 11, 2021 at 09:31:55PM +0800, lyl2...@mail.ustc.edu.cn wrote: > > > > > -原始邮件- > > 发件人: "Luis Chamberlain" > > 发送时间: 2021-03-11 21:01:08 (星期四) > > 收件人: "Lv Yunlong" > > 抄送: linux-kernel@vger.kernel.org > > 主题: Re: [PATCH] lib/test_kmod: Fix a use after free in > > register

Re: [PATCH v1 1/1] ALSA: hda/realtek: Sort alphanumerically the HDA_CODEC_ENTRY() entries.

2021-03-11 Thread Andy Shevchenko
On Thu, Mar 11, 2021 at 3:36 PM Takashi Iwai wrote: > > On Thu, 11 Mar 2021 14:27:48 +0100, > Andy Shevchenko wrote: > > > > Sort alphanumerically the HDA_CODEC_ENTRY() entries for better maintenance. > > No functional change implied. > > > > Note, that HDA_CODEC_REV_ENTRY() goes after HDA_CODEC_E

Re: [PATCH v4 3/3] arm64: dts: ti: Add support for Siemens IOT2050 boards

2021-03-11 Thread Nishanth Menon
On 14:44-20210311, Jan Kiszka wrote: > On 11.03.21 14:17, Nishanth Menon wrote: > > On 10:37-20210310, Jan Kiszka wrote: > >> From: Jan Kiszka > >> + spidev@0 { > >> + compatible = "rohm,dh2228fv"; > >> + spi-max-frequenc

Re: [PATCH v1 1/1] ALSA: hda/realtek: Sort alphanumerically the SND_PCI_QUIRK() entries.

2021-03-11 Thread Andy Shevchenko
On Thu, Mar 11, 2021 at 3:40 PM Takashi Iwai wrote: > > On Thu, 11 Mar 2021 14:27:41 +0100, > Andy Shevchenko wrote: > > > > Sort alphanumerically the SND_PCI_QUIRK() entries for better maintenance. > > No functional change implied. > > I'd love to apply this kind of cleanups (and I do sometimes >

Re: [PATCH v2 1/3] tpm: efi: Use local variable for calculating final log size

2021-03-11 Thread Stefan Berger
On 3/10/21 6:24 PM, Jarkko Sakkinen wrote: On Thu, Mar 11, 2021 at 01:21:47AM +0200, Jarkko Sakkinen wrote: On Wed, Mar 10, 2021 at 05:19:14PM -0500, Stefan Berger wrote: When tpm_read_log_efi is called multiple times, which happens when one loads and unloads a TPM2 driver multiple times, the

Re: [PATCH] bootconfig: Update prototype of setup_boot_config()

2021-03-11 Thread Steven Rostedt
On Thu, 11 Mar 2021 16:52:13 +0800 Cao jin wrote: > Parameter "cmdline" has no use, drop it. Actually, I wonder if it should be using that instead of boot_command_line, as the cmdline passed in is boot_command_line plus anything that the architecture itself modified. Masami? -- Steve

Re: pinctrl: core: Handling pinmux and pinconf separately

2021-03-11 Thread Colin Ian King
On 11/03/2021 11:28, Michal Simek wrote: > > > On 3/11/21 12:24 PM, Colin Ian King wrote: >> On 11/03/2021 11:16, Michal Simek wrote: >>> >>> >>> On 3/11/21 11:57 AM, Colin Ian King wrote: Hi, Static analysis on linux-next with Coverity has found a potential issue in drivers/p

Re: [PATCH v2] iommu/tegra-smmu: Add pagetable mappings to debugfs

2021-03-11 Thread Dmitry Osipenko
10.03.2021 06:36, Nicolin Chen пишет: ... > +static int tegra_smmu_mappings_show(struct seq_file *s, void *data) > +{ > + struct tegra_smmu_group_debug *group_debug = s->private; > + const struct tegra_smmu_swgroup *group; > + struct tegra_smmu_as *as; > + struct tegra_smmu *smmu; >

[PATCH 1/6] rpmsg: char: Rename rpmsg_char_init to rpmsg_chrdev_init

2021-03-11 Thread Arnaud Pouliquen
To be coherent with the other functions which are prefixed by rpmsg_chrdev, rename the rpmsg_char_init function. Signed-off-by: Arnaud Pouliquen --- drivers/rpmsg/rpmsg_char.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/rpmsg/rpmsg_char.c b/drivers/rpmsg/rpmsg

[PATCH 0/6] rpmsg: enable the use of the rpmsg_char device for the Virtio backend

2021-03-11 Thread Arnaud Pouliquen
This series is the first step in the division of the series: "Introduce a generic IOCTL interface for RPMsg channels management"[1] The main goal here is to enable the RPMsg char interface for the virtio RPMsg backend. In addition some patches have been includes in order to document the interfa

[PATCH 3/6] rpmsg: Add short description of the IOCTL defined in UAPI.

2021-03-11 Thread Arnaud Pouliquen
Add a description of the IOCTLs and provide information on the default value of the source and destination addresses. Signed-off-by: Arnaud Pouliquen --- include/uapi/linux/rpmsg.h | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/include/uapi/linux/rpmsg.h b/includ

[PATCH 2/6] rpmsg: Move RPMSG_ADDR_ANY in user API

2021-03-11 Thread Arnaud Pouliquen
As the RPMSG_ADDR_ANY is a valid src or dst address that can be set by user applications, migrate its definition in user API. Signed-off-by: Arnaud Pouliquen --- include/linux/rpmsg.h | 3 +-- include/uapi/linux/rpmsg.h | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/

[PATCH 4/6] rpmsg: char: Use rpmsg_sendto to specify the message destination address

2021-03-11 Thread Arnaud Pouliquen
When the endpoint device is created by the application, a destination address is specified in the rpmsg_channel_info structure. Since the rpmsg_endpoint structure does not store the destination address, this destination address must be specified when sending a message. Replaces rpmsg_send with rpm

[PATCH 5/6] rpmsg: virtio: Register the rpmsg_char device

2021-03-11 Thread Arnaud Pouliquen
Instantiate the rpmsg_char device on virtio RPMsg bus creation. This provides the capability, with the RPMSG_CREATE_EPT_IOCTL ioctl, to create RPMsg char device endpoints relying on the rpmsg_chrdev_create_eptdev API. Notice that the created endpoints are attached to the rpmsg_ctldev device, but n

[PATCH 6/6] rpmsg: char: Return an error if device already open

2021-03-11 Thread Arnaud Pouliquen
The rpmsg_create_ept function is invoked when the device is opened. As only one endpoint must be created per device. It is not possible to open the same device twice. But there is nothing to prevent multi open. Return -EBUSY when device is already opened to have a generic error instead of relying o

Re: [PATCH] bootconfig: Update prototype of setup_boot_config()

2021-03-11 Thread Steven Rostedt
On Thu, 11 Mar 2021 18:50:21 +0900 Masami Hiramatsu wrote: > On Thu, 11 Mar 2021 16:52:13 +0800 > Cao jin wrote: > > > Parameter "cmdline" has no use, drop it. > > OK, this looks good to me. Why is this using boot_command_line instead of what is passed in, which might be different? -- Stev

RE: [PATCH] drivers: spi: cadence: set cqspi to the driver_data field of struct device

2021-03-11 Thread Li, Meng
Thanks for reminding me these issues, and I will pay attention that when I submit patch next time. Do I need to submit v2 patch to fix this issue? Thanks, Limeng > -Original Message- > From: Mark Brown > Sent: Thursday, March 11, 2021 9:26 PM > To: Li, Meng > Cc: linux-kernel@vger.kern

Re: [PATCH v1 1/1] ALSA: hda/realtek: Sort alphanumerically the SND_PCI_QUIRK() entries.

2021-03-11 Thread Takashi Iwai
On Thu, 11 Mar 2021 15:02:16 +0100, Andy Shevchenko wrote: > > On Thu, Mar 11, 2021 at 3:40 PM Takashi Iwai wrote: > > > > On Thu, 11 Mar 2021 14:27:41 +0100, > > Andy Shevchenko wrote: > > > > > > Sort alphanumerically the SND_PCI_QUIRK() entries for better maintenance. > > > No functional chang

Re: [RFC PATCH 1/5] rpmb: add Replay Protected Memory Block (RPMB) subsystem

2021-03-11 Thread Linus Walleij
On Thu, Mar 11, 2021 at 10:22 AM Hector Martin wrote: > On 11/03/2021 09.36, Linus Walleij wrote: > > The typical use-case mentioned in one reference is to restrict > > the number of password/pin attempts and combine that with > > secure time to make sure that longer and longer intervals are > >

[syzbot] WARNING in netlink_broadcast_filtered

2021-03-11 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:a74e6a01 Merge tag 's390-5.12-3' of git://git.kernel.org/p.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=16f7c83ad0 kernel config: https://syzkaller.appspot.com/x/.config?x=c7ac5ce2d1160e16 das

Re: [PATCH 03/10] media: uvcvideo: Return -EIO for control errors

2021-03-11 Thread Ricardo Ribalda
As discussed in the IRC with Hans We need to specify in the commit message that this is most likely due to hw error. On Thu, Mar 11, 2021 at 1:20 PM Ricardo Ribalda wrote: > > Fixes v4l2-compliance: > > Control ioctls (Input 0): > fail: v4l2-test-controls.cpp(448): s_ctrl returne

Re: [PATCH 03/10] media: uvcvideo: Return -EIO for control errors

2021-03-11 Thread Hans Verkuil
On 11/03/2021 13:20, Ricardo Ribalda wrote: > Fixes v4l2-compliance: > > Control ioctls (Input 0): > fail: v4l2-test-controls.cpp(448): s_ctrl returned an error > (22) > test VIDIOC_G/S_CTRL: FAIL > fail: v4l2-test-controls.cpp(698): s_ext_ctrls returned an

[PATCH 0/2] AFS metadata xattr fixes

2021-03-11 Thread David Howells
Here's a pair of fixes for AFS. (1) Fix an oops in AFS that can be triggered by accessing one of the afs.yfs.* xattrs against a yfs server[1][2] - for instance by "cp -a" or "rsync -X". These try and copy all of the xattrs. They should pay attention to the list in /etc/xattr.co

[PATCH 1/2] afs: Fix accessing YFS xattrs on a non-YFS server

2021-03-11 Thread David Howells
If someone attempts to access YFS-related xattrs (e.g. afs.yfs.acl) on a file on a non-YFS AFS server (such as OpenAFS), then the kernel will jump to a NULL function pointer because the afs_fetch_acl_operation descriptor doesn't point to a function for issuing an operation on a non-YFS server[1].

[PATCH 2/2] afs: Fix afs_listxattr() to not list afs ACL special xattrs

2021-03-11 Thread David Howells
afs_listxattr() lists all the available special afs xattrs (i.e. those in the "afs.*" space), no matter what type of server we're dealing with. But OpenAFS servers, for example, cannot deal with some of the extra-capable attributes that AuriStor (YFS) servers provide. Unfortunately, the presence

<    5   6   7   8   9   10   11   12   13   14   >