[PATCH AUTOSEL 5.4 40/43] ALSA: hda: fix a runtime pm issue in SOF when integrated GPU is disabled

2020-09-07 Thread Sasha Levin
From: Rander Wang [ Upstream commit 13774d81f38538c5fa2924bdcdfa509155480fa6 ] In snd_hdac_device_init pm_runtime_set_active is called to increase child_count in parent device. But when it is failed to build connection with GPU for one case that integrated graphic gpu is disabled,

[PATCH AUTOSEL 5.4 34/43] ARC: [plat-hsdk]: Switch ethernet phy-mode to rgmii-id

2020-09-07 Thread Sasha Levin
From: Evgeniy Didin [ Upstream commit 26907eb605fbc3ba9dbf888f21d9d8d04471271d ] HSDK board has Micrel KSZ9031, recent commit bcf3440c6dd ("net: phy: micrel: add phy-mode support for the KSZ9031 PHY") caused a breakdown of Ethernet. Using 'phy-mode = "rgmii"' is not correct because accodring

[PATCH AUTOSEL 5.8 08/53] NFC: st95hf: Fix memleak in st95hf_in_send_cmd

2020-09-07 Thread Sasha Levin
From: Dinghao Liu [ Upstream commit f97c04c316d8fea16dca449fdfbe101fbdfee6a2 ] When down_killable() fails, skb_resp should be freed just like when st95hf_spi_send() fails. Signed-off-by: Dinghao Liu Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/nfc/st95hf/core.c | 2

[PATCH AUTOSEL 5.4 38/43] arm64/module: set trampoline section flags regardless of CONFIG_DYNAMIC_FTRACE

2020-09-07 Thread Sasha Levin
From: Jessica Yu [ Upstream commit e0328feda79d9681b3e3245e6e180295550c8ee9 ] In the arm64 module linker script, the section .text.ftrace_trampoline is specified unconditionally regardless of whether CONFIG_DYNAMIC_FTRACE is enabled (this is simply due to the limitation that module linker

[PATCH AUTOSEL 4.19 05/26] NFC: st95hf: Fix memleak in st95hf_in_send_cmd

2020-09-07 Thread Sasha Levin
From: Dinghao Liu [ Upstream commit f97c04c316d8fea16dca449fdfbe101fbdfee6a2 ] When down_killable() fails, skb_resp should be freed just like when st95hf_spi_send() fails. Signed-off-by: Dinghao Liu Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/nfc/st95hf/core.c | 2

[PATCH AUTOSEL 4.19 04/26] drivers/net/wan/lapbether: Added needed_tailroom

2020-09-07 Thread Sasha Levin
From: Xie He [ Upstream commit 1ee39c1448c4e0d480c5b390e2db1987561fb5c2 ] The underlying Ethernet device may request necessary tailroom to be allocated by setting needed_tailroom. This driver should also set needed_tailroom to request the tailroom needed by the underlying Ethernet device to be

[PATCH AUTOSEL 4.19 08/26] drivers/net/wan/lapbether: Set network_header before transmitting

2020-09-07 Thread Sasha Levin
From: Xie He [ Upstream commit 91244d108441013b7367b3b4dcc6869998676473 ] Set the skb's network_header before it is passed to the underlying Ethernet device for transmission. This patch fixes the following issue: When we use this driver with AF_PACKET sockets, there would be error messages

[PATCH AUTOSEL 4.19 09/26] cfg80211: regulatory: reject invalid hints

2020-09-07 Thread Sasha Levin
From: Johannes Berg [ Upstream commit 47caf685a6854593348f216e0b489b71c10cbe03 ] Reject invalid hints early in order to not cause a kernel WARN later if they're restored to or similar. Reported-by: syzbot+d451401ffd00a6067...@syzkaller.appspotmail.com Link:

Re: [PATCH net-next RFC v1 2/4] devlink: Add devlink traps under devlink_ports context

2020-09-07 Thread Aya Levin
On 9/6/2020 6:44 PM, Ido Schimmel wrote: On Wed, Sep 02, 2020 at 06:32:12PM +0300, Aya Levin wrote: There are some cases where we would like to trap dropped packets only for a single port on a device without affecting the others. For that purpose trap_mngr was added to devlink_port and

[PATCH AUTOSEL 4.19 11/26] xfs: initialize the shortform attr header padding entry

2020-09-07 Thread Sasha Levin
From: "Darrick J. Wong" [ Upstream commit 125eac243806e021f33a1fdea3687eccbb9f7636 ] Don't leak kernel memory contents into the shortform attr fork. Signed-off-by: Darrick J. Wong Reviewed-by: Eric Sandeen Reviewed-by: Dave Chinner Reviewed-by: Christoph Hellwig Signed-off-by: Sasha Levin

[PATCH AUTOSEL 4.19 14/26] nvme: have nvme_wait_freeze_timeout return if it timed out

2020-09-07 Thread Sasha Levin
From: Sagi Grimberg [ Upstream commit 7cf0d7c0f3c3b0203aaf81c1bc884924d8fdb9bd ] Users can detect if the wait has completed or not and take appropriate actions based on this information (e.g. weather to continue initialization or rather fail and schedule another initialization attempt).

[PATCH AUTOSEL 4.19 07/26] ALSA: hda: Fix 2 channel swapping for Tegra

2020-09-07 Thread Sasha Levin
From: Mohan Kumar [ Upstream commit 216116eae43963c662eb84729507bad95214ca6b ] The Tegra HDA codec HW implementation has an issue related to not swapping the 2 channel Audio Sample Packet(ASP) channel mapping. Whatever the FL and FR mapping specified the left channel always comes out of left

[PATCH AUTOSEL 4.19 12/26] irqchip/eznps: Fix build error for !ARC700 builds

2020-09-07 Thread Sasha Levin
From: Vineet Gupta [ Upstream commit 89d29997f103d08264b0685796b420d911658b96 ] eznps driver is supposed to be platform independent however it ends up including stuff from inside arch/arc headers leading to rand config build errors. The quick hack to fix this (proper fix is too much chrun for

[PATCH AUTOSEL 4.19 13/26] nvme-fabrics: don't check state NVME_CTRL_NEW for request acceptance

2020-09-07 Thread Sasha Levin
From: Sagi Grimberg [ Upstream commit d7144f5c4cf4de95fdc3422943cf51c06aeaf7a7 ] NVME_CTRL_NEW should never see any I/O, because in order to start initialization it has to transition to NVME_CTRL_CONNECTING and from there it will never return to this state. Reviewed-by: Christoph Hellwig

[PATCH AUTOSEL 4.19 17/26] drivers/net/wan/hdlc_cisco: Add hard_header_len

2020-09-07 Thread Sasha Levin
From: Xie He [ Upstream commit 1a545ebe380bf4c1433e3c136e35a77764fda5ad ] This driver didn't set hard_header_len. This patch sets hard_header_len for it according to its header_ops->create function. This driver's header_ops->create function (cisco_hard_header) creates a header of (struct

[PATCH AUTOSEL 4.19 18/26] HID: elan: Fix memleak in elan_input_configured

2020-09-07 Thread Sasha Levin
From: Dinghao Liu [ Upstream commit b7429ea53d6c0936a0f10a5d64164f0aea440143 ] When input_mt_init_slots() fails, input should be freed to prevent memleak. When input_register_device() fails, we should call input_mt_destroy_slots() to free memory allocated by input_mt_init_slots().

Re: [PATCH v2 0/6] xfrm: Add compat layer

2020-09-07 Thread Dmitry Safonov
On 9/7/20 10:43 AM, Steffen Klassert wrote: > On Wed, Aug 26, 2020 at 02:49:43AM +0100, Dmitry Safonov wrote: [..] > > Thanks for the patches, looks good! > > Please fix the issue reported from 'kernel test robot' and resend. Thanks, will do! -- Dmitry

[PATCH AUTOSEL 5.8 25/53] irqchip/eznps: Fix build error for !ARC700 builds

2020-09-07 Thread Sasha Levin
From: Vineet Gupta [ Upstream commit 89d29997f103d08264b0685796b420d911658b96 ] eznps driver is supposed to be platform independent however it ends up including stuff from inside arch/arc headers leading to rand config build errors. The quick hack to fix this (proper fix is too much chrun for

[PATCH AUTOSEL 4.19 15/26] nvme-rdma: serialize controller teardown sequences

2020-09-07 Thread Sasha Levin
From: Sagi Grimberg [ Upstream commit 5110f40241d08334375eb0495f174b1d2c07657e ] In the timeout handler we may need to complete a request because the request that timed out may be an I/O that is a part of a serial sequence of controller teardown or initialization. In order to complete the

[PATCH AUTOSEL 4.19 25/26] iommu/amd: Do not use IOMMUv2 functionality when SME is active

2020-09-07 Thread Sasha Levin
From: Joerg Roedel [ Upstream commit 2822e582501b65707089b097e773e6fd70774841 ] When memory encryption is active the device is likely not in a direct mapped domain. Forbid using IOMMUv2 functionality for now until finer grained checks for this have been implemented. Signed-off-by: Joerg Roedel

[PATCH AUTOSEL 4.19 16/26] HID: quirks: Set INCREMENT_USAGE_ON_DUPLICATE for all Saitek X52 devices

2020-09-07 Thread Sasha Levin
From: Nirenjan Krishnan [ Upstream commit 77df710ba633dfb6c65c65cf99ea9e084a1c9933 ] The Saitek X52 family of joysticks has a pair of axes that were originally (by the Windows driver) used as mouse pointer controls. The corresponding usage page is the Game Controls page, which is not recognized

[PATCH AUTOSEL 4.19 22/26] net: usb: dm9601: Add USB ID of Keenetic Plus DSL

2020-09-07 Thread Sasha Levin
From: Kamil Lorenc [ Upstream commit a609d0259183a841621f252e067f40f8cc25d6f6 ] Keenetic Plus DSL is a xDSL modem that uses dm9620 as its USB interface. Signed-off-by: Kamil Lorenc Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/net/usb/dm9601.c | 4 1 file

[PATCH AUTOSEL 4.19 21/26] cpufreq: intel_pstate: Fix intel_pstate_get_hwp_max() for turbo disabled

2020-09-07 Thread Sasha Levin
From: Francisco Jerez [ Upstream commit eacc9c5a927e474c173a5d53dd7fb8e306511768 ] This fixes the behavior of the scaling_max_freq and scaling_min_freq sysfs files in systems which had turbo disabled by the BIOS. Caleb noticed that the HWP is programmed to operate in the wrong P-state range on

[PATCH AUTOSEL 4.19 26/26] gcov: Disable gcov build with GCC 10

2020-09-07 Thread Sasha Levin
From: Leon Romanovsky [ Upstream commit cfc905f158eaa099d6258031614d11869e7ef71c ] GCOV built with GCC 10 doesn't initialize n_function variable. This produces different kernel panics as was seen by Colin in Ubuntu and me in FC 32. As a workaround, let's disable GCOV build for broken GCC 10

[PATCH AUTOSEL 4.19 24/26] drm/amdgpu: Fix bug in reporting voltage for CIK

2020-09-07 Thread Sasha Levin
From: Sandeep Raghuraman [ Upstream commit d98299885c9ea140c1108545186593deba36c4ac ] On my R9 390, the voltage was reported as a constant 1000 mV. This was due to a bug in smu7_hwmgr.c, in the smu7_read_sensor() function, where some magic constants were used in a condition, to determine

[PATCH AUTOSEL 4.19 23/26] ALSA: hda: fix a runtime pm issue in SOF when integrated GPU is disabled

2020-09-07 Thread Sasha Levin
From: Rander Wang [ Upstream commit 13774d81f38538c5fa2924bdcdfa509155480fa6 ] In snd_hdac_device_init pm_runtime_set_active is called to increase child_count in parent device. But when it is failed to build connection with GPU for one case that integrated graphic gpu is disabled,

[PATCH AUTOSEL 5.8 31/53] nvme-tcp: fix timeout handler

2020-09-07 Thread Sasha Levin
From: Sagi Grimberg [ Upstream commit 236187c4ed195161dfa4237c7beffbba0c5ae45b ] When a request times out in a LIVE state, we simply trigger error recovery and let the error recovery handle the request cancellation, however when a request times out in a non LIVE state, we make sure to complete

[PATCH AUTOSEL 4.14 01/17] ARC: HSDK: wireup perf irq

2020-09-07 Thread Sasha Levin
From: Vineet Gupta [ Upstream commit fe81d927b78c4f0557836661d32e41ebc957b024 ] Newer version of HSDK aka HSDK-4xD (with dual issue HS48x4 CPU) wired up the perf interrupt, so enable that in DT. This is OK for old HSDK where this irq is ignored because pct irq is not wired up in hardware.

[PATCH AUTOSEL 4.14 04/17] NFC: st95hf: Fix memleak in st95hf_in_send_cmd

2020-09-07 Thread Sasha Levin
From: Dinghao Liu [ Upstream commit f97c04c316d8fea16dca449fdfbe101fbdfee6a2 ] When down_killable() fails, skb_resp should be freed just like when st95hf_spi_send() fails. Signed-off-by: Dinghao Liu Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/nfc/st95hf/core.c | 2

[PATCH AUTOSEL 4.14 02/17] dmaengine: acpi: Put the CSRT table after using it

2020-09-07 Thread Sasha Levin
From: Hanjun Guo [ Upstream commit 7eb48dd094de5fe0e216b550e73aa85257903973 ] The acpi_get_table() should be coupled with acpi_put_table() if the mapped table is not used at runtime to release the table mapping, put the CSRT table buf after using it. Signed-off-by: Hanjun Guo Link:

[PATCH AUTOSEL 4.14 03/17] drivers/net/wan/lapbether: Added needed_tailroom

2020-09-07 Thread Sasha Levin
From: Xie He [ Upstream commit 1ee39c1448c4e0d480c5b390e2db1987561fb5c2 ] The underlying Ethernet device may request necessary tailroom to be allocated by setting needed_tailroom. This driver should also set needed_tailroom to request the tailroom needed by the underlying Ethernet device to be

[PATCH AUTOSEL 4.14 05/17] firestream: Fix memleak in fs_open

2020-09-07 Thread Sasha Levin
From: Dinghao Liu [ Upstream commit 15ac5cdafb9202424206dc5bd376437a358963f9 ] When make_rate() fails, vcc should be freed just like other error paths in fs_open(). Signed-off-by: Dinghao Liu Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/atm/firestream.c | 1 + 1

[PATCH AUTOSEL 4.14 08/17] cfg80211: regulatory: reject invalid hints

2020-09-07 Thread Sasha Levin
From: Johannes Berg [ Upstream commit 47caf685a6854593348f216e0b489b71c10cbe03 ] Reject invalid hints early in order to not cause a kernel WARN later if they're restored to or similar. Reported-by: syzbot+d451401ffd00a6067...@syzkaller.appspotmail.com Link:

[PATCH AUTOSEL 4.14 07/17] drivers/net/wan/lapbether: Set network_header before transmitting

2020-09-07 Thread Sasha Levin
From: Xie He [ Upstream commit 91244d108441013b7367b3b4dcc6869998676473 ] Set the skb's network_header before it is passed to the underlying Ethernet device for transmission. This patch fixes the following issue: When we use this driver with AF_PACKET sockets, there would be error messages

[PATCH AUTOSEL 4.14 06/17] ALSA: hda: Fix 2 channel swapping for Tegra

2020-09-07 Thread Sasha Levin
From: Mohan Kumar [ Upstream commit 216116eae43963c662eb84729507bad95214ca6b ] The Tegra HDA codec HW implementation has an issue related to not swapping the 2 channel Audio Sample Packet(ASP) channel mapping. Whatever the FL and FR mapping specified the left channel always comes out of left

[PATCH AUTOSEL 4.14 11/17] irqchip/eznps: Fix build error for !ARC700 builds

2020-09-07 Thread Sasha Levin
From: Vineet Gupta [ Upstream commit 89d29997f103d08264b0685796b420d911658b96 ] eznps driver is supposed to be platform independent however it ends up including stuff from inside arch/arc headers leading to rand config build errors. The quick hack to fix this (proper fix is too much chrun for

[PATCH AUTOSEL 4.14 10/17] xfs: initialize the shortform attr header padding entry

2020-09-07 Thread Sasha Levin
From: "Darrick J. Wong" [ Upstream commit 125eac243806e021f33a1fdea3687eccbb9f7636 ] Don't leak kernel memory contents into the shortform attr fork. Signed-off-by: Darrick J. Wong Reviewed-by: Eric Sandeen Reviewed-by: Dave Chinner Reviewed-by: Christoph Hellwig Signed-off-by: Sasha Levin

[PATCH AUTOSEL 4.14 09/17] net: usb: Fix uninit-was-stored issue in asix_read_phy_addr()

2020-09-07 Thread Sasha Levin
From: Himadri Pandya [ Upstream commit a092b7233f0e000cc6f2c71a49e2ecc6f917a5fc ] The buffer size is 2 Bytes and we expect to receive the same amount of data. But sometimes we receive less data and run into uninit-was-stored issue upon read. Hence modify the error check on the return value to

[PATCH AUTOSEL 4.14 12/17] drivers/net/wan/hdlc_cisco: Add hard_header_len

2020-09-07 Thread Sasha Levin
From: Xie He [ Upstream commit 1a545ebe380bf4c1433e3c136e35a77764fda5ad ] This driver didn't set hard_header_len. This patch sets hard_header_len for it according to its header_ops->create function. This driver's header_ops->create function (cisco_hard_header) creates a header of (struct

[PATCH AUTOSEL 4.14 13/17] ARC: [plat-hsdk]: Switch ethernet phy-mode to rgmii-id

2020-09-07 Thread Sasha Levin
From: Evgeniy Didin [ Upstream commit 26907eb605fbc3ba9dbf888f21d9d8d04471271d ] HSDK board has Micrel KSZ9031, recent commit bcf3440c6dd ("net: phy: micrel: add phy-mode support for the KSZ9031 PHY") caused a breakdown of Ethernet. Using 'phy-mode = "rgmii"' is not correct because accodring

[PATCH AUTOSEL 4.14 15/17] net: usb: dm9601: Add USB ID of Keenetic Plus DSL

2020-09-07 Thread Sasha Levin
From: Kamil Lorenc [ Upstream commit a609d0259183a841621f252e067f40f8cc25d6f6 ] Keenetic Plus DSL is a xDSL modem that uses dm9620 as its USB interface. Signed-off-by: Kamil Lorenc Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/net/usb/dm9601.c | 4 1 file

[PATCH AUTOSEL 4.14 17/17] gcov: Disable gcov build with GCC 10

2020-09-07 Thread Sasha Levin
From: Leon Romanovsky [ Upstream commit cfc905f158eaa099d6258031614d11869e7ef71c ] GCOV built with GCC 10 doesn't initialize n_function variable. This produces different kernel panics as was seen by Colin in Ubuntu and me in FC 32. As a workaround, let's disable GCOV build for broken GCC 10

[PATCH AUTOSEL 4.14 16/17] ALSA: hda: fix a runtime pm issue in SOF when integrated GPU is disabled

2020-09-07 Thread Sasha Levin
From: Rander Wang [ Upstream commit 13774d81f38538c5fa2924bdcdfa509155480fa6 ] In snd_hdac_device_init pm_runtime_set_active is called to increase child_count in parent device. But when it is failed to build connection with GPU for one case that integrated graphic gpu is disabled,

[PATCH AUTOSEL 4.14 14/17] cpufreq: intel_pstate: Refuse to turn off with HWP enabled

2020-09-07 Thread Sasha Levin
From: "Rafael J. Wysocki" [ Upstream commit 43298db3009f06fe5c69e1ca8b6cfc2565772fa1 ] After commit f6ebbcf08f37 ("cpufreq: intel_pstate: Implement passive mode with HWP enabled") it is possible to change the driver status to "off" via sysfs with HWP enabled, which effectively causes the driver

[PATCH AUTOSEL 4.9 05/13] drivers/net/wan/lapbether: Set network_header before transmitting

2020-09-07 Thread Sasha Levin
From: Xie He [ Upstream commit 91244d108441013b7367b3b4dcc6869998676473 ] Set the skb's network_header before it is passed to the underlying Ethernet device for transmission. This patch fixes the following issue: When we use this driver with AF_PACKET sockets, there would be error messages

[PATCH AUTOSEL 4.9 08/13] xfs: initialize the shortform attr header padding entry

2020-09-07 Thread Sasha Levin
From: "Darrick J. Wong" [ Upstream commit 125eac243806e021f33a1fdea3687eccbb9f7636 ] Don't leak kernel memory contents into the shortform attr fork. Signed-off-by: Darrick J. Wong Reviewed-by: Eric Sandeen Reviewed-by: Dave Chinner Reviewed-by: Christoph Hellwig Signed-off-by: Sasha Levin

[PATCH AUTOSEL 4.9 02/13] NFC: st95hf: Fix memleak in st95hf_in_send_cmd

2020-09-07 Thread Sasha Levin
From: Dinghao Liu [ Upstream commit f97c04c316d8fea16dca449fdfbe101fbdfee6a2 ] When down_killable() fails, skb_resp should be freed just like when st95hf_spi_send() fails. Signed-off-by: Dinghao Liu Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/nfc/st95hf/core.c | 2

[PATCH AUTOSEL 4.9 01/13] drivers/net/wan/lapbether: Added needed_tailroom

2020-09-07 Thread Sasha Levin
From: Xie He [ Upstream commit 1ee39c1448c4e0d480c5b390e2db1987561fb5c2 ] The underlying Ethernet device may request necessary tailroom to be allocated by setting needed_tailroom. This driver should also set needed_tailroom to request the tailroom needed by the underlying Ethernet device to be

[PATCH AUTOSEL 4.9 03/13] firestream: Fix memleak in fs_open

2020-09-07 Thread Sasha Levin
From: Dinghao Liu [ Upstream commit 15ac5cdafb9202424206dc5bd376437a358963f9 ] When make_rate() fails, vcc should be freed just like other error paths in fs_open(). Signed-off-by: Dinghao Liu Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/atm/firestream.c | 1 + 1

[PATCH AUTOSEL 4.9 06/13] cfg80211: regulatory: reject invalid hints

2020-09-07 Thread Sasha Levin
From: Johannes Berg [ Upstream commit 47caf685a6854593348f216e0b489b71c10cbe03 ] Reject invalid hints early in order to not cause a kernel WARN later if they're restored to or similar. Reported-by: syzbot+d451401ffd00a6067...@syzkaller.appspotmail.com Link:

[PATCH AUTOSEL 4.9 04/13] ALSA: hda: Fix 2 channel swapping for Tegra

2020-09-07 Thread Sasha Levin
From: Mohan Kumar [ Upstream commit 216116eae43963c662eb84729507bad95214ca6b ] The Tegra HDA codec HW implementation has an issue related to not swapping the 2 channel Audio Sample Packet(ASP) channel mapping. Whatever the FL and FR mapping specified the left channel always comes out of left

[PATCH AUTOSEL 4.9 09/13] irqchip/eznps: Fix build error for !ARC700 builds

2020-09-07 Thread Sasha Levin
From: Vineet Gupta [ Upstream commit 89d29997f103d08264b0685796b420d911658b96 ] eznps driver is supposed to be platform independent however it ends up including stuff from inside arch/arc headers leading to rand config build errors. The quick hack to fix this (proper fix is too much chrun for

[PATCH AUTOSEL 4.9 11/13] net: usb: dm9601: Add USB ID of Keenetic Plus DSL

2020-09-07 Thread Sasha Levin
From: Kamil Lorenc [ Upstream commit a609d0259183a841621f252e067f40f8cc25d6f6 ] Keenetic Plus DSL is a xDSL modem that uses dm9620 as its USB interface. Signed-off-by: Kamil Lorenc Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/net/usb/dm9601.c | 4 1 file

[PATCH AUTOSEL 4.4 02/10] firestream: Fix memleak in fs_open

2020-09-07 Thread Sasha Levin
From: Dinghao Liu [ Upstream commit 15ac5cdafb9202424206dc5bd376437a358963f9 ] When make_rate() fails, vcc should be freed just like other error paths in fs_open(). Signed-off-by: Dinghao Liu Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/atm/firestream.c | 1 + 1

[PATCH AUTOSEL 4.4 04/10] cfg80211: regulatory: reject invalid hints

2020-09-07 Thread Sasha Levin
From: Johannes Berg [ Upstream commit 47caf685a6854593348f216e0b489b71c10cbe03 ] Reject invalid hints early in order to not cause a kernel WARN later if they're restored to or similar. Reported-by: syzbot+d451401ffd00a6067...@syzkaller.appspotmail.com Link:

[PATCH AUTOSEL 5.8 42/53] cpufreq: intel_pstate: Refuse to turn off with HWP enabled

2020-09-07 Thread Sasha Levin
From: "Rafael J. Wysocki" [ Upstream commit 43298db3009f06fe5c69e1ca8b6cfc2565772fa1 ] After commit f6ebbcf08f37 ("cpufreq: intel_pstate: Implement passive mode with HWP enabled") it is possible to change the driver status to "off" via sysfs with HWP enabled, which effectively causes the driver

[PATCH AUTOSEL 4.9 10/13] drivers/net/wan/hdlc_cisco: Add hard_header_len

2020-09-07 Thread Sasha Levin
From: Xie He [ Upstream commit 1a545ebe380bf4c1433e3c136e35a77764fda5ad ] This driver didn't set hard_header_len. This patch sets hard_header_len for it according to its header_ops->create function. This driver's header_ops->create function (cisco_hard_header) creates a header of (struct

Re: [PATCH v5 2/3] firmware: arm_scmi: Add SCMI System Power Control driver

2020-09-07 Thread Sudeep Holla
On Wed, Aug 19, 2020 at 05:10:01PM +0100, Cristian Marussi wrote: > Add an SCMI System Power control driver to handle platform's requests > carried by SYSTEM_POWER_STATE_NOTIFIER notifications: such platform > requested system power state transitions are handled accordingly, > gracefully or

[PATCH AUTOSEL 4.4 05/10] net: usb: Fix uninit-was-stored issue in asix_read_phy_addr()

2020-09-07 Thread Sasha Levin
From: Himadri Pandya [ Upstream commit a092b7233f0e000cc6f2c71a49e2ecc6f917a5fc ] The buffer size is 2 Bytes and we expect to receive the same amount of data. But sometimes we receive less data and run into uninit-was-stored issue upon read. Hence modify the error check on the return value to

[PATCH AUTOSEL 4.4 10/10] gcov: Disable gcov build with GCC 10

2020-09-07 Thread Sasha Levin
From: Leon Romanovsky [ Upstream commit cfc905f158eaa099d6258031614d11869e7ef71c ] GCOV built with GCC 10 doesn't initialize n_function variable. This produces different kernel panics as was seen by Colin in Ubuntu and me in FC 32. As a workaround, let's disable GCOV build for broken GCC 10

[PATCH AUTOSEL 4.4 09/10] ALSA: hda: fix a runtime pm issue in SOF when integrated GPU is disabled

2020-09-07 Thread Sasha Levin
From: Rander Wang [ Upstream commit 13774d81f38538c5fa2924bdcdfa509155480fa6 ] In snd_hdac_device_init pm_runtime_set_active is called to increase child_count in parent device. But when it is failed to build connection with GPU for one case that integrated graphic gpu is disabled,

[RFC 2/5] mm, page_alloc: calculate pageset high and batch once per zone

2020-09-07 Thread Vlastimil Babka
We currently call pageset_set_high_and_batch() for each possible cpu, which repeats the same calculations of high and batch values. Instead call it once per zone, and it applies the calculated values to all per-cpu pagesets of the zone. This also allows removing zone_pageset_init() and

Re: [PATCH 02/25] dt-bindings: iio: adc: exynos-adc: require second interrupt with touch screen

2020-09-07 Thread Jonathan Cameron
On Mon, 7 Sep 2020 18:11:18 +0200 Krzysztof Kozlowski wrote: > The ADC in S3C/S5P/Exynos SoCs can be used also for handling touch > screen. In such case the second interrupt is required. This second > interrupt can be anyway provided, even without touch screens. This > fixes dtbs_check

[PATCH AUTOSEL 5.4 10/43] drivers/dma/dma-jz4780: Fix race condition between probe and irq handler

2020-09-07 Thread Sasha Levin
From: Madhuparna Bhowmik [ Upstream commit 6d6018fc30bee67290dbed2fa51123f7c6f3d691 ] In probe, IRQ is requested before zchan->id is initialized which can be read in the irq handler. Hence, shift request irq after other initializations complete. Found by Linux Driver Verification project

[RFC 3/5] mm, page_alloc(): remove setup_pageset()

2020-09-07 Thread Vlastimil Babka
We initialize boot-time pagesets with setup_pageset(), which sets high and batch values that effectively disable pcplists. We can remove this wrapper if we just set these values for all pagesets in pageset_init(). Non-boot pagesets then subsequently update them to specific values. Signed-off-by:

Re: [PATCH 03/25] dt-bindings: iio: adc: exynos-adc: do not require syscon on S5Pv210

2020-09-07 Thread Jonathan Cameron
On Mon, 7 Sep 2020 18:11:19 +0200 Krzysztof Kozlowski wrote: > The ADC in S5Pv210 does not have ADC phy registers in separate block for > which syscon would be needed. Remove this requirement to fix dtbs_check > warnings like: > > arch/arm/boot/dts/s5pv210-fascinate4g.dt.yaml: adc@e170:

Re: [PATCH] kyber: Fix crash in kyber_finish_request()

2020-09-07 Thread Jens Axboe
CC Omar On 9/7/20 1:43 AM, Yang Yang wrote: > Kernel crash when requeue flush request. > It can be reproduced as below: > > [2.517297] Unable to handle kernel paging request at virtual address > ffd8071c0b00 > ... > [2.517468] pc : clear_bit+0x18/0x2c > [2.517502] lr :

[PATCH AUTOSEL 4.4 06/10] xfs: initialize the shortform attr header padding entry

2020-09-07 Thread Sasha Levin
From: "Darrick J. Wong" [ Upstream commit 125eac243806e021f33a1fdea3687eccbb9f7636 ] Don't leak kernel memory contents into the shortform attr fork. Signed-off-by: Darrick J. Wong Reviewed-by: Eric Sandeen Reviewed-by: Dave Chinner Reviewed-by: Christoph Hellwig Signed-off-by: Sasha Levin

Re: [PATCH v2 3/6] netlink/compat: Append NLMSG_DONE/extack to frag_list

2020-09-07 Thread Dmitry Safonov
On 8/26/20 8:19 AM, Johannes Berg wrote: > On Wed, 2020-08-26 at 02:49 +0100, Dmitry Safonov wrote: [..] >> +nl_dump_check_consistent(cb, nlh); >> +memcpy(nlmsg_data(nlh), >dump_done_errno, >> +sizeof(nlk->dump_done_errno)); > > nit: indentation here looks odd. > >

Re: [PATCH] block: Remove unused blk_mq_sched_free_hctx_data()

2020-09-07 Thread Jens Axboe
On 9/7/20 2:36 AM, Baolin Wang wrote: > Now we usually free the hctx->sched_data by e->type->ops.exit_hctx(), > and no users will use blk_mq_sched_free_hctx_data() function. > Remove it. Applied, thanks. -- Jens Axboe

[RFC 1/5] mm, page_alloc: clean up pageset high and batch update

2020-09-07 Thread Vlastimil Babka
The updates to pcplists' high and batch valued are handled by multiple functions that make the calculations hard to follow. Consolidate everything to pageset_set_high_and_batch() and remove pageset_set_batch() and pageset_set_high() wrappers. The only special case using one of the removed

[RFC 0/5] disable pcplists during page isolation

2020-09-07 Thread Vlastimil Babka
As per the discussions [1] [2] this is an attempt to implement David's suggestion that page isolation should disable pcplists to avoid races. This is done without extra checks in fast paths, as I mentioned should be possible in the discussion, and explained in patch 5. Patches 1-4 are preparatory

[RFC 4/5] mm, page_alloc: cache pageset high and batch in struct zone

2020-09-07 Thread Vlastimil Babka
All per-cpu pagesets for a zone use the same high and batch values, that are duplicated there just for performance (locality) reasons. This patch adds the same variables also to struct zone as 'central' ones. This will be useful later for making possible to disable pcplists temporarily by setting

Re: [PATCH RFC 01/10] mm: add Kernel Electric-Fence infrastructure

2020-09-07 Thread Marco Elver
On Mon, 7 Sep 2020 at 17:43, Jonathan Cameron wrote: ... > Interesting bit of work. A few trivial things inline I spotted whilst having > a first read through. > > Thanks, > > Jonathan Thank you for having a look! We'll address these for v2. Thanks, -- Marco

[RFC 5/5] mm, page_alloc: disable pcplists during page isolation

2020-09-07 Thread Vlastimil Babka
Page isolation can race with process freeing pages to pcplists in a way that a page from isolated pageblock can end up on pcplist. This can be fixed by repeated draining of pcplists, as done by patch "mm/memory_hotplug: drain per-cpu pages again during memory offline" in [1]. David and Michal

[PATCH AUTOSEL 4.4 07/10] drivers/net/wan/hdlc_cisco: Add hard_header_len

2020-09-07 Thread Sasha Levin
From: Xie He [ Upstream commit 1a545ebe380bf4c1433e3c136e35a77764fda5ad ] This driver didn't set hard_header_len. This patch sets hard_header_len for it according to its header_ops->create function. This driver's header_ops->create function (cisco_hard_header) creates a header of (struct

[PATCH AUTOSEL 4.4 03/10] drivers/net/wan/lapbether: Set network_header before transmitting

2020-09-07 Thread Sasha Levin
From: Xie He [ Upstream commit 91244d108441013b7367b3b4dcc6869998676473 ] Set the skb's network_header before it is passed to the underlying Ethernet device for transmission. This patch fixes the following issue: When we use this driver with AF_PACKET sockets, there would be error messages

[PATCH AUTOSEL 4.4 08/10] net: usb: dm9601: Add USB ID of Keenetic Plus DSL

2020-09-07 Thread Sasha Levin
From: Kamil Lorenc [ Upstream commit a609d0259183a841621f252e067f40f8cc25d6f6 ] Keenetic Plus DSL is a xDSL modem that uses dm9620 as its USB interface. Signed-off-by: Kamil Lorenc Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/net/usb/dm9601.c | 4 1 file

[PATCH AUTOSEL 4.4 01/10] drivers/net/wan/lapbether: Added needed_tailroom

2020-09-07 Thread Sasha Levin
From: Xie He [ Upstream commit 1ee39c1448c4e0d480c5b390e2db1987561fb5c2 ] The underlying Ethernet device may request necessary tailroom to be allocated by setting needed_tailroom. This driver should also set needed_tailroom to request the tailroom needed by the underlying Ethernet device to be

[PATCH AUTOSEL 4.9 12/13] ALSA: hda: fix a runtime pm issue in SOF when integrated GPU is disabled

2020-09-07 Thread Sasha Levin
From: Rander Wang [ Upstream commit 13774d81f38538c5fa2924bdcdfa509155480fa6 ] In snd_hdac_device_init pm_runtime_set_active is called to increase child_count in parent device. But when it is failed to build connection with GPU for one case that integrated graphic gpu is disabled,

[PATCH AUTOSEL 4.9 07/13] net: usb: Fix uninit-was-stored issue in asix_read_phy_addr()

2020-09-07 Thread Sasha Levin
From: Himadri Pandya [ Upstream commit a092b7233f0e000cc6f2c71a49e2ecc6f917a5fc ] The buffer size is 2 Bytes and we expect to receive the same amount of data. But sometimes we receive less data and run into uninit-was-stored issue upon read. Hence modify the error check on the return value to

[PATCH AUTOSEL 4.9 13/13] gcov: Disable gcov build with GCC 10

2020-09-07 Thread Sasha Levin
From: Leon Romanovsky [ Upstream commit cfc905f158eaa099d6258031614d11869e7ef71c ] GCOV built with GCC 10 doesn't initialize n_function variable. This produces different kernel panics as was seen by Colin in Ubuntu and me in FC 32. As a workaround, let's disable GCOV build for broken GCC 10

[PATCH AUTOSEL 4.19 19/26] ARC: [plat-hsdk]: Switch ethernet phy-mode to rgmii-id

2020-09-07 Thread Sasha Levin
From: Evgeniy Didin [ Upstream commit 26907eb605fbc3ba9dbf888f21d9d8d04471271d ] HSDK board has Micrel KSZ9031, recent commit bcf3440c6dd ("net: phy: micrel: add phy-mode support for the KSZ9031 PHY") caused a breakdown of Ethernet. Using 'phy-mode = "rgmii"' is not correct because accodring

[PATCH AUTOSEL 4.19 06/26] firestream: Fix memleak in fs_open

2020-09-07 Thread Sasha Levin
From: Dinghao Liu [ Upstream commit 15ac5cdafb9202424206dc5bd376437a358963f9 ] When make_rate() fails, vcc should be freed just like other error paths in fs_open(). Signed-off-by: Dinghao Liu Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/atm/firestream.c | 1 + 1

[PATCH AUTOSEL 4.19 10/26] net: usb: Fix uninit-was-stored issue in asix_read_phy_addr()

2020-09-07 Thread Sasha Levin
From: Himadri Pandya [ Upstream commit a092b7233f0e000cc6f2c71a49e2ecc6f917a5fc ] The buffer size is 2 Bytes and we expect to receive the same amount of data. But sometimes we receive less data and run into uninit-was-stored issue upon read. Hence modify the error check on the return value to

[PATCH AUTOSEL 4.19 03/26] netfilter: conntrack: allow sctp hearbeat after connection re-use

2020-09-07 Thread Sasha Levin
From: Florian Westphal [ Upstream commit cc5453a5b7e90c39f713091a7ebc53c1f87d1700 ] If an sctp connection gets re-used, heartbeats are flagged as invalid because their vtag doesn't match. Handle this in a similar way as TCP conntrack when it suspects that the endpoints and conntrack are

[PATCH AUTOSEL 4.19 20/26] cpufreq: intel_pstate: Refuse to turn off with HWP enabled

2020-09-07 Thread Sasha Levin
From: "Rafael J. Wysocki" [ Upstream commit 43298db3009f06fe5c69e1ca8b6cfc2565772fa1 ] After commit f6ebbcf08f37 ("cpufreq: intel_pstate: Implement passive mode with HWP enabled") it is possible to change the driver status to "off" via sysfs with HWP enabled, which effectively causes the driver

[PATCH AUTOSEL 5.4 42/43] iommu/amd: Do not use IOMMUv2 functionality when SME is active

2020-09-07 Thread Sasha Levin
From: Joerg Roedel [ Upstream commit 2822e582501b65707089b097e773e6fd70774841 ] When memory encryption is active the device is likely not in a direct mapped domain. Forbid using IOMMUv2 functionality for now until finer grained checks for this have been implemented. Signed-off-by: Joerg Roedel

[PATCH AUTOSEL 5.4 43/43] gcov: Disable gcov build with GCC 10

2020-09-07 Thread Sasha Levin
From: Leon Romanovsky [ Upstream commit cfc905f158eaa099d6258031614d11869e7ef71c ] GCOV built with GCC 10 doesn't initialize n_function variable. This produces different kernel panics as was seen by Colin in Ubuntu and me in FC 32. As a workaround, let's disable GCOV build for broken GCC 10

[PATCH AUTOSEL 5.4 33/43] HID: elan: Fix memleak in elan_input_configured

2020-09-07 Thread Sasha Levin
From: Dinghao Liu [ Upstream commit b7429ea53d6c0936a0f10a5d64164f0aea440143 ] When input_mt_init_slots() fails, input should be freed to prevent memleak. When input_register_device() fails, we should call input_mt_destroy_slots() to free memory allocated by input_mt_init_slots().

[PATCH AUTOSEL 5.4 13/43] xfs: fix off-by-one in inode alloc block reservation calculation

2020-09-07 Thread Sasha Levin
From: Brian Foster [ Upstream commit 657f101930bc6c5b41bd7d6c22565c4302a80d33 ] The inode chunk allocation transaction reserves inobt_maxlevels-1 blocks to accommodate a full split of the inode btree. A full split requires an allocation for every existing level and a new root block, which means

[PATCH AUTOSEL 5.4 20/43] nvmet-tcp: Fix NULL dereference when a connect data comes in h2cdata pdu

2020-09-07 Thread Sasha Levin
From: Ziye Yang [ Upstream commit a6ce7d7b4adaebc27ee7e78e5ecc378a1cfc221d ] When handling commands without in-capsule data, we assign the ttag assuming we already have the queue commands array allocated (based on the queue size information in the connect data payload). However if the connect

[PATCH AUTOSEL 5.4 32/43] drivers/net/wan/hdlc_cisco: Add hard_header_len

2020-09-07 Thread Sasha Levin
From: Xie He [ Upstream commit 1a545ebe380bf4c1433e3c136e35a77764fda5ad ] This driver didn't set hard_header_len. This patch sets hard_header_len for it according to its header_ops->create function. This driver's header_ops->create function (cisco_hard_header) creates a header of (struct

[PATCH AUTOSEL 5.4 03/43] netfilter: conntrack: allow sctp hearbeat after connection re-use

2020-09-07 Thread Sasha Levin
From: Florian Westphal [ Upstream commit cc5453a5b7e90c39f713091a7ebc53c1f87d1700 ] If an sctp connection gets re-used, heartbeats are flagged as invalid because their vtag doesn't match. Handle this in a similar way as TCP conntrack when it suspects that the endpoints and conntrack are

[PATCH AUTOSEL 5.4 09/43] ALSA: hda/tegra: Program WAKEEN register for Tegra

2020-09-07 Thread Sasha Levin
From: Mohan Kumar [ Upstream commit 23d63a31d9f44d7daeac0d1fb65c6a73c70e5216 ] The WAKEEN bits are used to indicate which bits in the STATESTS register may cause wake event during the codec state change request. Configure the WAKEEN register for the Tegra to detect the wake events.

[PATCH AUTOSEL 5.4 08/43] ALSA: hda: Fix 2 channel swapping for Tegra

2020-09-07 Thread Sasha Levin
From: Mohan Kumar [ Upstream commit 216116eae43963c662eb84729507bad95214ca6b ] The Tegra HDA codec HW implementation has an issue related to not swapping the 2 channel Audio Sample Packet(ASP) channel mapping. Whatever the FL and FR mapping specified the left channel always comes out of left

[PATCH AUTOSEL 5.4 12/43] net: hns3: Fix for geneve tx checksum bug

2020-09-07 Thread Sasha Levin
From: Yi Li [ Upstream commit a156998fc92d3859c8e820f1583f6d0541d643c3 ] when skb->encapsulation is 0, skb->ip_summed is CHECKSUM_PARTIAL and it is udp packet, which has a dest port as the IANA assigned. the hardware is expected to do the checksum offload, but the hardware will not do the

[PATCH AUTOSEL 5.4 05/43] drivers/net/wan/lapbether: Added needed_tailroom

2020-09-07 Thread Sasha Levin
From: Xie He [ Upstream commit 1ee39c1448c4e0d480c5b390e2db1987561fb5c2 ] The underlying Ethernet device may request necessary tailroom to be allocated by setting needed_tailroom. This driver should also set needed_tailroom to request the tailroom needed by the underlying Ethernet device to be

[PATCH AUTOSEL 5.8 49/53] drivers/net/wan/hdlc: Change the default of hard_header_len to 0

2020-09-07 Thread Sasha Levin
From: Xie He [ Upstream commit 2b7bcd967a0f5b7ac9bb0c37b92de36e073dd119 ] Change the default value of hard_header_len in hdlc.c from 16 to 0. Currently there are 6 HDLC protocol drivers, among them: hdlc_raw_eth, hdlc_cisco, hdlc_ppp, hdlc_x25 set hard_header_len when attaching the protocol,

[PATCH AUTOSEL 5.4 11/43] ibmvnic fix NULL tx_pools and rx_tools issue at do_reset

2020-09-07 Thread Sasha Levin
From: Mingming Cao [ Upstream commit 9f13457377907fa253aef560e1a37e1ca4197f9b ] At the time of do_rest, ibmvnic tries to re-initalize the tx_pools and rx_pools to avoid re-allocating the long term buffer. However there is a window inside do_reset that the tx_pools and rx_pools were freed before

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