Re: [PATCH] driver core: Fix locking bug in deferred_probe_timeout_work_func()

2021-04-15 Thread Greg Kroah-Hartman
annan > Link: https://lore.kernel.org/r/20210402040342.2944858-2-sarava...@google.com > Signed-off-by: Greg Kroah-Hartman > --- > Hi Greg, > > This should apply cleanly to 4.19 and 5.4 if you think this should be > picked up. thanks, now queued up. greg k-h

Re: [PATCH 2/7] stm class: Replace uuid_t with plain u8 uuid[16]

2021-04-15 Thread Greg Kroah-Hartman
On Thu, Apr 15, 2021 at 11:48:48AM +0300, Andy Shevchenko wrote: > On Thu, Apr 15, 2021 at 11:35 AM Greg Kroah-Hartman > wrote: > > > > On Wed, Apr 14, 2021 at 10:14:34PM +0300, Alexander Shishkin wrote: > > > Greg Kroah-Hartman writes: > > > > >

Re: [PATCH 2/7] stm class: Replace uuid_t with plain u8 uuid[16]

2021-04-15 Thread Greg Kroah-Hartman
On Wed, Apr 14, 2021 at 10:14:34PM +0300, Alexander Shishkin wrote: > Greg Kroah-Hartman writes: > > >> Using raw buffer APIs against uuid_t / guid_t. > > > > So you want to do that, or you do not want to do that? Totally > > confused, > > My understan

Re: [PATCH 00/13] tty.h cleanups

2021-04-15 Thread Greg Kroah-Hartman
On Fri, Apr 09, 2021 at 09:32:45AM +0200, Johan Hovold wrote: > On Thu, Apr 08, 2021 at 08:01:08PM +0200, Greg Kroah-Hartman wrote: > > On Thu, Apr 08, 2021 at 04:25:22PM +0200, Johan Hovold wrote: > > > On Thu, Apr 08, 2021 at 02:51:21PM +0200, Greg Kroah-Hartman wrote:

Re: [PATCH] serial: omap: don't disable rs485 if rts gpio is missing

2021-04-15 Thread Greg Kroah-Hartman
On Sun, Apr 11, 2021 at 10:57:43AM +0200, Dario Binacchi wrote: > There are rs485 transceivers (e.g. MAX13487E/MAX13488E) which > automatically disable or enable the driver and receiver to keep the bus > in the correct state. > In these cases we don't need a GPIO for flow control. > >

Re: [PATCH v2] serial: omap: fix rs485 half-duplex filtering

2021-04-15 Thread Greg Kroah-Hartman
On Sun, Apr 11, 2021 at 11:38:55AM +0200, Dario Binacchi wrote: > Data received during half-duplex transmission must be filtered. > If the target device responds quickly, emptying the FIFO at the end of > the transmission can erase not only the echo characters but also part of > the response

Re: [-next] serial: 8250: Match legacy NS16550A UARTs

2021-04-15 Thread Greg Kroah-Hartman
On Wed, Apr 14, 2021 at 09:45:39AM -0400, Al Cooper wrote: > From: Florian Fainelli > > Older 32-bit only Broadcom STB chips used a NS16550A compatible UART, > the 8250_bcm7271.c driver can drive those UARTs just fine provided that > we let it match the appropriate compatible string. > >

Re: [Outreachy kernel] [PATCH v4] staging: rtl8723bs: Remove led_blink_hdl() and everything related

2021-04-15 Thread Greg Kroah-Hartman
eeded. Index of slots changed in arrays comments to reflect > current positions. > > Reported-by: Julia Lawall > Reported-by: Fabio Aiuto > Reported-by: Greg Kroah-Hartman > Suggested-by: Matthew Wilcox > Suggested-by: Dan Carpenter > Signed-off-by: Fabio M. De Francesco

Re: [PATCH][next] habanalabs/gaudi: Fix uninitialized return code rc when read size is zero

2021-04-15 Thread Greg Kroah-Hartman
On Thu, Apr 15, 2021 at 10:08:26AM +0300, Oded Gabbay wrote: > On Mon, Apr 12, 2021 at 9:41 PM Arnd Bergmann wrote: > > > > On Mon, Apr 12, 2021 at 6:11 PM Colin King wrote: > > > > > > From: Colin Ian King > > > > > > In the case where size is zero the while loop never assigns rc and the > > >

Re: [PATCH 09/13] Samples: Rust examples

2021-04-15 Thread Greg Kroah-Hartman
On Wed, Apr 14, 2021 at 04:24:45PM -0700, Nick Desaulniers wrote: > On Wed, Apr 14, 2021 at 12:35 PM Linus Torvalds > wrote: > > > > On Wed, Apr 14, 2021 at 11:47 AM wrote: > > > > > > From: Miguel Ojeda > > > > > > A set of Rust modules that showcase how Rust modules look like > > > and how to

Re: [Outreachy patch] [PATCH v3 1/2] staging: rtl8723bs: Remove useless led_blink_hdl()

2021-04-15 Thread Greg Kroah-Hartman
On Wed, Apr 14, 2021 at 09:27:49PM +0200, Fabio M. De Francesco wrote: > Removed useless led_blink_hdl() prototype and definition. In wlancmds[] > the slot #60 is now set to NULL using the macro GEN_MLME_EXT_HANDLER. This > change has not unwanted side effects because the code in rtw_cmd.c checks

Re: [Outreachy kernel] [PATCH v3 2/2] staging: rtl8723bs: Remove everything related with LedBlink

2021-04-15 Thread Greg Kroah-Hartman
and changend the numbers set in comments for having them in line > with the shift. > > Reported-by: Fabio Aiuto > Reported-by: Greg Kroah-Hartman > Suggested-by: Dan Carpenter > Signed-off-by: Fabio M. De Francesco > --- > > Changes from v2: Added this patc

Re: [PATCH 2/7] stm class: Replace uuid_t with plain u8 uuid[16]

2021-04-14 Thread Greg Kroah-Hartman
On Wed, Apr 14, 2021 at 08:47:48PM +0300, Andy Shevchenko wrote: > On Wed, Apr 14, 2021 at 07:33:38PM +0200, Greg Kroah-Hartman wrote: > > On Wed, Apr 14, 2021 at 08:12:46PM +0300, Alexander Shishkin wrote: > > > From: Andy Shevchenko > > > > > > It appear

Re: [Outreachy kernel] [PATCH v2] staging: rtl8723bs: Remove useless led_blink_hdl()

2021-04-14 Thread Greg Kroah-Hartman
On Wed, Apr 14, 2021 at 08:48:09PM +0300, Dan Carpenter wrote: > On Wed, Apr 14, 2021 at 07:00:41PM +0200, Greg Kroah-Hartman wrote: > > On Wed, Apr 14, 2021 at 06:26:14PM +0200, Fabio M. De Francesco wrote: > > > Removed useless led_blink_hdl() prototype and defin

Re: [PATCH 15/20] kbuild: parisc: use common install script

2021-04-14 Thread Greg Kroah-Hartman
On Wed, Apr 14, 2021 at 06:30:59PM +0200, Helge Deller wrote: > On 4/7/21 1:23 PM, Masahiro Yamada wrote: > > On Wed, Apr 7, 2021 at 2:34 PM Greg Kroah-Hartman > > wrote: > > > > > > The common scripts/install.sh script will now work for parisc, all that > &g

Re: [PATCH 2/7] stm class: Replace uuid_t with plain u8 uuid[16]

2021-04-14 Thread Greg Kroah-Hartman
On Wed, Apr 14, 2021 at 08:12:46PM +0300, Alexander Shishkin wrote: > From: Andy Shevchenko > > It appears that uuid_t use in STM code abuses UUID API. How is it being abused? Moreover, > this type is only useful when we parse user input. Due to above > replace uuid_t with u8 uuid[16] and use

Re: [Outreachy kernel] [PATCH v2] staging: rtl8723bs: Remove useless led_blink_hdl()

2021-04-14 Thread Greg Kroah-Hartman
On Wed, Apr 14, 2021 at 06:26:14PM +0200, Fabio M. De Francesco wrote: > Removed useless led_blink_hdl() prototype and definition. In wlancmds[] > the slot #60 is now set to NULL using the macro GEN_MLME_EXT_HANDLER. This > change has not unwanted side effects because the code in rtw_cmd.c checks

Re: [PATCH v4 2/3] usb: typec: tcpm: Allow slow charging loops to comply to pSnkStby

2021-04-14 Thread Greg Kroah-Hartman
On Wed, Apr 14, 2021 at 07:26:55AM -0700, Badhri Jagan Sridharan wrote: > When a PD charger advertising Rp-3.0 is connected to a sink port, the > sink port current limit would 3A, during SNK_DISCOVERY, till power > negotiation starts. Once the negotiation starts the power limit needs > to drop

Re: [Outreachy kernel] [PATCH] staging: rtl8723bs: Remove useless led_blink_hdl()

2021-04-14 Thread Greg Kroah-Hartman
On Wed, Apr 14, 2021 at 01:52:43PM +0200, Fabio M. De Francesco wrote: > Removed the led_blink_hdl() function (declaration and definition). > Declared dummy_function() in include/rtw_mlme_ext.h and defined it in > core/rtw_cmd.c. Changed the second parameter of GEN_MLME_EXT_HANDLER > macro to make

Re: [PATCH] software node: Allow node addition to already existing device

2021-04-14 Thread Greg Kroah-Hartman
On Wed, Apr 14, 2021 at 12:13:35PM +0300, Heikki Krogerus wrote: > +Greg > > Sorry about that. Should I resend this? No worries, I can pick it up, thanks `b4` really is nice to use :) greg k-h

[PATCH] staging: comedi: move out of staging directory

2021-04-14 Thread Greg Kroah-Hartman
any thanks to the hundreds of developers who did the work to make this happen. Cc: Ian Abbott Cc: H Hartley Sweeten Signed-off-by: Greg Kroah-Hartman --- MAINTAINERS | 12 ++-- drivers/Kconfig | 2 ++ driver

Re: [PATCH] staging: rtl8723bs: remove sdio_drv_priv structure

2021-04-14 Thread Greg Kroah-Hartman
On Tue, Apr 13, 2021 at 05:11:39PM +, Bryan Brattlof wrote: > The sdio_drv_priv structure is a small wrapper around sdio_driver in > linux/mmc/sdio_func.h with an added drv_registered integer. > > drv_registered is never used anywhere in the driver and only assigned to > during the sdio

Linux 5.11.14

2021-04-14 Thread Greg Kroah-Hartman
cast for cmpxchg on u8 pointers Geert Uytterhoeven (1): regulator: bd9571mwv: Fix AVS and DVFS voltage range Greg Kroah-Hartman (1): Linux 5.11.14 Gregory CLEMENT (1): Revert "arm64: dts: marvell: armada-cp110: Switch to per-port SATA interrupts" Grzegorz Siwi

Linux 5.10.30

2021-04-14 Thread Greg Kroah-Hartman
Geert Uytterhoeven (1): regulator: bd9571mwv: Fix AVS and DVFS voltage range Greg Kroah-Hartman (1): Linux 5.10.30 Grzegorz Siwik (1): i40e: Fix parameters in aq_get_phy_register() Guangbin Huang (1): net: hns3: clear VF down state bit before request link status Guennadi Liakh

Re: Linux 5.4.112

2021-04-14 Thread Greg Kroah-Hartman
diff --git a/Documentation/devicetree/bindings/net/ethernet-controller.yaml b/Documentation/devicetree/bindings/net/ethernet-controller.yaml index 4f78e9a6da60..fcafce635ff0 100644 --- a/Documentation/devicetree/bindings/net/ethernet-controller.yaml +++

Linux 5.4.112

2021-04-14 Thread Greg Kroah-Hartman
(1): regulator: bd9571mwv: Fix AVS and DVFS voltage range Greg Kroah-Hartman (2): Revert "cifs: Set CIFS_MOUNT_USE_PREFIX_PATH flag on setting cifs_sb->prepath." Linux 5.4.112 Guangbin Huang (1): net: hns3: clear VF down state bit before request link status Guennadi

Linux 4.19.187

2021-04-14 Thread Greg Kroah-Hartman
for cmpxchg on u8 pointers Geert Uytterhoeven (1): regulator: bd9571mwv: Fix AVS and DVFS voltage range Greg Kroah-Hartman (2): Revert "cifs: Set CIFS_MOUNT_USE_PREFIX_PATH flag on setting cifs_sb->prepath." Linux 4.19.187 Hans de Goede (1): ASoC: inte

Re: Linux 4.19.187

2021-04-14 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index fae98a0dc155..ceec39b530bb 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 19 -SUBLEVEL = 186 +SUBLEVEL = 187 EXTRAVERSION = NAME = "People's Front" diff --git

Re: [Outreachy kernel] [PATCH] :staging: rtl8723bs: Remove useless led_blink_hdl()

2021-04-13 Thread Greg Kroah-Hartman
On Tue, Apr 13, 2021 at 05:59:08PM +0200, Fabio M. De Francesco wrote: > Removed the led_blink_hdl() function (declaration, definition, and > caller code) because it's useless. It only seems to check whether or not a > given pointer is NULL. There are other (simpler) means for that purpose. But

Re: [Outreachy kernel] [PATCH] staging: rtl8192u: ieee80211: Replaced strncpy() with strscpy()

2021-04-13 Thread Greg Kroah-Hartman
On Tue, Apr 13, 2021 at 03:24:31PM +0200, Fabio M. De Francesco wrote: > On Tuesday, April 13, 2021 3:16:17 PM CEST Greg Kroah-Hartman wrote: > > On Tue, Apr 13, 2021 at 03:12:02PM +0200, Fabio M. De Francesco wrote: > > > On Tuesday, April 13, 2021 2:59:29 PM CEST Greg K

Re: [Outreachy kernel] [PATCH] staging: rtl8192u: ieee80211: Replaced strncpy() with strscpy()

2021-04-13 Thread Greg Kroah-Hartman
On Tue, Apr 13, 2021 at 03:12:02PM +0200, Fabio M. De Francesco wrote: > On Tuesday, April 13, 2021 2:59:29 PM CEST Greg Kroah-Hartman wrote: > > On Tue, Apr 13, 2021 at 02:30:41PM +0200, Fabio M. De Francesco wrote: > > > Replaced strncpy() with strscpy() because of compila

Re: [Outreachy kernel] [PATCH] staging: rtl8192u: ieee80211: Replaced strncpy() with strscpy()

2021-04-13 Thread Greg Kroah-Hartman
On Tue, Apr 13, 2021 at 02:30:41PM +0200, Fabio M. De Francesco wrote: > Replaced strncpy() with strscpy() because of compilation time warnings > about possible truncation of output [-Wstringop-truncation]. build warnings? What build warnings? > Furthermore, according to the Linux official

Re: [PATCH 5.4 097/111] net: sched: bump refcount for new action in ACT replace mode

2021-04-13 Thread Greg Kroah-Hartman
On Tue, Apr 13, 2021 at 12:51:10PM +0200, Greg Kroah-Hartman wrote: > On Tue, Apr 13, 2021 at 11:36:57AM +0100, Sudip Mukherjee wrote: > > Hi Greg, > > > > On Mon, Apr 12, 2021 at 10:41:15AM +0200, Greg Kroah-Hartman wrote: > > > From: Kumar Kartikey

Re: [PATCH 5.4 097/111] net: sched: bump refcount for new action in ACT replace mode

2021-04-13 Thread Greg Kroah-Hartman
On Tue, Apr 13, 2021 at 11:36:57AM +0100, Sudip Mukherjee wrote: > Hi Greg, > > On Mon, Apr 12, 2021 at 10:41:15AM +0200, Greg Kroah-Hartman wrote: > > From: Kumar Kartikeya Dwivedi > > > > commit 6855e8213e06efcaf7c02a15e12b1ae64b9a7149 upstream. > >

Re: [PATCH 07/12] usb: dwc2: Update enter clock gating when port is suspended

2021-04-13 Thread Greg Kroah-Hartman
On Tue, Apr 13, 2021 at 12:22:35PM +0300, Sergei Shtylyov wrote: > Hello! > > On 13.04.2021 10:17, Artur Petrosyan wrote: > > > Updates the implementation of entering clock gating mode > > when core receives port suspend. > > Instead of setting the required bit fields of the registers > >

Re: [PATCH v2 00/12] usb: dwc2: Add clock gating support.

2021-04-13 Thread Greg Kroah-Hartman
On Tue, Apr 13, 2021 at 08:03:23AM +, Artur Petrosyan wrote: > Hi Greg, > > On 4/13/2021 11:35, Artur Petrosyan wrote: > > This patch set adds clock gating power saving support for > > dwc2 core. > > It adds support for the following cases described by programming guide. > >1. Enter to

Re: [Outreachy kernel] [PATCH 0/2] Remove spaces and blank lines

2021-04-13 Thread Greg Kroah-Hartman
On Mon, Apr 12, 2021 at 07:59:01PM +0200, Fabio M. De Francesco wrote: > Removed spaces before tabs and multiple blank lines from Hal8723BReg.h > for readability improvement. Issues detected by checkpatch.pl. > > Fabio M. De Francesco (2): > staging: rtl8723bs: hal Remove spaces before tabs >

Re: [Outreachy kernel] [PATCH] staging: rtl8723bs: hal: Remove camelcase

2021-04-13 Thread Greg Kroah-Hartman
On Mon, Apr 12, 2021 at 11:02:58PM +0200, Fabio M. De Francesco wrote: > Removed camelcase in (some) symbols. Further work is needed. What symbols did you do this for? What did you change them from and to? Be specific, and try to do only one structure at a time at the most, trying to review

Re: [PATCH v2] staging: rtl8723bs: remove unnecessary adapter

2021-04-12 Thread Greg Kroah-Hartman
On Mon, Apr 12, 2021 at 04:43:56PM +, Bryan Brattlof wrote: > The if2 adapter is defined in rtw_dvr_init() and in the dvobj_priv > structure but never used anywhere in the driver. This will remove all > definitions of if2 > > Signed-off-by: Bryan Brattlof > --- >

Re: How to handle concurrent access to /dev/ttyprintk ?

2021-04-12 Thread Greg Kroah-Hartman
On Mon, Apr 12, 2021 at 08:25:27PM +0900, Tetsuo Handa wrote: > On 2021/04/12 19:44, Greg Kroah-Hartman wrote: > > And trying to "open exclusive only" just does not work, the kernel can > > not enforce that at all, sorry. Any driver that you see trying to do > >

Re: [PATCH 5.10 055/188] virtio_net: Do not pull payload in skb->head

2021-04-12 Thread Greg Kroah-Hartman
On Mon, Apr 12, 2021 at 05:11:40AM -0400, Michael S. Tsirkin wrote: > On Mon, Apr 12, 2021 at 10:39:29AM +0200, Greg Kroah-Hartman wrote: > > From: Eric Dumazet > > > > commit 0f6925b3e8da0dbbb52447ca8a8b42b371aac7db upstream. > > > > Xuan Zhuo reported that co

Re: How to handle concurrent access to /dev/ttyprintk ?

2021-04-12 Thread Greg Kroah-Hartman
On Mon, Apr 12, 2021 at 07:39:04PM +0900, Tetsuo Handa wrote: > What is the intended usage of /dev/ttyprintk ? > > It seems that drivers/char/ttyprintk.c was not designed to be opened by > multiple processes. As a result, syzbot can trigger tty_warn() flooding > enough to fire khungtaskd warning

Re: [PATCH] Staging: Remove line to fix checkpatch error

2021-04-12 Thread Greg Kroah-Hartman
"Y"); > #endif > > MODULE_INFO(staging, "Y"); > > MODULE_INFO(depends, "pcmcia,comedi"); > > - > MODULE_INFO(srcversion, "ED971F2E01020DFA2B04486"); > -- > 2.17.1 Hi, This is the friendly patch-bot of Greg Kroah-Hartman. You have sent hi

[PATCH 5.11 201/210] net: mac802154: Fix general protection fault

2021-04-12 Thread Greg Kroah-Hartman
-by: Pavel Skripkin Reported-by: syzbot+9ec037722d2603a9f...@syzkaller.appspotmail.com Acked-by: Alexander Aring Link: https://lore.kernel.org/r/20210304152125.1052825-1-paskrip...@gmail.com Signed-off-by: Stefan Schmidt Signed-off-by: Greg Kroah-Hartman --- net/mac802154/llsec.c |2 +- 1 file

[PATCH 5.11 167/210] clk: fix invalid usage of list cursor in unregister

2021-04-12 Thread Greg Kroah-Hartman
From: Lukasz Bartosik [ Upstream commit 7045465500e465b09f09d6e5bdc260a9f1aab97b ] Fix invalid usage of a list_for_each_entry cursor in clk_notifier_unregister(). When list is empty or if the list is completely traversed (without breaking from the loop on one of the entries) then the list

[PATCH 5.11 168/210] workqueue: Move the position of debug_work_activate() in __queue_work()

2021-04-12 Thread Greg Kroah-Hartman
From: Zqiang [ Upstream commit 0687c66b5f666b5ad433f4e94251590d9bc9d10e ] The debug_work_activate() is called on the premise that the work can be inserted, because if wq be in WQ_DRAINING status, insert work may be failed. Fixes: e41e704bc4f4 ("workqueue: improve destroy_workqueue()

[PATCH 5.11 193/210] dt-bindings: net: ethernet-controller: fix typo in NVMEM

2021-04-12 Thread Greg Kroah-Hartman
for Fixes: 9d3de3c58347 ("dt-bindings: net: Add YAML schemas for the generic Ethernet options") Signed-off-by: Rafał Miłecki Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- Documentation/devicetree/bindings/net/ethernet-controller.yaml |2 +- 1 file change

[PATCH 5.11 200/210] drivers: net: fix memory leak in peak_usb_create_dev

2021-04-12 Thread Greg Kroah-Hartman
vel Skripkin Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/net/can/usb/peak_usb/pcan_usb_core.c |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) --- a/drivers/net/can/usb/peak_usb/pcan_usb_core.c +++ b/drivers/net/can/usb/peak_usb/pcan_usb_c

[PATCH 5.11 180/210] net/mlx5: Fix PPLM register mapping

2021-04-12 Thread Greg Kroah-Hartman
From: Aya Levin [ Upstream commit ce28f0fd670ddffcd564ce7119bdefbaf08f02d3 ] Add reserved mapping to cover all the register in order to avoid setting arbitrary values to newer FW which implements the reserved fields. Fixes: a58837f52d43 ("net/mlx5e: Expose FEC feilds and related capability

[PATCH 5.11 175/210] platform/x86: intel-hid: Fix spurious wakeups caused by tablet-mode events during suspend

2021-04-12 Thread Greg Kroah-Hartman
From: Hans de Goede [ Upstream commit a3790a8a94fc0234c5d38013b48e74ef221ec84c ] Some devices send (duplicate) tablet-mode events when moved around even though the mode has not changed; and they do this even when suspended. Change the tablet-mode event handling when priv->wakeup_mode is set to

[PATCH 5.11 177/210] net: hns3: clear VF down state bit before request link status

2021-04-12 Thread Greg Kroah-Hartman
From: Guangbin Huang [ Upstream commit ed7bedd2c3ca040f1e8ea02c6590a93116b1ec78 ] Currently, the VF down state bit is cleared after VF sending link status request command. There is problem that when VF gets link status replied from PF, the down state bit may still set as 1. In this case, the

[PATCH 5.11 176/210] tipc: increment the tmp aead refcnt before attaching it

2021-04-12 Thread Greg Kroah-Hartman
From: Xin Long [ Upstream commit 2a2403ca3add03f542f6b34bef9f74649969b06d ] Li Shuang found a NULL pointer dereference crash in her testing: [] BUG: unable to handle kernel NULL pointer dereference at 0020 [] RIP: 0010:tipc_crypto_rcv_complete+0xc8/0x7e0 [tipc] [] Call Trace:

[PATCH 5.11 178/210] net/mlx5: Fix HW spec violation configuring uplink

2021-04-12 Thread Greg Kroah-Hartman
From: Eli Cohen [ Upstream commit 1a73704c82ed4ee95532ac04645d02075bd1ce3d ] Make sure to modify uplink port to follow only if the uplink_follow capability is set as required by the HW spec. Failure to do so causes traffic to the uplink representor net device to cease after switching to

[PATCH 5.11 179/210] net/mlx5: Fix placement of log_max_flow_counter

2021-04-12 Thread Greg Kroah-Hartman
From: Raed Salem [ Upstream commit a14587dfc5ad2312dabdd42a610d80ecd0dc8bea ] The cited commit wrongly placed log_max_flow_counter field of mlx5_ifc_flow_table_prop_layout_bits, align it to the HW spec intended placement. Fixes: 16f1c5bb3ed7 ("net/mlx5: Check device capability for maximum flow

[PATCH 5.11 132/210] net: dsa: Fix type was not set for devlink port

2021-04-12 Thread Greg Kroah-Hartman
From: Maxim Kochetkov [ Upstream commit fb6ec87f7229b92baa81b35cbc76f2626d5bfadb ] If PHY is not available on DSA port (described at devicetree but absent or failed to detect) then kernel prints warning after 3700 secs: [ 3707.948771] [ cut here ] [ 3707.948784] Type

[PATCH 5.11 133/210] clk: qcom: camcc: Update the clock ops for the SC7180

2021-04-12 Thread Greg Kroah-Hartman
From: Taniya Das [ Upstream commit e5c359f70e4b5e7b6c2bf4b0ca2d2686d543a37b ] Some of the RCGs could be always ON from the XO source and could be used as the clock on signal for the GDSC to be operational. In the cases where the GDSCs are parked at different source with the source clock

[PATCH 5.11 134/210] cxgb4: avoid collecting SGE_QBASE regs during traffic

2021-04-12 Thread Greg Kroah-Hartman
From: Rahul Lakkireddy [ Upstream commit 1bfb3dea965ff9f6226fd1709338f227363b6061 ] Accessing SGE_QBASE_MAP[0-3] and SGE_QBASE_INDEX registers can lead to SGE missing doorbells under heavy traffic. So, only collect them when adapter is idle. Also update the regdump range to skip collecting

[PATCH 5.11 159/210] scsi: ufs: core: Fix wrong Task Tag used in task management request UPIUs

2021-04-12 Thread Greg Kroah-Hartman
From: Can Guo [ Upstream commit 4b42d557a8add52b9a9924fb31e40a218aab7801 ] In __ufshcd_issue_tm_cmd(), it is not correct to use hba->nutrs + req->tag as the Task Tag in a TMR UPIU. Directly use req->tag as the Task Tag. Fixes: e293313262d3 ("scsi: ufs: Fix broken task management command

[PATCH 5.11 135/210] net:tipc: Fix a double free in tipc_sk_mcast_rcv

2021-04-12 Thread Greg Kroah-Hartman
From: Lv Yunlong [ Upstream commit 6bf24dc0cc0cc43b29ba344b66d78590e687e046 ] In the if(skb_peek(arrvq) == skb) branch, it calls __skb_dequeue(arrvq) to get the skb by skb = skb_peek(arrvq). Then __skb_dequeue() unlinks the skb from arrvq and returns the skb which equals to skb_peek(arrvq).

[PATCH 5.11 157/210] mptcp: revert "mptcp: provide subflow aware release function"

2021-04-12 Thread Greg Kroah-Hartman
From: Paolo Abeni [ Upstream commit 0a3cc57978d1d1448312f8973bd84dca4a71433a ] This change reverts commit ad98dd37051e ("mptcp: provide subflow aware release function"). The latter introduced a deadlock spotted by syzkaller and is not needed anymore after the previous commit. Fixes:

[PATCH 5.11 160/210] drm/msm: a6xx: fix version check for the A650 SQE microcode

2021-04-12 Thread Greg Kroah-Hartman
From: Dmitry Baryshkov [ Upstream commit 6ddbfa1f5adbd5dea14ff66778ca58257f09f17d ] I suppose the microcode version check for a650 is incorrect. It checks for the version 1.95, while the firmware released have major version of 0: 0.91 (vulnerable), 0.99 (fixing the issue). Lower version

[PATCH 5.11 141/210] I2C: JZ4780: Fix bug for Ingenic X1000.

2021-04-12 Thread Greg Kroah-Hartman
From: 周琰杰 (Zhou Yanjie) [ Upstream commit 942bfbecc0281c75db84f744b9b77b0f2396f484 ] Only send "X1000_I2C_DC_STOP" when last byte, or it will cause error when I2C write operation which should look like this: device_addr + w, reg_addr, data; But without this patch, it looks like this:

[PATCH 5.11 143/210] net/mlx5e: Fix mapping of ct_label zero

2021-04-12 Thread Greg Kroah-Hartman
From: Ariel Levkovich [ Upstream commit d24f847e54214049814b9515771622eaab3f42ab ] ct_label 0 is a default label each flow has and therefore there can be rules that match on ct_label=0 without a prior rule that set the ct_label to this value. The ct_label value is not used directly in the HW

[PATCH 5.11 142/210] ASoC: sunxi: sun4i-codec: fill ASoC card owner

2021-04-12 Thread Greg Kroah-Hartman
From: Bastian Germann [ Upstream commit 7c0d6e482062eb5c06ecccfab340abc523bdca00 ] card->owner is a required property and since commit 81033c6b584b ("ALSA: core: Warn on empty module") a warning is issued if it is empty. Add it. This fixes following warning observed on Lamobo R1: WARNING: CPU:

[PATCH 5.11 139/210] nfp: flower: ignore duplicate merge hints from FW

2021-04-12 Thread Greg Kroah-Hartman
From: Yinjun Zhang [ Upstream commit 2ea538dbee1c79f6f6c24a6f2f82986e4b7ccb78 ] A merge hint message needs some time to process before the merged flow actually reaches the firmware, during which we may get duplicate merge hints if there're more than one packet that hit the pre-merged flow. And

[PATCH 5.11 136/210] ARM: dts: imx6: pbab01: Set vmmc supply for both SD interfaces

2021-04-12 Thread Greg Kroah-Hartman
From: Stefan Riedmueller [ Upstream commit f57011e72f5fe0421ec7a812beb1b57bdf4bb47f ] Setting the vmmc supplies is crucial since otherwise the supplying regulators get disabled and the SD interfaces are no longer powered which leads to system failures if the system is booted from that SD

[PATCH 5.11 088/210] i2c: turn recovery error on init to debug

2021-04-12 Thread Greg Kroah-Hartman
Kudielka Tested-by: Klaus Kudielka Signed-off-by: Wolfram Sang Signed-off-by: Wolfram Sang Cc: sta...@kernel.org Signed-off-by: Greg Kroah-Hartman --- drivers/i2c/i2c-core-base.c |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) --- a/drivers/i2c/i2c-core-base.c +++ b/drivers/i2c

[PATCH 5.11 209/210] net: ieee802154: stop dump llsec params for monitors

2021-04-12 Thread Greg Kroah-Hartman
...@syzkaller.appspotmail.com Signed-off-by: Alexander Aring Link: https://lore.kernel.org/r/20210405003054.256017-16-aahri...@redhat.com Signed-off-by: Stefan Schmidt Signed-off-by: Greg Kroah-Hartman --- net/ieee802154/nl802154.c |5 + 1 file changed, 5 insertions(+) --- a/net/ieee802154/nl802154.c +++ b/net

[PATCH 5.11 207/210] net: ieee802154: forbid monitor for set llsec params

2021-04-12 Thread Greg Kroah-Hartman
://lore.kernel.org/r/20210405003054.256017-3-aahri...@redhat.com Signed-off-by: Stefan Schmidt Signed-off-by: Greg Kroah-Hartman --- net/ieee802154/nl802154.c |3 +++ 1 file changed, 3 insertions(+) --- a/net/ieee802154/nl802154.c +++ b/net/ieee802154/nl802154.c @@ -1384,6 +1384,9 @@ static int

[PATCH 5.11 210/210] Revert "net: sched: bump refcount for new action in ACT replace mode"

2021-04-12 Thread Greg Kroah-Hartman
-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- net/sched/act_api.c |3 --- 1 file changed, 3 deletions(-) --- a/net/sched/act_api.c +++ b/net/sched/act_api.c @@ -1049,9 +1049,6 @@ struct tc_action *tcf_action_init_1(stru if (!name) a->hw_stats = hw_st

[PATCH 5.11 202/210] net: ieee802154: nl-mac: fix check on panid

2021-04-12 Thread Greg Kroah-Hartman
-by: Alexander Aring Link: https://lore.kernel.org/r/20210228151817.95700-4-aahri...@redhat.com Signed-off-by: Stefan Schmidt Signed-off-by: Greg Kroah-Hartman --- net/ieee802154/nl-mac.c |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) --- a/net/ieee802154/nl-mac.c +++ b/net

[PATCH 5.4 063/111] net:tipc: Fix a double free in tipc_sk_mcast_rcv

2021-04-12 Thread Greg Kroah-Hartman
From: Lv Yunlong [ Upstream commit 6bf24dc0cc0cc43b29ba344b66d78590e687e046 ] In the if(skb_peek(arrvq) == skb) branch, it calls __skb_dequeue(arrvq) to get the skb by skb = skb_peek(arrvq). Then __skb_dequeue() unlinks the skb from arrvq and returns the skb which equals to skb_peek(arrvq).

[PATCH 5.11 205/210] net: ieee802154: fix nl802154 add llsec key

2021-04-12 Thread Greg Kroah-Hartman
Signed-off-by: Alexander Aring Link: https://lore.kernel.org/r/20210221174321.14210-3-aahri...@redhat.com Signed-off-by: Stefan Schmidt Signed-off-by: Greg Kroah-Hartman --- net/ieee802154/nl802154.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/net/ieee802154/nl802154.c +++ b/net

[PATCH 5.11 206/210] net: ieee802154: fix nl802154 del llsec devkey

2021-04-12 Thread Greg Kroah-Hartman
Signed-off-by: Alexander Aring Link: https://lore.kernel.org/r/20210221174321.14210-4-aahri...@redhat.com Signed-off-by: Stefan Schmidt Signed-off-by: Greg Kroah-Hartman --- net/ieee802154/nl802154.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/net/ieee802154/nl802154.c +++ b

[PATCH 5.11 208/210] net: ieee802154: forbid monitor for del llsec seclevel

2021-04-12 Thread Greg Kroah-Hartman
...@syzkaller.appspotmail.com Signed-off-by: Alexander Aring Link: https://lore.kernel.org/r/20210405003054.256017-15-aahri...@redhat.com Signed-off-by: Stefan Schmidt Signed-off-by: Greg Kroah-Hartman --- net/ieee802154/nl802154.c |3 +++ 1 file changed, 3 insertions(+) --- a/net/ieee802154/nl802154.c

[PATCH 5.11 172/210] i2c: designware: Adjust bus_freq_hz when refuse high speed mode set

2021-04-12 Thread Greg Kroah-Hartman
From: Andy Shevchenko [ Upstream commit 5e729bc54bda705f64941008b018b4e41a4322bf ] When hardware doesn't support High Speed Mode, we forget bus_freq_hz timing adjustment. This makes the timings and real registers being unsynchronized. Adjust bus_freq_hz when refuse high speed mode set. Fixes:

[PATCH 5.11 173/210] iwlwifi: fix 11ax disabled bit in the regulatory capability flags

2021-04-12 Thread Greg Kroah-Hartman
From: Luca Coelho [ Upstream commit 07cc40fec9a85e669ea12e161a438d2cbd76f1ed ] When version 2 of the regulatory capability flags API was implemented, the flag to disable 11ax was defined as bit 13, but this was later changed and the bit remained as bit 10, like in version 1. This was never

[PATCH 5.11 164/210] net: cls_api: Fix uninitialised struct field bo->unlocked_driver_cb

2021-04-12 Thread Greg Kroah-Hartman
From: Yunjian Wang [ Upstream commit 990b03b05b2fba79de2a1ee9dc359fc552d95ba6 ] The 'unlocked_driver_cb' struct field in 'bo' is not being initialized in tcf_block_offload_init(). The uninitialized 'unlocked_driver_cb' will be used when calling unlocked_driver_cb(). So initialize 'bo' to zero

[PATCH 5.11 204/210] net: ieee802154: fix nl802154 del llsec dev

2021-04-12 Thread Greg Kroah-Hartman
Signed-off-by: Alexander Aring Link: https://lore.kernel.org/r/20210221174321.14210-2-aahri...@redhat.com Signed-off-by: Stefan Schmidt Signed-off-by: Greg Kroah-Hartman --- net/ieee802154/nl802154.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/net/ieee802154/nl802154.c +++ b

[PATCH 5.11 203/210] net: ieee802154: fix nl802154 del llsec key

2021-04-12 Thread Greg Kroah-Hartman
Signed-off-by: Alexander Aring Link: https://lore.kernel.org/r/20210221174321.14210-1-aahri...@redhat.com Signed-off-by: Stefan Schmidt Signed-off-by: Greg Kroah-Hartman --- net/ieee802154/nl802154.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/net/ieee802154/nl802154.c +++ b/net

[PATCH 5.11 171/210] openvswitch: fix send of uninitialized stack memory in ct limit reply

2021-04-12 Thread Greg Kroah-Hartman
From: Ilya Maximets [ Upstream commit 4d51419d49930be2701c2633ae271b350397c3ca ] 'struct ovs_zone_limit' has more members than initialized in ovs_ct_limit_get_default_limit(). The rest of the memory is a random kernel stack content that ends up being sent to userspace. Fix that by using

[PATCH 5.11 170/210] perf inject: Fix repipe usage

2021-04-12 Thread Greg Kroah-Hartman
From: Adrian Hunter [ Upstream commit 026334a3bb6a3919b42aba9fc11843db2b77fd41 ] Since commit 14d3d54052539a1e ("perf session: Try to read pipe data from file") 'perf inject' has started printing "PERFILE2h" when not processing pipes. The commit exposed perf to the possiblity that the input is

[PATCH 5.11 198/210] net: tun: set tun->dev->addr_len during TUNSETLINK processing

2021-04-12 Thread Greg Kroah-Hartman
ed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/net/tun.c | 48 1 file changed, 48 insertions(+) --- a/drivers/net/tun.c +++ b/drivers/net/tun.c @@ -69,6 +69,14 @@ #include #include #include +#include +#include +#i

[PATCH 5.11 169/210] s390/cpcmd: fix inline assembly register clobbering

2021-04-12 Thread Greg Kroah-Hartman
From: Alexander Gordeev [ Upstream commit 7a2f91441b2c1d81b77c1cd816a4659f4abc9cbe ] Register variables initialized using arithmetic. That leads to kasan instrumentaton code corrupting the registers contents. Follow GCC guidlines and use temporary variables for assigning init values to register

[PATCH 5.11 194/210] net: sched: bump refcount for new action in ACT replace mode

2021-04-12 Thread Greg Kroah-Hartman
ya Dwivedi Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- net/sched/act_api.c |3 +++ 1 file changed, 3 insertions(+) --- a/net/sched/act_api.c +++ b/net/sched/act_api.c @@ -1049,6 +1049,9 @@ struct tc_action *tcf_action_init_1(stru if (!name) a

[PATCH 5.11 195/210] x86/traps: Correct exc_general_protection() and math_error() return paths

2021-04-12 Thread Greg Kroah-Hartman
Fixes: 334872a09198 ("x86/traps: Attempt to fixup exceptions in vDSO before signaling") Signed-off-by: Thomas Tai Signed-off-by: Borislav Petkov Reviewed-by: Alexandre Chartre Link: https://lkml.kernel.org/r/1617902914-83245-1-git-send-email-thomas@oracle.com Signed-off-by: Greg

[PATCH 5.11 197/210] cfg80211: remove WARN_ON() in cfg80211_sme_connect

2021-04-12 Thread Greg Kroah-Hartman
Johannes Berg Signed-off-by: Greg Kroah-Hartman --- net/wireless/sme.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/net/wireless/sme.c +++ b/net/wireless/sme.c @@ -530,7 +530,7 @@ static int cfg80211_sme_connect(struct w cfg80211_sme_free(wdev); } -

[PATCH 5.11 196/210] gpiolib: Read "gpio-line-names" from a firmware node

2021-04-12 Thread Greg Kroah-Hartman
firmware node. Fixes: 7cba1a4d5e162 ("gpiolib: generalize devprop_gpiochip_set_names() for device properties") Reported-by: Marek Vasut Reported-by: Roman Guskov Signed-off-by: Andy Shevchenko Tested-by: Marek Vasut Reviewed-by: Marek Vasut Signed-off-by: Bartosz Golaszewski Signed-off

[PATCH 5.11 199/210] drivers: net: fix memory leak in atusb_probe

2021-04-12 Thread Greg Kroah-Hartman
-by: Pavel Skripkin Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/net/ieee802154/atusb.c |1 + 1 file changed, 1 insertion(+) --- a/drivers/net/ieee802154/atusb.c +++ b/drivers/net/ieee802154/atusb.c @@ -365,6 +365,7 @@ static int atusb_alloc_urbs(struct atusb

[PATCH 5.11 192/210] lockdep: Address clang -Wformat warning printing for %hd

2021-04-12 Thread Greg Kroah-Hartman
'short' rather than either an 8-bit or 32-bit number, so just change it to a normal %d. Fixes: de8f5e4f2dc1 ("lockdep: Introduce wait-type checks") Signed-off-by: Arnd Bergmann Signed-off-by: Ingo Molnar Link: https://lore.kernel.org/r/20210322115531.3987555-1-a...@kernel.org Signed-of

[PATCH 5.11 190/210] RAS/CEC: Correct ce_add_elem()s returned values

2021-04-12 Thread Greg Kroah-Hartman
f-by: Greg Kroah-Hartman --- drivers/ras/cec.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) --- a/drivers/ras/cec.c +++ b/drivers/ras/cec.c @@ -309,11 +309,20 @@ static bool sanity_check(struct ce_array return ret; } +/** + * cec_add_elem - Add an element

[PATCH 5.11 191/210] clk: socfpga: fix iomem pointer cast on 64-bit

2021-04-12 Thread Greg Kroah-Hartman
09.32599-1-krzysztof.kozlow...@canonical.com Signed-off-by: Stephen Boyd Signed-off-by: Greg Kroah-Hartman --- drivers/clk/socfpga/clk-gate.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/clk/socfpga/clk-gate.c +++ b/drivers/clk/socfpga/clk-gate.c @@ -99,7 +99,7 @@ static uns

[PATCH 5.11 189/210] vdpa/mlx5: Fix wrong use of bit numbers

2021-04-12 Thread Greg Kroah-Hartman
From: Eli Cohen [ Upstream commit 4b454a82418dd76d8c0590bb3f7a99a63ea57dc5 ] VIRTIO_F_VERSION_1 is a bit number. Use BIT_ULL() with mask conditionals. Also, in mlx5_vdpa_is_little_endian() use BIT_ULL for consistency with the rest of the code. Fixes: 1a86b377aa21 ("vdpa/mlx5: Add VDPA driver

[PATCH 5.11 187/210] RDMA/addr: Be strict with gid size

2021-04-12 Thread Greg Kroah-Hartman
From: Leon Romanovsky [ Upstream commit d1c803a9ccd7bd3aff5e989ccfb39ed3b799b975 ] The nla_len() is less than or equal to 16. If it's less than 16 then end of the "gid" buffer is uninitialized. Fixes: ae43f8286730 ("IB/core: Add IP to GID netlink offload") Link:

[PATCH 5.11 188/210] vdpa/mlx5: should exclude header length and fcs from mtu

2021-04-12 Thread Greg Kroah-Hartman
From: Si-Wei Liu [ Upstream commit d084d996aaf53c0cc583dc75a4fc2a67fe485846 ] When feature VIRTIO_NET_F_MTU is negotiated on mlx5_vdpa, 22 extra bytes worth of MTU length is shown in guest. This is because the mlx5_query_port_max_mtu API returns the "hardware" MTU value, which does not just

[PATCH 5.11 186/210] i40e: Fix parameters in aq_get_phy_register()

2021-04-12 Thread Greg Kroah-Hartman
From: Grzegorz Siwik [ Upstream commit b2d0efc4be7ed320e33eaa9b6dd6f3f6011ffb8e ] Change parameters order in aq_get_phy_register() due to wrong statistics in PHY reported by ethtool. Previously all PHY statistics were exactly the same for all interfaces Now statistics are reported correctly -

[PATCH 5.11 185/210] drm/vc4: crtc: Reduce PV fifo threshold on hvs4

2021-04-12 Thread Greg Kroah-Hartman
From: Dom Cobley [ Upstream commit eb9dfdd1ed40357b99a4201c8534c58c562e48c9 ] Experimentally have found PV on hvs4 reports fifo full error with expected settings and does not with one less This appears as: [drm:drm_atomic_helper_wait_for_flip_done] *ERROR* [CRTC:82:crtc-3] flip_done timed out

[PATCH 5.11 166/210] clk: fix invalid usage of list cursor in register

2021-04-12 Thread Greg Kroah-Hartman
From: Lukasz Bartosik [ Upstream commit 8d3c0c01cb2e36b2bf3c06a82b18b228d0c8f5d0 ] Fix invalid usage of a list_for_each_entry cursor in clk_notifier_register(). When list is empty or if the list is completely traversed (without breaking from the loop on one of the entries) then the list cursor

[PATCH 5.11 184/210] RDMA/qedr: Fix kernel panic when trying to access recv_cq

2021-04-12 Thread Greg Kroah-Hartman
From: Kamal Heib [ Upstream commit e1ad897b9c738d5550be6762bf3a6ef1672259a4 ] As INI QP does not require a recv_cq, avoid the following null pointer dereference by checking if the qp_type is not INI before trying to extract the recv_cq. BUG: kernel NULL pointer dereference, address:

[PATCH 5.11 183/210] perf report: Fix wrong LBR block sorting

2021-04-12 Thread Greg Kroah-Hartman
From: Jin Yao [ Upstream commit f2013278ae40b89cc27916366c407ce5261815ef ] When '--total-cycles' is specified, it supports sorting for all blocks by 'Sampled Cycles%'. This is useful to concentrate on the globally hottest blocks. 'Sampled Cycles%' - block sampled cycles aggregation / total

<    2   3   4   5   6   7   8   9   10   11   >