2022-06-13 20:09:04

by Greg Kroah-Hartman

[permalink] [raw]
Subject: [PATCH 5.15 000/251] 5.15.47-rc2 review

This is the start of the stable review cycle for the 5.15.47 release.
There are 251 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 Wed, 15 Jun 2022 18:18:03 +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.15.47-rc2.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.15.y
and the diffstat can be found below.

thanks,

greg k-h

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

Greg Kroah-Hartman <[email protected]>
Linux 5.15.47-rc2

Maciej Fijalkowski <[email protected]>
xsk: Fix possible crash when multiple sockets are created

Eric Dumazet <[email protected]>
tcp: fix tcp_mtup_probe_success vs wrong snd_cwnd

Dave Jiang <[email protected]>
dmaengine: idxd: add missing callback function to support DMA_INTERRUPT

Linus Torvalds <[email protected]>
iov_iter: fix build issue due to possible type mis-match

Damien Le Moal <[email protected]>
zonefs: fix handling of explicit_open option on mount

Johan Hovold <[email protected]>
PCI: qcom: Fix pipe clock imbalance

Davide Caratti <[email protected]>
net/sched: act_police: more accurate MTU policing

Pascal Hambourg <[email protected]>
md/raid0: Ignore RAID0 layout if the second zone has only one device

Jason A. Donenfeld <[email protected]>
random: account for arch randomness in bits

Jason A. Donenfeld <[email protected]>
random: mark bootloader randomness code as __init

Jason A. Donenfeld <[email protected]>
random: avoid checking crng_ready() twice in random_init()

KuoHsiang Chou <[email protected]>
drm/ast: Create threshold values for AST2600

Alexey Kardashevskiy <[email protected]>
powerpc/mm: Switch obsolete dssall to .long

Michael Ellerman <[email protected]>
powerpc/32: Fix overread/overwrite of thread_struct via ptrace

Alex Deucher <[email protected]>
drm/amdgpu: update VCN codec support for Yellow Carp

Brian Norris <[email protected]>
drm/atomic: Force bridge self-refresh-exit on CRTC switch

Brian Norris <[email protected]>
drm/bridge: analogix_dp: Support PSR-exit to disable transition

Michael Ellerman <[email protected]>
powerpc: Don't select HAVE_IRQ_EXIT_ON_IRQ_STACK

Xie Yongji <[email protected]>
vduse: Fix NULL pointer dereference on sysfs access

Mathias Nyman <[email protected]>
Input: bcm5974 - set missing URB_NO_TRANSFER_DMA_MAP urb flag

Olivier Matz <[email protected]>
ixgbe: fix unexpected VLAN Rx in promisc mode on VF

Olivier Matz <[email protected]>
ixgbe: fix bcast packets Rx on VF after promisc removal

Martin Faltesek <[email protected]>
nfc: st21nfca: fix incorrect sizing calculations in EVT_TRANSACTION

Martin Faltesek <[email protected]>
nfc: st21nfca: fix memory leaks in EVT_TRANSACTION handling

Martin Faltesek <[email protected]>
nfc: st21nfca: fix incorrect validating logic in EVT_TRANSACTION

Jchao Sun <[email protected]>
writeback: Fix inode->i_io_list not be protected by inode->i_lock error

Ilya Maximets <[email protected]>
net: openvswitch: fix misuse of the cached connection on tuple changes

Tan Tee Min <[email protected]>
net: phy: dp83867: retrigger SGMII AN when link change

Adrian Hunter <[email protected]>
mmc: block: Fix CQE recovery reset success

Sergey Shtylyov <[email protected]>
ata: libata-transport: fix {dma|pio|xfer}_mode sysfs files

David Safford <[email protected]>
KEYS: trusted: tpm2: Fix migratable logic

Paulo Alcantara <[email protected]>
cifs: fix reconnect on smb3 mount types

Shyam Prasad N <[email protected]>
cifs: return errors during session setup during reconnects

Jeremy Soller <[email protected]>
ALSA: hda/realtek: Add quirk for HP Dev One

Cameron Berkenpas <[email protected]>
ALSA: hda/realtek: Fix for quirk to enable speaker output on the Lenovo Yoga DuetITL 2021

huangwenhui <[email protected]>
ALSA: hda/conexant - Fix loopback issue with CX20632

Takashi Iwai <[email protected]>
ALSA: usb-audio: Set up (implicit) sync for Saffire 6

Takashi Iwai <[email protected]>
ALSA: usb-audio: Skip generic sync EP parse for secondary EP

Kuan-Ying Lee <[email protected]>
scripts/gdb: change kernel config dumping method

Xie Yongji <[email protected]>
vringh: Fix loop descriptors check in the indirect cases

Kees Cook <[email protected]>
nodemask: Fix return values to be unsigned

Yury Norov <[email protected]>
drm/amd/pm: use bitmap_{from,to}_arr32 where appropriate

Steve French <[email protected]>
cifs: version operations for smb20 unneeded when legacy support disabled

Christian Borntraeger <[email protected]>
s390/gmap: voluntarily schedule during key setting

Yu Kuai <[email protected]>
nbd: fix io hung while disconnecting device

Yu Kuai <[email protected]>
nbd: fix race between nbd_alloc_config() and module removal

Yu Kuai <[email protected]>
nbd: call genl_unregister_family() first in nbd_cleanup()

Peter Zijlstra <[email protected]>
jump_label,noinstr: Avoid instrumentation for JUMP_LABEL=n builds

Peter Zijlstra <[email protected]>
x86/cpu: Elide KCSAN for cpu_has() and friends

Masahiro Yamada <[email protected]>
modpost: fix undefined behavior of is_arm_mapping_symbol()

Johannes Berg <[email protected]>
um: line: Use separate IRQs per line

Lijo Lazar <[email protected]>
drm/amd/pm: Fix missing thermal throttler status

Gong Yuanjun <[email protected]>
drm/radeon: fix a possible null pointer dereference

David Galiffi <[email protected]>
drm/amd/display: Check if modulo is 0 before dividing.

Xiubo Li <[email protected]>
ceph: flush the mdlog for filesystem sync

Venky Shankar <[email protected]>
ceph: allow ceph.dir.rctime xattr to be updatable

Michal Kubecek <[email protected]>
Revert "net: af_key: add check for pfkey_broadcast in function pfkey_process"

Hannes Reinecke <[email protected]>
scsi: myrb: Fix up null pointer access on myrb_cleanup()

Guoqing Jiang <[email protected]>
md: protect md_unregister_thread from reentrancy

Liu Xinpeng <[email protected]>
watchdog: wdat_wdt: Stop watchdog when rebooting the system

Hao Luo <[email protected]>
kernfs: Separate kernfs_pr_cont_buf and rename_lock.

John Ogness <[email protected]>
serial: msm_serial: disable interrupts in __msm_console_write()

Wang Cheng <[email protected]>
staging: rtl8712: fix uninit-value in r871xu_drv_init()

Wang Cheng <[email protected]>
staging: rtl8712: fix uninit-value in usb_read8() and friends

Andre Przywara <[email protected]>
clocksource/drivers/sp804: Avoid error on multiple instances

bumwoo lee <[email protected]>
extcon: Modify extcon device to be created after driver data is set

Dan Carpenter <[email protected]>
extcon: Fix extcon_get_extcon_dev() error handling

Shuah Khan <[email protected]>
misc: rtsx: set NULL intfdata when probe fails

Srinivas Kandagatla <[email protected]>
soundwire: qcom: adjust autoenumeration timeout

Marek Szyprowski <[email protected]>
usb: dwc2: gadget: don't reset gadget's driver->bus

Changbin Du <[email protected]>
sysrq: do not omit current cpu when showing backtrace of all active CPUs

Hangyu Hua <[email protected]>
char: xillybus: fix a refcount leak in cleanup_dev()

Evan Green <[email protected]>
USB: hcd-pci: Fully suspend across freeze/thaw cycle

Duoming Zhou <[email protected]>
drivers: usb: host: Fix deadlock in oxu_bus_suspend()

Duoming Zhou <[email protected]>
drivers: tty: serial: Fix deadlock in sa1100_set_termios()

Zhen Ni <[email protected]>
USB: host: isp116x: check return value after calling platform_get_resource()

Duoming Zhou <[email protected]>
drivers: staging: rtl8192e: Fix deadlock in rtllib_beacons_stop()

Duoming Zhou <[email protected]>
drivers: staging: rtl8192u: Fix deadlock in ieee80211_beacons_stop()

Mika Westerberg <[email protected]>
thunderbolt: Use different lane for second DisplayPort tunnel

Huang Guobin <[email protected]>
tty: Fix a possible resource leak in icom_probe

Zheyu Ma <[email protected]>
tty: synclink_gt: Fix null-pointer-dereference in slgt_clean()

Duoming Zhou <[email protected]>
drivers: staging: rtl8192bs: Fix deadlock in rtw_joinbss_event_prehandle()

Duoming Zhou <[email protected]>
drivers: staging: rtl8723bs: Fix deadlock in rtw_surveydone_event_callback()

Kees Cook <[email protected]>
lkdtm/usercopy: Expand size of "out of frame" object

Miquel Raynal <[email protected]>
iio: st_sensors: Add a local lock for protecting odr

Xiaoke Wang <[email protected]>
staging: rtl8712: fix a potential memory leak in r871xu_drv_init()

Xiaoke Wang <[email protected]>
iio: dummy: iio_simple_dummy: check the return value of kstrdup()

David Howells <[email protected]>
iov_iter: Fix iter_xarray_get_pages{,_alloc}()

Etienne van der Linde <[email protected]>
nfp: flower: restructure flow-key for gre+vlan combination

Linus Torvalds <[email protected]>
drm: imx: fix compiler warning with gcc-12

Muchun Song <[email protected]>
tcp: use alloc_large_system_hash() to allocate table_perturb

Marek Behún <[email protected]>
net: dsa: mv88e6xxx: use BMSR_ANEGCOMPLETE bit for filling an_complete

Miaoqian Lin <[email protected]>
net: altera: Fix refcount leak in altera_tse_mdio_create

Willem de Bruijn <[email protected]>
ip_gre: test csum_start instead of transport header

Mark Bloch <[email protected]>
net/mlx5: fs, fail conflicting actions

Feras Daoud <[email protected]>
net/mlx5: Rearm the FW tracer after each tracer event

Saeed Mahameed <[email protected]>
net/mlx5: Fix mlx5_get_next_dev() peer device matching

Mark Bloch <[email protected]>
net/mlx5: Lag, filter non compatible devices

Masahiro Yamada <[email protected]>
net: ipv6: unexport __init-annotated seg6_hmac_init()

Masahiro Yamada <[email protected]>
net: xfrm: unexport __init-annotated xfrm4_protocol_init()

Masahiro Yamada <[email protected]>
net: mdio: unexport __init-annotated mdio_bus_init()

Chuck Lever <[email protected]>
SUNRPC: Fix the calculation of xdr->end in xdr_get_next_encode_buffer()

Maciej Fijalkowski <[email protected]>
xsk: Fix handling of invalid descriptors in XSK TX batching API

Magnus Karlsson <[email protected]>
i40e: xsk: Move tmp desc array from driver to pool

Gal Pressman <[email protected]>
net/mlx4_en: Fix wrong return value on ioctl EEPROM query failure

Miaoqian Lin <[email protected]>
net: dsa: lantiq_gswip: Fix refcount leak in gswip_gphy_fw_list

Eric Dumazet <[email protected]>
bpf, arm64: Clear prog->jited_len along prog->jited

Kuniyuki Iwashima <[email protected]>
af_unix: Fix a data-race in unix_dgram_peer_wake_me().

Christophe JAILLET <[email protected]>
stmmac: intel: Fix an error handling path in intel_eth_pci_probe()

Masahiro Yamada <[email protected]>
xen: unexport __init-annotated xen_xlate_map_ballooned_pages()

Pablo Neira Ayuso <[email protected]>
netfilter: nf_tables: bail out early if hardware offload is not supported

Pablo Neira Ayuso <[email protected]>
netfilter: nf_tables: memleak flow rule from commit path

Pablo Neira Ayuso <[email protected]>
netfilter: nf_tables: release new hooks on unsupported flowtable flags

Miaoqian Lin <[email protected]>
ata: pata_octeon_cf: Fix refcount leak in octeon_cf_probe

Pablo Neira Ayuso <[email protected]>
netfilter: nf_tables: always initialize flowtable hook list in transaction

Chuck Lever <[email protected]>
SUNRPC: Trap RDMA segment overflows

Michael Ellerman <[email protected]>
powerpc/kasan: Force thread size increase with KASAN

Pablo Neira Ayuso <[email protected]>
netfilter: nf_tables: delete flowtable hooks via transaction list

Pablo Neira Ayuso <[email protected]>
netfilter: nf_tables: use kfree_rcu(ptr, rcu) to release hooks in clean_net path

Florian Westphal <[email protected]>
netfilter: nat: really support inet nat without l3 address

Marek Vasut <[email protected]>
drm/bridge: ti-sn65dsi83: Handle dsi_lanes == 0 as invalid

Christophe JAILLET <[email protected]>
drm/bridge: sn65dsi83: Fix an error handling path in sn65dsi83_probe()

Kinglong Mee <[email protected]>
xprtrdma: treat all calls not a bcall when bc_serv is NULL

Chao Yu <[email protected]>
f2fs: fix to tag gcing flag on page during file defragment

Greg Ungerer <[email protected]>
m68knommu: fix undefined reference to `mach_get_rtc_pll'

Liao Chang <[email protected]>
RISC-V: use memcpy for kexec_file mode

Yang Yingliang <[email protected]>
video: fbdev: pxa3xx-gcu: release the resources correctly in pxa3xx_gcu_probe/remove()

Saurabh Sengar <[email protected]>
video: fbdev: hyperv_fb: Allow resolutions with size > 64 MB for Gen1

Trond Myklebust <[email protected]>
NFSv4: Don't hold the layoutget locks across multiple RPC calls

Radhey Shyam Pandey <[email protected]>
dmaengine: zynqmp_dma: In struct zynqmp_dma_chan fix desc_size data type

Greg Ungerer <[email protected]>
m68knommu: fix undefined reference to `_init_sp'

Greg Ungerer <[email protected]>
m68knommu: set ZERO_PAGE() to the allocated zeroed page

Lucas Tanure <[email protected]>
i2c: cadence: Increase timeout per message if necessary

Dongliang Mu <[email protected]>
f2fs: remove WARN_ON in f2fs_is_valid_blkaddr

Yang Yingliang <[email protected]>
iommu/arm-smmu-v3: check return value after calling platform_get_resource()

Yang Yingliang <[email protected]>
iommu/arm-smmu: fix possible null-ptr-deref in arm_smmu_device_probe()

Mark-PK Tsai <[email protected]>
tracing: Avoid adding tracer option before update_tracer_options

Jun Miao <[email protected]>
tracing: Fix sleeping function called from invalid context on RT kernel

Jeff Xie <[email protected]>
tracing: Make tp_printk work on syscall tracepoints

Masami Hiramatsu <[email protected]>
bootconfig: Make the bootconfig.o as a normal object file

Gong Yuanjun <[email protected]>
mips: cpc: Fix refcount leak in mips_cpc_default_phys_base

Dave Jiang <[email protected]>
dmaengine: idxd: set DMA_INTERRUPT cap bit

Leo Yan <[email protected]>
perf c2c: Fix sorting in percent_rmt_hitm_cmp()

Saravana Kannan <[email protected]>
driver core: Fix wait_for_device_probe() & deferred_probe_timeout interaction

Hoang Le <[email protected]>
tipc: check attribute length for bearer name

Damien Le Moal <[email protected]>
scsi: sd: Fix potential NULL pointer dereference

David Howells <[email protected]>
afs: Fix infinite loop found by xfstest generic/676

Haibo Chen <[email protected]>
gpio: pca953x: use the correct register address to do regcache sync

Fabien Parent <[email protected]>
regulator: mt6315-regulator: fix invalid allowed mode

Alexander Gordeev <[email protected]>
s390/mcck: isolate SIE instruction when setting CIF_MCCK_GUEST flag

Dan Carpenter <[email protected]>
octeontx2-af: fix error code in is_valid_offset()

Jason Wang <[email protected]>
vdpa: ifcvf: set pci driver data in probe

Eric Dumazet <[email protected]>
tcp: tcp_rtx_synack() can be called from process context

Guoju Fang <[email protected]>
net: sched: add barrier to fix packet stuck problem for lockless qdisc

Maxim Mikityanskiy <[email protected]>
net/mlx5e: Update netdev features after changing XDP state

Changcheng Liu <[email protected]>
net/mlx5: correct ECE offset in query qp output

Paul Blakey <[email protected]>
net/mlx5: CT: Fix header-rewrite re-use for tupels

Maor Dickman <[email protected]>
net/mlx5e: TC NIC mode, fix tc chains miss table

Leon Romanovsky <[email protected]>
net/mlx5: Don't use already freed action pointer

Christophe JAILLET <[email protected]>
virtio: pci: Fix an error handling path in vp_modern_probe()

Eli Cohen <[email protected]>
vdpa: Fix error logic in vdpa_nl_cmd_dev_get_doit

Jens Axboe <[email protected]>
block: make bioset_exit() fully resilient against being called twice

Íñigo Huguet <[email protected]>
sfc: fix wrong tx channel offset with efx_separate_tx_channels

Martin Habets <[email protected]>
sfc: fix considering that all channels have TX queues

Yu Xiao <[email protected]>
nfp: only report pause frame configuration for physical device

Eric Dumazet <[email protected]>
tcp: add accessors to read/set tp->snd_cwnd

Guangguan Wang <[email protected]>
net/smc: fixes for converting from "struct smc_cdc_tx_pend **" to "struct smc_wr_tx_pend_priv *"

Heinrich Schuchardt <[email protected]>
riscv: read-only pages should not be writable

Christoph Hellwig <[email protected]>
block: take destination bvec offsets into account in bio_copy_data_iter

Menglong Dong <[email protected]>
bpf: Fix probe read error in ___bpf_prog_run()

Song Liu <[email protected]>
selftests/bpf: fix stacktrace_build_id with missing kprobe/urandom_read

Andrii Nakryiko <[email protected]>
selftests/bpf: fix selftest after random: Urandom_read tracepoint removal

Zhihao Cheng <[email protected]>
ubi: ubi_create_volume: Fix use-after-free when volume creation failed

Zhihao Cheng <[email protected]>
ubi: fastmap: Fix high cpu usage of ubi_bgt by making sure wl_pool not empty

Baokun Li <[email protected]>
jffs2: fix memory leak in jffs2_do_fill_super

Alexander Lobakin <[email protected]>
modpost: fix removing numeric suffixes

Miaoqian Lin <[email protected]>
net: dsa: mv88e6xxx: Fix refcount leak in mv88e6xxx_mdios_register

Miaoqian Lin <[email protected]>
net: ethernet: ti: am65-cpsw-nuss: Fix some refcount leaks

Dan Carpenter <[email protected]>
net: ethernet: mtk_eth_soc: out of bounds read in mtk_hwlro_get_fdir_entry()

Vincent Ray <[email protected]>
net: sched: fixed barrier to prevent skbuff sticking in qdisc backlog

Jann Horn <[email protected]>
s390/crypto: fix scatterwalk_unmap() callers in AES-GCM

Krzysztof Kozlowski <[email protected]>
clocksource/drivers/oxnas-rps: Fix irq_of_parse_and_map() return value

Shengjiu Wang <[email protected]>
ASoC: fsl_sai: Fix FSL_SAI_xDR/xFR definition

Ming Lei <[email protected]>
blk-mq: don't touch ->tagset in blk_mq_get_sq_hctx

Miaoqian Lin <[email protected]>
watchdog: ts4800_wdt: Fix refcount leak in ts4800_wdt_probe

Miaoqian Lin <[email protected]>
watchdog: rti-wdt: Fix pm_runtime_get_sync() error checking

Zhang Wensheng <[email protected]>
driver core: fix deadlock in __device_attach

Schspa Shi <[email protected]>
driver: base: fix UAF when driver_attach failed

Tony Lindgren <[email protected]>
bus: ti-sysc: Fix warnings for unbind for serial

Miaoqian Lin <[email protected]>
firmware: dmi-sysfs: Fix memory leak in dmi_sysfs_register_handle

Ilpo Järvinen <[email protected]>
serial: stm32-usart: Correct CSIZE, bits, and parity

Ilpo Järvinen <[email protected]>
serial: st-asc: Sanitize CSIZE and correct PARENB for CS7

Ilpo Järvinen <[email protected]>
serial: sifive: Sanitize CSIZE and c_iflag

Ilpo Järvinen <[email protected]>
serial: sh-sci: Don't allow CS5-6

Ilpo Järvinen <[email protected]>
serial: txx9: Don't allow CS5-6

Ilpo Järvinen <[email protected]>
serial: rda-uart: Don't allow CS5-6

Ilpo Järvinen <[email protected]>
serial: digicolor-usart: Don't allow CS5-6

YueHaibing <[email protected]>
serial: cpm_uart: Fix build error without CONFIG_SERIAL_CPM_CONSOLE

Ilpo Järvinen <[email protected]>
serial: 8250_fintek: Check SER_RS485_RTS_* only with RS485

John Ogness <[email protected]>
serial: meson: acquire port->lock in startup()

Tony Lindgren <[email protected]>
tty: n_gsm: Fix packet data hex dump output

Tony Lindgren <[email protected]>
tty: n_gsm: Don't ignore write return value in gsmld_output()

Jiasheng Jiang <[email protected]>
staging: r8188eu: add check for kzalloc

Miaoqian Lin <[email protected]>
rtc: ftrtc010: Fix error handling in ftrtc010_rtc_probe

Lad Prabhakar <[email protected]>
rtc: ftrtc010: Use platform_get_irq() to get the interrupt

Yang Yingliang <[email protected]>
rtc: mt6397: check return value after calling platform_get_resource()

Howard Chiu <[email protected]>
ARM: dts: aspeed: ast2600-evb: Enable RX delay for MAC0/MAC1

Samuel Holland <[email protected]>
clocksource/drivers/riscv: Events are stopped during CPU suspend

Miaoqian Lin <[email protected]>
soc: rockchip: Fix refcount leak in rockchip_grf_init

Li Jun <[email protected]>
extcon: ptn5150: Add queue work sync before driver release

Xin Xiong <[email protected]>
ksmbd: fix reference count leak in smb_check_perm_dacl()

Guilherme G. Piccoli <[email protected]>
coresight: cpu-debug: Replace mutex with mutex_trylock on panic notifier

Pierre-Louis Bossart <[email protected]>
soundwire: intel: prevent pm_runtime resume prior to system suspend

Greg Kroah-Hartman <[email protected]>
export: fix string handling of namespace in EXPORT_SYMBOL_NS

Maciej W. Rozycki <[email protected]>
serial: sifive: Report actual baud base rather than fixed 115200

Hans de Goede <[email protected]>
power: supply: axp288_fuel_gauge: Drop BIOS version check from "T3 MRD" DMI quirk

Johan Hovold <[email protected]>
phy: qcom-qmp: fix pipe-clock imbalance on power-on failure

Guilherme G. Piccoli <[email protected]>
misc/pvpanic: Convert regular spinlock into trylock on panic path

Andy Shevchenko <[email protected]>
pvpanic: Fix typos in the comments

Krzysztof Kozlowski <[email protected]>
rpmsg: qcom_smd: Fix returning 0 if irq_of_parse_and_map() fails

Cixi Geng <[email protected]>
iio: adc: sc27xx: Fine tune the scale calibration values

Cixi Geng <[email protected]>
iio: adc: sc27xx: fix read big scale voltage not right

Miaoqian Lin <[email protected]>
iio: proximity: vl53l0x: Fix return value check of wait_for_completion_timeout

Miaoqian Lin <[email protected]>
iio: adc: stmpe-adc: Fix wait_for_completion_timeout return value check

Arnaud Pouliquen <[email protected]>
rpmsg: virtio: Fix the unregistration of the device rpmsg_ctrl

Hangyu Hua <[email protected]>
rpmsg: virtio: Fix possible double free in rpmsg_virtio_add_ctrl_dev()

Hangyu Hua <[email protected]>
rpmsg: virtio: Fix possible double free in rpmsg_probe()

Bjorn Andersson <[email protected]>
usb: typec: mux: Check dev_set_name() return value

Xiaomeng Tong <[email protected]>
firmware: stratix10-svc: fix a missing check on list iterator

Xiaomeng Tong <[email protected]>
misc: fastrpc: fix an incorrect NULL check on list iterator

Zheng Yongjun <[email protected]>
usb: dwc3: pci: Fix pm_runtime_get_sync() error checking

Wesley Cheng <[email protected]>
usb: dwc3: gadget: Replace list_for_each_entry_safe() if using giveback

Krzysztof Kozlowski <[email protected]>
rpmsg: qcom_smd: Fix irq_of_parse_and_map() return value

Uwe Kleine-König <[email protected]>
pwm: raspberrypi-poe: Fix endianness in firmware struct

Uwe Kleine-König <[email protected]>
pwm: lp3943: Fix duty calculation in case period was clamped

Christophe JAILLET <[email protected]>
staging: fieldbus: Fix the error handling path in anybuss_host_common_probe()

Miaoqian Lin <[email protected]>
usb: musb: Fix missing of_node_put() in omap2430_probe

Lin Ma <[email protected]>
USB: storage: karma: fix rio_karma_init return

Niels Dossche <[email protected]>
usb: usbip: add missing device lock on tweak configuration cmd

Hangyu Hua <[email protected]>
usb: usbip: fix a refcount leak in stub_probe()

Peng Fan <[email protected]>
remoteproc: imx_rproc: Ignore create mem entry for resource table

Sherry Sun <[email protected]>
tty: serial: fsl_lpuart: fix potential bug when using both of_alias_get_id and ida_simple_get

Miaoqian Lin <[email protected]>
serial: 8250_aspeed_vuart: Fix potential NULL dereference in aspeed_vuart_probe

Daniel Gibson <[email protected]>
tty: n_tty: Restore EOF push handling behavior

Miaoqian Lin <[email protected]>
tty: serial: owl: Fix missing clk_disable_unprepare() in owl_uart_probe

Wang Weiyang <[email protected]>
tty: goldfish: Use tty_port_destroy() to destroy port

Christophe Leroy <[email protected]>
lkdtm/bugs: Don't expect thread termination without CONFIG_UBSAN_TRAP

Jiasheng Jiang <[email protected]>
lkdtm/bugs: Check for the NULL pointer after calling kmalloc

Alexandru Tachici <[email protected]>
iio: adc: ad7124: Remove shift from scan_type

Jakob Koschel <[email protected]>
staging: greybus: codecs: fix type confusion of list iterator variable

Randy Dunlap <[email protected]>
pcmcia: db1xxx_ss: restrict to MIPS_DB1XXX boards


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

Diffstat:

Documentation/ABI/testing/sysfs-ata | 11 ++--
.../bindings/regulator/mt6315-regulator.yaml | 4 +-
Makefile | 4 +-
arch/arm/boot/dts/aspeed-ast2600-evb.dts | 4 +-
arch/arm64/net/bpf_jit_comp.c | 1 +
arch/m68k/Kconfig.machine | 1 +
arch/m68k/include/asm/pgtable_no.h | 3 +-
arch/m68k/kernel/setup_mm.c | 7 ---
arch/m68k/kernel/setup_no.c | 1 -
arch/m68k/kernel/time.c | 9 +++
arch/mips/kernel/mips-cpc.c | 1 +
arch/powerpc/Kconfig | 2 -
arch/powerpc/include/asm/ppc-opcode.h | 2 +
arch/powerpc/include/asm/thread_info.h | 10 ++-
arch/powerpc/kernel/idle.c | 2 +-
arch/powerpc/kernel/idle_6xx.S | 2 +-
arch/powerpc/kernel/l2cr_6xx.S | 6 +-
arch/powerpc/kernel/ptrace/ptrace-fpu.c | 20 ++++--
arch/powerpc/kernel/ptrace/ptrace.c | 3 +
arch/powerpc/kernel/swsusp_32.S | 2 +-
arch/powerpc/kernel/swsusp_asm64.S | 2 +-
arch/powerpc/mm/mmu_context.c | 2 +-
arch/powerpc/platforms/powermac/cache.S | 4 +-
arch/riscv/kernel/efi.c | 2 +-
arch/riscv/kernel/machine_kexec.c | 4 +-
arch/s390/crypto/aes_s390.c | 4 +-
arch/s390/kernel/entry.S | 6 +-
arch/s390/mm/gmap.c | 14 +++++
arch/um/drivers/chan_kern.c | 10 +--
arch/um/drivers/line.c | 22 ++++---
arch/um/drivers/line.h | 4 +-
arch/um/drivers/ssl.c | 2 -
arch/um/drivers/stdio_console.c | 2 -
arch/um/include/asm/irq.h | 22 +++----
arch/x86/include/asm/cpufeature.h | 2 +-
block/bio.c | 9 ++-
block/blk-mq.c | 7 +--
drivers/ata/libata-transport.c | 2 +-
drivers/ata/pata_octeon_cf.c | 3 +
drivers/base/bus.c | 4 +-
drivers/base/dd.c | 10 ++-
drivers/block/nbd.c | 37 +++++++----
drivers/bus/ti-sysc.c | 4 +-
drivers/char/random.c | 15 +++--
drivers/char/xillybus/xillyusb.c | 1 +
drivers/clocksource/timer-oxnas-rps.c | 2 +-
drivers/clocksource/timer-riscv.c | 2 +-
drivers/clocksource/timer-sp804.c | 10 +--
drivers/dma/idxd/dma.c | 23 +++++++
drivers/dma/xilinx/zynqmp_dma.c | 5 +-
drivers/extcon/extcon-axp288.c | 4 +-
drivers/extcon/extcon-ptn5150.c | 11 ++++
drivers/extcon/extcon.c | 33 ++++++----
drivers/firmware/dmi-sysfs.c | 2 +-
drivers/firmware/stratix10-svc.c | 12 ++--
drivers/gpio/gpio-pca953x.c | 19 +++---
drivers/gpu/drm/amd/amdgpu/nv.c | 1 +
.../gpu/drm/amd/display/dc/dce/dce_clock_source.c | 9 ++-
drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c | 2 +-
drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c | 1 +
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c | 2 +-
drivers/gpu/drm/ast/ast_mode.c | 5 +-
drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 42 +++++++++++--
drivers/gpu/drm/bridge/ti-sn65dsi83.c | 34 +++++++---
drivers/gpu/drm/drm_atomic_helper.c | 16 ++++-
drivers/gpu/drm/imx/ipuv3-crtc.c | 2 +-
drivers/gpu/drm/radeon/radeon_connectors.c | 4 ++
drivers/hwtracing/coresight/coresight-cpu-debug.c | 7 ++-
drivers/i2c/busses/i2c-cadence.c | 12 +++-
drivers/iio/adc/ad7124.c | 1 -
drivers/iio/adc/sc27xx_adc.c | 20 +++---
drivers/iio/adc/stmpe-adc.c | 8 +--
drivers/iio/common/st_sensors/st_sensors_core.c | 24 ++++++--
drivers/iio/dummy/iio_simple_dummy.c | 20 +++---
drivers/iio/proximity/vl53l0x-i2c.c | 7 +--
drivers/input/mouse/bcm5974.c | 7 ++-
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 2 +
drivers/iommu/arm/arm-smmu/arm-smmu.c | 5 +-
drivers/md/md.c | 15 +++--
drivers/md/raid0.c | 31 +++++-----
drivers/misc/cardreader/rtsx_usb.c | 1 +
drivers/misc/fastrpc.c | 9 +--
drivers/misc/lkdtm/bugs.c | 10 ++-
drivers/misc/lkdtm/lkdtm.h | 8 +--
drivers/misc/lkdtm/usercopy.c | 17 ++++-
drivers/misc/pvpanic/pvpanic-mmio.c | 2 +-
drivers/misc/pvpanic/pvpanic.c | 10 ++-
drivers/mmc/core/block.c | 3 +-
drivers/mtd/ubi/fastmap-wl.c | 69 ++++++++++++++-------
drivers/mtd/ubi/fastmap.c | 11 ----
drivers/mtd/ubi/ubi.h | 4 +-
drivers/mtd/ubi/vmt.c | 1 -
drivers/mtd/ubi/wl.c | 19 +++---
drivers/net/dsa/lantiq_gswip.c | 4 +-
drivers/net/dsa/mv88e6xxx/chip.c | 1 +
drivers/net/dsa/mv88e6xxx/serdes.c | 27 ++++----
drivers/net/ethernet/altera/altera_tse_main.c | 6 +-
drivers/net/ethernet/intel/i40e/i40e_txrx.c | 11 ----
drivers/net/ethernet/intel/i40e/i40e_txrx.h | 1 -
drivers/net/ethernet/intel/i40e/i40e_xsk.c | 4 +-
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c | 8 +--
.../net/ethernet/marvell/octeontx2/af/rvu_cpt.c | 2 +-
drivers/net/ethernet/mediatek/mtk_eth_soc.c | 3 +
drivers/net/ethernet/mellanox/mlx4/en_ethtool.c | 2 +-
drivers/net/ethernet/mellanox/mlx5/core/dev.c | 72 +++++++++++++++++-----
.../ethernet/mellanox/mlx5/core/diag/fw_tracer.c | 7 ++-
drivers/net/ethernet/mellanox/mlx5/core/en/fs.h | 2 +
drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c | 19 +++---
drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 5 ++
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c | 38 +++++++++++-
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c | 37 +++++++++--
drivers/net/ethernet/mellanox/mlx5/core/lag.c | 12 ++--
.../net/ethernet/mellanox/mlx5/core/mlx5_core.h | 1 +
.../ethernet/mellanox/mlx5/core/steering/fs_dr.c | 9 ++-
.../net/ethernet/netronome/nfp/flower/conntrack.c | 32 +++++-----
drivers/net/ethernet/netronome/nfp/flower/match.c | 16 ++---
.../net/ethernet/netronome/nfp/nfp_net_ethtool.c | 4 +-
drivers/net/ethernet/sfc/efx_channels.c | 6 +-
drivers/net/ethernet/sfc/net_driver.h | 2 +-
drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c | 4 +-
drivers/net/ethernet/ti/am65-cpsw-nuss.c | 3 +-
drivers/net/phy/dp83867.c | 29 +++++++++
drivers/net/phy/mdio_bus.c | 1 -
drivers/nfc/st21nfca/se.c | 53 +++++++++-------
drivers/pci/controller/dwc/pcie-qcom.c | 6 --
drivers/pcmcia/Kconfig | 2 +-
drivers/phy/qualcomm/phy-qcom-qmp.c | 2 +-
drivers/power/supply/axp288_charger.c | 17 ++---
drivers/power/supply/axp288_fuel_gauge.c | 1 -
drivers/power/supply/charger-manager.c | 7 +--
drivers/power/supply/max8997_charger.c | 8 +--
drivers/pwm/pwm-lp3943.c | 1 +
drivers/pwm/pwm-raspberrypi-poe.c | 2 +-
drivers/remoteproc/imx_rproc.c | 3 +
drivers/rpmsg/qcom_smd.c | 4 +-
drivers/rpmsg/virtio_rpmsg_bus.c | 9 ++-
drivers/rtc/rtc-ftrtc010.c | 38 ++++++++----
drivers/rtc/rtc-mt6397.c | 2 +
drivers/scsi/myrb.c | 11 +++-
drivers/scsi/sd.c | 1 -
drivers/soc/rockchip/grf.c | 2 +
drivers/soundwire/intel.c | 3 +
drivers/soundwire/qcom.c | 2 +-
drivers/staging/fieldbus/anybuss/host.c | 2 +-
drivers/staging/greybus/audio_codec.c | 4 +-
drivers/staging/r8188eu/core/rtw_xmit.c | 13 +++-
drivers/staging/r8188eu/include/rtw_xmit.h | 2 +-
drivers/staging/rtl8192e/rtllib_softmac.c | 2 +-
.../staging/rtl8192u/ieee80211/ieee80211_softmac.c | 2 +-
drivers/staging/rtl8712/os_intfs.c | 1 -
drivers/staging/rtl8712/usb_intf.c | 12 ++--
drivers/staging/rtl8712/usb_ops.c | 27 +++++---
drivers/staging/rtl8723bs/core/rtw_mlme.c | 12 ++--
drivers/thunderbolt/tb.c | 19 +++++-
drivers/thunderbolt/test.c | 16 ++---
drivers/thunderbolt/tunnel.c | 11 ++--
drivers/thunderbolt/tunnel.h | 4 +-
drivers/tty/goldfish.c | 2 +
drivers/tty/n_gsm.c | 36 +++++++----
drivers/tty/n_tty.c | 38 +++++++++++-
drivers/tty/serial/8250/8250_aspeed_vuart.c | 2 +
drivers/tty/serial/8250/8250_fintek.c | 8 +--
drivers/tty/serial/cpm_uart/cpm_uart_core.c | 2 +-
drivers/tty/serial/digicolor-usart.c | 2 +
drivers/tty/serial/fsl_lpuart.c | 24 ++------
drivers/tty/serial/icom.c | 2 +-
drivers/tty/serial/meson_uart.c | 13 ++++
drivers/tty/serial/msm_serial.c | 5 ++
drivers/tty/serial/owl-uart.c | 1 +
drivers/tty/serial/rda-uart.c | 2 +
drivers/tty/serial/sa1100.c | 4 +-
drivers/tty/serial/serial_txx9.c | 2 +
drivers/tty/serial/sh-sci.c | 6 +-
drivers/tty/serial/sifive.c | 8 ++-
drivers/tty/serial/st-asc.c | 4 ++
drivers/tty/serial/stm32-usart.c | 15 ++++-
drivers/tty/synclink_gt.c | 2 +
drivers/tty/sysrq.c | 13 ++--
drivers/usb/core/hcd-pci.c | 4 +-
drivers/usb/dwc2/gadget.c | 1 -
drivers/usb/dwc3/drd.c | 9 +--
drivers/usb/dwc3/dwc3-pci.c | 2 +-
drivers/usb/dwc3/gadget.c | 20 ++++--
drivers/usb/host/isp116x-hcd.c | 6 +-
drivers/usb/host/oxu210hp-hcd.c | 2 +
drivers/usb/musb/omap2430.c | 1 +
drivers/usb/phy/phy-omap-otg.c | 4 +-
drivers/usb/storage/karma.c | 15 ++---
drivers/usb/typec/mux.c | 14 +++--
drivers/usb/typec/tcpm/fusb302.c | 4 +-
drivers/usb/usbip/stub_dev.c | 2 +-
drivers/usb/usbip/stub_rx.c | 2 +
drivers/vdpa/ifcvf/ifcvf_main.c | 3 +-
drivers/vdpa/vdpa.c | 13 ++--
drivers/vdpa/vdpa_user/vduse_dev.c | 7 +--
drivers/vhost/vringh.c | 10 ++-
drivers/video/fbdev/hyperv_fb.c | 19 +-----
drivers/video/fbdev/pxa3xx-gcu.c | 12 ++--
drivers/virtio/virtio_pci_modern_dev.c | 1 +
drivers/watchdog/rti_wdt.c | 2 +-
drivers/watchdog/ts4800_wdt.c | 5 +-
drivers/watchdog/wdat_wdt.c | 1 +
drivers/xen/xlate_mmu.c | 1 -
fs/afs/dir.c | 5 +-
fs/ceph/mds_client.c | 33 ++++++++--
fs/ceph/xattr.c | 10 ++-
fs/cifs/cifsfs.c | 2 +-
fs/cifs/cifsfs.h | 2 +-
fs/cifs/cifsglob.h | 4 +-
fs/cifs/misc.c | 27 ++++----
fs/cifs/smb2ops.c | 7 ++-
fs/cifs/smb2pdu.c | 3 +
fs/f2fs/checkpoint.c | 4 +-
fs/f2fs/file.c | 1 +
fs/fs-writeback.c | 37 ++++++++---
fs/inode.c | 2 +-
fs/jffs2/fs.c | 1 +
fs/kernfs/dir.c | 31 ++++++----
fs/ksmbd/smbacl.c | 1 +
fs/nfs/nfs4proc.c | 4 ++
fs/zonefs/super.c | 11 ++--
include/linux/export.h | 7 ++-
include/linux/extcon.h | 2 +-
include/linux/iio/common/st_sensors.h | 3 +
include/linux/jump_label.h | 4 +-
include/linux/mlx5/mlx5_ifc.h | 5 +-
include/linux/nodemask.h | 38 ++++++------
include/linux/random.h | 2 +-
include/net/flow_offload.h | 1 +
include/net/netfilter/nf_tables.h | 1 -
include/net/netfilter/nf_tables_offload.h | 2 +-
include/net/sch_generic.h | 42 +++++--------
include/net/tcp.h | 19 ++++--
include/net/xdp_sock_drv.h | 5 +-
include/net/xsk_buff_pool.h | 2 +
include/trace/events/tcp.h | 2 +-
kernel/bpf/core.c | 14 ++---
kernel/trace/trace.c | 13 +++-
kernel/trace/trace_syscalls.c | 35 ++++-------
lib/Makefile | 2 +-
lib/iov_iter.c | 20 ++----
lib/nodemask.c | 4 +-
net/core/filter.c | 2 +-
net/core/flow_offload.c | 6 ++
net/ipv4/inet_hashtables.c | 10 +--
net/ipv4/ip_gre.c | 11 ++--
net/ipv4/tcp.c | 8 +--
net/ipv4/tcp_bbr.c | 20 +++---
net/ipv4/tcp_bic.c | 14 ++---
net/ipv4/tcp_cdg.c | 30 ++++-----
net/ipv4/tcp_cong.c | 18 +++---
net/ipv4/tcp_cubic.c | 22 +++----
net/ipv4/tcp_dctcp.c | 11 ++--
net/ipv4/tcp_highspeed.c | 18 +++---
net/ipv4/tcp_htcp.c | 10 +--
net/ipv4/tcp_hybla.c | 18 +++---
net/ipv4/tcp_illinois.c | 12 ++--
net/ipv4/tcp_input.c | 41 ++++++------
net/ipv4/tcp_ipv4.c | 2 +-
net/ipv4/tcp_lp.c | 6 +-
net/ipv4/tcp_metrics.c | 12 ++--
net/ipv4/tcp_nv.c | 24 ++++----
net/ipv4/tcp_output.c | 34 +++++-----
net/ipv4/tcp_rate.c | 2 +-
net/ipv4/tcp_scalable.c | 4 +-
net/ipv4/tcp_vegas.c | 21 ++++---
net/ipv4/tcp_veno.c | 24 ++++----
net/ipv4/tcp_westwood.c | 3 +-
net/ipv4/tcp_yeah.c | 30 ++++-----
net/ipv4/xfrm4_protocol.c | 1 -
net/ipv6/seg6_hmac.c | 1 -
net/ipv6/tcp_ipv6.c | 2 +-
net/key/af_key.c | 10 +--
net/netfilter/nf_tables_api.c | 54 +++++++---------
net/netfilter/nf_tables_offload.c | 23 ++++++-
net/netfilter/nft_nat.c | 3 +-
net/openvswitch/actions.c | 6 ++
net/openvswitch/conntrack.c | 4 +-
net/sched/act_police.c | 16 ++++-
net/smc/smc_cdc.c | 2 +-
net/sunrpc/xdr.c | 6 +-
net/sunrpc/xprtrdma/rpc_rdma.c | 5 ++
net/sunrpc/xprtrdma/svc_rdma_rw.c | 4 +-
net/tipc/bearer.c | 3 +-
net/unix/af_unix.c | 2 +-
net/xdp/xsk.c | 29 ++++++---
net/xdp/xsk_buff_pool.c | 15 +++++
net/xdp/xsk_queue.h | 14 +----
scripts/gdb/linux/config.py | 6 +-
scripts/mod/modpost.c | 5 +-
security/keys/trusted-keys/trusted_tpm2.c | 4 +-
sound/pci/hda/patch_conexant.c | 7 +++
sound/pci/hda/patch_realtek.c | 2 +
sound/soc/fsl/fsl_sai.h | 4 +-
sound/usb/pcm.c | 5 +-
sound/usb/quirks-table.h | 7 ++-
tools/perf/builtin-c2c.c | 4 +-
.../selftests/bpf/progs/test_stacktrace_build_id.c | 12 +---
.../testing/selftests/net/forwarding/tc_police.sh | 52 ++++++++++++++++
tools/testing/selftests/netfilter/nft_nat.sh | 43 +++++++++++++
300 files changed, 1925 insertions(+), 1120 deletions(-)



2022-06-13 21:31:27

by Florian Fainelli

[permalink] [raw]
Subject: Re: [PATCH 5.15 000/251] 5.15.47-rc2 review

On 6/13/22 11:19, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.15.47 release.
> There are 251 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 Wed, 15 Jun 2022 18:18:03 +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.15.47-rc2.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.15.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h

On ARCH_BRCMSTB using 32-bit and 64-bit ARM kernels:

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

2022-06-14 03:09:07

by Shuah Khan

[permalink] [raw]
Subject: Re: [PATCH 5.15 000/251] 5.15.47-rc2 review

On 6/13/22 12:19 PM, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.15.47 release.
> There are 251 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 Wed, 15 Jun 2022 18:18:03 +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.15.47-rc2.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.15.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

2022-06-14 03:51:55

by Fox Chen

[permalink] [raw]
Subject: RE: [PATCH 5.15 000/251] 5.15.47-rc2 review

On Mon, 13 Jun 2022 20:19:49 +0200, Greg Kroah-Hartman <[email protected]> wrote:
> This is the start of the stable review cycle for the 5.15.47 release.
> There are 251 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 Wed, 15 Jun 2022 18:18:03 +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.15.47-rc2.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.15.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
>

5.15.47-rc2 Successfully Compiled and booted on my Raspberry PI 4b (8g) (bcm2711)

Tested-by: Fox Chen <[email protected]>

2022-06-14 10:23:36

by Sudip Mukherjee

[permalink] [raw]
Subject: Re: [PATCH 5.15 000/251] 5.15.47-rc2 review

Hi Greg,

On Mon, Jun 13, 2022 at 08:19:49PM +0200, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.15.47 release.
> There are 251 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 Wed, 15 Jun 2022 18:18:03 +0000.
> Anything received after that time might be too late.

Build test (gcc version 11.3.1 20220612):
mips: 62 configs -> no failure
arm: 99 configs -> no failure
arm64: 3 configs -> no failure
x86_64: 4 configs -> no failure
alpha allmodconfig -> no failure
csky allmodconfig -> no failure
powerpc allmodconfig -> no failure
riscv allmodconfig -> no failure
s390 allmodconfig -> no failure
xtensa allmodconfig -> no failure

Boot test:
x86_64: Booted on my test laptop. No regression.
x86_64: Booted on qemu. No regression. [1]
arm64: Booted on rpi4b (4GB model). No regression. [2]
mips: Booted on ci20 board. No regression. [3]

[1]. https://openqa.qa.codethink.co.uk/tests/1320
[2]. https://openqa.qa.codethink.co.uk/tests/1324
[3]. https://openqa.qa.codethink.co.uk/tests/1326

Tested-by: Sudip Mukherjee <[email protected]>

--
Regards
Sudip

2022-06-14 15:48:23

by Guenter Roeck

[permalink] [raw]
Subject: Re: [PATCH 5.15 000/251] 5.15.47-rc2 review

On Mon, Jun 13, 2022 at 08:19:49PM +0200, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.15.47 release.
> There are 251 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 Wed, 15 Jun 2022 18:18:03 +0000.
> Anything received after that time might be too late.
>

Build results:
total: 159 pass: 159 fail: 0
Qemu test results:
total: 488 pass: 488 fail: 0

Tested-by: Guenter Roeck <[email protected]>

Guenter

2022-06-14 17:02:35

by Allen Pais

[permalink] [raw]
Subject: Re: [PATCH 5.15 000/251] 5.15.47-rc2 review

Boot test:
x86_64 & arm64. No regression.

Tested-by: Allen Pais <[email protected]>

On Tue, Jun 14, 2022 at 8:37 AM Guenter Roeck <[email protected]> wrote:
>
> On Mon, Jun 13, 2022 at 08:19:49PM +0200, Greg Kroah-Hartman wrote:
> > This is the start of the stable review cycle for the 5.15.47 release.
> > There are 251 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 Wed, 15 Jun 2022 18:18:03 +0000.
> > Anything received after that time might be too late.
> >
>
> Build results:
> total: 159 pass: 159 fail: 0
> Qemu test results:
> total: 488 pass: 488 fail: 0
>
> Tested-by: Guenter Roeck <[email protected]>
>
> Guenter

2022-06-14 17:15:23

by Guenter Roeck

[permalink] [raw]
Subject: Re: [PATCH 5.15 000/251] 5.15.47-rc2 review

On Tue, Jun 14, 2022 at 08:36:08AM -0700, Guenter Roeck wrote:
> On Mon, Jun 13, 2022 at 08:19:49PM +0200, Greg Kroah-Hartman wrote:
> > This is the start of the stable review cycle for the 5.15.47 release.
> > There are 251 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 Wed, 15 Jun 2022 18:18:03 +0000.
> > Anything received after that time might be too late.
> >
>
> Build results:
> total: 159 pass: 159 fail: 0
> Qemu test results:
> total: 488 pass: 488 fail: 0
>

I spoke a bit too early. I see the following backtrace in some qemu arm
boot tests.

BUG: spinlock bad magic on CPU#0, kdevtmpfs/15
lock: noop_backing_dev_info+0x6c/0x3b0, .magic: 00000000, .owner: <none>/-1, .owner_cpu: 0
CPU: 0 PID: 15 Comm: kdevtmpfs Not tainted 5.15.47-rc2-00252-g677f0128d0ed #1
Hardware name: ARM RealView Machine (Device Tree Support)
[<c01101d0>] (unwind_backtrace) from [<c010bc0c>] (show_stack+0x10/0x14)
[<c010bc0c>] (show_stack) from [<c0a10ae4>] (dump_stack_lvl+0x68/0x90)
[<c0a10ae4>] (dump_stack_lvl) from [<c0191250>] (do_raw_spin_lock+0xbc/0x124)
[<c0191250>] (do_raw_spin_lock) from [<c02eb578>] (__mark_inode_dirty+0x1cc/0x704)
[<c02eb578>] (__mark_inode_dirty) from [<c02e6a74>] (simple_setattr+0x44/0x5c)
[<c02e6a74>] (simple_setattr) from [<c02d7a18>] (notify_change+0x400/0x45c)
[<c02d7a18>] (notify_change) from [<c0a19ef8>] (devtmpfsd+0x1f8/0x2b8)
[<c0a19ef8>] (devtmpfsd) from [<c014cf3c>] (kthread+0x150/0x17c)
[<c014cf3c>] (kthread) from [<c0100120>] (ret_from_fork+0x14/0x34)
Exception stack(0xd00dbfb0 to 0xd00dbff8)
bfa0: 00000000 00000000 00000000 00000000
bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
bfe0: 00000000 00000000 00000000 00000000 00000013 00000000

This bisects to commit bc5d960d4e58 ("writeback: Fix inode->i_io_list not
be protected by inode->i_lock error"). The problem is also seen in the
mainline kernel. v5.15.y.queue and later are affected. Reverting the patch
here and in mainline fixes the problem.

Guenter

2022-06-14 17:29:36

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [PATCH 5.15 000/251] 5.15.47-rc2 review

On Tue, Jun 14, 2022 at 10:08:27AM -0700, Guenter Roeck wrote:
> On Tue, Jun 14, 2022 at 08:36:08AM -0700, Guenter Roeck wrote:
> > On Mon, Jun 13, 2022 at 08:19:49PM +0200, Greg Kroah-Hartman wrote:
> > > This is the start of the stable review cycle for the 5.15.47 release.
> > > There are 251 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 Wed, 15 Jun 2022 18:18:03 +0000.
> > > Anything received after that time might be too late.
> > >
> >
> > Build results:
> > total: 159 pass: 159 fail: 0
> > Qemu test results:
> > total: 488 pass: 488 fail: 0
> >
>
> I spoke a bit too early. I see the following backtrace in some qemu arm
> boot tests.
>
> BUG: spinlock bad magic on CPU#0, kdevtmpfs/15
> lock: noop_backing_dev_info+0x6c/0x3b0, .magic: 00000000, .owner: <none>/-1, .owner_cpu: 0
> CPU: 0 PID: 15 Comm: kdevtmpfs Not tainted 5.15.47-rc2-00252-g677f0128d0ed #1
> Hardware name: ARM RealView Machine (Device Tree Support)
> [<c01101d0>] (unwind_backtrace) from [<c010bc0c>] (show_stack+0x10/0x14)
> [<c010bc0c>] (show_stack) from [<c0a10ae4>] (dump_stack_lvl+0x68/0x90)
> [<c0a10ae4>] (dump_stack_lvl) from [<c0191250>] (do_raw_spin_lock+0xbc/0x124)
> [<c0191250>] (do_raw_spin_lock) from [<c02eb578>] (__mark_inode_dirty+0x1cc/0x704)
> [<c02eb578>] (__mark_inode_dirty) from [<c02e6a74>] (simple_setattr+0x44/0x5c)
> [<c02e6a74>] (simple_setattr) from [<c02d7a18>] (notify_change+0x400/0x45c)
> [<c02d7a18>] (notify_change) from [<c0a19ef8>] (devtmpfsd+0x1f8/0x2b8)
> [<c0a19ef8>] (devtmpfsd) from [<c014cf3c>] (kthread+0x150/0x17c)
> [<c014cf3c>] (kthread) from [<c0100120>] (ret_from_fork+0x14/0x34)
> Exception stack(0xd00dbfb0 to 0xd00dbff8)
> bfa0: 00000000 00000000 00000000 00000000
> bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
> bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
>
> This bisects to commit bc5d960d4e58 ("writeback: Fix inode->i_io_list not
> be protected by inode->i_lock error"). The problem is also seen in the
> mainline kernel. v5.15.y.queue and later are affected. Reverting the patch
> here and in mainline fixes the problem.

Thanks for letting me know. Hopefully it gets fixed in upstream...

2022-06-14 18:29:12

by Thomas Backlund

[permalink] [raw]
Subject: Re: [PATCH 5.15 000/251] 5.15.47-rc2 review

Den 2022-06-14 kl. 20:12, skrev Greg Kroah-Hartman:
> On Tue, Jun 14, 2022 at 10:08:27AM -0700, Guenter Roeck wrote:
>> On Tue, Jun 14, 2022 at 08:36:08AM -0700, Guenter Roeck wrote:
>>> On Mon, Jun 13, 2022 at 08:19:49PM +0200, Greg Kroah-Hartman wrote:
>>>> This is the start of the stable review cycle for the 5.15.47 release.
>>>> There are 251 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 Wed, 15 Jun 2022 18:18:03 +0000.
>>>> Anything received after that time might be too late.
>>>>
>>>
>>> Build results:
>>> total: 159 pass: 159 fail: 0
>>> Qemu test results:
>>> total: 488 pass: 488 fail: 0
>>>
>>
>> I spoke a bit too early. I see the following backtrace in some qemu arm
>> boot tests.
>>
>> BUG: spinlock bad magic on CPU#0, kdevtmpfs/15
>> lock: noop_backing_dev_info+0x6c/0x3b0, .magic: 00000000, .owner: <none>/-1, .owner_cpu: 0
>> CPU: 0 PID: 15 Comm: kdevtmpfs Not tainted 5.15.47-rc2-00252-g677f0128d0ed #1
>> Hardware name: ARM RealView Machine (Device Tree Support)
>> [<c01101d0>] (unwind_backtrace) from [<c010bc0c>] (show_stack+0x10/0x14)
>> [<c010bc0c>] (show_stack) from [<c0a10ae4>] (dump_stack_lvl+0x68/0x90)
>> [<c0a10ae4>] (dump_stack_lvl) from [<c0191250>] (do_raw_spin_lock+0xbc/0x124)
>> [<c0191250>] (do_raw_spin_lock) from [<c02eb578>] (__mark_inode_dirty+0x1cc/0x704)
>> [<c02eb578>] (__mark_inode_dirty) from [<c02e6a74>] (simple_setattr+0x44/0x5c)
>> [<c02e6a74>] (simple_setattr) from [<c02d7a18>] (notify_change+0x400/0x45c)
>> [<c02d7a18>] (notify_change) from [<c0a19ef8>] (devtmpfsd+0x1f8/0x2b8)
>> [<c0a19ef8>] (devtmpfsd) from [<c014cf3c>] (kthread+0x150/0x17c)
>> [<c014cf3c>] (kthread) from [<c0100120>] (ret_from_fork+0x14/0x34)
>> Exception stack(0xd00dbfb0 to 0xd00dbff8)
>> bfa0: 00000000 00000000 00000000 00000000
>> bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
>> bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
>>
>> This bisects to commit bc5d960d4e58 ("writeback: Fix inode->i_io_list not
>> be protected by inode->i_lock error"). The problem is also seen in the
>> mainline kernel. v5.15.y.queue and later are affected. Reverting the patch
>> here and in mainline fixes the problem.
>
> Thanks for letting me know. Hopefully it gets fixed in upstream...
>

I "think" this is the suggested fix:

https://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git/commit/?h=for_next&id=46b6418e26c7c26f98ff9c2c2310bce5ae2aa4dd

--
Thomas


2022-06-14 19:15:53

by Linus Torvalds

[permalink] [raw]
Subject: Re: [PATCH 5.15 000/251] 5.15.47-rc2 review

On Tue, Jun 14, 2022 at 11:20 AM Thomas Backlund <[email protected]> wrote:
>
> I "think" this is the suggested fix:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git/commit/?h=for_next&id=46b6418e26c7c26f98ff9c2c2310bce5ae2aa4dd

Ugh, this is just too ugly for words.

That's not a fix. That's a "hide the problem" patch.

Now, admittedly clearly the "hide the problem" code already existed,
and was just moved earlier, but I really think this whole "we're
calling __mark_inode_dirty() on an inode that isn't even *initialized*
yet" is a much deeper issue, and shouldn't have some hacky work-around
in __mark_inode_dirty() that just happens to make it work.

I don't mind that patch per se - moving the code is fine.

But I *do* mind the patch when the reason is to hide that wrong
ordering of operations.

Now, maybe a proper fix might be to say that new_inode_pseudo() should
always initialize i_state to I_DIRTY_ALL or something like that. The
comment already says that they cannot participate in writeback, so
maybe they should be disabled that way (ie a pseudo inode is always
dirty and marking it dirty does nothing).

And then you get rid of the noop_backing_dev_info entirely.

Or just make sure that noop_backing_dev_info is fully initialized
before it's used.

Because I think the real problem here is that things have a pointer to
an uninitialized backing_dev_info.

Hmm? Jan?

Linus

2022-06-14 19:20:51

by Naresh Kamboju

[permalink] [raw]
Subject: Re: [PATCH 5.15 000/251] 5.15.47-rc2 review

On Mon, 13 Jun 2022 at 23:49, Greg Kroah-Hartman
<[email protected]> wrote:
>
> This is the start of the stable review cycle for the 5.15.47 release.
> There are 251 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 Wed, 15 Jun 2022 18:18:03 +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.15.47-rc2.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.15.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.15.47-rc2
* git: https://gitlab.com/Linaro/lkft/mirrors/stable/linux-stable-rc
* git branch: linux-5.15.y
* git commit: 677f0128d0ed8a3d320b74e8e35b214163070d47
* git describe: v5.15.45-920-g677f0128d0ed
* test details:
https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.15.y/build/v5.15.45-920-g677f0128d0ed

## Test Regressions (compared to v5.15.45-668-g53f46ca17ebd)
No test regressions found.

## Metric Regressions (compared to v5.15.45-668-g53f46ca17ebd)
No metric regressions found.

## Test Fixes (compared to v5.15.45-668-g53f46ca17ebd)
No test fixes found.

## Metric Fixes (compared to v5.15.45-668-g53f46ca17ebd)
No metric fixes found.

## Test result summary
total: 128456, pass: 114638, fail: 265, skip: 12605, xfail: 948

## Build Summary
* arc: 10 total, 10 passed, 0 failed
* arm: 314 total, 314 passed, 0 failed
* arm64: 58 total, 58 passed, 0 failed
* i386: 52 total, 49 passed, 3 failed
* mips: 37 total, 37 passed, 0 failed
* parisc: 12 total, 12 passed, 0 failed
* powerpc: 54 total, 54 passed, 0 failed
* riscv: 22 total, 22 passed, 0 failed
* s390: 21 total, 21 passed, 0 failed
* sh: 24 total, 24 passed, 0 failed
* sparc: 12 total, 12 passed, 0 failed
* x86_64: 56 total, 55 passed, 1 failed

## Test suites summary
* fwts
* igt-gpu-tools
* kunit
* kvm-unit-tests
* libgpiod
* libhugetlbfs
* log-parser-boot
* log-parser-test
* ltp-cap_bounds
* ltp-cap_bounds-tests
* ltp-commands
* ltp-commands-tests
* ltp-containers
* ltp-containers-tests
* ltp-controllers-tests
* ltp-cpuhotplug-tests
* ltp-crypto
* ltp-crypto-tests
* ltp-cve-tests
* ltp-dio-tests
* ltp-fcntl-locktests
* ltp-fcntl-locktests-tests
* ltp-filecaps
* ltp-filecaps-tests
* ltp-fs
* ltp-fs-tests
* ltp-fs_bind
* ltp-fs_bind-tests
* ltp-fs_perms_simple
* ltp-fs_perms_simple-tests
* ltp-fsx
* ltp-fsx-tests
* ltp-hugetlb
* ltp-hugetlb-tests
* ltp-io
* ltp-io-tests
* ltp-ipc
* ltp-ipc-tests
* ltp-math-tests
* ltp-mm-tests
* ltp-nptl
* ltp-nptl-tests
* ltp-open-posix-tests
* ltp-pty
* ltp-pty-tests
* ltp-sched-tests
* ltp-securebits
* ltp-securebits-tests
* ltp-smoke
* ltp-syscalls-tests
* ltp-tracing-tests
* network-basic-tests
* packetdrill
* perf
* perf/Zstd-perf.data-compression
* rcutorture
* ssuite
* v4l2-compliance
* vdso

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

2022-06-14 19:25:40

by Linus Torvalds

[permalink] [raw]
Subject: Re: [PATCH 5.15 000/251] 5.15.47-rc2 review

On Tue, Jun 14, 2022 at 11:51 AM Linus Torvalds
<[email protected]> wrote:
>
> Or just make sure that noop_backing_dev_info is fully initialized
> before it's used.

I don't see any real reason why that

err = bdi_init(&noop_backing_dev_info);

couldn't just be done very early. Maybe as the first call in
driver_init(), before the whole devtmpfs_init() etc.

But I might be missing some dependency there.

Linus

2022-06-15 10:33:25

by Jan Kara

[permalink] [raw]
Subject: Re: [PATCH 5.15 000/251] 5.15.47-rc2 review

On Tue 14-06-22 11:51:35, Linus Torvalds wrote:
> On Tue, Jun 14, 2022 at 11:20 AM Thomas Backlund <[email protected]> wrote:
> >
> > I "think" this is the suggested fix:
> >
> > https://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git/commit/?h=for_next&id=46b6418e26c7c26f98ff9c2c2310bce5ae2aa4dd
>
> Ugh, this is just too ugly for words.
>
> That's not a fix. That's a "hide the problem" patch.

I agree it is papering over the real problem. I consider that a stopgap
solution so that machines can boot until we find a cleaner solution.

> Now, admittedly clearly the "hide the problem" code already existed,
> and was just moved earlier, but I really think this whole "we're
> calling __mark_inode_dirty() on an inode that isn't even *initialized*
> yet" is a much deeper issue, and shouldn't have some hacky work-around
> in __mark_inode_dirty() that just happens to make it work.
>
> I don't mind that patch per se - moving the code is fine.
>
> But I *do* mind the patch when the reason is to hide that wrong
> ordering of operations.
>
> Now, maybe a proper fix might be to say that new_inode_pseudo() should
> always initialize i_state to I_DIRTY_ALL or something like that. The
> comment already says that they cannot participate in writeback, so
> maybe they should be disabled that way (ie a pseudo inode is always
> dirty and marking it dirty does nothing).

Sadly it is not so simple. Firstly, new_inode_pseudo() gets used for all
inodes (through new_inode()), secondly, tmpfs allocates fully standard
inodes through new_inode() as any other filesystem. We could check
writeback capabilities of the sb->s_bdi in new_inode_pseudo() but that
would not work for inodes that will become block device inodes because
blockdev_superblock has noop_backing_dev_info so we'd have to specialcase
that. Overall it looks a bit hairy to my taste.

> And then you get rid of the noop_backing_dev_info entirely.

And this would be even more difficult because there are other places that
expect there's *some* bdi associated with each sb.

> Or just make sure that noop_backing_dev_info is fully initialized
> before it's used.
>
> Because I think the real problem here is that things have a pointer to
> an uninitialized backing_dev_info.

I fully agree with this. IMHO we need to initialize noop_backing_dev_info
earlier but early init is not exactly my comfort zone so I have to verify
whether various stuff in cgwb_bdi_init() is safe to call so early...

Honza
--
Jan Kara <[email protected]>
SUSE Labs, CR

2022-06-15 11:51:29

by Jan Kara

[permalink] [raw]
Subject: Re: [PATCH 5.15 000/251] 5.15.47-rc2 review

On Tue 14-06-22 12:00:22, Linus Torvalds wrote:
> On Tue, Jun 14, 2022 at 11:51 AM Linus Torvalds
> <[email protected]> wrote:
> >
> > Or just make sure that noop_backing_dev_info is fully initialized
> > before it's used.
>
> I don't see any real reason why that
>
> err = bdi_init(&noop_backing_dev_info);
>
> couldn't just be done very early. Maybe as the first call in
> driver_init(), before the whole devtmpfs_init() etc.

I've checked the dependencies and cgroups (which are the only non-trivial
dependency besides per-CPU infrastructure) are initialized early enough so
it should work fine. So let's try that.

Honza
--
Jan Kara <[email protected]>
SUSE Labs, CR

2022-06-15 13:50:32

by Jan Kara

[permalink] [raw]
Subject: Re: [PATCH 5.15 000/251] 5.15.47-rc2 review

On Wed 15-06-22 13:00:22, Jan Kara wrote:
> On Tue 14-06-22 12:00:22, Linus Torvalds wrote:
> > On Tue, Jun 14, 2022 at 11:51 AM Linus Torvalds
> > <[email protected]> wrote:
> > >
> > > Or just make sure that noop_backing_dev_info is fully initialized
> > > before it's used.
> >
> > I don't see any real reason why that
> >
> > err = bdi_init(&noop_backing_dev_info);
> >
> > couldn't just be done very early. Maybe as the first call in
> > driver_init(), before the whole devtmpfs_init() etc.
>
> I've checked the dependencies and cgroups (which are the only non-trivial
> dependency besides per-CPU infrastructure) are initialized early enough so
> it should work fine. So let's try that.

Attached patch boots for me. Guys, who was able to reproduce the failure: Can
you please confirm this patch fixes your problem?

Honza
--
Jan Kara <[email protected]>
SUSE Labs, CR


Attachments:
(No filename) (926.00 B)
0001-init-Initialized-noop_backing_dev_info-early.patch (2.40 kB)
Download all attachments

2022-06-15 18:32:28

by Guenter Roeck

[permalink] [raw]
Subject: Re: [PATCH 5.15 000/251] 5.15.47-rc2 review

On Wed, Jun 15, 2022 at 03:38:45PM +0200, Jan Kara wrote:
> On Wed 15-06-22 13:00:22, Jan Kara wrote:
> > On Tue 14-06-22 12:00:22, Linus Torvalds wrote:
> > > On Tue, Jun 14, 2022 at 11:51 AM Linus Torvalds
> > > <[email protected]> wrote:
> > > >
> > > > Or just make sure that noop_backing_dev_info is fully initialized
> > > > before it's used.
> > >
> > > I don't see any real reason why that
> > >
> > > err = bdi_init(&noop_backing_dev_info);
> > >
> > > couldn't just be done very early. Maybe as the first call in
> > > driver_init(), before the whole devtmpfs_init() etc.
> >
> > I've checked the dependencies and cgroups (which are the only non-trivial
> > dependency besides per-CPU infrastructure) are initialized early enough so
> > it should work fine. So let's try that.
>
> Attached patch boots for me. Guys, who was able to reproduce the failure: Can
> you please confirm this patch fixes your problem?
>

It does for me.

> Honza
> --
> Jan Kara <[email protected]>
> SUSE Labs, CR

> From 8f998b182be7563fc92aa8914cc7d21f75a3c20e Mon Sep 17 00:00:00 2001
> From: Jan Kara <[email protected]>
> Date: Wed, 15 Jun 2022 15:22:29 +0200
> Subject: [PATCH] init: Initialized noop_backing_dev_info early
>
> noop_backing_dev_info is used by superblocks of various
> pseudofilesystems such as kdevtmpfs. Initialize it before the
> filesystems get mounted.
>
> Signed-off-by: Jan Kara <[email protected]>

Tested-by: Guenter Roeck <[email protected]>

Guenter

2022-06-15 22:14:41

by Jan Kara

[permalink] [raw]
Subject: Re: [PATCH 5.15 000/251] 5.15.47-rc2 review

On Wed 15-06-22 11:00:26, Guenter Roeck wrote:
> On Wed, Jun 15, 2022 at 03:38:45PM +0200, Jan Kara wrote:
> > On Wed 15-06-22 13:00:22, Jan Kara wrote:
> > > On Tue 14-06-22 12:00:22, Linus Torvalds wrote:
> > > > On Tue, Jun 14, 2022 at 11:51 AM Linus Torvalds
> > > > <[email protected]> wrote:
> > > > >
> > > > > Or just make sure that noop_backing_dev_info is fully initialized
> > > > > before it's used.
> > > >
> > > > I don't see any real reason why that
> > > >
> > > > err = bdi_init(&noop_backing_dev_info);
> > > >
> > > > couldn't just be done very early. Maybe as the first call in
> > > > driver_init(), before the whole devtmpfs_init() etc.
> > >
> > > I've checked the dependencies and cgroups (which are the only non-trivial
> > > dependency besides per-CPU infrastructure) are initialized early enough so
> > > it should work fine. So let's try that.
> >
> > Attached patch boots for me. Guys, who was able to reproduce the failure: Can
> > you please confirm this patch fixes your problem?
> >
>
> It does for me.

Thanks for confirmation! I'll send the patch with proper tags etc. and also
push it to Linus if nobody objects.

Honza
--
Jan Kara <[email protected]>
SUSE Labs, CR

2022-06-16 08:11:51

by Suzuki K Poulose

[permalink] [raw]
Subject: Re: [PATCH 5.15 000/251] 5.15.47-rc2 review

On 15/06/2022 14:38, Jan Kara wrote:
> On Wed 15-06-22 13:00:22, Jan Kara wrote:
>> On Tue 14-06-22 12:00:22, Linus Torvalds wrote:
>>> On Tue, Jun 14, 2022 at 11:51 AM Linus Torvalds
>>> <[email protected]> wrote:
>>>>
>>>> Or just make sure that noop_backing_dev_info is fully initialized
>>>> before it's used.
>>>
>>> I don't see any real reason why that
>>>
>>> err = bdi_init(&noop_backing_dev_info);
>>>
>>> couldn't just be done very early. Maybe as the first call in
>>> driver_init(), before the whole devtmpfs_init() etc.
>>
>> I've checked the dependencies and cgroups (which are the only non-trivial
>> dependency besides per-CPU infrastructure) are initialized early enough so
>> it should work fine. So let's try that.
>
> Attached patch boots for me. Guys, who was able to reproduce the failure: Can
> you please confirm this patch fixes your problem?
>
> Honza

Works for me too

Tested-by: Suzuki K Poulose <[email protected]>