Linux 5.4.110
Greg Kroah-Hartman
maintainerI'm announcing the release of the 5.4.110 kernel.
All users of the 5.4 kernel series must upgrade.
The updated 5.4.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.4.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Makefile | 2 arch/powerpc/include/asm/cpu_has_feature.h | 4 arch/xtensa/kernel/coprocessor.S | 64 drivers/base/power/runtime.c | 10 drivers/extcon/extcon.c | 1 drivers/firewire/nosy.c | 9 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 10 drivers/net/can/Makefile | 7 drivers/net/can/dev.c | 1310 ----------- drivers/net/can/dev/Makefile | 7 drivers/net/can/dev/dev.c | 1312 ++++++++++++ drivers/net/can/dev/rx-offload.c | 395 +++ drivers/net/can/m_can/tcan4x5x.c | 2 drivers/net/can/rx-offload.c | 395 --- drivers/net/can/slcan.c | 4 drivers/net/can/vcan.c | 2 drivers/net/can/vxcan.c | 6 drivers/net/ethernet/aquantia/atlantic/aq_main.c | 4 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 4 drivers/net/wan/lmc/lmc_main.c | 2 drivers/net/wireless/ath/ath10k/wmi-tlv.c | 7 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c | 7 drivers/pinctrl/pinctrl-rockchip.c | 13 drivers/scsi/qla2xxx/qla_target.h | 2 drivers/scsi/st.c | 2 drivers/staging/comedi/drivers/cb_pcidas.c | 2 drivers/staging/comedi/drivers/cb_pcidas64.c | 2 drivers/staging/rtl8192e/rtllib.h | 2 drivers/staging/rtl8192e/rtllib_rx.c | 2 drivers/thermal/thermal_sysfs.c | 3 drivers/usb/class/cdc-acm.c | 61 drivers/usb/core/quirks.c | 4 drivers/usb/dwc2/hcd.c | 5 drivers/usb/gadget/udc/amd5536udc_pci.c | 10 drivers/usb/host/xhci-mtk.c | 10 drivers/usb/musb/musb_core.c | 12 drivers/usb/usbip/vhci_hcd.c | 2 drivers/vfio/pci/Kconfig | 2 drivers/vhost/vhost.c | 2 drivers/video/fbdev/core/fbcon.c | 3 fs/ext4/balloc.c | 38 fs/ext4/ext4.h | 1 fs/ext4/inode.c | 6 fs/ext4/namei.c | 18 fs/ext4/super.c | 5 fs/ext4/sysfs.c | 7 fs/iomap/swapfile.c | 10 fs/nfsd/Kconfig | 1 fs/nfsd/nfs4callback.c | 1 fs/reiserfs/xattr.h | 2 include/linux/can/can-ml.h | 12 include/linux/extcon.h | 23 include/linux/netdevice.h | 34 kernel/locking/mutex.c | 25 kernel/module.c | 166 + kernel/module_signature.c | 2 kernel/module_signing.c | 2 kernel/trace/trace.c | 3 mm/memory.c | 2 net/appletalk/ddp.c | 33 net/can/af_can.c | 34 net/can/j1939/main.c | 22 net/can/j1939/socket.c | 13 net/can/proc.c | 19 net/core/filter.c | 12 net/core/flow_dissector.c | 6 net/dccp/ipv6.c | 5 net/ipv6/ip6_input.c | 10 net/ipv6/tcp_ipv6.c | 5 net/sunrpc/auth_gss/svcauth_gss.c | 11 net/vmw_vsock/af_vsock.c | 1 sound/pci/hda/hda_intel.c | 8 sound/pci/hda/patch_realtek.c | 3 sound/soc/codecs/cs42l42.c | 74 sound/soc/codecs/cs42l42.h | 13 sound/soc/codecs/es8316.c | 9 sound/soc/codecs/rt5640.c | 4 sound/soc/codecs/rt5651.c | 4 sound/soc/codecs/rt5659.c | 5 sound/soc/codecs/sgtl5000.c | 2 sound/usb/quirks.c | 1 tools/testing/selftests/net/forwarding/tc_flower.sh | 38 82 files changed, 2356 insertions(+), 2037 deletions(-)
Adrian Hunter (2):
PM: runtime: Fix race getting/putting suppliers at probe
PM: runtime: Fix ordering in pm_runtime_get_suppliers()
Alexey Dobriyan (1):
scsi: qla2xxx: Fix broken #endif placement
Artur Petrosyan (2):
usb: dwc2: Fix HPRT0.PrtSusp bit setting for HiKey 960 board.
usb: dwc2: Prevent core suspend when port connection flag is 0
Atul Gopinathan (2):
staging: rtl8192e: Fix incorrect source in memcpy()
staging: rtl8192e: Change state information from u16 to u8
Benjamin Rood (1):
ASoC: sgtl5000: set DAP_AVC_CTRL register to correct default value on probe
Christophe Leroy (1):
powerpc: Force inlining of cpu_has_feature() to avoid build failure
Chunfeng Yun (1):
usb: xhci-mtk: fix broken streams issue on 0.96 xHCI
David Brazdil (1):
selinux: vsock: Set SID for socket returned by accept()
Davide Caratti (1):
flow_dissector: fix TTL and TOS dissection on IPv4 fragments
Dinghao Liu (1):
extcon: Fix error handling in extcon_dev_register
Doug Brown (1):
appletalk: Fix skb allocation size in loopback case
Du Cheng (1):
drivers: video: fbcon: fix NULL dereference in fbcon_cursor()
Eric Whitney (1):
ext4: shrink race window in ext4_should_retry_alloc()
Frank van der Linden (1):
module: harden ELF info handling
Greg Kroah-Hartman (1):
Linux 5.4.110
Hans de Goede (3):
ASoC: rt5640: Fix dac- and adc- vol-tlv values being off by a factor of 10
ASoC: rt5651: Fix dac- and adc- vol-tlv values being off by a factor of 10
ASoC: es8316: Simplify adc_pga_gain_tlv table
Hui Wang (2):
ALSA: hda/realtek: fix a determine_headset_type issue for a Dell AIO
ALSA: hda/realtek: call alc_update_headset_mode() in hp_automute_hook
Ikjoon Jang (1):
ALSA: usb-audio: Apply sample rate quirk to Logitech Connect
Ilya Lipnitskiy (1):
mm: fix race by making init_zero_pfn() early_initcall
J. Bruce Fields (1):
rpc: fix NULL dereference on kmalloc failure
Jakub Kicinski (1):
ipv6: weaken the v4mapped source check
Jason Gunthorpe (1):
vfio/nvlink: Add missing SPAPR_TCE_IOMMU depends
Jesper Dangaard Brouer (1):
bpf: Remove MTU check in __bpf_skb_max_len
Jessica Yu (1):
modsign: print module name along with error message
Johan Hovold (2):
USB: cdc-acm: fix double free on probe failure
USB: cdc-acm: fix use-after-free after probe failure
Julian Braha (1):
fs: nfsd: fix kconfig dependency warning for NFSD_V4
Krzysztof Kozlowski (1):
extcon: Add stubs for extcon_register_notifier_all() functions
Laurent Vivier (1):
vhost: Fix vhost_vq_reset()
Luca Pesce (1):
brcmfmac: clear EAP/association status bits on linkdown events
Lucas Tanure (4):
ASoC: cs42l42: Fix Bitclock polarity inversion
ASoC: cs42l42: Fix channel width support
ASoC: cs42l42: Fix mixer volume control
ASoC: cs42l42: Always wait at least 3ms after reset
Lv Yunlong (1):
scsi: st: Fix a use after free in st_open()
Manaf Meethalavalappu Pallikunhi (1):
thermal/core: Add NULL pointer check before using cooling device stats
Marc Kleine-Budde (1):
can: dev: move driver related infrastructure into separate subdir
Max Filippov (1):
xtensa: move coprocessor_flush to the .text section
Nathan Rossi (1):
net: ethernet: aquantia: Handle error cleanup of start on open
Nirmoy Das (1):
drm/amdgpu: fix offset calculation in amdgpu_vm_bo_clear_mappings()
Oleksij Rempel (1):
net: introduce CAN specific pointer in the struct net_device
Olga Kornievskaia (1):
NFSD: fix error handling in NFSv4.0 callbacks
Oliver Neukum (3):
cdc-acm: fix BREAK rx code path adding necessary calls
USB: cdc-acm: untangle a circular dependency between callback and softint
USB: cdc-acm: downgrade message to debug
Ritesh Harjani (1):
iomap: Fix negative assignment to unsigned sis->pages in iomap_swapfile_activate
Sameer Pujar (1):
ASoC: rt5659: Update MCLK rate in set_sysclk()
Sasha Levin (2):
net: mvpp2: fix interrupt mask/unmask skip condition
can: tcan4x5x: fix max register value
Sergey Shtylyov (2):
module: merge repetitive strings in module_sig_check()
module: avoid *goto*s in module_sig_check()
Shuah Khan (2):
ath10k: hold RCU lock when calling ieee80211_find_sta_by_ifaddr()
usbip: vhci_hcd fix shift out-of-bounds in vhci_hub_control()
Steven Rostedt (VMware) (1):
tracing: Fix stack trace event size
Takashi Iwai (2):
ALSA: hda: Re-add dropped snd_poewr_change_state() calls
ALSA: hda: Add missing sanity checks in PM prepare/complete callbacks
Tetsuo Handa (1):
reiserfs: update reiserfs_xattrs_initialized() condition
Tong Zhang (4):
staging: comedi: cb_pcidas: fix request_irq() warn
staging: comedi: cb_pcidas64: fix request_irq() warn
net: wan/lmc: unregister device when no matching device is found
usb: gadget: udc: amd5536udc_pci fix null-ptr-dereference
Tony Lindgren (1):
usb: musb: Fix suspend with devices connected for a64
Vincent Palatin (1):
USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem
Waiman Long (1):
locking/ww_mutex: Simplify use_ww_ctx & ww_ctx handling
Wang Panzhenzhuan (1):
pinctrl: rockchip: fix restore error in resume
Xℹ Ruoyao (1):
drm/amdgpu: check alignment on CPU page for bo map
Zhaolong Zhang (1):
ext4: fix bh ref count on error paths
Zheyu Ma (1):
firewire: nosy: Fix a use-after-free bug in nosy_ioctl()
zhangyi (F) (1):
ext4: do not iput inode under running transaction in ext4_rename()
Greg Kroah-Hartman
maintainerMakefile +1 -1
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 4 -SUBLEVEL = 109 +SUBLEVEL = 110 EXTRAVERSION = NAME = Kleptomaniac Octopus
arch/powerpc/include/asm/cpu_has_feature.h +2 -2
@@ -7,7 +7,7 @@#include <linux/bug.h> #include <asm/cputable.h> -static inline bool early_cpu_has_feature (unsigned long feature) +static __always_inline bool early_cpu_has_feature(unsigned long feature) {return !!((CPU_FTRS_ALWAYS & feature) || (CPU_FTRS_POSSIBLE & cur_cpu_spec->cpu_features & feature));
@@ -46,7 +46,7 @@ static __always_inline bool cpu_has_feature(unsigned long feature)return static_branch_likely (&cpu_feature_keys[i]); }#else -static inline bool cpu_has_feature (unsigned long feature) +static __always_inline bool cpu_has_feature(unsigned long feature) {return early_cpu_has_feature (feature); }
arch/xtensa/kernel/coprocessor.S +33 -31
76 lines not on this page · raw message
drivers/base/power/runtime.c +8 -2
@@ -1663,8 +1663,8 @@ void pm_runtime_get_suppliers(struct device *dev) device_links_read_lock_held())if (link->flags &DL_FLAG_PM_RUNTIME ) { link->supplier_preactivated = true; -refcount_inc (&link->rpm_active);pm_runtime_get_sync (link->supplier); +refcount_inc (&link->rpm_active); }device_links_read_unlock (idx);
@@ -1677,6 +1677,8 @@ void pm_runtime_get_suppliers(struct device *dev)void pm_runtime_put_suppliers (struct device *dev) {struct device_link *link; +unsigned long flags; +bool put;int idx; idx =device_links_read_lock ();
@@ -1685,7 +1687,11 @@ void pm_runtime_put_suppliers(struct device *dev) device_links_read_lock_held())if (link->supplier_preactivated) { link->supplier_preactivated = false; -if (refcount_dec_not_one (&link->rpm_active)) +spin_lock_irqsave (&dev->power.lock, flags); + put =pm_runtime_status_suspended (dev) && +refcount_dec_not_one (&link->rpm_active); +spin_unlock_irqrestore (&dev->power.lock, flags); +if (put)pm_runtime_put (link->supplier); }
drivers/extcon/extcon.c +1 -0
@@ -1241,6 +1241,7 @@ int extcon_dev_register(struct extcon_dev *edev) sizeof(*edev->nh), GFP_KERNEL);if (!edev->nh) { ret = -ENOMEM ; +device_unregister (&edev->dev); goto err_dev; }
drivers/firewire/nosy.c +7 -2
@@ -346,6 +346,7 @@ nosy_ioctl(struct file *file, unsigned int cmd, unsigned long arg)struct client *client = file->private_data;spinlock_t *client_list_lock = &client->lynx->client_list_lock;struct nosy_stats stats; +int ret;switch (cmd) {case NOSY_IOC_GET_STATS :
@@ -360,11 +361,15 @@ nosy_ioctl(struct file *file, unsigned int cmd, unsigned long arg)return 0 ;case NOSY_IOC_START : + ret = -EBUSY ;spin_lock_irq (client_list_lock); -list_add_tail (&client->link, &client->lynx->client_list); +if (list_empty (&client->link)) { +list_add_tail (&client->link, &client->lynx->client_list); + ret =0 ; + }spin_unlock_irq (client_list_lock); -return 0 ; +return ret;case NOSY_IOC_STOP :spin_lock_irq (client_list_lock);
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +5 -5
@@ -2123,8 +2123,8 @@ int amdgpu_vm_bo_map(struct amdgpu_device *adev,uint64_t eaddr;/* validate the parameters */ -if (saddr &AMDGPU_GPU_PAGE_MASK || offset &AMDGPU_GPU_PAGE_MASK || - size ==0 || size &AMDGPU_GPU_PAGE_MASK ) +if (saddr & ~PAGE_MASK || offset & ~PAGE_MASK || + size ==0 || size & ~PAGE_MASK )return -EINVAL ;/* make sure object fit at this offset */
@@ -2188,8 +2188,8 @@ int amdgpu_vm_bo_replace_map(struct amdgpu_device *adev,int r;/* validate the parameters */ -if (saddr &AMDGPU_GPU_PAGE_MASK || offset &AMDGPU_GPU_PAGE_MASK || - size ==0 || size &AMDGPU_GPU_PAGE_MASK ) +if (saddr & ~PAGE_MASK || offset & ~PAGE_MASK || + size ==0 || size & ~PAGE_MASK )return -EINVAL ;/* make sure object fit at this offset */
@@ -2333,7 +2333,7 @@ int amdgpu_vm_bo_clear_mappings(struct amdgpu_device *adev, after->start = eaddr +1 ; after->last = tmp->last; after->offset = tmp->offset; - after->offset += after->start - tmp->start; + after->offset += (after->start - tmp->start) <<PAGE_SHIFT ; after->flags = tmp->flags; after->bo_va = tmp->bo_va;list_add (&after->list, &tmp->bo_va->invalids);
drivers/net/can/Makefile +1 -6
@@ -7,12 +7,7 @@ obj-$(CONFIG_CAN_VCAN) += vcan.o obj-$(CONFIG_CAN_VXCAN) += vxcan.o obj-$(CONFIG_CAN_SLCAN) += slcan.o -obj-$(CONFIG_CAN_DEV) += can-dev.o -can-dev-y += dev.o -can-dev-y += rx-offload.o - -can-dev-$(CONFIG_CAN_LEDS) += led.o - +obj-y += dev/ obj-y += rcar/ obj-y += spi/ obj-y += usb/
drivers/net/can/dev.c deleted +0 -1310
1,310 lines not on this page · raw message
drivers/net/can/dev/Makefile new file +7 -0
@@ -0,0 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0 + +obj-$(CONFIG_CAN_DEV) += can-dev.o +can-dev-y += dev.o +can-dev-y += rx-offload.o + +can-dev-$(CONFIG_CAN_LEDS) += led.o
drivers/net/can/dev/dev.c new file +1312 -0
1,312 lines not on this page · raw message
drivers/net/can/dev/rx-offload.c new file +395 -0
170 lines not on this page · raw message
drivers/net/can/rx-offload.c deleted +0 -395
395 lines not on this page · raw message
drivers/net/ethernet/aquantia/atlantic/aq_main.c +3 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/net/wireless/ath/ath10k/wmi-tlv.c +5 -2
Lines of this file are not shown. View the raw message.
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c +5 -2
Lines of this file are not shown. View the raw message.
drivers/staging/comedi/drivers/cb_pcidas.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/staging/comedi/drivers/cb_pcidas64.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/usb/class/cdc-acm.c +42 -19
61 lines not on this page · raw message
drivers/usb/gadget/udc/amd5536udc_pci.c +5 -5
Lines of this file are not shown. View the raw message.
kernel/module.c +137 -29
166 lines not on this page · raw message
sound/soc/codecs/cs42l42.c +34 -40
74 lines not on this page · raw message
tools/testing/selftests/net/forwarding/tc_flower.sh +37 -1
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Part of the diff is not shown here. View the raw message.
Samuel Zou
Tested-by Hulk RobotQuoted 4 lines · Greg Kroah-Hartman
I'm announcing the release of the 5.4.110 kernel.
All users of the 5.4 kernel series must upgrade.
Quoted 9 lines
The updated 5.4.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.gitlinux-5.4.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summarythanks,
greg k-h
Tested on arm64 and x86 for 5.4.110,
Kernel repo:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
Branch: linux-5.4.y
Version: 5.4.110
Commit: 59c8e332926875d337f426fde14fec986faab414
Compiler: gcc version 7.3.0 (GCC)
arm64:
--------------------------------------------------------------------
Testcase Result Summary:
total: 4720
passed: 4720
failed: 0
timeout: 0
--------------------------------------------------------------------
x86:
--------------------------------------------------------------------
Testcase Result Summary:
total: 4720
passed: 4720
failed: 0
timeout: 0
--------------------------------------------------------------------