2024-04-11 10:15:31

by Greg KH

[permalink] [raw]
Subject: [PATCH 5.4 000/215] 5.4.274-rc1 review

This is the start of the stable review cycle for the 5.4.274 release.
There are 215 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.

Responses should be made by Sat, 13 Apr 2024 09:53:55 +0000.
Anything received after that time might be too late.

The whole patch series can be found in one patch at:
https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.4.274-rc1.gz
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.4.y
and the diffstat can be found below.

thanks,

greg k-h

-------------
Pseudo-Shortlog of commits:

Greg Kroah-Hartman <[email protected]>
Linux 5.4.274-rc1

Zhang Shurong <[email protected]>
firmware: meson_sm: fix to avoid potential NULL pointer dereference

Hangbin Liu <[email protected]>
ip_gre: do not report erspan version on GRE interface

William Tu <[email protected]>
erspan: Check IFLA_GRE_ERSPAN_VER is set.

Vasiliy Kovalev <[email protected]>
VMCI: Fix possible memcpy() run-time warning in vmci_datagram_invoke_guest_handler()

Luiz Augusto von Dentz <[email protected]>
Bluetooth: btintel: Fixe build regression

Juergen Gross <[email protected]>
x86/alternative: Don't call text_poke() in lazy TLB mode

Chris Wilson <[email protected]>
drm/i915/gt: Reset queue_priority_hint on parking

David Hildenbrand <[email protected]>
x86/mm/pat: fix VM_PAT handling in COW mappings

David Hildenbrand <[email protected]>
virtio: reenable config if freezing device failed

Guo Mengqi <[email protected]>
drm/vkms: call drm_atomic_helper_shutdown before drm_dev_put()

Thadeu Lima de Souza Cascardo <[email protected]>
tty: n_gsm: require CAP_NET_ADMIN to attach N_GSM0710 ldisc

Pablo Neira Ayuso <[email protected]>
netfilter: nf_tables: discard table flag update with pending basechain deletion

Pablo Neira Ayuso <[email protected]>
netfilter: nf_tables: release mutex after nft_gc_seq_end from abort path

Pablo Neira Ayuso <[email protected]>
netfilter: nf_tables: release batch on table validation from abort path

Pablo Neira Ayuso <[email protected]>
netfilter: nf_tables: reject new basechain after table flag update

Roman Smirnov <[email protected]>
fbmon: prevent division by zero in fb_videomode_from_videomode()

Aleksandr Burakov <[email protected]>
fbdev: viafb: fix typo in hw_bitblt_1 and hw_bitblt_2

Colin Ian King <[email protected]>
usb: sl811-hcd: only defined function checkdone if QUIRK2 is defined

Marco Felsch <[email protected]>
usb: typec: tcpci: add generic tcpci fallback compatible

Petre Rodan <[email protected]>
tools: iio: replace seekdir() in iio_generic_buffer

Ricardo B. Marliere <[email protected]>
ktest: force $buildonly = 1 for 'make_warnings_file' test type

Gergo Koteles <[email protected]>
Input: allocate keycode for Display refresh rate toggle

Roman Smirnov <[email protected]>
block: prevent division by zero in blk_rq_stat_sum()

Daniel Drake <[email protected]>
Revert "ACPI: PM: Block ASUS B1400CEAE from suspend to idle by default"

Dai Ngo <[email protected]>
SUNRPC: increase size of rpc_wait_queue.qlen from unsigned short to unsigned int

Aric Cyr <[email protected]>
drm/amd/display: Fix nanosec stat overflow

Arnd Bergmann <[email protected]>
media: sta2x11: fix irq handler cast

Alex Henrie <[email protected]>
isofs: handle CDs with bad root inode but good Joliet root directory

Justin Tee <[email protected]>
scsi: lpfc: Fix possible memory leak in lpfc_rcv_padisc()

Tetsuo Handa <[email protected]>
sysv: don't call sb_bread() with pointers_lock held

Kunwu Chan <[email protected]>
Input: synaptics-rmi4 - fail probing if memory allocation for "phys" fails

Edward Adam Davis <[email protected]>
Bluetooth: btintel: Fix null ptr deref in btintel_read_version

David Sterba <[email protected]>
btrfs: send: handle path ref underflow in header iterate_inode_ref()

David Sterba <[email protected]>
btrfs: export: handle invalid inode or root reference in btrfs_get_parent()

David Sterba <[email protected]>
btrfs: handle chunk tree lookup error in btrfs_relocate_sys_chunks()

Samasth Norway Ananda <[email protected]>
tools/power x86_energy_perf_policy: Fix file leak in get_pkg_num()

Shannon Nelson <[email protected]>
ionic: set adminq irq affinity

Johan Jonker <[email protected]>
arm64: dts: rockchip: fix rk3399 hdmi ports node

Johan Jonker <[email protected]>
arm64: dts: rockchip: fix rk3328 hdmi ports node

John Ogness <[email protected]>
panic: Flush kernel log buffer at the end

Harshit Mogalapalli <[email protected]>
VMCI: Fix memcpy() run-time warning in dg_dispatch_as_host()

Markus Elfring <[email protected]>
batman-adv: Improve exception handling in batadv_throw_uevent()

Markus Elfring <[email protected]>
batman-adv: Return directly after a failed batadv_dat_select_candidates() in batadv_dat_forward_data()

Dmitry Antipov <[email protected]>
wifi: ath9k: fix LNA selection in ath_ant_try_scan()

Sumanth Korikkar <[email protected]>
s390/entry: align system call table on 8 bytes

Borislav Petkov (AMD) <[email protected]>
x86/mce: Make sure to grab mce_sysfs_mutex in set_bank()

I Gede Agastya Darma Laksana <[email protected]>
ALSA: hda/realtek: Update Panasonic CF-SZ6 quirk to support headset with microphone

Arnd Bergmann <[email protected]>
ata: sata_mv: Fix PCI device ID table declaration compilation warning

Arnd Bergmann <[email protected]>
scsi: mylex: Fix sysfs buffer lengths

Arnd Bergmann <[email protected]>
ata: sata_sx4: fix pdc20621_get_from_dimm() on 64-bit

Stephen Lee <[email protected]>
ASoC: ops: Fix wraparound for mask in snd_soc_get_volsw

Paul Barker <[email protected]>
net: ravb: Always process TX descriptor ring

Eric Dumazet <[email protected]>
erspan: make sure erspan_base_hdr is present in skb->head

William Tu <[email protected]>
erspan: Add type I version 0 support.

John Sperbeck <[email protected]>
init: open /initrd.image with O_LARGEFILE

Christoph Hellwig <[email protected]>
initramfs: switch initramfs unpacking to struct file based APIs

Christoph Hellwig <[email protected]>
fs: add a vfs_fchmod helper

Christoph Hellwig <[email protected]>
fs: add a vfs_fchown helper

Dan Carpenter <[email protected]>
staging: vc04_services: fix information leak in create_component()

Arnd Bergmann <[email protected]>
staging: vc04_services: changen strncpy() to strscpy_pad()

Dave Stevenson <[email protected]>
staging: mmal-vchiq: Fix client_component for 64 bit kernel

Dave Stevenson <[email protected]>
staging: mmal-vchiq: Allocate and free components as required

Aleksandr Loktionov <[email protected]>
i40e: fix vf may be used uninitialized in this function warning

Kuniyuki Iwashima <[email protected]>
ipv6: Fix infinite recursion in fib6_dump_done().

Jakub Kicinski <[email protected]>
selftests: reuseaddr_conflict: add missing new line at the end of the output

Piotr Wejman <[email protected]>
net: stmmac: fix rx queue priority assignment

Eric Dumazet <[email protected]>
net/sched: act_skbmod: prevent kernel-infoleak

Jakub Sitnicki <[email protected]>
bpf, sockmap: Prevent lock inversion deadlock in map delete elem

Ziyang Xuan <[email protected]>
netfilter: nf_tables: Fix potential data-race in __nft_flowtable_type_get()

Pablo Neira Ayuso <[email protected]>
netfilter: nf_tables: flush pending destroy work before exit_net release

Vlastimil Babka <[email protected]>
mm, vmscan: prevent infinite loop for costly GFP_NOIO | __GFP_RETRY_MAYFAIL allocations

Ingo Molnar <[email protected]>
Revert "x86/mm/ident_map: Use gbpages only where full GB page should be mapped."

Alex Williamson <[email protected]>
vfio/platform: Create persistent IRQ handlers

Alex Williamson <[email protected]>
vfio/pci: Create persistent INTx handler

Alex Williamson <[email protected]>
vfio: Introduce interface to flush virqfd inject workqueue

Alex Williamson <[email protected]>
vfio/pci: Lock external INTx masking ops

Alex Williamson <[email protected]>
vfio/pci: Disable auto-enable of exclusive INTx IRQ

Mahmoud Adam <[email protected]>
net/rds: fix possible cp null dereference

Pablo Neira Ayuso <[email protected]>
netfilter: nf_tables: disallow timeout for anonymous sets

Bastien Nocera <[email protected]>
Bluetooth: Fix TOCTOU in HCI debugfs implementation

Hui Wang <[email protected]>
Bluetooth: hci_event: set the conn encrypted before conn establishes

Sandipan Das <[email protected]>
x86/cpufeatures: Add new word for scattered features

Heiner Kallweit <[email protected]>
r8169: fix issue caused by buggy BIOS on certain boards with RTL8168d

Arnd Bergmann <[email protected]>
dm integrity: fix out-of-range warning

Eric Dumazet <[email protected]>
tcp: properly terminate timers for kernel sockets

Przemek Kitszel <[email protected]>
ixgbe: avoid sleeping allocation in ixgbe_ipsec_vf_add_sa()

Ryosuke Yasuoka <[email protected]>
nfc: nci: Fix uninit-value in nci_dev_up and nci_ntf_packet

Alan Stern <[email protected]>
USB: core: Fix deadlock in usb_deauthorize_interface()

Muhammad Usama Anjum <[email protected]>
scsi: lpfc: Correct size for wqe for memset()

Kim Phillips <[email protected]>
x86/cpu: Enable STIBP on AMD if Automatic IBRS is enabled

Quinn Tran <[email protected]>
scsi: qla2xxx: Fix command flush on cable pull

yuan linyu <[email protected]>
usb: udc: remove warning when queue disabled ep

Minas Harutyunyan <[email protected]>
usb: dwc2: gadget: LPM flow fix

Minas Harutyunyan <[email protected]>
usb: dwc2: host: Fix ISOC flow in DDMA mode

Minas Harutyunyan <[email protected]>
usb: dwc2: host: Fix hibernation flow

Minas Harutyunyan <[email protected]>
usb: dwc2: host: Fix remote wakeup from hibernation

Guilherme G. Piccoli <[email protected]>
scsi: core: Fix unremoved procfs host directory regression

Duoming Zhou <[email protected]>
ALSA: sh: aica: reorder cleanup operations to avoid UAF bugs

Oliver Neukum <[email protected]>
usb: cdc-wdm: close race between read and workqueue

Mikko Rapeli <[email protected]>
mmc: core: Avoid negative index with array access

Mikko Rapeli <[email protected]>
mmc: core: Initialize mmc_blk_ioc_data

Max Filippov <[email protected]>
exec: Fix NOMMU linux_binprm::exec in transfer_args_to_stack()

Felix Fietkau <[email protected]>
wifi: mac80211: check/clear fast rx for non-4addr sta VLAN changes

Zi Yan <[email protected]>
mm/migrate: set swap entry values of THP tail pages properly.

Liu Shixin <[email protected]>
mm/memory-failure: fix an incorrect use of tail pages

Yangxi Xiang <[email protected]>
vt: fix memory overlapping when deleting chars in the buffer

Matthew Wilcox (Oracle) <[email protected]>
bounds: support non-power-of-two CONFIG_NR_CPUS

Nathan Chancellor <[email protected]>
powerpc: xor_vmx: Add '-mhard-float' to CFLAGS

Tim Schumacher <[email protected]>
efivarfs: Request at most 512 bytes for variable names

Yang Jihong <[email protected]>
perf/core: Fix reentry problem in perf_output_read_group()

Zhong Jinghua <[email protected]>
loop: loop_set_status_from_info() check before assignment

Siddh Raman Pant <[email protected]>
loop: Check for overflow while configuring loop

Martijn Coenen <[email protected]>
loop: Factor out configuring loop from status

Martijn Coenen <[email protected]>
loop: Refactor loop_set_status() size calculation

Martijn Coenen <[email protected]>
loop: Factor out setting loop device size

Martijn Coenen <[email protected]>
loop: Remove sector_t truncation checks

Martijn Coenen <[email protected]>
loop: Call loop_config_discard() only after new config is applied

Genjian Zhang <[email protected]>
Revert "loop: Check for overflow while configuring loop"

Goldwyn Rodrigues <[email protected]>
btrfs: allocate btrfs_ioctl_defrag_range_args on stack

John Ogness <[email protected]>
printk: Update @console_may_schedule in console_trylock_spinning()

Maximilian Heyne <[email protected]>
xen/events: close evtchn after mapping cleanup

Rui Qi <[email protected]>
x86/speculation: Support intra-function call validation

Alexandre Chartre <[email protected]>
objtool: Add support for intra-function calls

Alexandre Chartre <[email protected]>
objtool: is_fentry_call() crashes if call has no destination

Bart Van Assche <[email protected]>
fs/aio: Check IOCB_AIO_RW before the struct aio_kiocb conversion

Nicolas Pitre <[email protected]>
vt: fix unicode buffer corruption when deleting characters

Sherry Sun <[email protected]>
tty: serial: fsl_lpuart: avoid idle preamble pending if CTS is enabled

Mathias Nyman <[email protected]>
usb: port: Don't try to peer unused USB ports based on location

Krishna Kurapati <[email protected]>
usb: gadget: ncm: Fix handling of zero block length packets

Alan Stern <[email protected]>
USB: usb-storage: Prevent divide-by-0 error in isd200_ata_command

Kailang Yang <[email protected]>
ALSA: hda/realtek - Fix headset Mic no show at resume back for Lenovo ALC897 platform

Nathan Chancellor <[email protected]>
xfrm: Avoid clang fortify warning in copy_to_user_tmpl()

Pablo Neira Ayuso <[email protected]>
netfilter: nf_tables: reject constant set with timeout

Pablo Neira Ayuso <[email protected]>
netfilter: nf_tables: disallow anonymous set with timeout flag

Pablo Neira Ayuso <[email protected]>
netfilter: nf_tables: mark set as dead when unbinding anonymous set with timeout

Ian Abbott <[email protected]>
comedi: comedi_test: Prevent timers rescheduling during deletion

Mikulas Patocka <[email protected]>
dm snapshot: fix lockup in dm_exception_table_exit

Conrad Kostecki <[email protected]>
ahci: asm1064: asm1166: don't limit reported ports

Andrey Jr. Melnikov <[email protected]>
ahci: asm1064: correct count of reported ports

Borislav Petkov (AMD) <[email protected]>
x86/CPU/AMD: Update the Zenbleed microcode revisions

Ryusuke Konishi <[email protected]>
nilfs2: prevent kernel bug at submit_bh_wbc()

Joe Perches <[email protected]>
nilfs2: use a more common logging style

Ryusuke Konishi <[email protected]>
nilfs2: fix failure to detect DAT corruption in btree and direct mappings

Qiang Zhang <[email protected]>
memtest: use {READ,WRITE}_ONCE in memory scanning

Jani Nikula <[email protected]>
drm/vc4: hdmi: do not return negative values from .get_modes()

Jani Nikula <[email protected]>
drm/imx/ipuv3: do not return negative values from .get_modes()

Jani Nikula <[email protected]>
drm/exynos: do not return negative values from .get_modes()

Harald Freudenberger <[email protected]>
s390/zcrypt: fix reference counting on zcrypt card objects

Sean Anderson <[email protected]>
soc: fsl: qbman: Use raw spinlock for cgr_lock

Sean Anderson <[email protected]>
soc: fsl: qbman: Add CGR update function

Sean Anderson <[email protected]>
soc: fsl: qbman: Add helper for sanity checking cgr ops

Sean Anderson <[email protected]>
soc: fsl: qbman: Always disable interrupts when taking cgr_lock

Steven Rostedt (Google) <[email protected]>
ring-buffer: Fix full_waiters_pending in poll

Steven Rostedt (Google) <[email protected]>
ring-buffer: Fix resetting of shortest_full

Alex Williamson <[email protected]>
vfio/platform: Disable virqfds on cleanup

Nathan Chancellor <[email protected]>
kbuild: Move -Wenum-{compare-conditional,enum-conversion} into W=1

Samuel Thibault <[email protected]>
speakup: Fix 8bit characters from direct synth

Christophe JAILLET <[email protected]>
slimbus: core: Remove usage of the deprecated ida_simple_xx() API

Jerome Brunet <[email protected]>
nvmem: meson-efuse: fix function pointer type mismatch

Carlo Caione <[email protected]>
firmware: meson_sm: Rework driver as a proper platform driver

Maximilian Heyne <[email protected]>
ext4: fix corruption during on-line resize

Josua Mayer <[email protected]>
hwmon: (amc6821) add of_match table

Dominique Martinet <[email protected]>
mmc: core: Fix switch on gp3 partition

Yu Kuai <[email protected]>
dm-raid: fix lockdep waring in "pers->hot_add_disk"

Song Liu <[email protected]>
Revert "Revert "md/raid5: Wait for MD_SB_CHANGE_PENDING in raid5d""

Rafael J. Wysocki <[email protected]>
PCI/PM: Drain runtime-idle callbacks before driver removal

Uwe Kleine-König <[email protected]>
PCI: Drop pci_device_remove() test of pci_dev->driver

Filipe Manana <[email protected]>
btrfs: fix off-by-one chunk length calculation at contains_pending_extent()

Miklos Szeredi <[email protected]>
fuse: don't unhash root

Max Reitz <[email protected]>
fuse: drop fuse_conn parameter where possible

Max Reitz <[email protected]>
fuse: store fuse_conn in fuse_req

Wolfram Sang <[email protected]>
mmc: tmio: avoid concurrent runs of mmc_request_done()

Qingliang Li <[email protected]>
PM: sleep: wakeirq: fix wake irq warning in system suspend

Toru Katagiri <[email protected]>
USB: serial: cp210x: add pid/vid for TDK NC0110013M and MM0110113M

Aurélien Jacobs <[email protected]>
USB: serial: option: add MeiG Smart SLM320 product

Christian Häggström <[email protected]>
USB: serial: cp210x: add ID for MGP Instruments PDS100

Cameron Williams <[email protected]>
USB: serial: add device ID for VeriFone adapter

Daniel Vogelbacher <[email protected]>
USB: serial: ftdi_sio: add support for GMC Z216C Adapter IR-USB

Michael Ellerman <[email protected]>
powerpc/fsl: Fix mfpmr build errors with newer binutils

Gabor Juhos <[email protected]>
clk: qcom: mmcc-msm8974: fix terminating of frequency table arrays

Gabor Juhos <[email protected]>
clk: qcom: mmcc-apq8084: fix terminating of frequency table arrays

Gabor Juhos <[email protected]>
clk: qcom: gcc-ipq8074: fix terminating of frequency table arrays

Maulik Shah <[email protected]>
PM: suspend: Set mem_sleep_current during kernel command line setup

Guenter Roeck <[email protected]>
parisc: Strip upper 32 bit of sum in csum_ipv6_magic for 64-bit builds

Guenter Roeck <[email protected]>
parisc: Fix csum_ipv6_magic on 64-bit systems

Guenter Roeck <[email protected]>
parisc: Fix csum_ipv6_magic on 32-bit systems

Guenter Roeck <[email protected]>
parisc: Fix ip_fast_csum

Helge Deller <[email protected]>
parisc: Do not hardcode registers in checksum functions

Arseniy Krasnov <[email protected]>
mtd: rawnand: meson: fix scrambling mode value in command macro

Zhang Yi <[email protected]>
ubi: correct the calculation of fastmap size

Richard Weinberger <[email protected]>
ubi: Check for too small LEB size in VTBL code

Matthew Wilcox (Oracle) <[email protected]>
ubifs: Set page uptodate in the correct place

Jan Kara <[email protected]>
fat: fix uninitialized field in nostale filehandles

Baokun Li <[email protected]>
ext4: correct best extent lstart adjustment logic

SeongJae Park <[email protected]>
selftests/mqueue: Set timeout to 180 seconds

Damian Muszynski <[email protected]>
crypto: qat - resolve race condition during AER recovery

Svyatoslav Pankratov <[email protected]>
crypto: qat - fix double free during reset

Randy Dunlap <[email protected]>
sparc: vDSO: fix return value of __setup handler

Randy Dunlap <[email protected]>
sparc64: NMI watchdog: fix return value of __setup handler

Sean Christopherson <[email protected]>
KVM: Always flush async #PF workqueue when vCPU is being destroyed

Gui-Dong Han <[email protected]>
media: xc4000: Fix atomicity violation in xc4000_get_frequency

Hugo Villeneuve <[email protected]>
serial: max310x: fix NULL pointer dereference in I2C instantiation

Duje Mihanović <[email protected]>
arm: dts: marvell: Fix maxium->maxim typo in brownstone dts

Lubomir Rintel <[email protected]>
ARM: dts: mmp2-brownstone: Don't redeclare phandle references

Roberto Sassu <[email protected]>
smack: Handle SMACK64TRANSMUTE in smack_inode_setsecurity()

Roberto Sassu <[email protected]>
smack: Set SMACK64TRANSMUTE only for dirs in smack_inode_setxattr()

Amit Pundir <[email protected]>
clk: qcom: gcc-sdm845: Add soft dependency on rpmhpd

Hidenori Kobayashi <[email protected]>
media: staging: ipu3-imgu: Set fields before media_entity_pads_init()

Zheng Wang <[email protected]>
wifi: brcmfmac: Fix use-after-free bug in brcmf_cfg80211_detach

Thomas Gleixner <[email protected]>
timers: Rename del_timer_sync() to timer_delete_sync()

Thomas Gleixner <[email protected]>
timers: Use del_timer_sync() even on UP

Thomas Gleixner <[email protected]>
timers: Update kernel-doc for various functions

Borislav Petkov <[email protected]>
x86/bugs: Use sysfs_emit()

Kim Phillips <[email protected]>
x86/cpu: Support AMD Automatic IBRS

Lin Yujun <[email protected]>
Documentation/hw-vuln: Update spectre doc


-------------

Diffstat:

Documentation/admin-guide/hw-vuln/spectre.rst | 18 +-
Documentation/admin-guide/kernel-parameters.txt | 6 +-
Makefile | 4 +-
arch/arm/boot/dts/mmp2-brownstone.dts | 330 ++++++++++-----------
arch/arm64/boot/dts/rockchip/rk3328.dtsi | 11 +-
arch/arm64/boot/dts/rockchip/rk3399.dtsi | 12 +-
arch/parisc/include/asm/checksum.h | 107 +++----
arch/powerpc/include/asm/reg_fsl_emb.h | 11 +-
arch/powerpc/lib/Makefile | 2 +-
arch/s390/kernel/entry.S | 1 +
arch/sparc/kernel/nmi.c | 2 +-
arch/sparc/vdso/vma.c | 7 +-
arch/x86/include/asm/cpufeature.h | 6 +-
arch/x86/include/asm/cpufeatures.h | 4 +-
arch/x86/include/asm/disabled-features.h | 3 +-
arch/x86/include/asm/mmu_context.h | 9 +
arch/x86/include/asm/msr-index.h | 2 +
arch/x86/include/asm/nospec-branch.h | 7 +
arch/x86/include/asm/required-features.h | 3 +-
arch/x86/include/asm/unwind_hints.h | 2 +-
arch/x86/kernel/cpu/amd.c | 10 +-
arch/x86/kernel/cpu/bugs.c | 117 ++++----
arch/x86/kernel/cpu/common.c | 19 +-
arch/x86/kernel/cpu/mce/core.c | 4 +-
arch/x86/mm/ident_map.c | 23 +-
arch/x86/mm/pat.c | 50 +++-
block/blk-stat.c | 2 +-
drivers/acpi/sleep.c | 12 -
drivers/ata/ahci.c | 5 -
drivers/ata/sata_mv.c | 63 ++--
drivers/ata/sata_sx4.c | 6 +-
drivers/base/power/wakeirq.c | 4 +-
drivers/block/loop.c | 187 +++++++-----
drivers/bluetooth/btintel.c | 2 +-
drivers/clk/qcom/gcc-ipq8074.c | 2 +
drivers/clk/qcom/gcc-sdm845.c | 1 +
drivers/clk/qcom/mmcc-apq8084.c | 2 +
drivers/clk/qcom/mmcc-msm8974.c | 2 +
drivers/crypto/qat/qat_common/adf_aer.c | 23 +-
drivers/firmware/efi/vars.c | 17 +-
drivers/firmware/meson/meson_sm.c | 96 ++++--
.../gpu/drm/amd/display/modules/inc/mod_stats.h | 4 +-
drivers/gpu/drm/exynos/exynos_drm_vidi.c | 4 +-
drivers/gpu/drm/exynos/exynos_hdmi.c | 4 +-
drivers/gpu/drm/i915/gt/intel_engine_pm.c | 3 -
drivers/gpu/drm/i915/gt/intel_lrc.c | 3 +
drivers/gpu/drm/imx/parallel-display.c | 4 +-
drivers/gpu/drm/vc4/vc4_hdmi.c | 2 +-
drivers/gpu/drm/vkms/vkms_drv.c | 2 +-
drivers/hwmon/amc6821.c | 11 +
drivers/input/rmi4/rmi_driver.c | 6 +-
drivers/md/dm-integrity.c | 2 +-
drivers/md/dm-raid.c | 2 +
drivers/md/dm-snap.c | 4 +-
drivers/md/raid5.c | 12 +
drivers/media/pci/sta2x11/sta2x11_vip.c | 9 +-
drivers/media/tuners/xc4000.c | 4 +-
drivers/misc/vmw_vmci/vmci_datagram.c | 6 +-
drivers/mmc/core/block.c | 14 +-
drivers/mmc/host/tmio_mmc_core.c | 2 +
drivers/mtd/nand/raw/meson_nand.c | 2 +-
drivers/mtd/ubi/fastmap.c | 7 +-
drivers/mtd/ubi/vtbl.c | 6 +
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c | 34 +--
drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c | 16 +-
drivers/net/ethernet/pensando/ionic/ionic_lif.c | 5 +-
drivers/net/ethernet/realtek/r8169_main.c | 9 +
drivers/net/ethernet/renesas/ravb_main.c | 7 +-
drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c | 40 ++-
.../net/ethernet/stmicro/stmmac/dwxgmac2_core.c | 38 ++-
drivers/net/wireless/ath/ath9k/antenna.c | 2 +-
.../broadcom/brcm80211/brcmfmac/cfg80211.c | 4 +-
drivers/nvmem/meson-efuse.c | 43 ++-
drivers/pci/pci-driver.c | 23 +-
drivers/s390/crypto/zcrypt_api.c | 2 +
drivers/scsi/hosts.c | 7 +-
drivers/scsi/lpfc/lpfc_nportdisc.c | 6 +-
drivers/scsi/lpfc/lpfc_nvmet.c | 2 +-
drivers/scsi/myrb.c | 20 +-
drivers/scsi/myrs.c | 24 +-
drivers/scsi/qla2xxx/qla_target.c | 10 +
drivers/slimbus/core.c | 4 +-
drivers/soc/fsl/qbman/qman.c | 98 ++++--
drivers/staging/comedi/drivers/comedi_test.c | 30 +-
drivers/staging/media/ipu3/ipu3-v4l2.c | 16 +-
drivers/staging/speakup/synth.c | 4 +-
.../vc04_services/bcm2835-camera/mmal-vchiq.c | 40 ++-
.../vc04_services/bcm2835-camera/mmal-vchiq.h | 2 +
drivers/tty/n_gsm.c | 3 +
drivers/tty/serial/fsl_lpuart.c | 7 +-
drivers/tty/serial/max310x.c | 7 +-
drivers/tty/vt/vt.c | 4 +-
drivers/usb/class/cdc-wdm.c | 6 +-
drivers/usb/core/port.c | 5 +-
drivers/usb/core/sysfs.c | 16 +-
drivers/usb/dwc2/core.h | 14 +
drivers/usb/dwc2/core_intr.c | 63 ++--
drivers/usb/dwc2/gadget.c | 4 +
drivers/usb/dwc2/hcd.c | 47 ++-
drivers/usb/dwc2/hcd_ddma.c | 17 +-
drivers/usb/dwc2/hw.h | 2 +-
drivers/usb/gadget/function/f_ncm.c | 2 +-
drivers/usb/gadget/udc/core.c | 4 +-
drivers/usb/host/sl811-hcd.c | 2 +
drivers/usb/serial/cp210x.c | 4 +
drivers/usb/serial/ftdi_sio.c | 2 +
drivers/usb/serial/ftdi_sio_ids.h | 6 +
drivers/usb/serial/option.c | 6 +
drivers/usb/storage/isd200.c | 23 +-
drivers/usb/typec/tcpm/tcpci.c | 1 +
drivers/vfio/pci/vfio_pci_intrs.c | 188 +++++++-----
drivers/vfio/platform/vfio_platform_irq.c | 106 ++++---
drivers/vfio/virqfd.c | 21 ++
drivers/video/fbdev/core/fbmon.c | 7 +-
drivers/video/fbdev/via/accel.c | 4 +-
drivers/virtio/virtio.c | 10 +-
drivers/xen/events/events_base.c | 5 +-
fs/aio.c | 8 +-
fs/btrfs/export.c | 9 +-
fs/btrfs/ioctl.c | 25 +-
fs/btrfs/send.c | 10 +-
fs/btrfs/volumes.c | 14 +-
fs/exec.c | 1 +
fs/ext4/mballoc.c | 17 +-
fs/ext4/resize.c | 3 +-
fs/fat/nfs.c | 6 +
fs/fuse/dev.c | 83 +++---
fs/fuse/fuse_i.h | 6 +-
fs/fuse/inode.c | 7 +-
fs/fuse/virtio_fs.c | 8 +-
fs/isofs/inode.c | 18 +-
fs/nilfs2/alloc.c | 38 +--
fs/nilfs2/btree.c | 51 ++--
fs/nilfs2/cpfile.c | 10 +-
fs/nilfs2/dat.c | 14 +-
fs/nilfs2/direct.c | 23 +-
fs/nilfs2/gcinode.c | 2 +-
fs/nilfs2/ifile.c | 4 +-
fs/nilfs2/inode.c | 31 +-
fs/nilfs2/ioctl.c | 37 ++-
fs/nilfs2/mdt.c | 2 +-
fs/nilfs2/namei.c | 6 +-
fs/nilfs2/nilfs.h | 9 +
fs/nilfs2/page.c | 11 +-
fs/nilfs2/recovery.c | 32 +-
fs/nilfs2/segbuf.c | 2 +-
fs/nilfs2/segment.c | 38 +--
fs/nilfs2/sufile.c | 29 +-
fs/nilfs2/super.c | 57 ++--
fs/nilfs2/sysfs.c | 29 +-
fs/nilfs2/the_nilfs.c | 85 +++---
fs/open.c | 38 ++-
fs/sysv/itree.c | 10 +-
fs/ubifs/file.c | 13 +-
include/linux/firmware/meson/meson_sm.h | 15 +-
include/linux/frame.h | 11 +
include/linux/fs.h | 3 +
include/linux/gfp.h | 9 +
include/linux/sunrpc/sched.h | 2 +-
include/linux/timer.h | 18 +-
include/linux/vfio.h | 2 +
include/net/erspan.h | 19 +-
include/net/inet_connection_sock.h | 1 +
include/net/sock.h | 7 +
include/soc/fsl/qman.h | 9 +
include/uapi/linux/input-event-codes.h | 1 +
init/initramfs.c | 45 +--
kernel/bounds.c | 2 +-
kernel/events/core.c | 9 +
kernel/panic.c | 8 +
kernel/power/suspend.c | 1 +
kernel/printk/printk.c | 6 +
kernel/time/timer.c | 160 ++++++----
kernel/trace/ring_buffer.c | 51 +++-
mm/compaction.c | 7 +-
mm/memory-failure.c | 2 +-
mm/memory.c | 4 +
mm/memtest.c | 4 +-
mm/migrate.c | 6 +-
mm/page_alloc.c | 10 +-
mm/vmscan.c | 5 +-
net/batman-adv/distributed-arp-table.c | 3 +-
net/batman-adv/main.c | 14 +-
net/bluetooth/hci_debugfs.c | 64 ++--
net/bluetooth/hci_event.c | 25 ++
net/core/sock_map.c | 6 +
net/ipv4/inet_connection_sock.c | 14 +
net/ipv4/ip_gre.c | 104 +++++--
net/ipv4/tcp.c | 2 +
net/ipv6/ip6_fib.c | 14 +-
net/ipv6/ip6_gre.c | 3 +
net/mac80211/cfg.c | 5 +-
net/netfilter/nf_tables_api.c | 74 ++++-
net/nfc/nci/core.c | 5 +
net/rds/rdma.c | 2 +-
net/sched/act_skbmod.c | 10 +-
net/xfrm/xfrm_user.c | 3 +
scripts/Makefile.extrawarn | 2 +
security/smack/smack_lsm.c | 12 +-
sound/pci/hda/patch_realtek.c | 9 +-
sound/sh/aica.c | 17 +-
sound/soc/soc-ops.c | 2 +-
tools/iio/iio_utils.c | 2 +-
tools/objtool/Documentation/stack-validation.txt | 8 +
tools/objtool/arch/x86/decode.c | 6 +
tools/objtool/check.c | 64 +++-
.../x86_energy_perf_policy.c | 1 +
tools/testing/ktest/ktest.pl | 1 +
tools/testing/selftests/mqueue/setting | 1 +
tools/testing/selftests/net/reuseaddr_conflict.c | 2 +-
virt/kvm/async_pf.c | 31 +-
211 files changed, 2599 insertions(+), 1489 deletions(-)




2024-04-11 19:57:23

by Florian Fainelli

[permalink] [raw]
Subject: Re: [PATCH 5.4 000/215] 5.4.274-rc1 review

On 4/11/24 02:53, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.4.274 release.
> There are 215 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Sat, 13 Apr 2024 09:53:55 +0000.
> Anything received after that time might be too late.
>
> The whole patch series can be found in one patch at:
> https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.4.274-rc1.gz
> or in the git tree and branch at:
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.4.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h

On ARCH_BRCMSTB using 32-bit and 64-bit ARM kernels, build tested on
BMIPS_GENERIC:

Tested-by: Florian Fainelli <[email protected]>
--
Florian


2024-04-11 23:51:24

by Shuah Khan

[permalink] [raw]
Subject: Re: [PATCH 5.4 000/215] 5.4.274-rc1 review

On 4/11/24 03:53, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.4.274 release.
> There are 215 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Sat, 13 Apr 2024 09:53:55 +0000.
> Anything received after that time might be too late.
>
> The whole patch series can be found in one patch at:
> https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.4.274-rc1.gz
> or in the git tree and branch at:
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.4.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
>

Compiled and booted on my test system. No dmesg regressions.

Tested-by: Shuah Khan <[email protected]>

thanks,
-- Shuah

2024-04-12 08:14:10

by Jon Hunter

[permalink] [raw]
Subject: Re: [PATCH 5.4 000/215] 5.4.274-rc1 review

On Thu, 11 Apr 2024 11:53:29 +0200, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.4.274 release.
> There are 215 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Sat, 13 Apr 2024 09:53:55 +0000.
> Anything received after that time might be too late.
>
> The whole patch series can be found in one patch at:
> https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.4.274-rc1.gz
> or in the git tree and branch at:
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.4.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h

All tests passing for Tegra ...

Test results for stable-v5.4:
10 builds: 10 pass, 0 fail
24 boots: 24 pass, 0 fail
54 tests: 54 pass, 0 fail

Linux version: 5.4.274-rc1-g82d3ef764065
Boards tested: tegra124-jetson-tk1, tegra186-p2771-0000,
tegra194-p2972-0000, tegra20-ventana,
tegra210-p2371-2180, tegra210-p3450-0000,
tegra30-cardhu-a04

Tested-by: Jon Hunter <[email protected]>

Jon

2024-04-12 10:21:50

by Harshit Mogalapalli

[permalink] [raw]
Subject: Re: [PATCH 5.4 000/215] 5.4.274-rc1 review

Hi Greg,

On 11/04/24 15:23, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.4.274 release.
> There are 215 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Sat, 13 Apr 2024 09:53:55 +0000.
> Anything received after that time might be too late.
>

No problems seen on x86_64 and aarch64 with our testing.

Tested-by: Harshit Mogalapalli <[email protected]>

Thanks,
Harshit
> The whole patch series can be found in one patch at:
> https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.4.274-rc1.gz
> or in the git tree and branch at:
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.4.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h

2024-04-12 10:56:11

by Naresh Kamboju

[permalink] [raw]
Subject: Re: [PATCH 5.4 000/215] 5.4.274-rc1 review

On Thu, 11 Apr 2024 at 15:45, Greg Kroah-Hartman
<[email protected]> wrote:
>
> This is the start of the stable review cycle for the 5.4.274 release.
> There are 215 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Sat, 13 Apr 2024 09:53:55 +0000.
> Anything received after that time might be too late.
>
> The whole patch series can be found in one patch at:
> https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.4.274-rc1.gz
> or in the git tree and branch at:
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.4.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h

Results from Linaro’s test farm.
No regressions on arm64, arm, x86_64, and i386.

Tested-by: Linux Kernel Functional Testing <[email protected]>

## Build
* kernel: 5.4.274-rc1
* git: https://gitlab.com/Linaro/lkft/mirrors/stable/linux-stable-rc
* git branch: linux-5.4.y
* git commit: 82d3ef7640657b7e1fb7091841ba7a47a7a29ab4
* git describe: v5.4.273-216-g82d3ef764065
* test details:
https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.4.y/build/v5.4.273-216-g82d3ef764065

## Test Regressions (compared to v5.4.273)

## Metric Regressions (compared to v5.4.273)

## Test Fixes (compared to v5.4.273)

## Metric Fixes (compared to v5.4.273)

## Test result summary
total: 102739, pass: 82092, fail: 2618, skip: 17956, xfail: 73

## Build Summary
* arc: 5 total, 5 passed, 0 failed
* arm: 135 total, 135 passed, 0 failed
* arm64: 35 total, 33 passed, 2 failed
* i386: 23 total, 17 passed, 6 failed
* mips: 25 total, 25 passed, 0 failed
* parisc: 3 total, 0 passed, 3 failed
* powerpc: 30 total, 30 passed, 0 failed
* riscv: 9 total, 9 passed, 0 failed
* s390: 6 total, 6 passed, 0 failed
* sh: 10 total, 10 passed, 0 failed
* sparc: 6 total, 6 passed, 0 failed
* x86_64: 31 total, 31 passed, 0 failed

## Test suites summary
* boot
* kselftest-android
* kselftest-arm64
* kselftest-breakpoints
* kselftest-capabilities
* kselftest-cgroup
* kselftest-clone3
* kselftest-core
* kselftest-cpu-hotplug
* kselftest-cpufreq
* kselftest-drivers-dma-buf
* kselftest-efivarfs
* kselftest-exec
* kselftest-filesystems
* kselftest-filesystems-binderfs
* kselftest-filesystems-epoll
* kselftest-firmware
* kselftest-fpu
* kselftest-ftrace
* kselftest-futex
* kselftest-gpio
* kselftest-intel_pstate
* kselftest-ipc
* kselftest-ir
* kselftest-kcmp
* kselftest-kexec
* kselftest-lib
* kselftest-livepatch
* kselftest-membarrier
* kselftest-memfd
* kselftest-memory-hotplug
* kselftest-mincore
* kselftest-mm
* kselftest-mount
* kselftest-mqueue
* kselftest-net
* kselftest-net-forwarding
* kselftest-net-mptcp
* kselftest-netfilter
* kselftest-nsfs
* kselftest-openat2
* kselftest-pid_namespace
* kselftest-pidfd
* kselftest-proc
* kselftest-pstore
* kselftest-ptrace
* kselftest-rseq
* kselftest-rtc
* kselftest-sigaltstack
* kselftest-size
* kselftest-splice
* kselftest-static_keys
* kselftest-sync
* kselftest-sysctl
* kselftest-tc-testing
* kselftest-timens
* kselftest-timers
* kselftest-tmpfs
* kselftest-tpm2
* kselftest-user
* kselftest-user_events
* kselftest-vDSO
* kselftest-watchdog
* kselftest-x86
* kselftest-zram
* kunit
* log-parser-boot
* log-parser-test
* ltp-cap_bounds
* ltp-commands
* ltp-containers
* ltp-controllers
* ltp-cpuhotplug
* ltp-crypto
* ltp-cve
* ltp-dio
* ltp-fcntl-locktests
* ltp-filecaps
* ltp-fs
* ltp-fs_bind
* ltp-fs_perms_simple
* ltp-hugetlb
* ltp-io
* ltp-ipc
* ltp-math
* ltp-mm
* ltp-nptl
* ltp-pty
* ltp-sched
* ltp-securebits
* ltp-smoke
* ltp-smoketest
* ltp-syscalls
* ltp-tracing
* perf
* rcutorture

--
Linaro LKFT
https://lkft.linaro.org

2024-04-18 19:25:32

by Guenter Roeck

[permalink] [raw]
Subject: Re: [PATCH 5.4 000/215] 5.4.274-rc1 review

On Thu, Apr 11, 2024 at 11:53:29AM +0200, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.4.274 release.
> There are 215 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Sat, 13 Apr 2024 09:53:55 +0000.
> Anything received after that time might be too late.
>
[ ... ]
>
> Sean Christopherson <[email protected]>
> KVM: Always flush async #PF workqueue when vCPU is being destroyed
>

This backport is bad. In kvm_setup_async_pf(), it removes a call to
kvm_get_kvm(). However, it does not remove the call to kvm_put_kvm()
in its error handler. Also see upstream commit 7863e346e108 ("KVM:
async_pf: Cleanup kvm_setup_async_pf()") which explains that one of
the error paths in kvm_setup_async_pf() which is not supposed to be
observed can be observed after all.

Guenter

2024-04-18 19:39:10

by Guenter Roeck

[permalink] [raw]
Subject: Re: [PATCH 5.4 000/215] 5.4.274-rc1 review

On Thu, Apr 18, 2024 at 12:25:21PM -0700, Guenter Roeck wrote:
> On Thu, Apr 11, 2024 at 11:53:29AM +0200, Greg Kroah-Hartman wrote:
> > This is the start of the stable review cycle for the 5.4.274 release.
> > There are 215 patches in this series, all will be posted as a response
> > to this one. If anyone has any issues with these being applied, please
> > let me know.
> >
> > Responses should be made by Sat, 13 Apr 2024 09:53:55 +0000.
> > Anything received after that time might be too late.
> >
> [ ... ]
> >
> > Sean Christopherson <[email protected]>
> > KVM: Always flush async #PF workqueue when vCPU is being destroyed
> >
>
> This backport is bad. In kvm_setup_async_pf(), it removes a call to
> kvm_get_kvm(). However, it does not remove the call to kvm_put_kvm()
> in its error handler. Also see upstream commit 7863e346e108 ("KVM:
> async_pf: Cleanup kvm_setup_async_pf()") which explains that one of
> the error paths in kvm_setup_async_pf() which is not supposed to be
> observed can be observed after all.
>

Reverting the above commit from v5.4.y fixes the problem. Alternatively,
applying commit 7863e346e108 on top of v5.4.274 fixes it as well.

I added Phillip Pearson to Cc:; he did all the testing and can provide
additional information if needed.

Thanks,
Guenter

2024-04-19 10:41:16

by Greg KH

[permalink] [raw]
Subject: Re: [PATCH 5.4 000/215] 5.4.274-rc1 review

On Thu, Apr 18, 2024 at 12:38:59PM -0700, Guenter Roeck wrote:
> On Thu, Apr 18, 2024 at 12:25:21PM -0700, Guenter Roeck wrote:
> > On Thu, Apr 11, 2024 at 11:53:29AM +0200, Greg Kroah-Hartman wrote:
> > > This is the start of the stable review cycle for the 5.4.274 release.
> > > There are 215 patches in this series, all will be posted as a response
> > > to this one. If anyone has any issues with these being applied, please
> > > let me know.
> > >
> > > Responses should be made by Sat, 13 Apr 2024 09:53:55 +0000.
> > > Anything received after that time might be too late.
> > >
> > [ ... ]
> > >
> > > Sean Christopherson <[email protected]>
> > > KVM: Always flush async #PF workqueue when vCPU is being destroyed
> > >
> >
> > This backport is bad. In kvm_setup_async_pf(), it removes a call to
> > kvm_get_kvm(). However, it does not remove the call to kvm_put_kvm()
> > in its error handler. Also see upstream commit 7863e346e108 ("KVM:
> > async_pf: Cleanup kvm_setup_async_pf()") which explains that one of
> > the error paths in kvm_setup_async_pf() which is not supposed to be
> > observed can be observed after all.
> >
>
> Reverting the above commit from v5.4.y fixes the problem. Alternatively,
> applying commit 7863e346e108 on top of v5.4.274 fixes it as well.
>
> I added Phillip Pearson to Cc:; he did all the testing and can provide
> additional information if needed.

So which is recommended, revert or add the other commit?

thanks,

greg k-h

2024-04-19 12:36:45

by Guenter Roeck

[permalink] [raw]
Subject: Re: [PATCH 5.4 000/215] 5.4.274-rc1 review

On Fri, Apr 19, 2024 at 12:41:02PM +0200, Greg Kroah-Hartman wrote:
> On Thu, Apr 18, 2024 at 12:38:59PM -0700, Guenter Roeck wrote:
> > On Thu, Apr 18, 2024 at 12:25:21PM -0700, Guenter Roeck wrote:
> > > On Thu, Apr 11, 2024 at 11:53:29AM +0200, Greg Kroah-Hartman wrote:
> > > > This is the start of the stable review cycle for the 5.4.274 release.
> > > > There are 215 patches in this series, all will be posted as a response
> > > > to this one. If anyone has any issues with these being applied, please
> > > > let me know.
> > > >
> > > > Responses should be made by Sat, 13 Apr 2024 09:53:55 +0000.
> > > > Anything received after that time might be too late.
> > > >
> > > [ ... ]
> > > >
> > > > Sean Christopherson <[email protected]>
> > > > KVM: Always flush async #PF workqueue when vCPU is being destroyed
> > > >
> > >
> > > This backport is bad. In kvm_setup_async_pf(), it removes a call to
> > > kvm_get_kvm(). However, it does not remove the call to kvm_put_kvm()
> > > in its error handler. Also see upstream commit 7863e346e108 ("KVM:
> > > async_pf: Cleanup kvm_setup_async_pf()") which explains that one of
> > > the error paths in kvm_setup_async_pf() which is not supposed to be
> > > observed can be observed after all.
> > >
> >
> > Reverting the above commit from v5.4.y fixes the problem. Alternatively,
> > applying commit 7863e346e108 on top of v5.4.274 fixes it as well.
> >
> > I added Phillip Pearson to Cc:; he did all the testing and can provide
> > additional information if needed.
>
> So which is recommended, revert or add the other commit?
>
We decided to apply 7863e346e108.

https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/5465806

Guenter

2024-04-23 13:14:12

by Greg KH

[permalink] [raw]
Subject: Re: [PATCH 5.4 000/215] 5.4.274-rc1 review

On Fri, Apr 19, 2024 at 05:36:33AM -0700, Guenter Roeck wrote:
> On Fri, Apr 19, 2024 at 12:41:02PM +0200, Greg Kroah-Hartman wrote:
> > On Thu, Apr 18, 2024 at 12:38:59PM -0700, Guenter Roeck wrote:
> > > On Thu, Apr 18, 2024 at 12:25:21PM -0700, Guenter Roeck wrote:
> > > > On Thu, Apr 11, 2024 at 11:53:29AM +0200, Greg Kroah-Hartman wrote:
> > > > > This is the start of the stable review cycle for the 5.4.274 release.
> > > > > There are 215 patches in this series, all will be posted as a response
> > > > > to this one. If anyone has any issues with these being applied, please
> > > > > let me know.
> > > > >
> > > > > Responses should be made by Sat, 13 Apr 2024 09:53:55 +0000.
> > > > > Anything received after that time might be too late.
> > > > >
> > > > [ ... ]
> > > > >
> > > > > Sean Christopherson <[email protected]>
> > > > > KVM: Always flush async #PF workqueue when vCPU is being destroyed
> > > > >
> > > >
> > > > This backport is bad. In kvm_setup_async_pf(), it removes a call to
> > > > kvm_get_kvm(). However, it does not remove the call to kvm_put_kvm()
> > > > in its error handler. Also see upstream commit 7863e346e108 ("KVM:
> > > > async_pf: Cleanup kvm_setup_async_pf()") which explains that one of
> > > > the error paths in kvm_setup_async_pf() which is not supposed to be
> > > > observed can be observed after all.
> > > >
> > >
> > > Reverting the above commit from v5.4.y fixes the problem. Alternatively,
> > > applying commit 7863e346e108 on top of v5.4.274 fixes it as well.
> > >
> > > I added Phillip Pearson to Cc:; he did all the testing and can provide
> > > additional information if needed.
> >
> > So which is recommended, revert or add the other commit?
> >
> We decided to apply 7863e346e108.
>
> https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/5465806

Great, will do the same here, thanks.
greg k-h