Re: [RFC 1/2] arm64: PCI: Allow use arch-specific pci sysdata

2021-03-20 Thread Arnd Bergmann
On Fri, Mar 19, 2021 at 10:14 PM Bjorn Helgaas wrote: > > However, for a virtualized PCI bus, there might be no enough data in of > > or acpi table to create a pci_config_window. This is similar to the case > > where CONFIG_PCI_DOMAINS_GENERIC=n, IOW, architectures use their own > > structure for

Re: [RFC 1/2] arm64: PCI: Allow use arch-specific pci sysdata

2021-03-20 Thread Marc Zyngier
Thanks Bjorn for looping me in. On Fri, 19 Mar 2021 21:12:46 +, Bjorn Helgaas wrote: > > [+cc Arnd (author of 37d6a0a6f470 ("PCI: Add > pci_register_host_bridge() interface"), which I think would make my > idea below possible), Marc (IRQ domains maintainer)] > > On Sat, Mar 20, 2021 at

Re: [RFC 1/2] arm64: PCI: Allow use arch-specific pci sysdata

2021-03-20 Thread Arnd Bergmann
On Fri, Mar 19, 2021 at 5:22 PM Boqun Feng wrote: > > Currently, if an architecture selects CONFIG_PCI_DOMAINS_GENERIC, the > ->sysdata in bus and bridge will be treated as struct pci_config_window, > which is created by generic ECAM using the data from acpi. > > However, for a virtualized PCI

Re: [RFC] scripts: kernel-doc: avoid warnings due to initial commented lines in file

2021-03-20 Thread Aditya Srivastava
On 20/3/21 12:23 pm, Aditya wrote: > On 18/3/21 11:48 pm, Jonathan Corbet wrote: >> Lukas Bulwahn writes: >> >>> Yeah, and as this line-counting is really just a poor man's >>> heuristics, we might just be better to really turn this heuristics >>> into a dedicated cleanup warning script, then we

Re: GTE - The hardware timestamping engine

2021-03-20 Thread Arnd Bergmann
On Sat, Mar 20, 2021 at 12:56 PM Linus Walleij wrote: > > Hi Dipen, > > thanks for your mail! > > I involved some other kernel people to get some discussion. > I think Kent Gibson can be of great help because he is using > GPIOs with high precision. > > We actually discussed this a bit when

Re: [PATCH v5 2/3] x86/bus_lock: Handle #DB for bus lock

2021-03-20 Thread Thomas Gleixner
On Fri, Mar 19 2021 at 22:19, Fenghua Yu wrote: > On Fri, Mar 19, 2021 at 10:30:50PM +0100, Thomas Gleixner wrote: >> > + if (sscanf(arg, "ratelimit:%d", ) == 1 && ratelimit > 0) { >> > + bld_ratelimit = ratelimit; >> >> So any rate up to INTMAX/s is valid here, right? > > Yes. I don't

Re: [PATCH v2] scsi: libsas: Reset num_scatter if libata mark qc as NODATA

2021-03-20 Thread John Garry
On 19/03/2021 01:43, Jason Yan wrote: 在 2021/3/19 6:56, Jolly Shah 写道: When the cache_type for the scsi device is changed, the scsi layer issues a MODE_SELECT command. The caching mode details are communicated via a request buffer associated with the scsi command with data direction set as

Re: [PATCH -tip v3 05/11] x86/kprobes: Add UNWIND_HINT_FUNC on kretprobe_trampoline code

2021-03-20 Thread Masami Hiramatsu
On Fri, 19 Mar 2021 21:22:39 +0900 Masami Hiramatsu wrote: > From: Josh Poimboeuf > > Add UNWIND_HINT_FUNC on kretporbe_trampoline code so that ORC > information is generated on the kretprobe_trampoline correctly. > Test bot also found a new warning for this. > >>

Re: [PATCH] v4l2-ctrls: Fix h264 hierarchical coding type menu ctrl

2021-03-20 Thread Hans Verkuil
On 20/03/2021 12:53, Stanimir Varbanov wrote: > Kindly ping for review. Weird, it was marked as 'Under Review' in patchwork, but it wasn't delegated to anyone. I've changed it to 'New' and delegated it to myself. It looks good and I'll pick it up next time I collect 'various fixes' in a PR.

Re: [PATCH] mfd: ABX500_CORE should depend on ARCH_U8500

2021-03-20 Thread Linus Walleij
On Tue, Mar 16, 2021 at 2:37 PM Geert Uytterhoeven wrote: > The ST-Ericsson ABX500 Mixed Signal IC family chips are only present on > ST-Ericsson U8500 Series platforms. Hence add a dependency on > ARCH_U8500, to prevent asking the user about this driver when > configuring a kernel without

[PATCH] scsi: iscsi_tcp: Fix use-after-free when do get_host_param

2021-03-20 Thread Wu Bo
When logout of iscsi session, to do destroy session process, tcp_sw_host->session is not set to NULL. Get host parameters access to tcp_sw_host->session at the same time, but the session has been released at this time. [29844.848044] sd 2:0:0:1: [sdj] Synchronizing SCSI cache [29844.923745] scsi

[PATCH] crypto: atmel-ecc - fix W=1 "cannot understand" warning

2021-03-20 Thread Meng Yu
Fix kernel-doc warnings due to missing "struct" keyword. The warning likes: drivers/crypto/atmel-ecc.c:40: warning: cannot understand function prototype: 'struct atmel_ecdh_ctx ' Signed-off-by: Meng Yu --- drivers/crypto/atmel-ecc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH] Bluetooth: Remove trailing semicolon in macros

2021-03-20 Thread Meng Yu
1. remove trailing semicolon in macros; 2. fix some coding style. Signed-off-by: Meng Yu --- net/bluetooth/smp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net/bluetooth/smp.c b/net/bluetooth/smp.c index 26e8cfad..07a193e 100644 --- a/net/bluetooth/smp.c +++

Re: [PATCH master] module: remove never implemented MODULE_SUPPORTED_DEVICE

2021-03-20 Thread Leon Romanovsky
On Thu, Mar 18, 2021 at 10:55:51AM -0700, Linus Torvalds wrote: > On Thu, Mar 18, 2021 at 10:49 AM Leon Romanovsky wrote: > > > > No, I opened patch and added the note manually, so it is definitely my VIM. > > Most likely this part of my .vimrc caused it. > > Ok, that would do it. > > Yeah,

Re: [PATCH v7 4/6] x86/entry: Enable random_kstack_offset support

2021-03-20 Thread Ingo Molnar
* Kees Cook wrote: > Allow for a randomized stack offset on a per-syscall basis, with roughly > 5-6 bits of entropy, depending on compiler and word size. Since the > method of offsetting uses macros, this cannot live in the common entry > code (the stack offset needs to be retained for the

Re: [PATCH 1/1] ACPI: fix acpi table use after free

2021-03-20 Thread Mike Rapoport
On Thu, Mar 18, 2021 at 04:22:37PM +0100, Rafael J. Wysocki wrote: > On Thu, Mar 18, 2021 at 11:50 AM Rafael J. Wysocki wrote: > > > > On Thu, Mar 18, 2021 at 8:25 AM Mike Rapoport wrote: > > > > > > On Wed, Mar 17, 2021 at 09:14:37PM +0100, Rafael J. Wysocki wrote: > > > > On Monday, March 15,

Re: GTE - The hardware timestamping engine

2021-03-20 Thread Linus Walleij
Hi Dipen, thanks for your mail! I involved some other kernel people to get some discussion. I think Kent Gibson can be of great help because he is using GPIOs with high precision. We actually discussed this a bit when adding support for realtime timestamps. On Wed, Mar 17, 2021 at 11:29 PM

[PATCH] md/dm-mpath: check whether all pgpaths have same uuid in multipath_ctr()

2021-03-20 Thread Zhiqiang Liu
From: Zhiqiang Liu When we make IO stress test on multipath device, there will be a metadata err because of wrong path. In the test, we concurrent execute 'iscsi device login|logout' and 'multipath -r' command with IO stress on multipath device. In some case, systemd-udevd may have not time to

Re: [PATCH 5.11 00/31] 5.11.8-rc1 review

2021-03-20 Thread Greg Kroah-Hartman
On Sat, Mar 20, 2021 at 01:08:52AM +0530, Naresh Kamboju wrote: > On Fri, 19 Mar 2021 at 17:51, Greg Kroah-Hartman > wrote: > > > > This is the start of the stable review cycle for the 5.11.8 release. > > There are 31 patches in this series, all will be posted as a response > > to this one. If

Re: [PATCH v2] usb: cdns3: Optimize DMA request buffer allocation

2021-03-20 Thread Peter Chen
On 21-03-17 20:13:59, Sanket Parmar wrote: > dma_alloc_coherent() might fail on the platform with a small > DMA region. > > To avoid such failure in cdns3_prepare_aligned_request_buf(), > dma_alloc_coherent() is replaced with dma_alloc_noncoherent() > to allocate aligned request buffer of dynamic

Re: [PATCH 4.19 0/8] 4.19.182-rc1 review

2021-03-20 Thread Greg Kroah-Hartman
On Fri, Mar 19, 2021 at 02:21:46PM -0700, Guenter Roeck wrote: > On Fri, Mar 19, 2021 at 01:18:19PM +0100, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.182 release. > > There are 8 patches in this series, all will be posted as a response > > to this one.

Re: [v5, 1/2] drm/mediatek: mtk_dpi: Add check for max clock rate in mode_valid

2021-03-20 Thread Chun-Kuang Hu
Hi, Enric: Enric Balletbo Serra 於 2021年3月18日 週四 下午10:25寫道: > > Hi Rex-BC Chen, > > Thank you for your patch. > > Missatge de Rex-BC Chen del dia dj., 18 de > març 2021 a les 6:42: > > > > Add per-platform max clock rate check in mtk_dpi_bridge_mode_valid. > > > > Signed-off-by: Pi-Hsun Shih >

Re: [PATCH 4/4] PCI/sysfs: Allow userspace to query and set device reset mechanism

2021-03-20 Thread Leon Romanovsky
On Fri, Mar 19, 2021 at 10:23:13AM -0600, Alex Williamson wrote: > On Fri, 19 Mar 2021 14:59:47 +0200 > Leon Romanovsky wrote: > > > On Thu, Mar 18, 2021 at 07:34:56PM +0100, Enrico Weigelt, metux IT consult > > wrote: > > > On 18.03.21 18:22, Leon Romanovsky wrote: > > > > > > > Which email

Re: [PATCH] v4l2-ctrls: Fix h264 hierarchical coding type menu ctrl

2021-03-20 Thread Stanimir Varbanov
Kindly ping for review. On 3/3/21 12:42 AM, Stanimir Varbanov wrote: > Add a name of the menu and fill control type. > > Signed-off-by: Stanimir Varbanov > --- > drivers/media/v4l2-core/v4l2-ctrls.c | 8 > 1 file changed, 8 insertions(+) > > diff --git

include/linux/compiler_types.h:319:38: error: call to '__compiletime_assert_235' declared with attribute error: BUILD_BUG_ON failed: FIX_KMAP_SLOTS > PTRS_PER_PTE

2021-03-20 Thread kernel test robot
months ago config: arc-randconfig-r003-20210320 (attached as .config) compiler: arc-elf-gcc (GCC) 9.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https

Re: [PATCH 5.10 00/13] 5.10.25-rc1 review

2021-03-20 Thread Greg Kroah-Hartman
On Fri, Mar 19, 2021 at 01:06:36PM -0700, Florian Fainelli wrote: > > > On 3/19/2021 5:18 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.10.25 release. > > There are 13 patches in this series, all will be posted as a response > > to this one. If anyone

Re: [PATCH 4.19 0/8] 4.19.182-rc1 review

2021-03-20 Thread Greg Kroah-Hartman
On Fri, Mar 19, 2021 at 08:17:22PM +0100, Pavel Machek wrote: > Hi! > > > This is the start of the stable review cycle for the 4.19.182 release. > > There are 8 patches in this series, all will be posted as a response > > to this one. If anyone has any issues with these being applied, please > >

Re: [PATCH v4 8/9] soundwire: qcom: add auto enumeration support

2021-03-20 Thread kernel test robot
Hi Srinivas, I love your patch! Yet something to improve: [auto build test ERROR on robh/for-next] [also build test ERROR on sound/for-next asoc/for-next linus/master v5.12-rc3 next-20210319] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we

Re: [PATCH v8 15/19] media: uvcvideo: Set error_idx during ctrl_commit errors

2021-03-20 Thread Hans Verkuil
On 19/03/2021 18:09, Ricardo Ribalda wrote: > If we have an error setting a control, return the affected control in > the error_idx field. > > Signed-off-by: Ricardo Ribalda Reviewed-by: Hans Verkuil Regards, Hans > --- > drivers/media/usb/uvc/uvc_ctrl.c | 42

[PATCH 0/5] Cleanup and fixup for mm/migrate.c

2021-03-20 Thread Miaohe Lin
Hi all, This series contains cleanups to remove unnecessary VM_BUG_ON_PAGE and rc != MIGRATEPAGE_SUCCESS check. Also use helper function to remove some duplicated codes. What's more, this fixes potential deadlock in NUMA balancing shared exec THP case and so on. More details can be found in the

[PATCH 3/5] mm/migrate.c: fix potential indeterminate pte entry in migrate_vma_insert_page()

2021-03-20 Thread Miaohe Lin
If the zone device page does not belong to un-addressable device memory, the variable entry will be uninitialized and lead to indeterminate pte entry ultimately. Fix this unexpectant case and warn about it. Fixes: df6ad69838fc ("mm/device-public-memory: device memory cache coherent with CPU")

[PATCH 2/5] mm/migrate.c: remove unnecessary rc != MIGRATEPAGE_SUCCESS check in 'else' case

2021-03-20 Thread Miaohe Lin
It's guaranteed that in the 'else' case of the rc == MIGRATEPAGE_SUCCESS check, rc does not equal to MIGRATEPAGE_SUCCESS. Remove this unnecessary check. Signed-off-by: Miaohe Lin --- mm/migrate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/migrate.c b/mm/migrate.c

[PATCH 5/5] mm/migrate.c: fix potential deadlock in NUMA balancing shared exec THP case

2021-03-20 Thread Miaohe Lin
Since commit c77c5cbafe54 ("mm: migrate: skip shared exec THP for NUMA balancing"), the NUMA balancing would skip shared exec transhuge page. But this enhancement is not suitable for transhuge page. Because it's required that page_mapcount() must be 1 due to no migration pte dance is done here. On

[PATCH 4/5] mm/migrate.c: use helper migrate_vma_collect_skip() in migrate_vma_collect_hole()

2021-03-20 Thread Miaohe Lin
It's more recommended to use helper function migrate_vma_collect_skip() to skip the unexpected case and it also helps remove some duplicated codes. Move migrate_vma_collect_skip() above migrate_vma_collect_hole() to avoid compiler warning. Signed-off-by: Miaohe Lin --- mm/migrate.c | 28

[PATCH 1/5] mm/migrate.c: remove unnecessary VM_BUG_ON_PAGE on putback_movable_page()

2021-03-20 Thread Miaohe Lin
The !PageLocked() check is implicitly done in PageMovable(). Remove this explicit one. Signed-off-by: Miaohe Lin --- mm/migrate.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mm/migrate.c b/mm/migrate.c index 47df0df8f21a..e4ca5ef508ea 100644 --- a/mm/migrate.c +++ b/mm/migrate.c @@

Re: [PATCH v8 05/19] media: uvcvideo: Remove s_ctrl and g_ctrl

2021-03-20 Thread Hans Verkuil
On 19/03/2021 18:08, Ricardo Ribalda wrote: > If we do not implement these callback the framework will call the ext_ctrl > callbaks instead, which are a superset of this functions. callbaks -> callbacks With that changed you can add my: Reviewed-by: Hans Verkuil Regards, Hans > >

Re: [PATCH v4] mm: cma: support sysfs

2021-03-20 Thread Greg Kroah-Hartman
On Fri, Mar 19, 2021 at 10:24:03PM +0300, Dmitry Osipenko wrote: > 19.03.2021 22:03, Minchan Kim пишет: > > On Fri, Mar 19, 2021 at 09:48:11PM +0300, Dmitry Osipenko wrote: > >> 19.03.2021 21:21, Minchan Kim пишет: > >>> On Fri, Mar 19, 2021 at 08:56:06PM +0300, Dmitry Osipenko wrote: >

[rcu:rcu/test] BUILD SUCCESS 25577a0bbbd347ae3459f56a44ad4704f0fce723

2021-03-20 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/test branch HEAD: 25577a0bbbd347ae3459f56a44ad4704f0fce723 Merge remote-tracking branch 'linus/master' into dev.2021.03.18a elapsed time: 726m configs tested: 103 configs skipped: 2 The following configs

Re: [PATCH v8 04/19] media: v4l2-ioctl: S_CTRL output the right value

2021-03-20 Thread Hans Verkuil
On 19/03/2021 18:08, Ricardo Ribalda wrote: > If the driver does not implement s_ctrl, but it does implement > s_ext_ctrls, we convert the call. > > When that happens we have also to convert back the response from > s_ext_ctrls. > > Fixes v4l2_compliance: > Control ioctls (Input 0): >

Re: possible deadlock in start_this_handle (2)

2021-03-20 Thread Tetsuo Handa
Peter, would you answer to 6 questions listed below? Below is a reproducer kernel module (prefixed with "my_" for distinction) for https://syzkaller.appspot.com/bug?id=38c060d5757cbc13fdffd46e80557c645fbe79ba . -- test.c -- #include #include #include <../fs/ext4/ext4.h> static

Re: [PATCH v11 6/6] powerpc: Book3S 64-bit outline-only KASAN support

2021-03-20 Thread Balbir Singh
On Sat, Mar 20, 2021 at 01:40:58AM +1100, Daniel Axtens wrote: > Implement a limited form of KASAN for Book3S 64-bit machines running under > the Radix MMU, supporting only outline mode. > Could you highlight the changes from

Re: linux-next: Tree for Mar 19

2021-03-20 Thread Miguel Ojeda
On Sat, Mar 20, 2021 at 6:33 AM Stephen Rothwell wrote: > > Daniel Axtens reported the same breakage on powerpc. I bisected it to > the same commit. More experimentation shows that if you reverse just > the change to include/linux/moduleparam.h the above warnings go away. > So > > -#define

[PATCH] tracing: Update create_system_filter() kernel-doc comment

2021-03-20 Thread Qiujun Huang
commit f306cc82a93d ("tracing: Update event filters for multibuffer") added the parameter @tr for create_system_filter(). commit bb9ef1cb7d86 ("tracing: Change apply_subsystem_event_filter() paths to check file->system == dir") changed the parameter from @system to @dir. commit 1e144d73f729

Re: [PATCH v7 00/22] pinctrl: add BCM63XX pincontrol support

2021-03-20 Thread Linus Walleij
On Wed, Mar 17, 2021 at 12:20 PM Álvaro Fernández Rojas wrote: > I appreciate that, but I’m having a hard time in understanding what > Rob wants and since there are no examples available on most of the > stuff he’s requesting this is really frustrating... I am sorry that the situation can be

[tip:irq/core] BUILD SUCCESS c93a5e20c3c2dabef8ea360a3d3f18c6f68233ab

2021-03-20 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq/core branch HEAD: c93a5e20c3c2dabef8ea360a3d3f18c6f68233ab genirq/matrix: Prevent allocation counter corruption elapsed time: 815m configs tested: 138 configs skipped: 2 The following configs have been built

Re: Linux 5.4.107

2021-03-20 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index a333b378f1f7..43159b21a83f 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 4 -SUBLEVEL = 106 +SUBLEVEL = 107 EXTRAVERSION = NAME = Kleptomaniac Octopus diff --git

Re: Linux 4.19.182

2021-03-20 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index 29930269b486..5956638e0f4d 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 19 -SUBLEVEL = 181 +SUBLEVEL = 182 EXTRAVERSION = NAME = "People's Front" diff --git

Linux 5.4.107

2021-03-20 Thread Greg Kroah-Hartman
I'm announcing the release of the 5.4.107 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 kernel.org git web browser:

Linux 4.19.182

2021-03-20 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.19.182 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 kernel.org git web

[PATCH 4/4] crypto: hisilicon/qm - add queue isolation support for Kunpeng930

2021-03-20 Thread Weili Qian
Kunpeng930 supports doorbell isolation to ensure that each queue has an independent doorbell address space. Signed-off-by: Weili Qian --- drivers/crypto/hisilicon/qm.c | 161 +++--- drivers/crypto/hisilicon/qm.h | 4 +- include/uapi/misc/uacce/hisi_qm.h

[tip:x86/sgx] BUILD SUCCESS 4284f7acb78bfb0e0c26a2b78e2b2c3d68fccd6f

2021-03-20 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/sgx branch HEAD: 4284f7acb78bfb0e0c26a2b78e2b2c3d68fccd6f selftests/sgx: Improve error detection and messages elapsed time: 720m configs tested: 160 configs skipped: 2 The following configs have been built

[tip:x86/urgent] BUILD SUCCESS dd926880da8dbbe409e709c1d3c1620729a94732

2021-03-20 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/urgent branch HEAD: dd926880da8dbbe409e709c1d3c1620729a94732 x86/apic/of: Fix CPU devicetree-node lookups elapsed time: 727m configs tested: 131 configs skipped: 2 The following configs have been built successfully.

[PATCH 3/4] crypto: hisilicon/qm - set the number of queues for function

2021-03-20 Thread Weili Qian
Kunpeng930 supports queue doorbell isolation. When doorbell isolation is enabled, it supports to obtain the maximum number of queues of one function from hardware register. Otherwise, the 'max_qp_num' is the total number of queues. When assigning queues to VF, it is necessary to ensure that the

[PATCH 2/4] crypto: hisilicon/qm - move 'CURRENT_QM' code to qm.c

2021-03-20 Thread Weili Qian
Since the code related to 'CURRENT_QM' debugfs is exactly same in sec/hpre/zip driver, move 'CURRENT_QM' to qm.c to reduce duplicate code. Signed-off-by: Weili Qian --- drivers/crypto/hisilicon/hpre/hpre.h | 1 - drivers/crypto/hisilicon/hpre/hpre_main.c | 61 --

[PATCH 1/4] crypto: hisilicon/qm - set the total number of queues

2021-03-20 Thread Weili Qian
Move the configuration of the total number of queues 'ctrl_qp_num' from sec2/hpre/zip to qm.c. And get the total number of queues from the hardware register for Kunpeng930. Signed-off-by: Weili Qian --- drivers/crypto/hisilicon/hpre/hpre_main.c | 3 --- drivers/crypto/hisilicon/qm.c

[PATCH 0/4] crypto: hisilicon/qm - support doorbell isolation and queue number configuration

2021-03-20 Thread Weili Qian
Kunpeng930 supports getting the number of queues from hardware registers and queue doorbell isolation. This patchset configures the total number of hardware queues and the maximum number of function queues, and supports queue doorbell isolation. Weili Qian (4): crypto: hisilicon/qm - set the

Re: CHECKPATCH: missing a warning soon after include files decl -c

2021-03-20 Thread Joe Perches
On Sat, 2021-03-20 at 11:59 +0100, Greg KH wrote: > On Sat, Mar 20, 2021 at 11:54:24AM +0100, Fabio Aiuto wrote: > > Hi, > > > > here's an issue in checkpatch.pl > > > > $ perl script/checkpatch.pl -f drivers/staging/rtl8723bs/core/rtw_ap.c > > > > I get three warning related to an extern

Re: [PATCH v2] usb: cdns3: Optimize DMA request buffer allocation

2021-03-20 Thread Peter Chen
On 21-03-18 07:32:45, Christoph Hellwig wrote: > On Wed, Mar 17, 2021 at 08:13:59PM +0100, Sanket Parmar wrote: > > dma_alloc_coherent() might fail on the platform with a small > > DMA region. > > > > To avoid such failure in cdns3_prepare_aligned_request_buf(), > > dma_alloc_coherent() is

Re: [PATCH v2] hwmon: add driver for NZXT Kraken X42/X52/X62/X72

2021-03-20 Thread Jonas Malaco
On Fri, Mar 19, 2021 at 02:26:40PM -0700, Guenter Roeck wrote: > On Fri, Mar 19, 2021 at 01:55:44AM -0300, Jonas Malaco wrote: > > These are "all-in-one" CPU liquid coolers that can be monitored and > > controlled through a proprietary USB HID protocol. > > > > While the models have differently

[PATCH] perf test: Change to use bash for daemon test

2021-03-20 Thread Leo Yan
When executed the daemon test on Arm64 and x86 with Debian (Buster) distro, both skip the test case with the log: # ./perf test -v 76 76: daemon operations : --- start --- test child forked, pid 11687 test daemon list trap: SIGINT: bad

[syzbot] KMSAN: uninit-value in btrfs_del_items

2021-03-20 Thread syzbot
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 master console output: https://syzkaller.appspot.com/x/log.txt?x=17eda2dcd0 kernel config:

[PATCH] ecryptfs: fix incorrect kernel-doc comment syntax in files

2021-03-20 Thread Aditya Srivastava
The opening comment mark '/**' is used for kernel-doc comments. There are files in fs/encrypts which follows this syntax, but the content inside does not comply with kernel-doc. This causes unexpected warnings from kernel-doc. E.g., header comment for fs/ecryptfs/dentry.c follows kernel-doc

[tip: x86/cpu] x86/mce: Add Xeon Sapphire Rapids to list of CPUs that support PPIN

2021-03-20 Thread tip-bot2 for Tony Luck
The following commit has been merged into the x86/cpu branch of tip: Commit-ID: a331f5fdd36dba1ffb0239a4dfaaf1df91ff1aab Gitweb: https://git.kernel.org/tip/a331f5fdd36dba1ffb0239a4dfaaf1df91ff1aab Author:Tony Luck AuthorDate:Fri, 19 Mar 2021 10:39:19 -07:00 Committer:

Re: [syzbot] KASAN: slab-out-of-bounds Read in add_adv_patterns_monitor

2021-03-20 Thread syzbot
syzbot suspects this issue was fixed by commit: commit b4a221ea8a1f890b50838ef389d016c7ff280abc Author: Archie Pusaka Date: Fri Jan 22 08:36:11 2021 + Bluetooth: advmon offload MSFT add rssi support bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=14ef5ad6d0 start

Re: [PATCH v5] lockdep: Allow tuning tracing capacity constants.

2021-03-20 Thread Dmitry Vyukov
On Mon, Feb 8, 2021 at 11:29 AM Tetsuo Handa wrote: > > Since syzkaller continues various test cases until the kernel crashes, > syzkaller tends to examine more locking dependencies than normal systems. > As a result, syzbot is reporting that the fuzz testing was terminated > due to hitting upper

Re: [RFC PATCH v2 net-next 08/16] net: dsa: replay port and host-joined mdb entries when joining the bridge

2021-03-20 Thread Vladimir Oltean
On Fri, Mar 19, 2021 at 03:20:38PM -0700, Florian Fainelli wrote: > > > On 3/18/2021 4:18 PM, Vladimir Oltean wrote: > > From: Vladimir Oltean > > > > I have udhcpcd in my system and this is configured to bring interfaces > > up as soon as they are created. > > > > I create a bridge as follows: >

[PATCH] thermal: mediatek: add sensors-support

2021-03-20 Thread Frank Wunderlich
From: Frank Wunderlich add HWMON-support to mediateks thermanl driver to allow lm-sensors userspace tools read soc temperature Signed-off-by: Frank Wunderlich --- drivers/thermal/mtk_thermal.c | 22 ++ 1 file changed, 22 insertions(+) diff --git

Linux 5.11.8

2021-03-20 Thread Greg Kroah-Hartman
I'm announcing the release of the 5.11.8 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 kernel.org git web browser:

Linux 5.10.25

2021-03-20 Thread Greg Kroah-Hartman
I'm announcing the release of the 5.10.25 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 kernel.org git web

Re: Linux 5.10.25

2021-03-20 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index 3a435c928e75..6858425cbe6c 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 10 -SUBLEVEL = 24 +SUBLEVEL = 25 EXTRAVERSION = NAME = Dare mighty things diff --git

Re: Linux 5.11.8

2021-03-20 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index 6ba32b82c480..d8a39ece170d 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 11 -SUBLEVEL = 7 +SUBLEVEL = 8 EXTRAVERSION = NAME =  Valentine's Day Edition  diff --git

Re: linux-next: Tree for Mar 19

2021-03-20 Thread Miguel Ojeda
On Sat, Mar 20, 2021 at 7:07 AM Miguel Ojeda wrote: > > Sorry for that, and thanks a lot for taking a look. For the Rust > support I had to increase a few limits, mainly the symbol length. Let > me check and I'll report back. Reproduced on s390. However, under defconfig, one also needs to revert

Re: [PATCH v5 0/7] Add basic support for Loongson-2K1000

2021-03-20 Thread zhangqing
ping On 03/15/2021 03:49 PM, Qing Zhang wrote: These patches support single-core DTS boot to the serial port login interface, which can be operated using conventional commands. I have successfully tested it on the Loongson 2K1000 machine. pmon: http://cgit.loongnix.org/cgit/pmon-loongson3/

Re: [PATCH v5 26/27] mm/filemap: Convert page wait queues to be folios

2021-03-20 Thread kernel test robot
note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Matthew-Wilcox-Oracle/Memory-Folios/20210320-134732 base:f00397ee41c79b6155b9b44abd0055b2c0621349 config: nds32-defconfig (att

arch/m68k/68000/dragen2.c:73:16: error: 'screen_bits' undeclared

2021-03-20 Thread kernel test robot
Hi Arnd, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1c273e10bc0cc7efb933e0ca10e260cdfc9f0b8c commit: a734bbf694270dca8594a5c33375867dc31503f5 m68k: m68328: move platform code to separate files date: 3 months

Re: [PATCH v2 1/2] ext4: Handle casefolding with encryption

2021-03-20 Thread Andreas Dilger
On Mar 19, 2021, at 1:34 AM, Daniel Rosenberg wrote: > > This adds support for encryption with casefolding. > > Since the name on disk is case preserving, and also encrypted, we can no > longer just recompute the hash on the fly. Additionally, to avoid > leaking extra information from the hash

Re: NULL deref in integrity_inode_get

2021-03-20 Thread Dmitry Vyukov
On Fri, Mar 19, 2021 at 9:22 PM Mimi Zohar wrote: > > On Thu, 2021-03-18 at 07:53 +0100, Dmitry Vyukov wrote: > > On Thu, Mar 18, 2021 at 3:18 AM Mimi Zohar wrote: > > > > > > Hi Dmitry, > > > > > > On Mon, 2021-03-15 at 14:07 +0100, Dmitry Vyukov wrote: > > > > On Mon, Mar 15, 2021 at 1:41 PM

Re: [PATCH 5.4 00/18] 5.4.107-rc1 review

2021-03-20 Thread Naresh Kamboju
On Fri, 19 Mar 2021 at 17:49, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.4.107 release. > There are 18 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

[PATCH] net: decnet: Fixed multiple coding style issues

2021-03-20 Thread Sai Kalyaan Palla
Made changes to coding style as suggested by checkpatch.pl changes are of the type: open brace '{' following struct go on the same line do not use assignment in if condition Signed-off-by: Sai Kalyaan Palla --- net/decnet/dn_route.c | 21 + 1 file changed, 13

drivers/gpu/drm/i915/gvt/gtt.c:267:19: error: unused function 'get_pt_type'

2021-03-20 Thread kernel test robot
Hi Nick, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1c273e10bc0cc7efb933e0ca10e260cdfc9f0b8c commit: 9f4069b055d1508c833115df7493b6e0001e5c9b drm/i915: re-disable -Wframe-address date: 11 months ago config:

ERROR: modpost: "__delay" undefined!

2021-03-20 Thread kernel test robot
Hi Andrew, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1c273e10bc0cc7efb933e0ca10e260cdfc9f0b8c commit: a9770eac511ad82390b9f4a3c1728e078c387ac7 net: mdio: Move MDIO drivers into a new subdirectory date: 7

[PATCH v1 2/2] iio: temperature: add driver support for ti tmp117

2021-03-20 Thread Puranjay Mohan
TMP117 is a Digital temperature sensor with integrated NV memory. Add support for tmp117 driver in iio subsystem. Datasheet:-https://www.ti.com/lit/gpn/tmp117 Signed-off-by: Puranjay Mohan --- drivers/iio/temperature/Kconfig | 10 ++ drivers/iio/temperature/Makefile | 1 +

Re: [PATCH v3] gpio: pl061: Support implementations without GPIOINTR line

2021-03-20 Thread Linus Walleij
On Fri, Mar 19, 2021 at 4:32 PM Alexander Sverdlin wrote: > [Andy] > > I'm wondering if the GPIO library support for IRQ hierarchy is what > > you are looking for. It is indeed what should be used. > do you have a better suggestion? That's why I reference the below discussion > from 2017,

Re: linux-next: Tree for Mar 19

2021-03-20 Thread Miguel Ojeda
On Sat, Mar 20, 2021 at 7:49 AM Miguel Ojeda wrote: > > Reproduced on s390. However, under defconfig, one also needs to revert > kernel/livepatch/core.c to avoid triggering the assert, i.e.: Stephen: I will put this in rust-next so that others don't see problems on their side and test it with a

[PATCH v1 0/2] iio: temperature: add support for tmp117

2021-03-20 Thread Puranjay Mohan
Add the dt-bindings and the driver for tmp117 sensor. Changes since v0: 1. Correct Yaml syntax. 2. Change IIO_CHAN_INFO_OFFSET to IIO_CHAN_INFO_CALIBBIAS. 3. Implement IIO_CHAN_INFO_SCALE. 4. Use devm_iio_device_register(). 5. Remove unused headers like delay.h Puranjay Mohan (2): dt-bindings:

CHECKPATCH: missing a warning soon after include files decl -c

2021-03-20 Thread Fabio Aiuto
Hi, here's an issue in checkpatch.pl $ perl script/checkpatch.pl -f drivers/staging/rtl8723bs/core/rtw_ap.c I get three warning related to an extern declaration WARNING: externs should be avoided in .c files #14: FILE: drivers/staging/rtl8723bs/core/rtw_ap.c:14: +extern unsigned char

Re: [RFC PATCH v2 net-next 07/16] net: dsa: sync ageing time when joining the bridge

2021-03-20 Thread Vladimir Oltean
On Fri, Mar 19, 2021 at 03:13:03PM -0700, Florian Fainelli wrote: > > diff --git a/net/bridge/br_stp.c b/net/bridge/br_stp.c > > index 86b5e05d3f21..3dafb6143cff 100644 > > --- a/net/bridge/br_stp.c > > +++ b/net/bridge/br_stp.c > > @@ -639,6 +639,19 @@ int br_set_ageing_time(struct net_bridge

[PATCH v1 1/2] dt-bindings: iio: temperature: Add DT bindings for TMP117

2021-03-20 Thread Puranjay Mohan
Add devicetree binding document for TMP117, a digital temperature sensor. Signed-off-by: Puranjay Mohan --- .../bindings/iio/temperature/ti,tmp117.yaml | 27 +++ 1 file changed, 27 insertions(+) create mode 100644

Re: [RFC] scripts: kernel-doc: avoid warnings due to initial commented lines in file

2021-03-20 Thread Aditya
On 18/3/21 11:48 pm, Jonathan Corbet wrote: > Lukas Bulwahn writes: > >> Yeah, and as this line-counting is really just a poor man's >> heuristics, we might just be better to really turn this heuristics >> into a dedicated cleanup warning script, then we can check for more >> indicators, such as

Re: CHECKPATCH: missing a warning soon after include files decl -c

2021-03-20 Thread Greg KH
On Sat, Mar 20, 2021 at 11:54:24AM +0100, Fabio Aiuto wrote: > Hi, > > here's an issue in checkpatch.pl > > $ perl script/checkpatch.pl -f drivers/staging/rtl8723bs/core/rtw_ap.c > > I get three warning related to an extern declaration > > WARNING: externs should be avoided in .c files > #14:

Re: [RFC PATCH v2 net-next 03/16] net: dsa: inherit the actual bridge port flags at join time

2021-03-20 Thread Vladimir Oltean
On Fri, Mar 19, 2021 at 03:08:46PM -0700, Florian Fainelli wrote: > > > On 3/18/2021 4:18 PM, Vladimir Oltean wrote: > > From: Vladimir Oltean > > > > DSA currently assumes that the bridge port starts off with this > > constellation of bridge port flags: > > > > - learning on > > - unicast

Re: [for-stable-4.19 PATCH v2 0/2] Backport patches to fix KASAN+LKDTM with recent clang on ARM64

2021-03-20 Thread Greg Kroah-Hartman
On Sat, Mar 20, 2021 at 12:16:24PM +0800, Nicolas Boichat wrote: > Backport 2 patches that are required to make KASAN+LKDTM work > with recent clang (patch 2/2 has a complete description). > Tested on our chromeos-4.19 branch. > Also compile tested on x86-64 and arm64 with gcc this time > around.

[PATCH] drm: xlnx: zynqmp: release reset to DP controller before accessing DP registers

2021-03-20 Thread quanyang . wang
From: Quanyang Wang When insmod zynqmp-dpsub.ko after rmmod it, system will hang with the error log as below: root@xilinx-zynqmp:~# insmod zynqmp-dpsub.ko [ 88.391289] [drm] Initialized zynqmp-dpsub 1.0.0 20130509 for fd4a.display on minor 0 [ 88.529906] Console: switching to colour

Re: [ANNOUNCE] v5.12-rc3-rt3

2021-03-20 Thread Mike Galbraith
On Fri, 2021-03-19 at 23:33 +0100, Sebastian Andrzej Siewior wrote: > Dear RT folks! > > I'm pleased to announce the v5.12-rc3-rt3 patch set. My little rpi4b is fairly unhappy with 5.12-rt, whereas 5.11-rt works fine on it. The below spew is endless, making boot endless. I turned it into a

Re: [PATCH v6 13/14] drm/bridge: imx: Add LDB support for i.MX8qm

2021-03-20 Thread kernel test robot
Hi Liu, Thank you for the patch! Yet something to improve: [auto build test ERROR on shawnguo/for-next] [also build test ERROR on robh/for-next drm-intel/for-linux-next drm-tip/drm-tip drm-exynos/exynos-drm-next tegra-drm/drm/tegra/for-next linus/master v5.12-rc3 next-20210319] [cannot apply

Re: [PATCH 4.19 0/8] 4.19.182-rc1 review

2021-03-20 Thread Naresh Kamboju
On Fri, 19 Mar 2021 at 17:48, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.182 release. > There are 8 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [PATCH v3 0/5] arm64: kasan: support CONFIG_KASAN_VMALLOC

2021-03-20 Thread Lecopzer Chen
On Sat, Mar 20, 2021 at 1:41 AM Catalin Marinas wrote: > > Hi Lecopzer, > > On Sat, Feb 06, 2021 at 04:35:47PM +0800, Lecopzer Chen wrote: > > Linux supports KAsan for VMALLOC since commit 3c5c3cfb9ef4da9 > > ("kasan: support backing vmalloc space with real shadow memory") > > > > Acroding to how

Re: [PATCH 1/3] posic_acl: Add a helper determine if SGID should be cleared

2021-03-20 Thread Christian Brauner
On Fri, Mar 19, 2021 at 11:42:48PM +0100, Andreas Grünbacher wrote: > Hi, > > Am Fr., 19. März 2021 um 20:58 Uhr schrieb Vivek Goyal : > > posix_acl_update_mode() determines what's the equivalent mode and if SGID > > needs to be cleared or not. I need to make use of this code in fuse > > as well.

<    1   2   3   4