[PATCH AUTOSEL 5.4 06/14] net: usb: qmi_wwan: add Telit LE910C1-EUX composition

2020-06-05 Thread Sasha Levin
From: Daniele Palmas [ Upstream commit 591612aa578cd7148b7b9d74869ef40118978389 ] Add support for Telit LE910C1-EUX composition 0x1031: tty, tty, tty, rmnet Signed-off-by: Daniele Palmas Acked-by: Bjørn Mork Signed-off-by: David S. Miller Signed-off-by: Sasha Levin ---

[PATCH AUTOSEL 5.6 17/17] l2tp: do not use inet_hash()/inet_unhash()

2020-06-05 Thread Sasha Levin
From: Eric Dumazet [ Upstream commit 02c71b144c811bcdd865e0a1226d0407d11357e8 ] syzbot recently found a way to crash the kernel [1] Issue here is that inet_hash() & inet_unhash() are currently only meant to be used by TCP & DCCP, since only these protocols provide the needed hashinfo pointer.

[PATCH AUTOSEL 5.4 04/14] net: stmmac: enable timestamp snapshot for required PTP packets in dwmac v5.10a

2020-06-05 Thread Sasha Levin
From: Fugang Duan [ Upstream commit f2fb6b6275eba9d312957ca44c487bd780da6169 ] For rx filter 'HWTSTAMP_FILTER_PTP_V2_EVENT', it should be PTP v2/802.AS1, any layer, any kind of event packet, but HW only take timestamp snapshot for below PTP message: sync, Pdelay_req, Pdelay_resp. Then it

[PATCH AUTOSEL 5.4 10/14] gfs2: Even more gfs2_find_jhead fixes

2020-06-05 Thread Sasha Levin
From: Andreas Gruenbacher [ Upstream commit 20be493b787cd581c9fffad7fcd6bfbe6af1050c ] Fix several issues in the previous gfs2_find_jhead fix: * When updating @blocks_submitted, @block refers to the first block block not submitted yet, not the last block submitted, so fix an off-by-one error.

[PATCH AUTOSEL 5.4 05/14] net: check untrusted gso_size at kernel entry

2020-06-05 Thread Sasha Levin
From: Willem de Bruijn [ Upstream commit 6dd912f82680761d8fb6b1bb274a69d4c7010988 ] Syzkaller again found a path to a kernel crash through bad gso input: a packet with gso size exceeding len. These packets are dropped in tcp_gso_segment and udp[46]_ufo_fragment. But they may affect gso size

[PATCH AUTOSEL 5.6 11/17] csky: Fixup abiv2 syscall_trace break a4 & a5

2020-06-05 Thread Sasha Levin
From: Guo Ren [ Upstream commit e0bbb53843b5fdfe464b099217e3b9d97e8a75d7 ] Current implementation could destory a4 & a5 when strace, so we need to get them from pt_regs by SAVE_ALL. Signed-off-by: Guo Ren Signed-off-by: Sasha Levin --- arch/csky/abiv2/inc/abi/entry.h | 2 ++

[PATCH AUTOSEL 5.4 03/14] sched/fair: Don't NUMA balance for kthreads

2020-06-05 Thread Sasha Levin
From: Jens Axboe [ Upstream commit 18f855e574d9799a0e7489f8ae6fd8447d0dd74a ] Stefano reported a crash with using SQPOLL with io_uring: BUG: kernel NULL pointer dereference, address: 03b0 CPU: 2 PID: 1307 Comm: io_uring-sq Not tainted 5.7.0-rc7 #11 RIP:

[PATCH AUTOSEL 5.6 13/17] net/mlx5: Fix crash upon suspend/resume

2020-06-05 Thread Sasha Levin
From: Mark Bloch [ Upstream commit 8fc3e29be9248048f449793502c15af329f35c6e ] Currently a Linux system with the mlx5 NIC always crashes upon hibernation - suspend/resume. Add basic callbacks so the NIC could be suspended and resumed. Fixes: 9603b61de1ee ("mlx5: Move pci device handling from

[PATCH AUTOSEL 5.4 12/14] NFC: st21nfca: add missed kfree_skb() in an error path

2020-06-05 Thread Sasha Levin
From: Chuhong Yuan [ Upstream commit 3decabdc714ca56c944f4669b4cdec5c2c1cea23 ] st21nfca_tm_send_atr_res() misses to call kfree_skb() in an error path. Add the missed function call to fix it. Fixes: 1892bf844ea0 ("NFC: st21nfca: Adding P2P support to st21nfca in Initiator & Target mode")

[PATCH AUTOSEL 5.4 11/14] net/mlx5: Fix crash upon suspend/resume

2020-06-05 Thread Sasha Levin
From: Mark Bloch [ Upstream commit 8fc3e29be9248048f449793502c15af329f35c6e ] Currently a Linux system with the mlx5 NIC always crashes upon hibernation - suspend/resume. Add basic callbacks so the NIC could be suspended and resumed. Fixes: 9603b61de1ee ("mlx5: Move pci device handling from

drivers/net/ethernet/huawei/hinic/hinic_sriov.c:477:6: warning: variable 'func_id' set but not used

2020-06-05 Thread kernel test robot
-randconfig-r013-20200605 (attached as .config) compiler: gcc-9 (Debian 9.3.0-13) 9.3.0 reproduce (this is a W=1 build): git checkout 7dd29ee128654702bd493ecec0bb22c2c5f0f395 # save the attached .config to linux build tree make W=1 ARCH=i386 If you fix the issue, kindly add

[PATCH AUTOSEL 4.19 4/9] net: check untrusted gso_size at kernel entry

2020-06-05 Thread Sasha Levin
From: Willem de Bruijn [ Upstream commit 6dd912f82680761d8fb6b1bb274a69d4c7010988 ] Syzkaller again found a path to a kernel crash through bad gso input: a packet with gso size exceeding len. These packets are dropped in tcp_gso_segment and udp[46]_ufo_fragment. But they may affect gso size

[PATCH AUTOSEL 4.19 1/9] Input: mms114 - fix handling of mms345l

2020-06-05 Thread Sasha Levin
From: Stephan Gerhold [ Upstream commit 3f8f770575d911c989043d8f0fb8dec96360c41c ] MMS345L is another first generation touch screen from Melfas, which uses the same registers as MMS152. However, using I2C_M_NOSTART for it causes errors when reading: i2c i2c-0: sendbytes: NAK bailout.

[PATCH AUTOSEL 4.19 3/9] sched/fair: Don't NUMA balance for kthreads

2020-06-05 Thread Sasha Levin
From: Jens Axboe [ Upstream commit 18f855e574d9799a0e7489f8ae6fd8447d0dd74a ] Stefano reported a crash with using SQPOLL with io_uring: BUG: kernel NULL pointer dereference, address: 03b0 CPU: 2 PID: 1307 Comm: io_uring-sq Not tainted 5.7.0-rc7 #11 RIP:

[PATCH AUTOSEL 5.4 13/14] drivers/net/ibmvnic: Update VNIC protocol version reporting

2020-06-05 Thread Sasha Levin
From: Thomas Falcon [ Upstream commit 784688993ebac34dffe44a9f2fabbe126ebfd4db ] VNIC protocol version is reported in big-endian format, but it is not byteswapped before logging. Fix that, and remove version comparison as only one protocol version exists at this time. Signed-off-by: Thomas

[PATCH AUTOSEL 4.19 2/9] ARM: 8977/1: ptrace: Fix mask for thumb breakpoint hook

2020-06-05 Thread Sasha Levin
From: Fredrik Strupe [ Upstream commit 3866f217aaa81bf7165c7f27362eee5d7919c496 ] call_undef_hook() in traps.c applies the same instr_mask for both 16-bit and 32-bit thumb instructions. If instr_mask then is only 16 bits wide (0x as opposed to 0x), the first half-word of 32-bit

[PATCH AUTOSEL 4.19 7/9] NFC: st21nfca: add missed kfree_skb() in an error path

2020-06-05 Thread Sasha Levin
From: Chuhong Yuan [ Upstream commit 3decabdc714ca56c944f4669b4cdec5c2c1cea23 ] st21nfca_tm_send_atr_res() misses to call kfree_skb() in an error path. Add the missed function call to fix it. Fixes: 1892bf844ea0 ("NFC: st21nfca: Adding P2P support to st21nfca in Initiator & Target mode")

[PATCH AUTOSEL 4.9 5/6] drivers/net/ibmvnic: Update VNIC protocol version reporting

2020-06-05 Thread Sasha Levin
From: Thomas Falcon [ Upstream commit 784688993ebac34dffe44a9f2fabbe126ebfd4db ] VNIC protocol version is reported in big-endian format, but it is not byteswapped before logging. Fix that, and remove version comparison as only one protocol version exists at this time. Signed-off-by: Thomas

[PATCH AUTOSEL 4.9 2/6] sched/fair: Don't NUMA balance for kthreads

2020-06-05 Thread Sasha Levin
From: Jens Axboe [ Upstream commit 18f855e574d9799a0e7489f8ae6fd8447d0dd74a ] Stefano reported a crash with using SQPOLL with io_uring: BUG: kernel NULL pointer dereference, address: 03b0 CPU: 2 PID: 1307 Comm: io_uring-sq Not tainted 5.7.0-rc7 #11 RIP:

[PATCH AUTOSEL 4.14 6/8] NFC: st21nfca: add missed kfree_skb() in an error path

2020-06-05 Thread Sasha Levin
From: Chuhong Yuan [ Upstream commit 3decabdc714ca56c944f4669b4cdec5c2c1cea23 ] st21nfca_tm_send_atr_res() misses to call kfree_skb() in an error path. Add the missed function call to fix it. Fixes: 1892bf844ea0 ("NFC: st21nfca: Adding P2P support to st21nfca in Initiator & Target mode")

[PATCH AUTOSEL 4.14 8/8] l2tp: do not use inet_hash()/inet_unhash()

2020-06-05 Thread Sasha Levin
From: Eric Dumazet [ Upstream commit 02c71b144c811bcdd865e0a1226d0407d11357e8 ] syzbot recently found a way to crash the kernel [1] Issue here is that inet_hash() & inet_unhash() are currently only meant to be used by TCP & DCCP, since only these protocols provide the needed hashinfo pointer.

Re: [PATCH] ARM: dts: r8a7742-iwg21d-q7-dbcm-ca: Add device tree for camera DB

2020-06-05 Thread Geert Uytterhoeven
Hi Prabhakar, On Wed, May 27, 2020 at 3:29 PM Lad Prabhakar wrote: > Add support for the camera daughter board which is connected to > iWave's RZ/G1H Qseven carrier board. Also enable ttySC[0135] and > ethernet1 interfaces. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Marian-Cristian Rotariu

[PATCH AUTOSEL 4.19 8/9] drivers/net/ibmvnic: Update VNIC protocol version reporting

2020-06-05 Thread Sasha Levin
From: Thomas Falcon [ Upstream commit 784688993ebac34dffe44a9f2fabbe126ebfd4db ] VNIC protocol version is reported in big-endian format, but it is not byteswapped before logging. Fix that, and remove version comparison as only one protocol version exists at this time. Signed-off-by: Thomas

[PATCH AUTOSEL 4.14 5/8] Input: synaptics - add a second working PNP_ID for Lenovo T470s

2020-06-05 Thread Sasha Levin
From: Dennis Kadioglu [ Upstream commit 642aa86eaf8f1e6fe894f20fd7f12f0db52ee03c ] The Lenovo Thinkpad T470s I own has a different touchpad with "LEN007a" instead of the already included PNP ID "LEN006c". However, my touchpad seems to work well without any problems using RMI. So this patch adds

[PATCH AUTOSEL 4.14 4/8] net: usb: qmi_wwan: add Telit LE910C1-EUX composition

2020-06-05 Thread Sasha Levin
From: Daniele Palmas [ Upstream commit 591612aa578cd7148b7b9d74869ef40118978389 ] Add support for Telit LE910C1-EUX composition 0x1031: tty, tty, tty, rmnet Signed-off-by: Daniele Palmas Acked-by: Bjørn Mork Signed-off-by: David S. Miller Signed-off-by: Sasha Levin ---

[PATCH AUTOSEL 4.14 3/8] net: check untrusted gso_size at kernel entry

2020-06-05 Thread Sasha Levin
From: Willem de Bruijn [ Upstream commit 6dd912f82680761d8fb6b1bb274a69d4c7010988 ] Syzkaller again found a path to a kernel crash through bad gso input: a packet with gso size exceeding len. These packets are dropped in tcp_gso_segment and udp[46]_ufo_fragment. But they may affect gso size

[PATCH AUTOSEL 4.9 4/6] NFC: st21nfca: add missed kfree_skb() in an error path

2020-06-05 Thread Sasha Levin
From: Chuhong Yuan [ Upstream commit 3decabdc714ca56c944f4669b4cdec5c2c1cea23 ] st21nfca_tm_send_atr_res() misses to call kfree_skb() in an error path. Add the missed function call to fix it. Fixes: 1892bf844ea0 ("NFC: st21nfca: Adding P2P support to st21nfca in Initiator & Target mode")

[PATCH AUTOSEL 4.14 1/8] ARM: 8977/1: ptrace: Fix mask for thumb breakpoint hook

2020-06-05 Thread Sasha Levin
From: Fredrik Strupe [ Upstream commit 3866f217aaa81bf7165c7f27362eee5d7919c496 ] call_undef_hook() in traps.c applies the same instr_mask for both 16-bit and 32-bit thumb instructions. If instr_mask then is only 16 bits wide (0x as opposed to 0x), the first half-word of 32-bit

[PATCH AUTOSEL 4.14 2/8] sched/fair: Don't NUMA balance for kthreads

2020-06-05 Thread Sasha Levin
From: Jens Axboe [ Upstream commit 18f855e574d9799a0e7489f8ae6fd8447d0dd74a ] Stefano reported a crash with using SQPOLL with io_uring: BUG: kernel NULL pointer dereference, address: 03b0 CPU: 2 PID: 1307 Comm: io_uring-sq Not tainted 5.7.0-rc7 #11 RIP:

[PATCH AUTOSEL 4.9 6/6] l2tp: do not use inet_hash()/inet_unhash()

2020-06-05 Thread Sasha Levin
From: Eric Dumazet [ Upstream commit 02c71b144c811bcdd865e0a1226d0407d11357e8 ] syzbot recently found a way to crash the kernel [1] Issue here is that inet_hash() & inet_unhash() are currently only meant to be used by TCP & DCCP, since only these protocols provide the needed hashinfo pointer.

[PATCH AUTOSEL 4.19 9/9] l2tp: do not use inet_hash()/inet_unhash()

2020-06-05 Thread Sasha Levin
From: Eric Dumazet [ Upstream commit 02c71b144c811bcdd865e0a1226d0407d11357e8 ] syzbot recently found a way to crash the kernel [1] Issue here is that inet_hash() & inet_unhash() are currently only meant to be used by TCP & DCCP, since only these protocols provide the needed hashinfo pointer.

[PATCH AUTOSEL 4.14 7/8] drivers/net/ibmvnic: Update VNIC protocol version reporting

2020-06-05 Thread Sasha Levin
From: Thomas Falcon [ Upstream commit 784688993ebac34dffe44a9f2fabbe126ebfd4db ] VNIC protocol version is reported in big-endian format, but it is not byteswapped before logging. Fix that, and remove version comparison as only one protocol version exists at this time. Signed-off-by: Thomas

[PATCH AUTOSEL 4.4 2/3] sched/fair: Don't NUMA balance for kthreads

2020-06-05 Thread Sasha Levin
From: Jens Axboe [ Upstream commit 18f855e574d9799a0e7489f8ae6fd8447d0dd74a ] Stefano reported a crash with using SQPOLL with io_uring: BUG: kernel NULL pointer dereference, address: 03b0 CPU: 2 PID: 1307 Comm: io_uring-sq Not tainted 5.7.0-rc7 #11 RIP:

[PATCH AUTOSEL 4.9 3/6] net: usb: qmi_wwan: add Telit LE910C1-EUX composition

2020-06-05 Thread Sasha Levin
From: Daniele Palmas [ Upstream commit 591612aa578cd7148b7b9d74869ef40118978389 ] Add support for Telit LE910C1-EUX composition 0x1031: tty, tty, tty, rmnet Signed-off-by: Daniele Palmas Acked-by: Bjørn Mork Signed-off-by: David S. Miller Signed-off-by: Sasha Levin ---

[PATCH AUTOSEL 4.9 1/6] ARM: 8977/1: ptrace: Fix mask for thumb breakpoint hook

2020-06-05 Thread Sasha Levin
From: Fredrik Strupe [ Upstream commit 3866f217aaa81bf7165c7f27362eee5d7919c496 ] call_undef_hook() in traps.c applies the same instr_mask for both 16-bit and 32-bit thumb instructions. If instr_mask then is only 16 bits wide (0x as opposed to 0x), the first half-word of 32-bit

[PATCH AUTOSEL 4.4 1/3] ARM: 8977/1: ptrace: Fix mask for thumb breakpoint hook

2020-06-05 Thread Sasha Levin
From: Fredrik Strupe [ Upstream commit 3866f217aaa81bf7165c7f27362eee5d7919c496 ] call_undef_hook() in traps.c applies the same instr_mask for both 16-bit and 32-bit thumb instructions. If instr_mask then is only 16 bits wide (0x as opposed to 0x), the first half-word of 32-bit

[PATCH AUTOSEL 4.4 3/3] NFC: st21nfca: add missed kfree_skb() in an error path

2020-06-05 Thread Sasha Levin
From: Chuhong Yuan [ Upstream commit 3decabdc714ca56c944f4669b4cdec5c2c1cea23 ] st21nfca_tm_send_atr_res() misses to call kfree_skb() in an error path. Add the missed function call to fix it. Fixes: 1892bf844ea0 ("NFC: st21nfca: Adding P2P support to st21nfca in Initiator & Target mode")

[PATCH AUTOSEL 5.6 04/17] sched/fair: Don't NUMA balance for kthreads

2020-06-05 Thread Sasha Levin
From: Jens Axboe [ Upstream commit 18f855e574d9799a0e7489f8ae6fd8447d0dd74a ] Stefano reported a crash with using SQPOLL with io_uring: BUG: kernel NULL pointer dereference, address: 03b0 CPU: 2 PID: 1307 Comm: io_uring-sq Not tainted 5.7.0-rc7 #11 RIP:

[PATCH AUTOSEL 4.19 5/9] net: usb: qmi_wwan: add Telit LE910C1-EUX composition

2020-06-05 Thread Sasha Levin
From: Daniele Palmas [ Upstream commit 591612aa578cd7148b7b9d74869ef40118978389 ] Add support for Telit LE910C1-EUX composition 0x1031: tty, tty, tty, rmnet Signed-off-by: Daniele Palmas Acked-by: Bjørn Mork Signed-off-by: David S. Miller Signed-off-by: Sasha Levin ---

[PATCH AUTOSEL 5.4 02/14] ARM: 8977/1: ptrace: Fix mask for thumb breakpoint hook

2020-06-05 Thread Sasha Levin
From: Fredrik Strupe [ Upstream commit 3866f217aaa81bf7165c7f27362eee5d7919c496 ] call_undef_hook() in traps.c applies the same instr_mask for both 16-bit and 32-bit thumb instructions. If instr_mask then is only 16 bits wide (0x as opposed to 0x), the first half-word of 32-bit

[PATCH AUTOSEL 5.4 08/14] nfp: flower: fix used time of merge flow statistics

2020-06-05 Thread Sasha Levin
From: Heinrich Kuhn [ Upstream commit 5b186cd60f033110960a3db424ffbd6de4cee528 ] Prior to this change the correct value for the used counter is calculated but not stored nor, therefore, propagated to user-space. In use-cases such as OVS use-case at least this results in active flows being

[PATCH AUTOSEL 4.19 6/9] Input: synaptics - add a second working PNP_ID for Lenovo T470s

2020-06-05 Thread Sasha Levin
From: Dennis Kadioglu [ Upstream commit 642aa86eaf8f1e6fe894f20fd7f12f0db52ee03c ] The Lenovo Thinkpad T470s I own has a different touchpad with "LEN007a" instead of the already included PNP ID "LEN006c". However, my touchpad seems to work well without any problems using RMI. So this patch adds

[PATCH AUTOSEL 5.4 14/14] l2tp: do not use inet_hash()/inet_unhash()

2020-06-05 Thread Sasha Levin
From: Eric Dumazet [ Upstream commit 02c71b144c811bcdd865e0a1226d0407d11357e8 ] syzbot recently found a way to crash the kernel [1] Issue here is that inet_hash() & inet_unhash() are currently only meant to be used by TCP & DCCP, since only these protocols provide the needed hashinfo pointer.

[PATCH AUTOSEL 5.4 09/14] csky: Fixup abiv2 syscall_trace break a4 & a5

2020-06-05 Thread Sasha Levin
From: Guo Ren [ Upstream commit e0bbb53843b5fdfe464b099217e3b9d97e8a75d7 ] Current implementation could destory a4 & a5 when strace, so we need to get them from pt_regs by SAVE_ALL. Signed-off-by: Guo Ren Signed-off-by: Sasha Levin --- arch/csky/abiv2/inc/abi/entry.h | 2 ++

[PATCH AUTOSEL 5.6 01/17] Input: mms114 - fix handling of mms345l

2020-06-05 Thread Sasha Levin
From: Stephan Gerhold [ Upstream commit 3f8f770575d911c989043d8f0fb8dec96360c41c ] MMS345L is another first generation touch screen from Melfas, which uses the same registers as MMS152. However, using I2C_M_NOSTART for it causes errors when reading: i2c i2c-0: sendbytes: NAK bailout.

[PATCH AUTOSEL 5.6 03/17] ARM: 8977/1: ptrace: Fix mask for thumb breakpoint hook

2020-06-05 Thread Sasha Levin
From: Fredrik Strupe [ Upstream commit 3866f217aaa81bf7165c7f27362eee5d7919c496 ] call_undef_hook() in traps.c applies the same instr_mask for both 16-bit and 32-bit thumb instructions. If instr_mask then is only 16 bits wide (0x as opposed to 0x), the first half-word of 32-bit

[PATCH AUTOSEL 5.6 05/17] net: stmmac: enable timestamp snapshot for required PTP packets in dwmac v5.10a

2020-06-05 Thread Sasha Levin
From: Fugang Duan [ Upstream commit f2fb6b6275eba9d312957ca44c487bd780da6169 ] For rx filter 'HWTSTAMP_FILTER_PTP_V2_EVENT', it should be PTP v2/802.AS1, any layer, any kind of event packet, but HW only take timestamp snapshot for below PTP message: sync, Pdelay_req, Pdelay_resp. Then it

[PATCH AUTOSEL 5.6 02/17] Input: axp20x-pek - always register interrupt handlers

2020-06-05 Thread Sasha Levin
From: Hans de Goede [ Upstream commit 9747070c11d6ae021ed7a8e96e2950ed46cd53a9 ] On some X86 devices we do not register an input-device, because the power-button is also handled by the soc_button_array (GPIO) input driver, and we want to avoid reporting power-button presses to userspace twice.

Re: [PATCH v2 0/2] ASoC: mediatek: mt6358: support DMIC one-wire mode

2020-06-05 Thread Tzung-Bi Shih
On Fri, Jun 5, 2020 at 6:37 PM Jiaxin Yu wrote: > Jiaxin Yu (2): > ASoC: mediatek: mt6358: support DMIC one-wire mode Has done previous round review on https://crrev.com/c/2230089 > ASoC: dt-bindings: mediatek: mt6358: add dmic-mode property Has done previous round review on

Re: [PATCH v7 2/4] lib/test_bitmap.c: Add for_each_set_clump test cases

2020-06-05 Thread Andy Shevchenko
On Fri, Jun 05, 2020 at 02:12:54AM +0530, Syed Nayyar Waris wrote: > On Sun, May 31, 2020 at 12:50 AM kbuild test robot wrote: > > >> WARNING: modpost: lib/test_bitmap.o(.data+0xe80): Section mismatch in > > >> reference from the variable clump_test_data to the variable > > >>

Re: [PATCH v5 0/2] add SW BOOST support for CPPC

2020-06-05 Thread Rafael J. Wysocki
On Tue, Jun 2, 2020 at 7:16 AM Viresh Kumar wrote: > > On 30-05-20, 10:08, Xiongfeng Wang wrote: > > ACPI spec 6.2 section 8.4.7.1 provide the following two CPC registers. > > > > "Highest performance is the absolute maximum performance an individual > > processor may reach, assuming ideal

Re: [PATCH v2] spi: bcm2835: Enable shared interrupt support

2020-06-05 Thread Mark Brown
On Fri, Jun 05, 2020 at 12:14:07PM +0100, Mark Brown wrote: > [1/1] spi: bcm2835: Enable shared interrupt support > commit: ecfbd3cf3b8bb73ac6a80ddf430b5912fd4402a6 Eh, sorry - this was me fat fingering another fix. At the very least this needs to wait for the end of the merge window.

Re: [PATCH RFC v4 00/13] virtio-mem: paravirtualized memory

2020-06-05 Thread David Hildenbrand
On 05.06.20 12:46, Alex Shi wrote: > > > 在 2020/6/5 下午6:05, David Hildenbrand 写道: >>> I guess I know what's happening here. In case we only have DMA memory >>> when booting, we don't reserve swiotlb buffers. Once we hotplug memory >>> and online ZONE_NORMAL, we don't have any swiotlb DMA bounce

Re: [PATCH] crypto: hisilicon - fix strncpy warning with strlcpy

2020-06-05 Thread Herbert Xu
On Fri, Jun 05, 2020 at 05:34:32PM +0800, Zhangfei Gao wrote: > Will add a check after the copy. > >     strlcpy(interface.name, pdev->driver->name, sizeof(interface.name)); >     if (strlen(pdev->driver->name) != strlen(interface.name)) >     return -EINVAL; You don't need

Re: [PATCH] gpio: arizona: put pm_runtime in case of failure

2020-06-05 Thread Markus Elfring
I recommend to replace the word “pm_runtime” by the alternative “PM run time system” in the patch subject. > Calling pm_runtime_get_sync increments the counter even in case of > failure, causing incorrect ref count if pm_runtime_put is not called in > error handling paths. Should the term

Re: [PATCH] PM: runtime: add RPM_IDLE_SUSPEND / RPM_IDLE_NO_SUSPEND constants

2020-06-05 Thread Rafael J. Wysocki
On Sat, May 30, 2020 at 6:33 PM Heiner Kallweit wrote: > > runtime_idle() callback implementations have to return a non-zero value > if they don't intend to suspend now. Several drivers use an errno like > -EBUSY for this purpose. This can be problematic because the return > value is propagated

Re: [PATCH v25 01/16] dt: bindings: Add multicolor class dt bindings documention

2020-06-05 Thread Pavel Machek
> > > There's no risk because you are supposed to apply both patches. I > > > don't apply binding patches that are a part of a series like this. > > > > Yes, this is always guaranteed to happen, because "git bisect" > > understand patch series. Oh, wait. > > What!? If the binding patch with the

RE: [PATCH] x86/speculation: Check whether speculation is force disabled

2020-06-05 Thread Tada, Kenta (Sony)
I'm sorry but I could not find the reason of above comments. I investigated the below log and I thought it was unintentional and the just bug at the moment. https://lore.kernel.org/lkml/20181125185005.866780...@linutronix.de/ #define PFA_SPEC_IB_FORCE_DISABLE 6 /* Indirect

Re: [PATCH v4 07/11] hwmon: add support for the sl28cpld hardware monitoring controller

2020-06-05 Thread Andy Shevchenko
On Fri, Jun 5, 2020 at 12:14 AM Michael Walle wrote: > > Add support for the hardware monitoring controller of the sl28cpld board > management controller. This driver is part of a multi-function device. ... > +#include mod_devicetable.h ? ... > + hwmon_dev =

Re: [PATCH v3 2/3] media: stm32-dcmi: Set minimum cpufreq requirement

2020-06-05 Thread Valentin Schneider
On 04/06/20 13:39, Benjamin Gaignard wrote: > Before start streaming set cpufreq minimum frequency requirement. > The cpufreq governor will adapt the frequencies and we will have > no latency for handling interrupts. > The frequency requirement is retrieved from the device-tree node. > > While

Re: [PATCH v3 20/25] clk: bcm: rpi: Add an enum for the firmware clocks

2020-06-05 Thread Nicolas Saenz Julienne
On Wed, 2020-05-27 at 17:45 +0200, Maxime Ripard wrote: > While the firmware allows us to discover the available clocks, we need to > discriminate those clocks to only register the ones meaningful to Linux. > The firmware also doesn't provide a clock name, so having a list of the ID > will help us

Re: [PATCH -tip v3 1/2] kcov: Make runtime functions noinstr-compatible

2020-06-05 Thread Peter Zijlstra
On Fri, Jun 05, 2020 at 12:57:15PM +0200, Dmitry Vyukov wrote: > On Fri, Jun 5, 2020 at 10:28 AM Marco Elver wrote: > > > > While we lack a compiler attribute to add to noinstr that would disable > > KCOV, make the KCOV runtime functions return if the caller is in a > > noinstr section, and mark

Re: [PATCH v2 1/2] KVM: nVMX: Properly handle kvm_read/write_guest_virt*() result

2020-06-05 Thread Vitaly Kuznetsov
Vitaly Kuznetsov writes: > Syzbot reports the following issue: Noticed while sending: the prefix of the patch should be "KVM: VMX:" as it is not only nested related... -- Vitaly

Re: [PATCH v4 06/11] gpio: add support for the sl28cpld GPIO controller

2020-06-05 Thread Andy Shevchenko
On Fri, Jun 5, 2020 at 12:14 AM Michael Walle wrote: > Add support for the GPIO controller of the sl28 board management > controller. This driver is part of a multi-function device. > > A controller has 8 lines. There are three different flavors: > full-featured GPIO with interrupt support,

include/linux/leds.h:193: undefined reference to `devm_led_classdev_register_ext'

2020-06-05 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 435faf5c218a47fd6258187f62d9bb1009717896 commit: 87dc36482cab3a4ea34f203fc3f4da35712eb783 ALSA: hda/realtek - Add LED class support for micmute LED date: 5 weeks ago config: i386-randconfig-a002-20200526

[PATCH v2 2/2] Revert "KVM: x86: work around leak of uninitialized stack contents"

2020-06-05 Thread Vitaly Kuznetsov
handle_vmptrst()/handle_vmread() stopped injecting #PF unconditionally and switched to nested_vmx_handle_memory_failure() which just kills the guest with KVM_EXIT_INTERNAL_ERROR in case of MMIO access, zeroing 'exception' in kvm_write_guest_virt_system() is not needed anymore. This reverts commit

[PATCH v2 1/2] KVM: nVMX: Properly handle kvm_read/write_guest_virt*() result

2020-06-05 Thread Vitaly Kuznetsov
Syzbot reports the following issue: WARNING: CPU: 0 PID: 6819 at arch/x86/kvm/x86.c:618 kvm_inject_emulated_page_fault+0x210/0x290 arch/x86/kvm/x86.c:618 ... Call Trace: ... RIP: 0010:kvm_inject_emulated_page_fault+0x210/0x290 arch/x86/kvm/x86.c:618 ... nested_vmx_get_vmptr+0x1f9/0x2a0

Re: [PATCH] kernel: power: swap: mark a function as __init to save some memory

2020-06-05 Thread Rafael J. Wysocki
On Sun, May 31, 2020 at 11:01 PM Christophe JAILLET wrote: > > 'swsusp_header_init()' is only called via 'core_initcall'. > It can be marked as __init to save a few bytes of memory. > > Signed-off-by: Christophe JAILLET > --- > kernel/power/swap.c | 2 +- > 1 file changed, 1 insertion(+), 1

Re: block: Fix use-after-free in blkdev_get()

2020-06-05 Thread Matthew Wilcox
On Fri, Jun 05, 2020 at 01:48:43PM +0200, Markus Elfring wrote: > >> I am trying to contribute a bit of patch review as usual. > > > > Please stop criticising people's commit messages. Your suggestions > > are usually not improvements. > > The details can vary also for my suggestions. > Would

Re: [PATCH v4 02/11] mfd: Add support for Kontron sl28cpld management controller

2020-06-05 Thread Michael Walle
Am 2020-06-05 12:48, schrieb Andy Shevchenko: On Fri, Jun 5, 2020 at 1:09 PM Michael Walle wrote: Am 2020-06-05 10:01, schrieb Andy Shevchenko: > On Fri, Jun 5, 2020 at 12:16 AM Michael Walle wrote: ... >> + bool "Kontron sl28 core driver" >> + depends on I2C=y > > Why not

Re: [PATCH v7 01/13] tools/libperf: introduce notion of static polled file descriptors

2020-06-05 Thread Alexey Budankov
On 05.06.2020 13:50, Jiri Olsa wrote: > On Wed, Jun 03, 2020 at 06:52:59PM +0300, Alexey Budankov wrote: >> >> Implement adding of file descriptors by fdarray__add_stat() to >> fix-sized (currently 1) stat_entries array located at struct fdarray. >> Append added file descriptors to the array

Re: block: Fix use-after-free in blkdev_get()

2020-06-05 Thread Markus Elfring
>> I am trying to contribute a bit of patch review as usual. > > Please stop criticising people's commit messages. Your suggestions > are usually not improvements. The details can vary also for my suggestions. Would you point any more disagreemnents out on concrete items? > But refcount ->

Re: general protection fault in kobject_get (2)

2020-06-05 Thread Jason Gunthorpe
On Thu, Jun 04, 2020 at 09:26:48PM -0700, Eric Biggers wrote: > On Wed, May 20, 2020 at 07:56:41AM +0200, Greg KH wrote: > > On Tue, May 19, 2020 at 09:53:16PM -0700, syzbot wrote: > > > Hello, > > > > > > syzbot found the following crash on: > > > > > > HEAD commit:d00f26b6 Merge > > >

Re: [PATCH v3 1/7] mm: Add functions to track page directory modifications

2020-06-05 Thread Catalin Marinas
On Fri, Jun 05, 2020 at 11:08:13AM +0100, Catalin Marinas wrote: > This patch causes a kernel panic on arm64 (and possibly powerpc, I > haven't tried). arm64 still uses the 5level-fixup.h and pud_alloc() > checks for the empty p4d with pgd_none() instead of p4d_none(). Ah, should have checked the

[PATCH] x86/split_lock: Sanitize userspace and guest error output

2020-06-05 Thread Prarit Bhargava
There are two problems with kernel messages in fatal mode that were found during testing of guests and userspace programs. The first is that no kernel message is output when the split lock detector is triggered with a userspace program. As a result the userspace process dies from receiving

RE: [PATCH v4 1/6] PCI: dwc: Add msi_host_isr() callback

2020-06-05 Thread Gustavo Pimentel
On Fri, Jun 5, 2020 at 10:44:31, Kunihiko Hayashi wrote: > This adds msi_host_isr() callback function support to describe > SoC-dependent service triggered by MSI. > > For example, when AER interrupt is triggered by MSI, the callback function > reads SoC-dependent registers and detects that

Re: block: Fix use-after-free in blkdev_get()

2020-06-05 Thread Matthew Wilcox
On Fri, Jun 05, 2020 at 01:40:37PM +0200, Markus Elfring wrote: > >> I am trying to contribute a bit of patch review as usual. > > > > We have asked you again and again to stop commenting on commit messages. > > I am going to continue with constructive feedback at some places. > > > > New

[PATCH v2] ACPI / platform: Fix return value check in check_acpi_dev()

2020-06-05 Thread Lu Wei
In the function check_acpi_dev(), if it fails to create platform device, the return value is ERR_PTR() or NULL. Thus it must use IS_ERR_OR_NULL to check return value. Fixes: ecc83e52b28c (intel-hid: new hid event driver for hotkeys) Reported-by: Hulk Robot Signed-off-by: Lu Wei --- v1->v2 -

Re: [PATCH V3 1/2] mmc: sdhci-msm: Add interconnect bandwidth scaling support

2020-06-05 Thread Sibi Sankar
Hey Pradeep, Thanks for the patch. On 2020-06-05 15:00, Pradeep P V K wrote: Interconnect bandwidth scaling support is now added as a part of OPP [1]. So, make sure interconnect driver is ready can you please replace driver with paths instead? before handling interconnect scaling. This

Re: block: Fix use-after-free in blkdev_get()

2020-06-05 Thread Markus Elfring
>> I am trying to contribute a bit of patch review as usual. > > We have asked you again and again to stop commenting on commit messages. I am going to continue with constructive feedback at some places. > New kernel developers have emailed me privately to say that your review > comments

Re: [PATCH 4/4] objtool: orc_gen: Move orc_entry out of instruction structure

2020-06-05 Thread Julien Thierry
Hi, On 6/5/20 10:17 AM, Miroslav Benes wrote: Hi, a nit below... On Thu, 4 Jun 2020, Julien Thierry wrote: One orc_entry is associated with each instruction in the object file, but having the orc_entry contained by the instruction structure forces architectures not implementing the orc

Re: [PATCH v4 05/11] pwm: add support for sl28cpld PWM controller

2020-06-05 Thread Michael Walle
Am 2020-06-05 10:49, schrieb Lee Jones: On Thu, 04 Jun 2020, Michael Walle wrote: Add support for the PWM controller of the sl28cpld board management controller. This is part of a multi-function device driver. The controller has one PWM channel and can just generate four distinct frequencies.

Re: [PATCH v7 01/13] tools/libperf: introduce notion of static polled file descriptors

2020-06-05 Thread Jiri Olsa
On Fri, Jun 05, 2020 at 12:50:54PM +0200, Jiri Olsa wrote: > On Wed, Jun 03, 2020 at 06:52:59PM +0300, Alexey Budankov wrote: > > > > Implement adding of file descriptors by fdarray__add_stat() to > > fix-sized (currently 1) stat_entries array located at struct fdarray. > > Append added file

Re: [RFC PATCH] panic: fix deadlock in panic()

2020-06-05 Thread Petr Mladek
On Fri 2020-06-05 18:42:57, chengjian (D) wrote: > Hi, Petr > > On 2020/6/4 16:29, Petr Mladek wrote: > > > It might cause double unlock (deadlock) on architectures that did not > > use NMI to stop the CPUs. > > > > I have created a conservative fix for this problem for SLES, see > >

Re: [PATCH 3/3] spi: bcm2835: Enable shared interrupt support

2020-06-05 Thread Lukas Wunner
On Thu, Jun 04, 2020 at 01:24:54PM -0700, Florian Fainelli wrote: > So we do need to know for the first time we install the interrupt > handler whether we will be in a shared situation or not, I cannot think > of any solution other than counting the number of available DT nodes > with the

Re: [PATCH v2] spi: bcm2835: Enable shared interrupt support

2020-06-05 Thread Robin Murphy
On 2020-06-04 22:28, Florian Fainelli wrote: The 4 SPI controller instances added in BCM2711 and BCM7211 SoCs (SPI3, SPI4, SPI5 and SPI6) share the same interrupt line with SPI0. For the BCM2835 case which is deemed performance critical, we would like to continue using an interrupt handler

Re: [PATCH 1/2] sched/uclamp: Add a new sysctl to control RT default boost value

2020-06-05 Thread Qais Yousef
On 06/05/20 09:55, Patrick Bellasi wrote: > > Hi Qais, > > On Wed, Jun 03, 2020 at 18:52:00 +0200, Qais Yousef > wrote... > > > On 06/03/20 16:59, Vincent Guittot wrote: > >> When I want to stress the fast path i usually use "perf bench sched pipe > >> -T " > >> The tip/sched/core on my arm

Re: [LTP] LTP: syscalls: regression on mainline - ioctl_loop01 mknod07 setns01

2020-06-05 Thread Martijn Coenen
Hi Yang, On Fri, Jun 5, 2020 at 11:27 AM Yang Xu wrote: > since ~LOOP_SET_STATUS_SETTABLE_FLAGS has been included in > ~LOOP_SET_STATUS_CLEARABLE_FLAGS, do we still need the previous step? > What do you think about it? Yeah, I don't think we need the previous step with the current set of

Re: [PATCH] acpi: battery: Always read fresh battery state on update

2020-06-05 Thread Rafael J. Wysocki
On Thu, Jun 4, 2020 at 9:57 PM Mathew King wrote: > > When the ACPI battery receives a notification event it should always > read the battery state fresh from the ACPI device and not use the cached > state. Why should it? > Currently the cached state stays valid and the new state may not > be

Re: BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc

2020-06-05 Thread Matthew Wilcox
On Thu, Jun 04, 2020 at 08:55:55PM -0700, Eric Biggers wrote: > Possibly a bug in lib/radix-tree.c? this_cpu_ptr() in radix_tree_node_alloc() > can be reached without a prior preempt_disable(). Or is the caller of > idr_alloc() doing something wrong? Yes, the idr_alloc() call is plainly wrong:

Re: [RESEND 2 PATCH] media: marvell-ccic: Add support for runtime PM

2020-06-05 Thread Sakari Ailus
Hi Lubomir, Thanks for the patch. On Mon, Jun 01, 2020 at 09:21:24PM +0200, Lubomir Rintel wrote: > On MMP3, the camera block lives on na separate power island. We want to s/on \Kn// > turn it off if the CCIC is not in use to conserve power. > > Signed-off-by: Lubomir Rintel > --- >

Re: [PATCH v4] platform: x86: Add ACPI driver for ChromeOS

2020-06-05 Thread Rafael J. Wysocki
On Tuesday, April 14, 2020 4:35:38 PM CEST Enric Balletbo i Serra wrote: > Hi Rafael, > > On 13/4/20 22:41, Rafael J. Wysocki wrote: > > On Mon, Apr 13, 2020 at 3:46 PM Enric Balletbo i Serra > > wrote: > >> > >> This driver attaches to the ChromeOS ACPI device and then exports the > >> values

net/vmw_vsock/vmci_transport.c:2057:6: warning: no previous prototype for 'vmci_vsock_transport_cb'

2020-06-05 Thread kernel test robot
-randconfig-r013-20200605 (attached as .config) compiler: gcc-9 (Debian 9.3.0-13) 9.3.0 reproduce (this is a W=1 build): git checkout b1bba80a4376aef34de2b57bfb8834bd095703ed # save the attached .config to linux build tree make W=1 ARCH=i386 If you fix the issue, kindly add following

Re: 答复: 答复: [PATCH][v6] KVM: X86: support APERF/MPERF registers

2020-06-05 Thread Paolo Bonzini
On 05/06/20 11:41, Li,Rongqing wrote: >> >> As you said, "Pass-though: it is only suitable for KVM_HINTS_REALTIME", which >> means, KVM needs to make sure the kvm->arch.aperfmperf_mode value could >> "only" be set to KVM_APERFMPERF_PT when the check >> kvm_para_has_hint(KVM_HINTS_REALTIME) is

Re: [GIT pull - RFC] locking/kcsan for v5.8

2020-06-05 Thread Will Deacon
Hi folks, On Tue, Jun 02, 2020 at 01:05:02PM -, Thomas Gleixner wrote: > Linus, > > please consider to pull the latest locking/kcsan branch from: > >git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > locking-kcsan-2020-06-02 > > up to: f05e1242fbb2: compiler_types.h: Use

Re: [PATCH v2] spi: bcm2835: Enable shared interrupt support

2020-06-05 Thread Mark Brown
On Thu, 4 Jun 2020 14:28:19 -0700, Florian Fainelli wrote: > The 4 SPI controller instances added in BCM2711 and BCM7211 SoCs (SPI3, > SPI4, SPI5 and SPI6) share the same interrupt line with SPI0. > > For the BCM2835 case which is deemed performance critical, we would like > to continue using an

Re: [PATCH v3 0/2] Add support for MaxLinear/Exar USB to serial converters

2020-06-05 Thread Mauro Carvalho Chehab
Em Fri, 1 May 2020 00:19:22 +0530 m...@kernel.org escreveu: > From: Manivannan Sadhasivam > > Hello, > > This series adds support for MaxLinear/Exar USB to serial converters. > This driver only supports XR21V141X series but it can easily be extended > to other series in future. > > This

Very urgent

2020-06-05 Thread Princess Olga Gbagbo
-- Hello dear. My name is (Princess Olga Gbagbo) I am 17 Years old. The only daughter of late (Mr. Austine Gbagbo) a Gold dealer. Who lost his life in the course of Insurgence Attack on his way to their company. My late father have deposit ($6.6 Million dollars), with this enabling conditions for

Re: [PATCH v2] block: Fix use-after-free in blkdev_get()

2020-06-05 Thread Sedat Dilek
On Fri, Jun 5, 2020 at 11:46 AM Dan Carpenter wrote: > > A lot of maintainers have blocked Markus and asked him to stop trying > to help people write commit message. Saying "bdev" instead of "block > device" is more clear so your original message was better. > > The Fixes tag is a good idea

Re: [PATCH v2] block: Fix use-after-free in blkdev_get()

2020-06-05 Thread Matthew Wilcox
On Fri, Jun 05, 2020 at 12:56:45PM +0200, Markus Elfring wrote: > > A lot of maintainers have blocked Markus and asked him to stop trying > > to help people write commit message. > > I am trying to contribute a bit of patch review as usual. Please stop criticising people's commit messages. Your

<    4   5   6   7   8   9   10   11   12   >