6.10.3-rc1 review
Subsystems (5)
Greg Kroah-Hartman
maintainercover 6.10.3-rc1 review
This is the start of the stable review cycle for the 6.10.3 release. There are 809 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 Thu, 01 Aug 2024 15:14:54 +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/v6.x/stable-review/patch-6.10.3-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-6.10.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <[email protected]>
Linux 6.10.3-rc1
James Clark <[email protected]>
perf dso: Fix build when libunwind is enabled
Karthikeyan Periyasamy <[email protected]>
wifi: ath12k: fix mbssid max interface advertisement
Seth Forshee (DigitalOcean) <[email protected]>
fs: don't allow non-init s_user_ns for filesystems without FS_USERNS_MOUNT
Jarkko Nikula <[email protected]>
i3c: mipi-i3c-hci: Fix number of DAT/DCT entries for HCI versions < 1.1
Leon Romanovsky <[email protected]>
nvme-pci: add missing condition check for existence of mapped data
Georgia Garcia <[email protected]>
apparmor: unpack transition table if dfa is not present
Ming Lei <[email protected]>
ublk: fix UBLK_CMD_DEL_DEV_ASYNC handling
Pavel Begunkov <[email protected]>
io_uring: fix io_match_task must_hold
Rafael J. Wysocki <[email protected]>
thermal: core: Back off when polling thermal zones on errors
Rafael J. Wysocki <[email protected]>
thermal: trip: Split thermal_zone_device_set_mode()
Artem Chernyshev <[email protected]>
iommu: sprd: Avoid NULL deref in sprd_iommu_hw_en
Thomas Richter <[email protected]>
s390/cpum_cf: Fix endless loop in CF_DIAG event stop
Vasily Gorbik <[email protected]>
s390/setup: Fix __pa/__va for modules under non-GPL licenses
Gerd Bayer <[email protected]>
s390/pci: Allow allocation of more than 1 MSI interrupt
Gerd Bayer <[email protected]>
s390/pci: Refactor arch_setup_msi_irqs()
ethanwu <[email protected]>
ceph: fix incorrect kmalloc size of pagevec mempool
Anna-Maria Behnsen <[email protected]>
timers/migration: Do not rely always on group->parent
Dan Carpenter <[email protected]>
ASoC: TAS2781: Fix tasdev_load_calibrated_data()
Pierre-Louis Bossart <[email protected]>
ASoC: Intel: use soc_intel_is_byt_cr() only when IOSF_MBI is reachable
Michal Wajdeczko <[email protected]>
drm/xe/pf: Limit fair VF LMEM provisioning
Ashutosh Dixit <[email protected]>
drm/xe/exec: Fix minor bug related to xe_sync_entry_cleanup
Conor Dooley <[email protected]>
spi: spidev: add correct compatible for Rohm BH2228FV
Venkata Prasad Potturu <[email protected]>
ASoC: sof: amd: fix for firmware reload failure in Vangogh platform
Curtis Malainey <[email protected]>
ASoC: Intel: Fix RT5650 SSP lookup
Pierre-Louis Bossart <[email protected]>
ASOC: SOF: Intel: hda-loader: only wait for HDaudio IOC for IPC4 devices
Bart Van Assche <[email protected]>
nvme-pci: Fix the instructions for disabling power management
Steve Wilkins <[email protected]>
spi: microchip-core: ensure TX and RX FIFOs are empty at start of a transfer
Steve Wilkins <[email protected]>
spi: microchip-core: fix init function not setting the master and motorola modes
Steve Wilkins <[email protected]>
spi: microchip-core: only disable SPI controller when register value change requires it
Steve Wilkins <[email protected]>
spi: microchip-core: defer asserting chip select until just before write to TX FIFO
Naga Sureshkumar Relli <[email protected]>
spi: microchip-core: fix the issues in the isr
Daniel Baluta <[email protected]>
ASoC: SOF: imx8m: Fix DSP control regmap retrieval
Markus Elfring <[email protected]>
auxdisplay: ht16k33: Drop reference after LED registration
Al Viro <[email protected]>
lirc: rc_dev_get_from_fd(): fix file leak
Al Viro <[email protected]>
powerpc: fix a file leak in kvm_vcpu_ioctl_enable_cap()
Xiao Liang <[email protected]>
apparmor: Fix null pointer deref when receiving skb during sock creation
Dan Carpenter <[email protected]>
mISDN: Fix a use after free in hfcmulti_tx()
Stanislav Fomichev <[email protected]>
xsk: Require XDP_UMEM_TX_METADATA_LEN to actuate tx_metadata_len
Fred Li <[email protected]>
bpf: Fix a segment issue when downgrading gso_size
Breno Leitao <[email protected]>
net: mediatek: Fix potential NULL pointer dereference in dummy net_device handling
Petr Machata <[email protected]>
net: nexthop: Initialize all fields in dumped nexthops
Simon Horman <[email protected]>
net: stmmac: Correct byte order of perfect_match
Hangbin Liu <[email protected]>
selftests: forwarding: skip if kernel not support setting bridge fdb learning limit
Shigeru Yoshida <[email protected]>
tipc: Return non-zero value from tipc_udp_addr2str() on error
David Howells <[email protected]>
netfs: Fix writeback that needs to go to both server and cache
Florian Westphal <[email protected]>
netfilter: nft_set_pipapo_avx2: disable softinterrupts
Wojciech Drewek <[email protected]>
ice: Fix recipe read procedure
Johannes Berg <[email protected]>
net: bonding: correctly annotate RCU in bond_should_notify_peers()
Ido Schimmel <[email protected]>
ipv4: Fix incorrect source address in Record Route option
Gregory CLEMENT <[email protected]>
MIPS: SMP-CPS: Fix address for GCR_ACCESS register for CM3 and later
Liwei Song <[email protected]>
tools/resolve_btfids: Fix comparison of distinct pointer types warning in resolve_btfids
Hou Tao <[email protected]>
bpf, events: Use prog to emit ksymbol event for main program
Lance Richardson <[email protected]>
dma: fix call order in dmam_free_coherent
Michal Luczaj <[email protected]>
af_unix: Disable MSG_OOB handling for sockets in sockmap/sockhash
Andrii Nakryiko <[email protected]>
libbpf: Fix no-args func prototype BTF dumping syntax
Puranjay Mohan <[email protected]>
selftests/bpf: fexit_sleep: Fix stack allocation for arm64
Masahiro Yamada <[email protected]>
kbuild: avoid build error when single DTB is turned into composite DTB
Chao Yu <[email protected]>
f2fs: fix to update user block counts in block_operations()
Daejun Park <[email protected]>
f2fs: fix null reference error when checking end of zone
Claudiu Beznea <[email protected]>
watchdog: rzg2l_wdt: Check return status of pm_runtime_put()
Claudiu Beznea <[email protected]>
watchdog: rzg2l_wdt: Use pm_runtime_resume_and_get()
Sheng Yong <[email protected]>
f2fs: fix start segno of large section
Johannes Berg <[email protected]>
um: time-travel: fix signal blocking race/hang
David Gow <[email protected]>
arch: um: rust: Use the generated target.json again
Johannes Berg <[email protected]>
um: time-travel: fix time-travel-start option
Sean Anderson <[email protected]>
phy: zynqmp: Enable reference clock correctly
Ma Ke <[email protected]>
phy: cadence-torrent: Check return value on register read
Cristian Ciocaltea <[email protected]>
phy: phy-rockchip-samsung-hdptx: Select CONFIG_MFD_SYSCON
Vignesh Raghavendra <[email protected]>
dmaengine: ti: k3-udma: Fix BCHAN count with UHC and HC channels
Jeongjun Park <[email protected]>
jfs: Fix array-index-out-of-bounds in diFree
Douglas Anderson <[email protected]>
kdb: Use the passed prompt in kdb_position_cursor()
Arnd Bergmann <[email protected]>
kdb: address -Wformat-security warnings
Dmitry Baryshkov <[email protected]>
phy: qcom: qmp-pcie: restore compatibility with existing DTs
Chao Yu <[email protected]>
f2fs: fix to truncate preallocated blocks in f2fs_file_open()
Linus Torvalds <[email protected]>
minmax: scsi: fix mis-use of 'clamp()' in sr.c
WangYuli <[email protected]>
Bluetooth: btusb: Add Realtek RTL8852BE support ID 0x13d3:0x3591
Hilda Wu <[email protected]>
Bluetooth: btusb: Add RTL8852BE device 0489:e125 to device tables
Ilya Dryomov <[email protected]>
rbd: don't assume RBD_LOCK_STATE_LOCKED for exclusive mappings
Ilya Dryomov <[email protected]>
rbd: rename RBD_LOCK_STATE_RELEASING and releasing_wait
Dragan Simic <[email protected]>
drm/panfrost: Mark simple_ondemand governor as softdep
Lucas Stach <[email protected]>
drm/etnaviv: don't block scheduler when GPU is still active
Jiaxun Yang <[email protected]>
MIPS: Loongson64: Test register availability before use
Jiaxun Yang <[email protected]>
MIPS: Loongson64: reset: Prioritise firmware service
Jiaxun Yang <[email protected]>
MIPS: Loongson64: Remove memory node for builtin-dtb
Jiaxun Yang <[email protected]>
MIPS: Loongson64: env: Hook up Loongsson-2K
Jiaxun Yang <[email protected]>
MIPS: dts: loongson: Fix GMAC phy node
Jiaxun Yang <[email protected]>
MIPS: ip30: ip30-console: Add missing include
Jiaxun Yang <[email protected]>
MIPS: dts: loongson: Add ISA node
Aleksandr Mishin <[email protected]>
remoteproc: imx_rproc: Fix refcount mistake in imx_rproc_addr_init
Aleksandr Mishin <[email protected]>
remoteproc: imx_rproc: Skip over memory region when node value is NULL
Gwenael Treuveur <[email protected]>
remoteproc: stm32_rproc: Fix mailbox interrupts queuing
Ilya Dryomov <[email protected]>
rbd: don't assume rbd_is_lock_owner() for exclusive mappings
Eric Biggers <[email protected]>
dm-verity: fix dm_is_verity_target() when dm-verity is builtin
Michael Ellerman <[email protected]>
selftests/sigaltstack: Fix ppc64 GCC build
Kim Phillips <[email protected]>
crypto: ccp - Fix null pointer dereference in __sev_snp_shutdown_locked
Bart Van Assche <[email protected]>
RDMA/iwcm: Fix a use-after-free related to destroying CM IDs
Jiaxun Yang <[email protected]>
platform: mips: cpu_hwmon: Disable driver on unsupported hardware
Peter Ujfalusi <[email protected]>
ASoC: SOF: ipc4-topology: Use correct queue_id for requesting input pin format
Krzysztof Kozlowski <[email protected]>
ASoC: codecs: wcd939x: Fix typec mux and switch leak during device removal
Manivannan Sadhasivam <[email protected]>
bus: mhi: ep: Do not allocate memory for MHI objects from DMA zone
Thomas Gleixner <[email protected]>
watchdog/perf: properly initialize the turbo mode timestamp and rearm counter
Joy Chakraborty <[email protected]>
rtc: abx80x: Fix return value of nvmem callback on read
Joy Chakraborty <[email protected]>
rtc: isl1208: Fix return value of nvmem callbacks
Imre Deak <[email protected]>
drm/i915/dp: Don't switch the LTTPR mode on an active link
Imre Deak <[email protected]>
drm/i915/dp: Reset intel_dp->link_trained before retraining the link
Ma Ke <[email protected]>
drm/amd/amdgpu: Fix uninitialized variable warnings
Tim Huang <[email protected]>
drm/amdgpu: add missed harvest check for VCN IP v4/v5
ZhenGuo Yin <[email protected]>
drm/amdgpu: reset vm state machine after gpu reset(vram lost)
Wayne Lin <[email protected]>
drm/dp_mst: Fix all mstb marked as not probed after suspend/resume
Thomas Zimmermann <[email protected]>
drm/udl: Remove DRM_CONNECTOR_POLL_HPD
Alex Deucher <[email protected]>
drm/amdgpu/sdma5.2: Update wptr registers as well as doorbell
Nitin Gote <[email protected]>
drm/i915/gt: Do not consider preemption during execlists_dequeue for gen8
Adrian Hunter <[email protected]>
perf/x86/intel/pt: Fix a topa_entry base address calculation
Marco Cavenati <[email protected]>
perf/x86/intel/pt: Fix topa_entry base length
Kan Liang <[email protected]>
perf/x86/intel/ds: Fix non 0 retire latency on Raptorlake
Kan Liang <[email protected]>
perf/x86/intel/uncore: Fix the bits of the CHA extended umask for SPR
Kan Liang <[email protected]>
perf stat: Fix the hard-coded metrics calculation on the hybrid
Frederic Weisbecker <[email protected]>
perf: Fix event leak upon exec and file release
Frederic Weisbecker <[email protected]>
perf: Fix event leak upon exit
Nilesh Javali <[email protected]>
scsi: qla2xxx: validate nvme_local_port correctly
Shreyas Deodhar <[email protected]>
scsi: qla2xxx: Complete command early within lock
Quinn Tran <[email protected]>
scsi: qla2xxx: Fix flash read failure
Quinn Tran <[email protected]>
scsi: qla2xxx: Reduce fabric scan duplicate code
Quinn Tran <[email protected]>
scsi: qla2xxx: Use QP lock to search for bsg
Shreyas Deodhar <[email protected]>
scsi: qla2xxx: Fix for possible memory corruption
Quinn Tran <[email protected]>
scsi: qla2xxx: Unable to act on RSCN for port online
Manish Rangankar <[email protected]>
scsi: qla2xxx: During vport delete send async logout explicitly
Justin Tee <[email protected]>
scsi: lpfc: Allow DEVICE_RECOVERY mode after RSCN receipt if in PRLI_ISSUE state
Joy Chakraborty <[email protected]>
rtc: cmos: Fix return value of nvmem callbacks
Tvrtko Ursulin <[email protected]>
mm/numa_balancing: teach mpol_to_str about the balancing mode
Shenwei Wang <[email protected]>
irqchip/imx-irqsteer: Handle runtime power management correctly
Mateusz Jończyk <[email protected]>
md/raid1: set max_sectors during early return from choose_slow_rdev()
Herve Codina <[email protected]>
irqdomain: Fixed unbalanced fwnode get and put
Zijun Hu <[email protected]>
devres: Fix memory leakage caused by driver API devm_free_percpu()
Zijun Hu <[email protected]>
devres: Fix devm_krealloc() wasting memory
Yijie Yang <[email protected]>
dt-bindings: phy: qcom,qmp-usb: fix spelling error
Ahmed Zaki <[email protected]>
ice: Add a per-VF limit on number of FDIR filters
Bailey Forrest <[email protected]>
gve: Fix an edge case for TSO skb validity check
Zijun Hu <[email protected]>
kobject_uevent: Fix OOB access within zap_modalias_env()
Will Deacon <[email protected]>
arm64: mm: Fix lockless walks with static and dynamic page-table folding
Takashi Iwai <[email protected]>
ASoC: amd: yc: Support mic on Lenovo Thinkpad E16 Gen 2
Peter Ujfalusi <[email protected]>
ASoC: SOF: ipc4-topology: Preserve the DMA Link ID for ChainDMA on unprepare
Peter Ujfalusi <[email protected]>
ASoC: SOF: ipc4-topology: Only handle dai_config with HW_PARAMS for ChainDMA
Suren Baghdasaryan <[email protected]>
alloc_tag: outline and export free_reserved_page()
Nathan Chancellor <[email protected]>
kbuild: Fix '-S -c' in x86 stack protector scripts
Ross Lagerwall <[email protected]>
decompress_bunzip2: fix rare decompression failure
Ram Tummala <[email protected]>
mm: fix old/young bit handling in the faulting path
Yang Yang <[email protected]>
block: fix deadlock between sd_remove & sd_release
Krzysztof Kozlowski <[email protected]>
clk: samsung: fix getting Exynos4 fin_pll rate from external clocks
Fedor Pchelkin <[email protected]>
ubi: eba: properly rollback inside self_check_eba
Bastien Curutchet <[email protected]>
clk: davinci: da8xx-cfgchip: Initialize clk_init_data before use
Ryusuke Konishi <[email protected]>
nilfs2: handle inconsistent state in nilfs_btnode_create_block()
Joy Zou <[email protected]>
dmaengine: fsl-edma: change the memory access from local into remote mode in i.MX 8QM
Sunmin Jeong <[email protected]>
f2fs: use meta inode for GC of COW file
Sunmin Jeong <[email protected]>
f2fs: use meta inode for GC of atomic file
Chao Yu <[email protected]>
f2fs: fix return value of f2fs_convert_inline_inode()
Chao Yu <[email protected]>
f2fs: fix to don't dirty inode for readonly filesystem
Chao Yu <[email protected]>
f2fs: fix to force buffered IO on inline_data inode
Herve Codina <[email protected]>
ASoC: fsl: fsl_qmc_audio: Check devm_kasprintf() returned value
Saurav Kashyap <[email protected]>
scsi: qla2xxx: Return ENOBUFS if sg_cnt is more than one for ELS cmds
Huacai Chen <[email protected]>
fs/ntfs3: Update log->page_{mask,bits} if log->page_size changedLi Zhijian <[email protected]>
mm/page_alloc: fix pcp->count race between drain_pages_zone() vs __rmqueue_pcplist()
Gao Xiang <[email protected]>
erofs: fix race in z_erofs_get_gbuf()
Qiang Ma <[email protected]>
efi/libstub: Zero initialize heap allocated struct screen_info
Johannes Berg <[email protected]>
hostfs: fix dev_t handling
tuhaowen <[email protected]>
dev/parport: fix the array out-of-bounds risk
Reka Norman <[email protected]>
xhci: Apply XHCI_RESET_TO_DEFAULT quirk to TGL
Carlos Llamas <[email protected]>
binder: fix hang of unregistered readers
Huacai Chen <[email protected]>
PCI: loongson: Enable MSI in LS7A Root Complex
Manivannan Sadhasivam <[email protected]>
PCI: rockchip: Use GPIOD_OUT_LOW flag while requesting ep_gpio
Niklas Cassel <[email protected]>
PCI: dw-rockchip: Fix initial PERST# GPIO value
Wei Liu <[email protected]>
PCI: hv: Return zero, not garbage, when reading PCI_INTERRUPT_PIN
Lukas Wunner <[email protected]>
PCI/DPC: Fix use-after-free on concurrent DPC and hot-removal
John David Anglin <[email protected]>
parisc: Fix warning at drivers/pci/msi/msi.h:121
Ilpo Järvinen <[email protected]>
hwrng: amd - Convert PCIBIOS_* return codes to errnos
Thomas Huth <[email protected]>
drm/fbdev-dma: Fix framebuffer mode for big endian devices
Thomas Zimmermann <[email protected]>
fbdev: vesafb: Detect VGA compatibility from screen info's VESA attributes
Alan Stern <[email protected]>
tools/memory-model: Fix bug in lock.cat
wangdicheng <[email protected]>
ALSA: usb-audio: Add a quirk for Sonix HD USB Camera
Takashi Iwai <[email protected]>
ALSA: usb-audio: Move HD Webcam quirk to the right place
wangdicheng <[email protected]>
ALSA: usb-audio: Fix microphone sound on HD webcam.
Takashi Iwai <[email protected]>
ALSA: ump: Force 1 Group for MIDI1 FBs
Takashi Iwai <[email protected]>
ALSA: ump: Don't update FB name for static blocks
Takashi Sakamoto <[email protected]>
ALSA: firewire-lib: fix wrong value as length of header for CIP_NO_HEADER case
Luke D. Jones <[email protected]>
ALSA: hda/realtek: cs35l41: Fixup remaining asus strix models
Sean Christopherson <[email protected]>
KVM: nVMX: Fold requested virtual interrupt check into has_nested_events()
Sean Christopherson <[email protected]>
KVM: nVMX: Check for pending posted interrupts when looking for nested events
Sean Christopherson <[email protected]>
KVM: nVMX: Request immediate exit iff pending nested event needs injection
Sean Christopherson <[email protected]>
KVM: nVMX: Add a helper to get highest pending from Posted Interrupt vector
Sean Christopherson <[email protected]>
KVM: VMX: Split out the non-virtualization part of vmx_interrupt_blocked()
Gautam Menghani <[email protected]>
KVM: PPC: Book3S HV nestedv2: Add DPDES support in helper library for Guest state buffer
Gautam Menghani <[email protected]>
KVM: PPC: Book3S HV nestedv2: Fix doorbell emulation
Jason Chen <[email protected]>
remoteproc: mediatek: Increase MT8188/MT8195 SCP core0 DRAM size
Wentong Wu <[email protected]>
media: ivsc: csi: don't count privacy on as error
Ricardo Ribalda <[email protected]>
media: uvcvideo: Fix integer overflow calculating timestamp
Jan Kara <[email protected]>
jbd2: avoid infinite transaction commit loop
Jan Kara <[email protected]>
jbd2: precompute number of transaction descriptor blocks
Jan Kara <[email protected]>
jbd2: make jbd2_journal_get_max_txn_bufs() internal
Harshit Mogalapalli <[email protected]>
media: imx-pxp: Fix ERR_PTR dereference in pxp_probe()
Tommaso Merciai <[email protected]>
media: i2c: alvium: Move V4L2_CID_GAIN to V4L2_CID_ANALOG_GAIN
Wentong Wu <[email protected]>
media: ivsc: csi: add separate lock for v4l2 control handler
Javier Carrasco <[email protected]>
leds: mt6360: Fix memory leak in mt6360_init_isnk_properties()
Thomas Weißschuh <[email protected]>
leds: triggers: Flush pending brightness before activating trigger
Ofir Gal <[email protected]>
md/md-bitmap: fix writing non bitmap pages
Ilpo Järvinen <[email protected]>
leds: ss4200: Convert PCIBIOS_* return codes to errnos
Jay Buddhabhatti <[email protected]>
drivers: soc: xilinx: check return status of get_api_version()
Javier Carrasco <[email protected]>
cpufreq: qcom-nvmem: fix memory leaks in probe error paths
Bitterblue Smith <[email protected]>
wifi: rtw88: usb: Further limit the TX aggregation
Bitterblue Smith <[email protected]>
wifi: rtw88: usb: Fix disconnection after beacon loss
Po-Hao Huang <[email protected]>
wifi: rtw89: fix HW scan not aborting properly
Rafael Beims <[email protected]>
wifi: mwifiex: Fix interface type change
Rafael J. Wysocki <[email protected]>
genirq: Set IRQF_COND_ONESHOT in request_irq()
levi.yun <[email protected]>
trace/pid_list: Change gfp flags in pid_list_fill_irq()
Pavel Begunkov <[email protected]>
io_uring: don't allow netpolling with SETUP_IOPOLL
Pavel Begunkov <[email protected]>
io_uring: tighten task exit cancellations
Pavel Begunkov <[email protected]>
io_uring: fix lost getsockopt completions
Baokun Li <[email protected]>
ext4: make sure the first directory block is not a hole
Baokun Li <[email protected]>
ext4: check dot and dotdot of dx_root before making dir indexed
Ming Lei <[email protected]>
block: check bio alignment in blk_mq_submit_bio
Paolo Pisati <[email protected]>
m68k: amiga: Turn off Warp1260 interrupts during boot
Jan Kara <[email protected]>
udf: Avoid using corrupted block bitmap buffer
Frederic Weisbecker <[email protected]>
task_work: Introduce task_work_cancel() again
Frederic Weisbecker <[email protected]>
task_work: s/task_work_cancel()/task_work_cancel_func()/
Steve French <[email protected]>
cifs: mount with "unix" mount option for SMB1 incorrectly handled
Steve French <[email protected]>
cifs: fix reconnect with SMB1 UNIX Extensions
Steve French <[email protected]>
cifs: fix potential null pointer use in destroy_workqueue in init_cifs error path
Fedor Pchelkin <[email protected]>
apparmor: use kvfree_sensitive to free data->data
Sung Joon Kim <[email protected]>
drm/amd/display: Check for NULL pointer
Shreyas Deodhar <[email protected]>
scsi: qla2xxx: Fix optrom version displayed in FDMI
Alex Deucher <[email protected]>
drm/amd/display: fix corruption with high refresh rates on DCN 3.0
Ma Ke <[email protected]>
drm/gma500: fix null pointer dereference in psb_intel_lvds_get_modes
Ma Ke <[email protected]>
drm/gma500: fix null pointer dereference in cdv_intel_lvds_get_modes
Pavel Begunkov <[email protected]>
io_uring/io-wq: limit retrying worker initialisation
Paul Moore <[email protected]>
lsm: fixup the inode xattr capability handling
Kory Maincent <[email protected]>
media: i2c: Kconfig: Fix missing firmware upload config select
Jan Kara <[email protected]>
ext2: Verify bitmap and itable block numbers before using them
Chao Yu <[email protected]>
hfs: fix to initialize fields of hfs_inode_info after hfs_alloc_inode()
Thomas Weißschuh <[email protected]>
sysctl: always initialize i_uid/i_gid
Igor Pylypiv <[email protected]>
ata: libata-scsi: Honor the D_SENSE bit for CK_COND=1 and no error
Igor Pylypiv <[email protected]>
ata: libata-scsi: Do not overwrite valid sense data when CK_COND=1
Dikshita Agarwal <[email protected]>
media: venus: fix use after free in vdec_close
Joe Hattori <[email protected]>
char: tpm: Fix possible memory leak in tpm_bios_measurements_open()
Vitor Soares <[email protected]>
tpm_tis_spi: add missing attpm20p SPI device ID entry
Thomas Weißschuh <[email protected]>
selftests/nolibc: fix printf format mismatch in expect_str_buf_eq()
Igor Pylypiv <[email protected]>
ata: libata-scsi: Fix offsets for the fixed format sense data
Damien Le Moal <[email protected]>
null_blk: Fix description of the fua parameter
Alain Volmat <[email protected]>
media: stm32: dcmipp: correct error handling in dcmipp_create_subdevs
Yu Kuai <[email protected]>
md/raid5: fix spares errors about rcu usage
Eric Sandeen <[email protected]>
fuse: verify {g,u}id mount options correctly
Tejun Heo <[email protected]>
sched/fair: set_load_weight() must also call reweight_task() for SCHED_IDLE tasks
Zong-Zhe Yang <[email protected]>
wifi: mac80211: chanctx emulation set CHANGE_CHANNEL when in_reconfig
Chuck Lever <[email protected]>
NFSD: Support write delegations in LAYOUTGET
Thomas Hellström <[email protected]>
drm/xe: Use write-back caching mode for system memory on DGFX
Nicolas Dichtel <[email protected]>
ipv6: take care of scope when choosing the src addr
Nicolas Dichtel <[email protected]>
ipv4: fix source address selection with route leak
Nicolas Dichtel <[email protected]>
ipv6: fix source address selection with route leak
Pavel Begunkov <[email protected]>
kernel: rerun task_work while freezing in get_signal()
Filipe Manana <[email protected]>
btrfs: fix extent map use-after-free when adding pages to compressed bio
Lai Jiangshan <[email protected]>
workqueue: Always queue work items to the newest PWQ for order workqueues
Chengen Du <[email protected]>
af_packet: Handle outgoing VLAN packets without hardware offloading
Breno Leitao <[email protected]>
net: netconsole: Disable target before netpoll cleanup
Yu Liao <[email protected]>
tick/broadcast: Make takeover of broadcast hrtimer reliable
Krzysztof Kozlowski <[email protected]>
dt-bindings: thermal: correct thermal zone node name limit
Krzysztof Kozlowski <[email protected]>
thermal/drivers/broadcom: Fix race between removal and clock disable
Sungjong Seo <[email protected]>
exfat: fix potential deadlock on __exfat_get_dentry_set
Takashi Sakamoto <[email protected]>
Revert "firewire: Annotate struct fw_iso_packet with __counted_by()"
Ard Biesheuvel <[email protected]>
x86/efistub: Revert to heap allocated boot_params for PE entrypoint
Ard Biesheuvel <[email protected]>
x86/efistub: Avoid returning EFI_SUCCESS on error
Yu Zhao <[email protected]>
mm/mglru: fix ineffective protection calculation
Yu Zhao <[email protected]>
mm/mglru: fix overshooting shrinker memory
Tetsuo Handa <[email protected]>
mm: mmap_lock: replace get_memcg_path_buf() with on-stack buffer
Yu Zhao <[email protected]>
mm/mglru: fix div-by-zero in vmpressure_calc_level()
Miaohe Lin <[email protected]>
mm/hugetlb: fix possible recursive locking detected warning
Aristeu Rozanski <[email protected]>
hugetlb: force allocating surplus hugepages on mempolicy allowed nodes
Gavin Shan <[email protected]>
mm/huge_memory: avoid PMD-size page cache if needed
Yang Shi <[email protected]>
mm: huge_memory: use !CONFIG_64BIT to relax huge page alignment on 32 bit machines
Jann Horn <[email protected]>
landlock: Don't lose track of restrictions on cred_transfer
Mickaël Salaün <[email protected]>
selftests/landlock: Add cred_transfer test
Jason-JH.Lin <[email protected]>
mailbox: mtk-cmdq: Move devm_mbox_controller_register() after devm_pm_runtime_enable()
Peng Fan <[email protected]>
mailbox: imx: fix TXDB_V2 channel race condition
Andrew Davis <[email protected]>
mailbox: omap: Fix mailbox interrupt sharing
Richard Genoud <[email protected]>
remoteproc: k3-r5: Fix IPC-only mode detection
Nícolas F. R. A. Prado <[email protected]>
remoteproc: mediatek: Don't attempt to remap l1tcm memory if missing
Christophe JAILLET <[email protected]>
power: supply: ingenic: Fix some error handling paths in ingenic_battery_get_property()
Christophe JAILLET <[email protected]>
power: supply: ab8500: Fix error handling when calling iio_read_channel_processed()
Tiezhu Yang <[email protected]>
LoongArch: Check TIF_LOAD_WATCH to enable user space watchpoint
Yang Yang <[email protected]>
sbitmap: fix io hung due to race on sbitmap_word::cleared
Suren Baghdasaryan <[email protected]>
alloc_tag: fix page_ext_get/page_ext_put sequence during page splitting
Suren Baghdasaryan <[email protected]>
lib: reuse page_ext_data() to obtain codetag_ref
Suren Baghdasaryan <[email protected]>
lib: add missing newline character in the warning message
Carlos López <[email protected]>
s390/dasd: fix error checks in dasd_copy_pair_store()
Christophe Leroy <[email protected]>
powerpc/8xx: fix size given to set_huge_pte_at()
Heming Zhao <[email protected]>
md-cluster: fix hanging issue while a new disk adding
Konstantin Komarov <[email protected]>
fs/ntfs3: Keep runs for $MFT::$ATTR_DATA and $MFT::$ATTR_BITMAP
Konstantin Komarov <[email protected]>
fs/ntfs3: Missed error return
Konstantin Komarov <[email protected]>
fs/ntfs3: Fix the format of the "nocase" mount option
Csókás, Bence <[email protected]>
rtc: interface: Add RTC offset to alarm after fix-up
Ryusuke Konishi <[email protected]>
nilfs2: avoid undefined behavior in nilfs_cnt32_ge macro
SeongJae Park <[email protected]>
selftests/damon/access_memory: use user-defined region size
David Hildenbrand <[email protected]>
fs/proc/task_mmu: properly detect PM_MMAP_EXCLUSIVE per page of PMD-mapped THPs
David Hildenbrand <[email protected]>
fs/proc/task_mmu: don't indicate PM_MMAP_EXCLUSIVE without PM_PRESENT
David Hildenbrand <[email protected]>
fs/proc/task_mmu: indicate PM_FILE for PMD-mapped file THP
Geert Uytterhoeven <[email protected]>
pinctrl: renesas: r8a779g0: Fix TPU suffixes
Geert Uytterhoeven <[email protected]>
pinctrl: renesas: r8a779g0: Fix TCLK suffixes
Geert Uytterhoeven <[email protected]>
pinctrl: renesas: r8a779g0: FIX PWM suffixes
Geert Uytterhoeven <[email protected]>
pinctrl: renesas: r8a779g0: Fix IRQ suffixes
Geert Uytterhoeven <[email protected]>
pinctrl: renesas: r8a779g0: Fix (H)SCIF3 suffixes
Geert Uytterhoeven <[email protected]>
pinctrl: renesas: r8a779g0: Fix (H)SCIF1 suffixes
Geert Uytterhoeven <[email protected]>
pinctrl: renesas: r8a779g0: Fix FXR_TXEN[AB] suffixes
Geert Uytterhoeven <[email protected]>
pinctrl: renesas: r8a779g0: Fix CANFD5 suffix
Richard Genoud <[email protected]>
rtc: tps6594: Fix memleak in probe
Konstantin Komarov <[email protected]>
fs/ntfs3: Fix field-spanning write in INDEX_HDR
Andy Shevchenko <[email protected]>
fs/ntfs3: Drop stray '\' (backslash) in formatting string
Konstantin Komarov <[email protected]>
fs/ntfs3: Correct undo if ntfs_create_inode failed
Konstantin Komarov <[email protected]>
fs/ntfs3: Replace inode_trylock with inode_lock
Peng Fan <[email protected]>
pinctrl: freescale: mxs: Fix refcount of child
Yang Yingliang <[email protected]>
pinctrl: ti: ti-iodelay: fix possible memory leak when pinctrl_enable() fails
Yang Yingliang <[email protected]>
pinctrl: single: fix possible memory leak when pinctrl_enable() fails
Yang Yingliang <[email protected]>
pinctrl: core: fix possible memory leak when pinctrl_enable() fails
Dmitry Yashin <[email protected]>
pinctrl: rockchip: update rk3308 iomux routes
Konstantin Komarov <[email protected]>
fs/ntfs3: Add missing .dirty_folio in address_space_operations
Konstantin Komarov <[email protected]>
fs/ntfs3: Fix getting file type
Konstantin Komarov <[email protected]>
fs/ntfs3: Missed NI_FLAG_UPDATE_PARENT setting
Konstantin Komarov <[email protected]>
fs/ntfs3: Deny getting attr data block in compressed frame
Konstantin Komarov <[email protected]>
fs/ntfs3: Fix transform resident to nonresident for compressed files
Konstantin Komarov <[email protected]>
fs/ntfs3: Merge synonym COMPRESSION_UNIT and NTFS_LZNT_CUNIT
Martin Willi <[email protected]>
net: dsa: b53: Limit chip-wide jumbo frame config to CPU ports
Martin Willi <[email protected]>
net: dsa: mv88e6xxx: Limit chip-wide frame size config to CPU ports
Ido Schimmel <[email protected]>
ipv4: Fix incorrect TOS in fibmatch route get reply
Ido Schimmel <[email protected]>
ipv4: Fix incorrect TOS in route get reply
Pablo Neira Ayuso <[email protected]>
net: flow_dissector: use DEBUG_NET_WARN_ON_ONCE
Joshua Washington <[email protected]>
gve: Fix XDP TX completion handling when counters overflow
Chen Hanxiao <[email protected]>
ipvs: properly dereference pe in ip_vs_add_service
Florian Westphal <[email protected]>
netfilter: nf_set_pipapo: fix initial map fill
Pablo Neira Ayuso <[email protected]>
netfilter: ctnetlink: use helper function to calculate expect ID
Jiaxun Yang <[email protected]>
MIPS: Fix fallback march for SB1
Konstantin Taranov <[email protected]>
RDMA/mana_ib: Set correct device into ib
Konstantin Taranov <[email protected]>
RDMA/mana_ib: set node_guid
Jack Wang <[email protected]>
bnxt_re: Fix imm_data endianness
David Ahern <[email protected]>
RDMA: Fix netdev tracker in ib_device_set_netdev
David Gstir <[email protected]>
crypto: mxs-dcp - Ensure payload is zero when using key slot
Jon Pan-Doh <[email protected]>
iommu/vt-d: Fix identity map bounds in si_domain_init()
Chengchang Tang <[email protected]>
RDMA/hns: Fix mbx timing out before CMD execution is completed
Chengchang Tang <[email protected]>
RDMA/hns: Fix insufficient extend DB for VFs.
Chengchang Tang <[email protected]>
RDMA/hns: Fix undifined behavior caused by invalid max_sge
Chengchang Tang <[email protected]>
RDMA/hns: Fix shift-out-bounds when max_inline_data is 0
Chengchang Tang <[email protected]>
RDMA/hns: Fix missing pagesize and alignment check in FRMR
Junxian Huang <[email protected]>
RDMA/hns: Fix unmatch exception handling when init eq table fails
Junxian Huang <[email protected]>
RDMA/hns: Fix soft lockup under heavy CEQE load
Junxian Huang <[email protected]>
RDMA/hns: Check atomic wr length
Nick Bowler <[email protected]>
macintosh/therm_windtunnel: fix module unload.
Michael Ellerman <[email protected]>
powerpc/xmon: Fix disassembly CPU feature checks
Lu Baolu <[email protected]>
iommu/vt-d: Fix aligned pages in calculate_psi_aligned_address()
Lu Baolu <[email protected]>
iommu/vt-d: Limit max address mask to MAX_AGAW_PFN_WIDTH
Frank Li <[email protected]>
PCI: dwc: Fix index 0 incorrectly being interpreted as a free ATU slot
Manivannan Sadhasivam <[email protected]>
PCI: qcom-ep: Disable resources unconditionally during PERST# assert
Dominique Martinet <[email protected]>
MIPS: Octeron: remove source file executable bit
Lorenzo Bianconi <[email protected]>
clk: en7523: fix rate divider for slic and spi clocks
Stephen Boyd <[email protected]>
clk: qcom: Park shared RCGs upon registration
Abel Vesa <[email protected]>
clk: qcom: gcc-x1e80100: Set parent rate for USB3 sec and tert PHY pipe clks
Chen Ni <[email protected]>
clk: qcom: kpss-xcc: Return of_clk_add_hw_provider to transfer the error
Nivas Varadharajan Mugunthakumar <[email protected]>
crypto: qat - extend scope of lock in adf_cfg_add_key_value_param()
Heiko Stuebner <[email protected]>
nvmem: rockchip-otp: set add_legacy_fixed_of_cells config option
Justin Tee <[email protected]>
scsi: lpfc: Revise lpfc_prep_embed_io routine with proper endian macro usages
Denis Arefev <[email protected]>
net: missing check virtio
Michael S. Tsirkin <[email protected]>
vhost/vsock: always initialize seqpacket_allow
Dan Carpenter <[email protected]>
PCI: endpoint: Fix error handling in epf_ntb_epc_cleanup()
Dan Carpenter <[email protected]>
PCI: endpoint: Clean up error handling in vpci_scan_bus()
Georgi Djakov <[email protected]>
iommu/arm-smmu-qcom: Register the TBU driver in qcom_smmu_impl_init
Aleksandr Mishin <[email protected]>
ASoC: amd: Adjust error handling in case of absent codec device
Guenter Roeck <[email protected]>
eeprom: ee1004: Call i2c_new_scanned_device to instantiate thermal sensor
Christoph Schlameuss <[email protected]>
kvm: s390: Reject memory region operations for ucontrol VMs
Benjamin Marzinski <[email protected]>
dm-raid: Fix WARN_ON_ONCE check for sync_thread in raid_resume
Abel Vesa <[email protected]>
clk: qcom: gcc-x1e80100: Fix halt_check for all pipe clocks
Dmitry Torokhov <[email protected]>
Input: elan_i2c - do not leave interrupt disabled on suspend failure
Leon Romanovsky <[email protected]>
RDMA/device: Return error earlier if port in not valid
Arnd Bergmann <[email protected]>
mtd: make mtd_test.c a separate module
Joao Martins <[email protected]>
iommufd/iova_bitmap: Check iova_bitmap_done() after set ahead
Joao Martins <[email protected]>
iommufd/selftest: Fix tests to use MOCK_PAGE_SIZE based buffer sizes
Joao Martins <[email protected]>
iommufd/selftest: Add tests for <= u8 bitmap sizes
Joao Martins <[email protected]>
iommufd/selftest: Fix iommufd_test_dirty() to handle <u8 bitmaps
Joao Martins <[email protected]>
iommufd/selftest: Fix dirty bitmap tests with u8 bitmaps
Chen Ni <[email protected]>
ASoC: max98088: Check for clk_prepare_enable() error
Nathan Lynch <[email protected]>
powerpc/prom: Add CPU info to hardware description string later
Harald Freudenberger <[email protected]>
hwrng: core - Fix wrong quality calculation at hw rng registration
Huai-Yuan Liu <[email protected]>
scsi: lpfc: Fix a possible null pointer dereference
Aleksandr Mishin <[email protected]>
ASoC: qcom: Adjust issues in case of DT error in asoc_qcom_lpass_cpu_platform_probe()
Honggang LI <[email protected]>
RDMA/rxe: Don't set BTH_ACK_MASK for UC or UD QPs
Or Har-Toov <[email protected]>
RDMA/mlx5: Use sq timestamp as QP timestamp when RoCE is disabled
Leon Romanovsky <[email protected]>
RDMA/mlx4: Fix truncated output warning in alias_GUID.c
Leon Romanovsky <[email protected]>
RDMA/mlx4: Fix truncated output warning in mad.c
Andrei Lalaev <[email protected]>
Input: qt1050 - handle CHIP_ID reading error
Konrad Dybcio <[email protected]>
interconnect: qcom: qcm2290: Fix mas_snoc_bimc RPM master ID
Taniya Das <[email protected]>
clk: qcom: gpucc-sa8775p: Update wait_val fields for GPU GDSC's
Taniya Das <[email protected]>
clk: qcom: gpucc-sa8775p: Park RCG's clk source at XO during disable
Taniya Das <[email protected]>
clk: qcom: gpucc-sa8775p: Remove the CLK_IS_CRITICAL and ALWAYS_ON flags
Taniya Das <[email protected]>
clk: qcom: gcc-sa8775p: Update the GDSC wait_val fields and flags
Taniya Das <[email protected]>
clk: qcom: gpucc-sm8350: Park RCG's clk source at XO during disable
Michael Walle <[email protected]>
mtd: spi-nor: winbond: fix w25q128 regression
Leon Romanovsky <[email protected]>
RDMA/cache: Release GID table even if leak is detected
Hao Ge <[email protected]>
ASoc: PCM6240: Return directly after a failed devm_kzalloc() in pcmdevice_i2c_probe()
Neil Armstrong <[email protected]>
usb: typec-mux: nb7vpq904m: unregister typec switch on probe error and remove
Neil Armstrong <[email protected]>
usb: typec-mux: ptn36502: unregister typec switch on probe error and remove
Simon Trimmer <[email protected]>
ASoC: cs35l56: Accept values greater than 0 as IRQ numbers
Shenghao Ding <[email protected]>
ASoc: tas2781: Enable RCA-based playback without DSP firmware download
Sourabh Jain <[email protected]>
powerpc/kexec_file: fix cpus node update to FDT
Chiara Meiohas <[email protected]>
RDMA/mlx5: Set mkeys for dmabuf at PAGE_SIZE
James Clark <[email protected]>
coresight: Fix ref leak when of_coresight_parse_endpoint() fails
Shivaprasad G Bhat <[email protected]>
KVM: PPC: Book3S HV: Fix the get_one_reg of SDAR
Shivaprasad G Bhat <[email protected]>
KVM: PPC: Book3S HV: Fix the set_one_reg for MMCR3
Mostafa Saleh <[email protected]>
iommu/arm-smmu-v3: Avoid uninitialized asid in case of error
Nuno Sa <[email protected]>
iio: adc: adi-axi-adc: don't allow concurrent enable/disable calls
Antoniu Miclaus <[email protected]>
iio: frequency: adrf6780: rm clk provider include
Nuno Sa <[email protected]>
iio: adc: ad9467: use DMA safe buffer for spi
Xianwei Zhao <[email protected]>
clk: meson: s4: fix pwm_j_div parent clock
Xianwei Zhao <[email protected]>
clk: meson: s4: fix fixed_pll_dco clock
Taniya Das <[email protected]>
clk: qcom: camcc-sc7280: Add parent dependency to all camera GDSCs
Taniya Das <[email protected]>
clk: qcom: gcc-sc7280: Update force mem core bit for UFS ICE clock
Lothar Rubusch <[email protected]>
crypto: atmel-sha204a - fix negated return value
Christophe JAILLET <[email protected]>
crypto: tegra - Remove an incorrect iommu_fwspec_free() call in tegra_se_remove()
Minwoo Im <[email protected]>
scsi: ufs: mcq: Fix missing argument 'hba' in MCQ_OPR_OFFSET_n
Andy Chiu <[email protected]>
riscv: smp: fail booting up smp if inconsistent vlen is detected
Jon Hunter <[email protected]>
PCI: tegra194: Set EP alignment restriction for inbound ATU
Marek Vasut <[email protected]>
PCI: rcar: Demote WARN() to dev_warn_ratelimited() in rcar_pcie_wakeup()
Aleksandr Mishin <[email protected]>
PCI: keystone: Fix NULL pointer dereference in case of DT error in ks_pcie_setup_rc_app_regs()
Siddharth Vadapalli <[email protected]>
PCI: keystone: Don't enable BAR 0 for AM654x
Siddharth Vadapalli <[email protected]>
PCI: keystone: Relocate ks_pcie_set/clear_dbi_mode()
Ilpo Järvinen <[email protected]>
PCI: Fix resource double counting on remove & rescan
Manivannan Sadhasivam <[email protected]>
PCI: endpoint: pci-epf-test: Make use of cached 'epc_features' in pci_epf_test_core_init()
Chenyuan Yang <[email protected]>
iio: Fix the sorting functionality in iio_gts_build_avail_time_table
Benjamin Coddington <[email protected]>
SUNRPC: Fixup gss_status tracepoint error output
Christoph Hellwig <[email protected]>
nfs: pass explicit offset/count to trace events
Luke D. Jones <[email protected]>
platform/x86: asus-wmi: fix TUF laptop RGB variant
Ian Rogers <[email protected]>
perf dso: Fix address sanitizer build
Andreas Larsson <[email protected]>
sparc64: Fix incorrect function signature and add prototype for prom_cif_init
Dan Carpenter <[email protected]>
leds: flash: leds-qcom-flash: Test the correct variable in init
Thomas Zimmermann <[email protected]>
drm/qxl: Pin buffer objects for internal mappings
Jan Kara <[email protected]>
ext4: avoid writing unitialized memory to disk in EA inodes
Luis Henriques (SUSE) <[email protected]>
ext4: don't track ranges in fast_commit if inode has inlined data
Olga Kornievskaia <[email protected]>
NFSv4.1 another fix for EXCHGID4_FLAG_USE_PNFS_DS for DS server
NeilBrown <[email protected]>
SUNRPC: avoid soft lockup when transmitting UDP to reachable server.
Chuck Lever <[email protected]>
xprtrdma: Fix rpcrdma_reqs_reset()
Javier Carrasco <[email protected]>
mfd: omap-usb-tll: Use struct_size to allocate tll
Arnd Bergmann <[email protected]>
mfd: rsmu: Split core code into separate module
Steven Price <[email protected]>
drm/panthor: Record devfreq busy as soon as a job is started
Adrian Hunter <[email protected]>
perf intel-pt: Fix exclude_guest setting
Adrian Hunter <[email protected]>
perf intel-pt: Fix aux_watermark calculation for 64-bit size
Dikshita Agarwal <[email protected]>
media: venus: flush all buffers in output plane streamoff
Namhyung Kim <[email protected]>
perf stat: Fix a segfault with --per-cluster --metric-only
Michael Walle <[email protected]>
drm/mediatek/dp: Fix spurious kfree()
Michael Walle <[email protected]>
drm/mediatek: dpi/dsi: Fix possible_crtcs calculation
James Clark <[email protected]>
perf pmu: Restore full PMU name wildcard support
Ian Rogers <[email protected]>
perf tests: Add some pmu core functionality tests
Ma Ke <[email protected]>
drm/amd/display: Add null check before access structs
Luis Henriques (SUSE) <[email protected]>
ext4: fix infinite loop when replaying fast_commit
Hsiao Chien Sung <[email protected]>
drm/mediatek: Remove less-than-zero comparison of an unsigned value
Geert Uytterhoeven <[email protected]>
drm/panic: Do not select DRM_KMS_HELPER
Jocelyn Falempe <[email protected]>
drm/panic: depends on !VT_CONSOLE
Luca Ceresoli <[email protected]>
Revert "leds: led-core: Fix refcount leak in of_led_get()"
Anjelique Melendez <[email protected]>
leds: rgb: leds-qcom-lpg: Add PPG check for setting/clearing PBS triggers
Chen Ni <[email protected]>
drm/qxl: Add check for drm_cvt_mode
Lucas Stach <[email protected]>
drm/etnaviv: fix DMA direction handling for cached RW buffers
Namhyung Kim <[email protected]>
perf report: Fix condition in sort__sym_cmp()
Junhao He <[email protected]>
perf pmus: Fixes always false when compare duplicates aliases
Athira Rajeev <[email protected]>
tools/perf: Fix the string match for "/tmp/perf-$PID.map" files in dso__load
James Clark <[email protected]>
perf test: Make test_arm_callgraph_fp.sh more robust
Dmitry Baryshkov <[email protected]>
platform/arm64: build drivers even on non-ARM64 platforms
Geert Uytterhoeven <[email protected]>
drm/panic: Fix off-by-one logo size checks
Jocelyn Falempe <[email protected]>
drm/panic: only draw the foreground color in drm_panic_blit()
Karolina Stolarek <[email protected]>
drm/ttm/tests: Fix a warning in ttm_bo_unreserve_bulk
Abhinav Kumar <[email protected]>
drm/msm/dpu: drop validity checks for clear_pending_flush() ctl op
Jonathan Marek <[email protected]>
drm/msm/dsi: set VIDEO_COMPRESSION_MODE_CTRL_WC
Jonathan Marek <[email protected]>
drm/msm/dsi: set video mode widebus enable bit when widebus is enabled
Hans de Goede <[email protected]>
leds: trigger: Unregister sysfs attributes before calling deactivate()
Ming Qian <[email protected]>
media: imx-jpeg: Drop initial source change event if capture has been setup
Konrad Dybcio <[email protected]>
drm/msm/a6xx: Fix A702 UBWC mode
Abhinav Kumar <[email protected]>
drm/msm/a6xx: use __unused__ to fix compiler warnings for gen7_* includes
Hsiao Chien Sung <[email protected]>
drm/mediatek: Set DRM mode configs accordingly
Hsiao Chien Sung <[email protected]>
drm/mediatek: Add DRM_MODE_ROTATE_0 to rotation property
Hsiao Chien Sung <[email protected]>
drm/mediatek: Add OVL compatible name for MT8195
Hsiao Chien Sung <[email protected]>
drm/mediatek: Turn off the layers with zero width or height
Hsiao Chien Sung <[email protected]>
drm/mediatek: Fix destination alpha error in OVL
Hsiao Chien Sung <[email protected]>
drm/mediatek: Fix XRGB setting error in Mixer
Hsiao Chien Sung <[email protected]>
drm/mediatek: Fix XRGB setting error in OVL
Hsiao Chien Sung <[email protected]>
drm/mediatek: Use 8-bit alpha in ETHDR
Hsiao Chien Sung <[email protected]>
drm/mediatek: Add missing plane settings when async update
Sebastian Andrzej Siewior <[email protected]>
drm/ttm/tests: Let ttm_bo_test consider different ww_mutex implementation.
Laurent Pinchart <[email protected]>
media: renesas: vsp1: Store RPF partition configuration per RPF instance
Laurent Pinchart <[email protected]>
media: renesas: vsp1: Fix _irqsave and _irq mix
Jacopo Mondi <[email protected]>
media: rcar-csi2: Cleanup subdevice in remove()
Jacopo Mondi <[email protected]>
media: rcar-csi2: Disable runtime_pm in probe error
Jacopo Mondi <[email protected]>
media: rcar-vin: Fix YUYV8_1X16 handling for CSI-2
Jouni Högander <[email protected]>
drm/i915/psr: Set SU area width as pipe src width
Sean Anderson <[email protected]>
drm: zynqmp_kms: Fix AUX bus not getting unregistered
Christophe JAILLET <[email protected]>
drm: zynqmp_dpsub: Fix an error handling path in zynqmp_dpsub_probe()
Daniel Schaefer <[email protected]>
media: uvcvideo: Override default flags
Oleksandr Natalenko <[email protected]>
media: uvcvideo: Add quirk for invalid dev_sof in Logitech C920
Ricardo Ribalda <[email protected]>
media: uvcvideo: Quirk for invalid dev_sof in Logitech C922
Conor Dooley <[email protected]>
media: i2c: imx219: fix msr access command sequence
Ricardo Ribalda <[email protected]>
media: c8sectpfe: Add missing parameter names
Aleksandr Burakov <[email protected]>
saa7134: Unchecked i2c_transfer function result fixed
Alex Deucher <[email protected]>
drm/amd/display: use pre-allocated temp structure for bounding box
Dan Carpenter <[email protected]>
ipmi: ssif_bmc: prevent integer overflow on 32bit systems
Jiri Olsa <[email protected]>
x86/shstk: Make return uprobe work with shadow stack
Jouni Högander <[email protected]>
drm/i915/psr: Print Panel Replay status instead of frame lock status
Jouni Högander <[email protected]>
drm/i915/display: Skip Panel Replay on pipe comparison if no active planes
Adam Ford <[email protected]>
drm/bridge: samsung-dsim: Set P divider based on min/max of fin pll
Yunfei Dong <[email protected]>
media: mediatek: vcodec: Fix unreasonable data conversion
Irui Wang <[email protected]>
media: mediatek: vcodec: Handle invalid decoder vsi
Ian Rogers <[email protected]>
perf maps: Fix use after free in __maps__fixup_overlap_and_insert
Dmitry Baryshkov <[email protected]>
drm/msm/dp: fix runtime_pm handling in dp_wait_hpd_asserted
Junhao Xie <[email protected]>
drm/msm/dpu: drop duplicate drm formats from wb2_formats arrays
Dmitry Baryshkov <[email protected]>
Revert "drm/msm/dpu: drop dpu_encoder_phys_ops.atomic_mode_set"
Barnabás Czémán <[email protected]>
drm/msm/dpu: fix encoder irq wait skip
David Hildenbrand <[email protected]>
s390/uv: Don't call folio_wait_writeback() without a folio reference
Srinivasan Shanmugam <[email protected]>
drm/amdgpu: Fix type mismatch in amdgpu_gfx_kiq_init_ring
ChiYuan Huang <[email protected]>
media: v4l: async: Fix NULL pointer dereference in adding ancillary links
Ricardo Ribalda <[email protected]>
media: i2c: hi846: Fix V4L2_SUBDEV_FORMAT_TRY get_selection()
Bryan O'Donoghue <[email protected]>
media: i2c: Fix imx412 exposure control
Jouni Högander <[email protected]>
drm/i915/psr: Use enable boolean from intel_crtc_state for Early Transport
Ricardo Ribalda <[email protected]>
media: imon: Fix race getting ictx->lock
Zheng Yejian <[email protected]>
media: dvb-usb: Fix unexpected infinite loop in dvb_usb_read_remote_control()
Mikhail Kobuk <[email protected]>
media: pci: ivtv: Add check for DMA map result
Arnd Bergmann <[email protected]>
drm/amd/display: Move 'struct scaler_data' off stack
Arnd Bergmann <[email protected]>
drm/amd/display: fix graphics_object_id size
Arnd Bergmann <[email protected]>
drm/amd/display: dynamically allocate dml2_configuration_options structures
Srinivasan Shanmugam <[email protected]>
drm/amdgpu: Fix snprintf usage in amdgpu_gfx_kiq_init_ring
Kuro Chung <[email protected]>
drm/bridge: it6505: fix hibernate to resume no display issue
Douglas Anderson <[email protected]>
drm/panel: ilitek-ili9882t: Check for errors on the NOP in prepare()
Douglas Anderson <[email protected]>
drm/panel: ilitek-ili9882t: If prepare fails, disable GPIO before regulators
Douglas Anderson <[email protected]>
drm/panel: boe-tv101wum-nl6: Check for errors on the NOP in prepare()
Douglas Anderson <[email protected]>
drm/panel: boe-tv101wum-nl6: If prepare fails, disable GPIO before regulators
Douglas Anderson <[email protected]>
drm/panel: himax-hx8394: Handle errors from mipi_dsi_dcs_set_display_on() better
Tim Van Patten <[email protected]>
drm/amdgpu: Remove GC HW IP 9.3.0 from noretry=1
Friedrich Vock <[email protected]>
drm/amdgpu: Check if NBIO funcs are NULL in amdgpu_device_baco_exit
Lijo Lazar <[email protected]>
drm/amdgpu: Fix memory range calculation
Lijo Lazar <[email protected]>
drm/amd/pm: Fix aldebaran pcie speed reporting
Dmitry Baryshkov <[email protected]>
drm/panel: lg-sw43408: add missing error handling
Douglas Anderson <[email protected]>
drm/mipi-dsi: Fix theoretical int overflow in mipi_dsi_generic_write_seq()
Douglas Anderson <[email protected]>
drm/mipi-dsi: Fix theoretical int overflow in mipi_dsi_dcs_write_seq()
Jouni Högander <[email protected]>
drm/i915/display: Do not print "psr: enabled" for on Panel Replay
Jouni Högander <[email protected]>
drm/i915/psr: Rename has_psr2 as has_sel_update
Mukul Joshi <[email protected]>
drm/amdkfd: Fix CU Masking for GFX 9.4.3
Faiz Abbas <[email protected]>
drm/arm/komeda: Fix komeda probe failing if there are no links in the secondary pipeline
Andy Yan <[email protected]>
drm/rockchip: vop2: Fix the port mux of VP2
Kuniyuki Iwashima <[email protected]>
tcp: Don't access uninit tcp_rsk(req)->ao_keyid in tcp_create_openreq_child().
Luiz Augusto von Dentz <[email protected]>
Bluetooth: Fix usage of __hci_cmd_sync_status
Elliot Ayrey <[email protected]>
net: bridge: mst: Check vlan state for egress decision
Taehee Yoo <[email protected]>
xdp: fix invalid wait context of page_pool_destroy()
Breno Leitao <[email protected]>
virtio_net: Fix napi_skb_cache_put warning
Jiri Pirko <[email protected]>
virtio_net: add support for Byte Queue Limits
Dmitry Antipov <[email protected]>
Bluetooth: hci_core, hci_sync: cleanup struct discovery_state
Iulia Tanasescu <[email protected]>
Bluetooth: hci_event: Set QoS encryption from BIGInfo report
Neeraj Sanjay Kale <[email protected]>
Bluetooth: btnxpuart: Add handling for boot-signature timeout errors
Kiran K <[email protected]>
Bluetooth: btintel_pcie: Fix irq leak
Kiran K <[email protected]>
Bluetooth: btintel: Refactor btintel_set_ppag()
Sven Peter <[email protected]>
Bluetooth: hci_bcm4377: Use correct unit for timeouts
Amit Cohen <[email protected]>
selftests: forwarding: devlink_lib: Wait for udev events after reloading
Kory Maincent <[email protected]>
net: ethtool: pse-pd: Fix possible null-deref
Kory Maincent <[email protected]>
net: pse-pd: Do not return EOPNOSUPP if config is null
Tengda Wu <[email protected]>
bpf: Fix null pointer dereference in resolve_prog_type() for BPF_PROG_TYPE_EXT
Jeff Layton <[email protected]>
nfsd: nfsd_file_lease_notifier_call gets a file_lease as an argument
Shung-Hsi Yu <[email protected]>
bpf: fix overflow check in adjust_jmp_off()
Alan Maguire <[email protected]>
bpf: Eliminate remaining "make W=1" warnings in kernel/bpf/btf.o
Alexey Kodanev <[email protected]>
bna: adjust 'name' buf size of bna_tcb and bna_ccb structures
Alan Maguire <[email protected]>
bpf: annotate BTF show functions with __printf
Ilpo Järvinen <[email protected]>
selftests/resctrl: Fix closing IMC fds on error and open-code R+W instead of loops
Puranjay Mohan <[email protected]>
bpf, arm64: Fix trampoline for BPF_TRAMP_F_CALL_ORIG
Geliang Tang <[email protected]>
selftests/bpf: Close obj in error path in xdp_adjust_tail
Geliang Tang <[email protected]>
selftests/bpf: Null checks for links in bpf_tcp_ca
Geliang Tang <[email protected]>
selftests/bpf: Close fd in error path in drop_on_reuseport
John Stultz <[email protected]>
locking/rwsem: Add __always_inline annotation to __down_write_common() and inlined callers
Johannes Berg <[email protected]>
wifi: virt_wifi: don't use strlen() in const context
Johannes Berg <[email protected]>
net: page_pool: fix warning code
Gaosheng Cui <[email protected]>
gss_krb5: Fix the error handling path for crypto_sync_skcipher_setkey
Chuck Lever <[email protected]>
NFSD: Fix nfsdcld warning
Benjamin Tissoires <[email protected]>
bpf: helpers: fix bpf_wq_set_callback_impl signature
En-Wei Wu <[email protected]>
wifi: virt_wifi: avoid reporting connection success with wrong SSID
Jianbo Liu <[email protected]>
xfrm: call xfrm_dev_policy_delete when kill policy
Jianbo Liu <[email protected]>
xfrm: fix netdev reference count imbalance
Aleksandr Mishin <[email protected]>
wifi: rtw89: Fix array index mistake in rtw89_sta_info_get_iter()
Sandipan Das <[email protected]>
perf/x86/amd/uncore: Fix DF and UMC domain identification
Sandipan Das <[email protected]>
perf/x86/amd/uncore: Avoid PMU registration if counters are unavailable
Zhang Rui <[email protected]>
perf/x86/intel/cstate: Fix Alderlake/Raptorlake/Meteorlake
Adrian Hunter <[email protected]>
perf: Fix default aux_watermark calculation
Adrian Hunter <[email protected]>
perf: Prevent passing zero nr_pages to rb_alloc_aux()
Adrian Hunter <[email protected]>
perf: Fix perf_aux_size() for greater-than 32-bit size
Adrian Hunter <[email protected]>
perf/x86/intel/pt: Fix pt_topa_entry_for_page() address calculation
Ilya Leoshkevich <[email protected]>
bpf: Fix atomic probe zero-extension
Tao Chen <[email protected]>
bpftool: Mount bpffs when pinmaps path not under the bpffs
Pu Lehui <[email protected]>
riscv, bpf: Fix out-of-bounds issue when preparing trampoline image
Steffen Klassert <[email protected]>
xfrm: Export symbol xfrm_dev_state_delete.
Martin Kaistra <[email protected]>
wifi: rtl8xxxu: 8188f: Limit TX power index
Kuan-Chung Chen <[email protected]>
wifi: rtw89: 8852b: fix definition of KIP register number
Chih-Kang Chang <[email protected]>
wifi: rtw89: wow: fix GTK offload H2C skbuff issue
Karthikeyan Periyasamy <[email protected]>
wifi: ath12k: fix peer metadata parsing
Aloka Dixit <[email protected]>
wifi: ath12k: advertise driver capabilities for MBSSID and EMA
Johannes Berg <[email protected]>
wifi: iwlwifi: mvm: always unblock EMLSR on ROC end
Daniel Gabay <[email protected]>
wifi: iwlwifi: fix iwl_mvm_get_valid_rx_ant()
Johannes Berg <[email protected]>
wifi: mac80211: correcty limit wider BW TDLS STAs
Johannes Berg <[email protected]>
wifi: mac80211: add ieee80211_tdls_sta_link_id()
Pablo Neira Ayuso <[email protected]>
netfilter: nf_tables: rise cap on SELinux secmark context
Ismael Luceno <[email protected]>
ipvs: Avoid unnecessary calls to skb_is_gso_sctp
Steffen Klassert <[email protected]>
xfrm: Fix unregister netdevice hang on hardware offload.
Antoine Tenart <[email protected]>
libbpf: Skip base btf sanity checks
Donglin Peng <[email protected]>
libbpf: Checking the btf_type kind when fixing variable offsets
Jiri Olsa <[email protected]>
bpf: Change bpf_session_cookie return value to __u64 *
Lukasz Majewski <[email protected]>
net: dsa: ksz_common: Allow only up to two HSR HW offloaded ports for KSZ9477
Csókás, Bence <[email protected]>
net: fec: Fix FEC_ECR_EN1588 being cleared on link-down
Jan Kara <[email protected]>
udf: Fix bogus checksum computation in udf_rename()
Antony Antony <[email protected]>
xfrm: Log input direction mismatch error in one place
Antony Antony <[email protected]>
xfrm: Fix input error path memory access
Daniel Xu <[email protected]>
bpf: Make bpf_session_cookie() kfunc return long *
Johannes Berg <[email protected]>
wifi: iwlwifi: mvm: separate non-BSS/ROC EMLSR blocking
Miri Korenblit <[email protected]>
wifi: iwlwifi: mvm: fix re-enabling EMLSR
Johannes Berg <[email protected]>
wifi: nl80211: expose can-monitor channel property
Baochen Qiang <[email protected]>
wifi: cfg80211: handle 2x996 RU allocation in cfg80211_calculate_bitrate_he()
Baochen Qiang <[email protected]>
wifi: cfg80211: fix typo in cfg80211_calculate_bitrate_he()
Aditya Kumar Singh <[email protected]>
wifi: ath12k: fix per pdev debugfs registration
Baochen Qiang <[email protected]>
wifi: ath11k: fix wrong handling of CCMP256 and GCMP ciphers
Baochen Qiang <[email protected]>
wifi: ath12k: fix ACPI warning when resume
Thomas Gleixner <[email protected]>
jump_label: Fix concurrency issues in static_key_slow_dec()
Thomas Gleixner <[email protected]>
perf/x86: Serialize set_attr_rdpmc()
Ido Schimmel <[email protected]>
mlxsw: spectrum_acl: Fix ACL scale regression and firmware errors
Ido Schimmel <[email protected]>
mlxsw: spectrum_acl_erp: Fix object nesting warning
Ido Schimmel <[email protected]>
lib: objagg: Fix general protection fault
Sean Christopherson <[email protected]>
sched/core: Drop spinlocks on contention iff kernel is preemptible
Sean Christopherson <[email protected]>
sched/core: Move preempt_model_*() helpers from sched.h to preempt.h
Jan Kara <[email protected]>
udf: Fix lock ordering in udf_evict_inode()
Geliang Tang <[email protected]>
selftests/bpf: Check length of recv in test_sockmap
Guangguan Wang <[email protected]>
net/smc: set rmb's SG_MAX_SINGLE_ALLOC limitation only when CONFIG_ARCH_NO_SG_CHAIN is defined
Andrii Nakryiko <[email protected]>
libbpf: keep FD_CLOEXEC flag when dup()'ing FD
Arnd Bergmann <[email protected]>
hns3: avoid linking objects into multiple modules
Eric Dumazet <[email protected]>
tcp: fix races in tcp_v[46]_err()
Eric Dumazet <[email protected]>
tcp: fix races in tcp_abort()
Eric Dumazet <[email protected]>
tcp: fix race in tcp_write_err()
Eric Dumazet <[email protected]>
tcp: add tcp_done_with_error() helper
Linus Walleij <[email protected]>
net: ethernet: cortina: Restore TSO support
Baochen Qiang <[email protected]>
wifi: ath12k: fix wrong definition of CE ring's base address
Baochen Qiang <[email protected]>
wifi: ath11k: fix wrong definition of CE ring's base address
Ping-Ke Shih <[email protected]>
wifi: rtw89: 8852c: correct logic and restore PCI PHY EQ after device resume
P Praneesh <[email protected]>
wifi: ath12k: fix firmware crash during reo reinject
P Praneesh <[email protected]>
wifi: ath12k: fix invalid memory access while processing fragmented packets
P Praneesh <[email protected]>
wifi: ath12k: change DMA direction while mapping reinjected packets
Baochen Qiang <[email protected]>
wifi: ath11k: restore country code during resume
Baochen Qiang <[email protected]>
wifi: ath11k: refactor setting country code logic
Johannes Berg <[email protected]>
wifi: mac80211: reset negotiated TTLM on disconnect
Johannes Berg <[email protected]>
wifi: mac80211: cancel TTLM teardown work earlier
Johannes Berg <[email protected]>
wifi: mac80211: cancel multi-link reconf work on disconnect
Johannes Berg <[email protected]>
wifi: mac80211: fix TTLM teardown work
Miri Korenblit <[email protected]>
wifi: iwlwifi: mvm: don't skip link selection
Hagar Hemdan <[email protected]>
net: esp: cleanup esp_output_tail_tcp() in case of unsupported ESPINTCP
Ping-Ke Shih <[email protected]>
wifi: rtw89: 8852b: restore setting for RFE type 5 after device resume
Geliang Tang <[email protected]>
selftests/bpf: Fix prog numbers in test_sockmap
Ivan Babrou <[email protected]>
bpftool: Un-const bpf_func_info to fix it for llvm 17 and newer
Baochen Qiang <[email protected]>
wifi: ath12k: fix Smatch warnings on ath12k_core_suspend()
Nithyanantham Paramasivam <[email protected]>
wifi: ath12k: Fix tx completion ring (WBM2SW) setup failure
Pradeep Kumar Chitrapu <[email protected]>
wifi: ath12k: Correct 6 GHz frequency value in rx status
Samasth Norway Ananda <[email protected]>
wifi: brcmsmac: LCN PHY code is used for BCM4313 2G-only device
Kang Yang <[email protected]>
wifi: ath12k: avoid duplicated vdev stop
Karthikeyan Kathirvel <[email protected]>
wifi: ath12k: drop failed transmitted frames from metric calculation.
Sven Eckelmann <[email protected]>
wifi: ath12k: Don't drop tx_status in failure case
Marek Behún <[email protected]>
firmware: turris-mox-rwtm: Initialize completion before mailbox
Marek Behún <[email protected]>
firmware: turris-mox-rwtm: Fix checking return value of wait_for_completion_timeout()
Marek Behún <[email protected]>
firmware: turris-mox-rwtm: Do not complete if there are no waiters
Christophe Leroy <[email protected]>
vmlinux.lds.h: catch .bss..L* sections into BSS")
Tom Lendacky <[email protected]>
x86/sev: Do RMP memory coverage check after max_pfn has been set
Yanjun Yang <[email protected]>
ARM: Remove address checking for MMUless devices
Dmitry Torokhov <[email protected]>
ARM: spitz: fix GPIO assignment for backlight
Thorsten Blum <[email protected]>
m68k: cmpxchg: Fix return value for default case in __arch_xchg()
Dhananjay Ugwekar <[email protected]>
cpufreq/amd-pstate: Fix the scaling_max_freq setting on shared memory CPPC systems
Dhananjay Ugwekar <[email protected]>
cpufreq/amd-pstate-ut: Convert nominal_freq to khz during comparisons
Luca Weiss <[email protected]>
arm64: dts: qcom: sm6350: Add missing qcom,non-secure-domain property
Chukun Pan <[email protected]>
arm64: dts: rockchip: fixes PHY reset for Lunzn Fastrhino R68S
Chukun Pan <[email protected]>
arm64: dts: rockchip: disable display subsystem for Lunzn Fastrhino R6xS
Chukun Pan <[email protected]>
arm64: dts: rockchip: remove unused usb2 nodes for Lunzn Fastrhino R6xS
Chukun Pan <[email protected]>
arm64: dts: rockchip: fix pmu_io supply for Lunzn Fastrhino R6xS
Chukun Pan <[email protected]>
arm64: dts: rockchip: fix usb regulator for Lunzn Fastrhino R6xS
Chukun Pan <[email protected]>
arm64: dts: rockchip: fix regulator name for Lunzn Fastrhino R6xS
Cristian Ciocaltea <[email protected]>
arm64: dts: rockchip: Add missing power-domains for rk356x vop_mmu
Dang Huynh <[email protected]>
arm64: dts: qcom: qrb4210-rb2: Correct max current draw for VBUS
Chen Ni <[email protected]>
x86/xen: Convert comma to semicolon
Abel Vesa <[email protected]>
arm64: dts: qcom: x1e80100: Fix USB HS PHY 0.8V supply
Adam Ford <[email protected]>
arm64: dts: imx8mp: Fix pgc vpu locations
Adam Ford <[email protected]>
arm64: dts: imx8mp: Fix pgc_mlmix location
Eero Tamminen <[email protected]>
m68k: atari: Fix TT bootup freeze / unexpected (SCU) interrupt messages
Geert Uytterhoeven <[email protected]>
arm64: dts: renesas: r9a08g045: Add missing hypervisor virtual timer IRQ
Geert Uytterhoeven <[email protected]>
arm64: dts: renesas: r9a07g054: Add missing hypervisor virtual timer IRQ
Geert Uytterhoeven <[email protected]>
arm64: dts: renesas: r9a07g044: Add missing hypervisor virtual timer IRQ
Geert Uytterhoeven <[email protected]>
arm64: dts: renesas: r9a07g043u: Add missing hypervisor virtual timer IRQ
Geert Uytterhoeven <[email protected]>
arm64: dts: renesas: r8a779g0: Add missing hypervisor virtual timer IRQ
Geert Uytterhoeven <[email protected]>
arm64: dts: renesas: r8a779f0: Add missing hypervisor virtual timer IRQ
Geert Uytterhoeven <[email protected]>
arm64: dts: renesas: r8a779a0: Add missing hypervisor virtual timer IRQ
Geert Uytterhoeven <[email protected]>
arm64: dts: renesas: r8a779h0: Drop "opp-shared" from opp-table-0
Cristian Ciocaltea <[email protected]>
arm64: dts: rockchip: Fix mic-in-differential usage on rk3568-evb1-v10
Cristian Ciocaltea <[email protected]>
arm64: dts: rockchip: Fix mic-in-differential usage on rk3566-roc-pc
Cristian Ciocaltea <[email protected]>
arm64: dts: rockchip: Drop invalid mic-in-differential on rk3568-rock-3a
Jerome Brunet <[email protected]>
arm64: dts: amlogic: setup hdmi system clock
Jerome Brunet <[email protected]>
arm64: dts: amlogic: add power domain to hdmitx
Jerome Brunet <[email protected]>
arm64: dts: amlogic: gx: correct hdmi clocks
AngeloGioacchino Del Regno <[email protected]>
soc: mediatek: mtk-mutex: Add MDP_TCC0 mod to MT8188 mutex table
Chen-Yu Tsai <[email protected]>
arm64: dts: mediatek: mt8183-kukui-jacuzzi: Add ports node for anx7625
Chen-Yu Tsai <[email protected]>
arm64: dts: mediatek: mt8183-pico6: Fix wake-on-X event node names
Hsin-Te Yuan <[email protected]>
arm64: dts: mediatek: mt8183-kukui: Fix the value of dlg,jack-det-rate mismatch
Rafał Miłecki <[email protected]>
arm64: dts: mediatek: mt7622: fix "emmc" pinctrl mux
Rafał Miłecki <[email protected]>
arm64: dts: mediatek: mt7981: fix code alignment for PWM clocks
Pin-yen Lin <[email protected]>
arm64: dts: mediatek: mt8192-asurada: Add off-on-delay-us for pp3300_mipibrdg
Chen-Yu Tsai <[email protected]>
arm64: dts: mediatek: mt8183-kukui: Drop bogus output-enable property
AngeloGioacchino Del Regno <[email protected]>
arm64: dts: medaitek: mt8395-nio-12l: Set i2c6 pins to bias-disable
AngeloGioacchino Del Regno <[email protected]>
arm64: dts: mediatek: mt8192: Fix GPU thermal zone name for SVS
AngeloGioacchino Del Regno <[email protected]>
arm64: dts: mediatek: mt8195: Fix GPU thermal zone name for SVS
Michael Walle <[email protected]>
ARM: dts: imx6qdl-kontron-samx6i: fix PCIe reset polarity
Michael Walle <[email protected]>
ARM: dts: imx6qdl-kontron-samx6i: fix SPI0 chip selects
Michael Walle <[email protected]>
ARM: dts: imx6qdl-kontron-samx6i: fix board reset
Michael Walle <[email protected]>
ARM: dts: imx6qdl-kontron-samx6i: fix PHY reset
Michael Walle <[email protected]>
ARM: dts: imx6qdl-kontron-samx6i: fix phy-mode
Jerome Brunet <[email protected]>
arm64: dts: amlogic: sm1: fix spdif compatibles
Jonas Karlman <[email protected]>
arm64: dts: rockchip: Increase VOP clk rate on RK3328
Dmitry Baryshkov <[email protected]>
soc: qcom: pdr: fix parsing of domains lists
Dmitry Baryshkov <[email protected]>
soc: qcom: pdr: protect locator_addr with the main mutex
Sibi Sankar <[email protected]>
soc: qcom: icc-bwmon: Fix refcount imbalance seen during bwmon_remove
Komal Bajaj <[email protected]>
arm64: dts: qcom: qdu1000: Add secure qfprom node
Nícolas F. R. A. Prado <[email protected]>
arm64: dts: qcom: sc7180-trogdor: Disable pwmleds node where unused
Jai Luthra <[email protected]>
arm64: dts: ti: k3-am62p5-sk: Fix pinmux for McASP1 TX
Jai Luthra <[email protected]>
arm64: dts: ti: k3-am625-phyboard-lyra-rdk: Drop McASP AFIFOs
Jai Luthra <[email protected]>
arm64: dts: ti: k3-am62-verdin: Drop McASP AFIFOs
Jai Luthra <[email protected]>
arm64: dts: ti: k3-am625-beagleplay: Drop McASP AFIFOs
Jai Luthra <[email protected]>
arm64: dts: ti: k3-am62p5: Drop McASP AFIFOs
Jai Luthra <[email protected]>
arm64: dts: ti: k3-am62a7: Drop McASP AFIFOs
Jai Luthra <[email protected]>
arm64: dts: ti: k3-am62x: Drop McASP AFIFOs
Vaishnav Achath <[email protected]>
arm64: dts: ti: k3-j722s: Fix main domain GPIO count
Josua Mayer <[email protected]>
arm64: dts: ti: k3-am642-hummingboard-t: correct rs485 rts polarity
Jayesh Choudhary <[email protected]>
arm64: dts: ti: k3-am62p-main: Fix the reg-range for main_pktdma
Jayesh Choudhary <[email protected]>
arm64: dts: ti: k3-am62a-main: Fix the reg-range for main_pktdma
Jayesh Choudhary <[email protected]>
arm64: dts: ti: k3-am62-main: Fix the reg-range for main_pktdma
Esben Haabendal <[email protected]>
memory: fsl_ifc: Make FSL_IFC config visible and selectable
Primoz Fiser <[email protected]>
OPP: ti: Fix ti_opp_supply_probe wrong return values
Konrad Dybcio <[email protected]>
arm64: dts: qcom: sc8280xp: Throttle the GPU when overheating
Konrad Dybcio <[email protected]>
arm64: dts: qcom: sc8280xp-*: Remove thermal zone polling delays
Primoz Fiser <[email protected]>
cpufreq: ti-cpufreq: Handle deferred probe with dev_err_probe()
Dmitry Baryshkov <[email protected]>
arm64: dts: qcom: qrb4210-rb2: make L9A always-on
Marek Vasut <[email protected]>
ARM: dts: stm32: Add arm,no-tick-in-suspend to STM32MP15xx STGEN timer
Pavel Löbl <[email protected]>
ARM: dts: sunxi: remove duplicated entries in makefile
Jay Buddhabhatti <[email protected]>
soc: xilinx: rename cpu_number1 to dummy_cpu_number
Sagar Cheluvegowda <[email protected]>
arm64: dts: qcom: sa8775p: mark ethernet devices as DMA-coherent
Dmitry Baryshkov <[email protected]>
arm64: dts: qcom: msm8996: specify UFS core_clk frequencies
Viresh Kumar <[email protected]>
OPP: Fix missing cleanup on error in _opp_attach_genpd()
Javier Carrasco <[email protected]>
cpufreq: sun50i: fix memory leak in dt_has_supported_hw()
Jonas Karlman <[email protected]>
arm64: dts: rockchip: Update WIFi/BT related nodes on rk3308-rock-pi-s
Jonas Karlman <[email protected]>
arm64: dts: rockchip: Add mdio and ethernet-phy nodes to rk3308-rock-pi-s
Jonas Karlman <[email protected]>
arm64: dts: rockchip: Add pinctrl for UART0 to rk3308-rock-pi-s
Jonas Karlman <[email protected]>
arm64: dts: rockchip: Add sdmmc related properties on rk3308-rock-pi-s
Stephen Boyd <[email protected]>
soc: qcom: rpmh-rsc: Ensure irqs aren't disabled by rpmh_rsc_send_data() callers
Chen Ni <[email protected]>
soc: qcom: pmic_glink: Handle the return value of pmic_glink_init
Marc Gonzalez <[email protected]>
arm64: dts: qcom: msm8998: enable adreno_smmu by default
Dmitry Baryshkov <[email protected]>
arm64: dts: qcom: sdm850-lenovo-yoga-c630: fix IPA firmware path
Dmitry Baryshkov <[email protected]>
arm64: dts: qcom: msm8996-xiaomi-common: drop excton from the USB PHY
Dmitry Baryshkov <[email protected]>
arm64: dts: qcom: sm8450: add power-domain to UFS PHY
Dmitry Baryshkov <[email protected]>
arm64: dts: qcom: sm8350: add power-domain to UFS PHY
Dmitry Baryshkov <[email protected]>
arm64: dts: qcom: sm8250: add power-domain to UFS PHY
Dmitry Baryshkov <[email protected]>
arm64: dts: qcom: sm6350: add power-domain to UFS PHY
Dmitry Baryshkov <[email protected]>
arm64: dts: qcom: sm6115: add power-domain to UFS PHY
Dmitry Baryshkov <[email protected]>
arm64: dts: qcom: sdm845: add power-domain to UFS PHY
Dmitry Baryshkov <[email protected]>
arm64: dts: qcom: sc8180x: add power-domain to UFS PHY
Dmitry Baryshkov <[email protected]>
arm64: dts: qcom: sc7180: drop extra UFS PHY compat
Rayyan Ansari <[email protected]>
ARM: dts: qcom: msm8226-microsoft-common: Enable smbb explicitly
Viken Dadhaniya <[email protected]>
arm64: dts: qcom: sc7280: Remove CTS/RTS configuration
Bjorn Andersson <[email protected]>
arm64: dts: qcom: sc8180x: Correct PCIe slave ports
Konrad Dybcio <[email protected]>
soc: qcom: socinfo: Update X1E PMICs
Guenter Roeck <[email protected]>
hwmon: (max6697) Fix swapped temp{1,8} critical alarms
Guenter Roeck <[email protected]>
hwmon: (max6697) Fix underflow when writing limit attributes
Nirmoy Das <[email protected]>
drm/xe/display/xe_hdcp_gsc: Free arbiter on driver removal
Uwe Kleine-König <[email protected]>
pwm: atmel-tcb: Fix race condition and convert to guards
Yao Zi <[email protected]>
drm/meson: fix canvas release in bind function
Gaosheng Cui <[email protected]>
nvmet-auth: fix nvmet_auth hash error handling
Jinjie Ruan <[email protected]>
arm64: smp: Fix missing IPI statistics
Adam Ford <[email protected]>
drm/bridge: adv7511: Fix Intermittent EDID failures
Uwe Kleine-König <[email protected]>
pwm: stm32: Always do lazy disabling
Dan Carpenter <[email protected]>
hwmon: (ltc2991) re-order conditions to fix off by one bug
Benjamin Marzinski <[email protected]>
md/raid5: recheck if reshape has finished with device_lock held
Yu Kuai <[email protected]>
md: Don't wait for MD_RECOVERY_NEEDED for HOT_REMOVE_DISK ioctl
Rob Herring (Arm) <[email protected]>
perf: arm_pmuv3: Avoid assigning fixed cycle counter with threshold
Christoph Hellwig <[email protected]>
xen-blkfront: fix sector_size propagation to the block layer
Bart Van Assche <[email protected]>
block/mq-deadline: Fix the tag reservation code
Bart Van Assche <[email protected]>
block: Call .limit_depth() after .hctx has been set
Wayne Tung <[email protected]>
hwmon: (adt7475) Fix default duty on fan is disabled
Chen Ridong <[email protected]>
cgroup/cpuset: Prevent UAF in proc_cpuset_show()
Josh Poimboeuf <[email protected]>
x86/syscall: Mark exit[_group] syscall handlers __noreturn
Ilpo Järvinen <[email protected]>
x86/platform/iosf_mbi: Convert PCIBIOS_* return codes to errnos
Ilpo Järvinen <[email protected]>
x86/pci/xen: Fix PCIBIOS_* return code handling
Ilpo Järvinen <[email protected]>
x86/pci/intel_mid_pci: Fix PCIBIOS_* return code handling
Ilpo Järvinen <[email protected]>
x86/of: Return consistent error type from x86_of_pci_irq_enable()
Chao Yu <[email protected]>
hfsplus: fix to avoid false alarm of circular locking
Masahiro Yamada <[email protected]>
x86/kconfig: Add as-instr64 macro to properly evaluate AS_WRUSS
Waiman Long <[email protected]>
cgroup/cpuset: Fix remote root partition creation problem
Waiman Long <[email protected]>
cgroup/cpuset: Optimize isolated partition only generate_sched_domains() calls
Gabriel Krisman Bertazi <[email protected]>
io_uring: Fix probe of disabled operations
Damien Le Moal <[email protected]>
dm: Call dm_revalidate_zones() after setting the queue limits
Christoph Hellwig <[email protected]>
block: initialize integrity buffer to zero before writing it to media
Christoph Hellwig <[email protected]>
ubd: untagle discard vs write zeroes not support handling
Christoph Hellwig <[email protected]>
ubd: refactor the interrupt handler
Tzung-Bi Shih <[email protected]>
platform/chrome: cros_ec_debugfs: fix wrong EC message version
Christoph Hellwig <[email protected]>
md/raid1: don't free conf on raid0_run failure
Christoph Hellwig <[email protected]>
md/raid0: don't free conf on raid0_run failure
Li Nan <[email protected]>
md: fix deadlock between mddev_suspend and flush bio
Frederic Weisbecker <[email protected]>
rcu/tasks: Fix stale task snaphot for Tasks Trace
Arnd Bergmann <[email protected]>
EDAC, i10nm: make skx_common.o a separate module
Chen Ni <[email protected]>
spi: atmel-quadspi: Add missing check for clk_prepare
Prajna Rajendra Kumar <[email protected]>
spi: spi-microchip-core: Fix the number of chip selects supported
-------------
Diffstat:
Documentation/admin-guide/kernel-parameters.txt | 4 +- Documentation/arch/powerpc/kvm-nested.rst | 4 +- .../phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml | 2 +- .../devicetree/bindings/thermal/thermal-zones.yaml | 5 +- Documentation/networking/xsk-tx-metadata.rst | 16 +- Documentation/virt/kvm/api.rst | 12 + Makefile | 4 +- arch/arm/boot/dts/allwinner/Makefile | 62 -- .../arm/boot/dts/nxp/imx/imx6q-kontron-samx6i.dtsi | 23 - .../boot/dts/nxp/imx/imx6qdl-kontron-samx6i.dtsi | 14 +- .../dts/qcom/qcom-msm8226-microsoft-common.dtsi | 4 + arch/arm/boot/dts/st/stm32mp151.dtsi | 1 + arch/arm/mach-pxa/spitz.c | 30 +- arch/arm/mm/fault.c | 4 +- arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi | 5 + arch/arm64/boot/dts/amlogic/meson-g12.dtsi | 4 + arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 10 +- arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 10 +- arch/arm64/boot/dts/amlogic/meson-sm1.dtsi | 8 +- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 89 +-- .../boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts | 4 +- arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts | 4 +- arch/arm64/boot/dts/mediatek/mt7981b.dtsi | 8 +- .../dts/mediatek/mt8183-kukui-audio-da7219.dtsi | 2 +- .../dts/mediatek/mt8183-kukui-jacuzzi-pico6.dts | 8 +- .../boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi | 25 +- arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 4 +- arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi | 1 + arch/arm64/boot/dts/mediatek/mt8192.dtsi | 2 +- arch/arm64/boot/dts/mediatek/mt8195.dtsi | 2 +- .../boot/dts/mediatek/mt8395-radxa-nio-12l.dts | 2 +- .../arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi | 1 - arch/arm64/boot/dts/qcom/msm8996.dtsi | 2 +- arch/arm64/boot/dts/qcom/msm8998.dtsi | 1 - arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts | 1 - arch/arm64/boot/dts/qcom/qcm6490-idp.dts | 1 - arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts | 1 - arch/arm64/boot/dts/qcom/qdu1000.dtsi | 15 + arch/arm64/boot/dts/qcom/qrb4210-rb2.dts | 4 +- arch/arm64/boot/dts/qcom/sa8775p.dtsi | 2 + .../boot/dts/qcom/sc7180-trogdor-lazor-r1-kb.dts | 2 +- .../boot/dts/qcom/sc7180-trogdor-lazor-r1-lte.dts | 2 +- .../boot/dts/qcom/sc7180-trogdor-lazor-r10-kb.dts | 2 +- .../boot/dts/qcom/sc7180-trogdor-lazor-r10-lte.dts | 2 +- .../boot/dts/qcom/sc7180-trogdor-lazor-r3-kb.dts | 2 +- .../boot/dts/qcom/sc7180-trogdor-lazor-r3-lte.dts | 2 +- .../boot/dts/qcom/sc7180-trogdor-lazor-r9-kb.dts | 2 +- .../boot/dts/qcom/sc7180-trogdor-lazor-r9-lte.dts | 2 +- arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 5 +- arch/arm64/boot/dts/qcom/sc7180.dtsi | 3 +- arch/arm64/boot/dts/qcom/sc7280-idp.dtsi | 1 - arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi | 1 - arch/arm64/boot/dts/qcom/sc7280.dtsi | 14 +- arch/arm64/boot/dts/qcom/sc8180x.dtsi | 8 +- .../dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 2 +- arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi | 4 +- arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 28 +- arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 + .../boot/dts/qcom/sdm850-lenovo-yoga-c630.dts | 1 + arch/arm64/boot/dts/qcom/sm6115.dtsi | 2 + arch/arm64/boot/dts/qcom/sm6350.dtsi | 4 + arch/arm64/boot/dts/qcom/sm8250.dtsi | 2 + arch/arm64/boot/dts/qcom/sm8350.dtsi | 2 + arch/arm64/boot/dts/qcom/sm8450.dtsi | 2 + arch/arm64/boot/dts/qcom/x1e80100-crd.dts | 6 +- arch/arm64/boot/dts/qcom/x1e80100-qcp.dts | 6 +- arch/arm64/boot/dts/renesas/r8a779a0.dtsi | 5 +- arch/arm64/boot/dts/renesas/r8a779f0.dtsi | 5 +- arch/arm64/boot/dts/renesas/r8a779g0.dtsi | 5 +- arch/arm64/boot/dts/renesas/r8a779h0.dtsi | 1 - arch/arm64/boot/dts/renesas/r9a07g043u.dtsi | 5 +- arch/arm64/boot/dts/renesas/r9a07g044.dtsi | 5 +- arch/arm64/boot/dts/renesas/r9a07g054.dtsi | 5 +- arch/arm64/boot/dts/renesas/r9a08g045.dtsi | 5 +- arch/arm64/boot/dts/rockchip/rk3308-rock-pi-s.dts | 71 +- arch/arm64/boot/dts/rockchip/rk3328.dtsi | 4 +- arch/arm64/boot/dts/rockchip/rk3566-roc-pc.dts | 2 +- arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts | 2 +- .../boot/dts/rockchip/rk3568-fastrhino-r66s.dts | 4 + .../boot/dts/rockchip/rk3568-fastrhino-r66s.dtsi | 48 +- .../boot/dts/rockchip/rk3568-fastrhino-r68s.dts | 16 +- arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts | 4 - arch/arm64/boot/dts/rockchip/rk356x.dtsi | 1 + arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 4 +- arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi | 4 - arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts | 2 - .../boot/dts/ti/k3-am625-phyboard-lyra-rdk.dts | 2 - arch/arm64/boot/dts/ti/k3-am62a-main.dtsi | 4 +- arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 2 - arch/arm64/boot/dts/ti/k3-am62p-main.dtsi | 4 +- arch/arm64/boot/dts/ti/k3-am62p5-sk.dts | 4 +- arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi | 2 - arch/arm64/boot/dts/ti/k3-am642-hummingboard-t.dts | 1 - arch/arm64/boot/dts/ti/k3-j722s.dtsi | 8 + arch/arm64/include/asm/pgtable.h | 22 + arch/arm64/kernel/smp.c | 6 +- arch/arm64/net/bpf_jit_comp.c | 4 +- arch/loongarch/kernel/hw_breakpoint.c | 2 +- arch/loongarch/kernel/ptrace.c | 3 + arch/m68k/amiga/config.c | 9 + arch/m68k/atari/ataints.c | 6 +- arch/m68k/include/asm/cmpxchg.h | 2 +- arch/mips/Makefile | 2 +- arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi | 21 +- arch/mips/include/asm/mach-loongson64/boot_param.h | 2 + arch/mips/include/asm/mips-cm.h | 4 + arch/mips/kernel/smp-cps.c | 5 +- arch/mips/loongson64/env.c | 8 + arch/mips/loongson64/reset.c | 38 +- arch/mips/loongson64/smp.c | 23 +- arch/mips/pci/pcie-octeon.c | 0 arch/mips/sgi-ip30/ip30-console.c | 1 + arch/parisc/Kconfig | 1 + arch/powerpc/include/asm/guest-state-buffer.h | 3 +- arch/powerpc/include/asm/kvm_book3s.h | 1 + arch/powerpc/kernel/prom.c | 12 +- arch/powerpc/kexec/core_64.c | 55 +- arch/powerpc/kvm/book3s_hv.c | 9 +- arch/powerpc/kvm/book3s_hv_nestedv2.c | 7 + arch/powerpc/kvm/powerpc.c | 4 +- arch/powerpc/kvm/test-guest-state-buffer.c | 2 +- arch/powerpc/mm/nohash/8xx.c | 3 +- arch/powerpc/xmon/ppc-dis.c | 33 +- arch/riscv/kernel/head.S | 19 +- arch/riscv/kernel/smpboot.c | 14 +- arch/riscv/net/bpf_jit_comp64.c | 18 +- arch/s390/kernel/perf_cpum_cf.c | 14 +- arch/s390/kernel/setup.c | 2 +- arch/s390/kernel/uv.c | 8 + arch/s390/kvm/kvm-s390.c | 3 + arch/s390/pci/pci_irq.c | 110 ++-- arch/sparc/include/asm/oplib_64.h | 1 + arch/sparc/prom/init_64.c | 3 - arch/sparc/prom/p1275.c | 2 +- arch/um/drivers/ubd_kern.c | 50 +- arch/um/kernel/time.c | 4 +- arch/um/os-Linux/signal.c | 118 +++- arch/x86/Kconfig.assembler | 2 +- arch/x86/Makefile.um | 1 + arch/x86/entry/syscall_32.c | 10 +- arch/x86/entry/syscall_64.c | 9 +- arch/x86/entry/syscall_x32.c | 7 +- arch/x86/entry/syscalls/syscall_32.tbl | 6 +- arch/x86/entry/syscalls/syscall_64.tbl | 6 +- arch/x86/events/amd/uncore.c | 28 +- arch/x86/events/core.c | 3 + arch/x86/events/intel/cstate.c | 7 +- arch/x86/events/intel/ds.c | 8 +- arch/x86/events/intel/pt.c | 4 +- arch/x86/events/intel/pt.h | 4 +- arch/x86/events/intel/uncore_snbep.c | 6 +- arch/x86/include/asm/kvm-x86-ops.h | 1 - arch/x86/include/asm/kvm_host.h | 3 +- arch/x86/include/asm/shstk.h | 2 + arch/x86/kernel/devicetree.c | 2 +- arch/x86/kernel/shstk.c | 11 + arch/x86/kernel/uprobes.c | 7 +- arch/x86/kvm/vmx/main.c | 1 - arch/x86/kvm/vmx/nested.c | 47 +- arch/x86/kvm/vmx/posted_intr.h | 10 + arch/x86/kvm/vmx/vmx.c | 31 +- arch/x86/kvm/vmx/vmx.h | 1 + arch/x86/kvm/vmx/x86_ops.h | 1 - arch/x86/kvm/x86.c | 14 +- arch/x86/pci/intel_mid_pci.c | 4 +- arch/x86/pci/xen.c | 4 +- arch/x86/platform/intel/iosf_mbi.c | 4 +- arch/x86/um/sys_call_table_32.c | 10 +- arch/x86/um/sys_call_table_64.c | 11 +- arch/x86/virt/svm/sev.c | 44 +- arch/x86/xen/p2m.c | 4 +- block/bio-integrity.c | 11 +- block/blk-mq.c | 32 +- block/genhd.c | 2 +- block/mq-deadline.c | 20 +- drivers/android/binder.c | 4 +- drivers/ata/libata-scsi.c | 176 ++--- drivers/auxdisplay/ht16k33.c | 1 + drivers/base/devres.c | 11 +- drivers/block/null_blk/main.c | 2 +- drivers/block/rbd.c | 35 +- drivers/block/ublk_drv.c | 5 +- drivers/block/xen-blkfront.c | 16 +- drivers/bluetooth/btintel.c | 119 +--- drivers/bluetooth/btintel_pcie.c | 6 + drivers/bluetooth/btnxpuart.c | 52 +- drivers/bluetooth/btusb.c | 4 + drivers/bluetooth/hci_bcm4377.c | 2 +- drivers/bus/mhi/ep/main.c | 14 +- drivers/char/hw_random/amd-rng.c | 4 +- drivers/char/hw_random/core.c | 4 +- drivers/char/ipmi/ssif_bmc.c | 6 +- drivers/char/tpm/eventlog/common.c | 2 + drivers/char/tpm/tpm_tis_spi_main.c | 1 + drivers/clk/clk-en7523.c | 9 +- drivers/clk/davinci/da8xx-cfgchip.c | 4 +- drivers/clk/meson/s4-peripherals.c | 2 +- drivers/clk/meson/s4-pll.c | 5 + drivers/clk/qcom/camcc-sc7280.c | 5 + drivers/clk/qcom/clk-rcg2.c | 32 + drivers/clk/qcom/gcc-sa8775p.c | 40 ++ drivers/clk/qcom/gcc-sc7280.c | 3 + drivers/clk/qcom/gcc-x1e80100.c | 46 +- drivers/clk/qcom/gpucc-sa8775p.c | 41 +- drivers/clk/qcom/gpucc-sm8350.c | 5 +- drivers/clk/qcom/kpss-xcc.c | 4 +- drivers/clk/samsung/clk-exynos4.c | 13 +- drivers/cpufreq/amd-pstate-ut.c | 12 +- drivers/cpufreq/amd-pstate.c | 43 +- drivers/cpufreq/qcom-cpufreq-nvmem.c | 13 +- drivers/cpufreq/sun50i-cpufreq-nvmem.c | 4 +- drivers/cpufreq/ti-cpufreq.c | 2 +- drivers/crypto/atmel-sha204a.c | 2 +- drivers/crypto/ccp/sev-dev.c | 8 +- drivers/crypto/intel/qat/qat_common/adf_cfg.c | 6 +- drivers/crypto/mxs-dcp.c | 3 +- drivers/crypto/tegra/tegra-se-main.c | 1 - drivers/dma/fsl-edma-common.c | 3 + drivers/dma/fsl-edma-common.h | 1 + drivers/dma/fsl-edma-main.c | 2 +- drivers/dma/ti/k3-udma.c | 4 +- drivers/edac/Makefile | 10 +- drivers/edac/skx_common.c | 21 +- drivers/edac/skx_common.h | 4 +- drivers/firmware/efi/libstub/screen_info.c | 2 + drivers/firmware/efi/libstub/x86-stub.c | 25 +- drivers/firmware/turris-mox-rwtm.c | 23 +- drivers/gpu/drm/Kconfig | 3 +- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 5 +- drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 1 - drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 9 +- drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c | 12 + drivers/gpu/drm/amd/amdgpu/smu_v13_0_10.c | 2 +- drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c | 6 + drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c | 6 + drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c | 6 + drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c | 2 +- drivers/gpu/drm/amd/display/dc/core/dc_surface.c | 3 +- drivers/gpu/drm/amd/display/dc/dc.h | 1 + .../drm/amd/display/dc/dml2/dml2_mall_phantom.c | 2 + .../amd/display/dc/dml2/dml2_translation_helper.c | 56 +- .../gpu/drm/amd/display/dc/optc/dcn10/dcn10_optc.c | 15 +- .../gpu/drm/amd/display/dc/optc/dcn20/dcn20_optc.c | 10 + .../amd/display/dc/resource/dcn32/dcn32_resource.c | 12 +- .../display/dc/resource/dcn321/dcn321_resource.c | 12 +- .../gpu/drm/amd/display/include/grph_object_id.h | 4 +- drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c | 4 +- drivers/gpu/drm/arm/display/komeda/komeda_crtc.c | 43 +- drivers/gpu/drm/bridge/adv7511/adv7511.h | 2 +- drivers/gpu/drm/bridge/adv7511/adv7511_cec.c | 13 +- drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 22 +- drivers/gpu/drm/bridge/ite-it6505.c | 81 ++- drivers/gpu/drm/bridge/samsung-dsim.c | 4 +- drivers/gpu/drm/display/drm_dp_mst_topology.c | 4 +- drivers/gpu/drm/drm_fbdev_dma.c | 3 +- drivers/gpu/drm/drm_panic.c | 70 +- drivers/gpu/drm/etnaviv/etnaviv_gem.c | 6 +- drivers/gpu/drm/etnaviv/etnaviv_sched.c | 9 +- drivers/gpu/drm/gma500/cdv_intel_lvds.c | 3 + drivers/gpu/drm/gma500/psb_intel_lvds.c | 3 + .../gpu/drm/i915/display/intel_crtc_state_dump.c | 7 +- drivers/gpu/drm/i915/display/intel_display.c | 6 +- drivers/gpu/drm/i915/display/intel_display_types.h | 2 +- drivers/gpu/drm/i915/display/intel_dp.c | 4 +- .../gpu/drm/i915/display/intel_dp_link_training.c | 55 +- drivers/gpu/drm/i915/display/intel_fbc.c | 2 +- drivers/gpu/drm/i915/display/intel_psr.c | 36 +- .../gpu/drm/i915/gt/intel_execlists_submission.c | 6 +- drivers/gpu/drm/mediatek/mtk_ddp_comp.c | 107 +-- drivers/gpu/drm/mediatek/mtk_ddp_comp.h | 8 +- drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 41 +- drivers/gpu/drm/mediatek/mtk_disp_ovl_adaptor.c | 2 +- drivers/gpu/drm/mediatek/mtk_dp.c | 10 +- drivers/gpu/drm/mediatek/mtk_dpi.c | 5 +- drivers/gpu/drm/mediatek/mtk_drm_drv.c | 24 + drivers/gpu/drm/mediatek/mtk_drm_drv.h | 4 + drivers/gpu/drm/mediatek/mtk_dsi.c | 5 +- drivers/gpu/drm/mediatek/mtk_ethdr.c | 21 +- drivers/gpu/drm/mediatek/mtk_plane.c | 4 +- drivers/gpu/drm/meson/meson_drv.c | 37 +- drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 2 +- drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c | 13 +- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 7 +- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys.h | 5 + .../gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c | 32 +- .../gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c | 13 +- .../gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c | 14 +- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 6 - drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.h | 3 +- drivers/gpu/drm/msm/dp/dp_aux.c | 5 +- drivers/gpu/drm/msm/dsi/dsi_host.c | 6 +- drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c | 8 +- drivers/gpu/drm/panel/panel-himax-hx8394.c | 3 +- drivers/gpu/drm/panel/panel-ilitek-ili9882t.c | 8 +- drivers/gpu/drm/panel/panel-lg-sw43408.c | 33 +- drivers/gpu/drm/panfrost/panfrost_drv.c | 1 + drivers/gpu/drm/panthor/panthor_sched.c | 1 + drivers/gpu/drm/qxl/qxl_display.c | 17 +- drivers/gpu/drm/qxl/qxl_object.c | 13 +- drivers/gpu/drm/qxl/qxl_object.h | 4 +- drivers/gpu/drm/rockchip/rockchip_drm_vop2.c | 2 +- drivers/gpu/drm/ttm/tests/ttm_bo_test.c | 48 +- drivers/gpu/drm/ttm/tests/ttm_kunit_helpers.c | 7 +- drivers/gpu/drm/ttm/tests/ttm_kunit_helpers.h | 3 +- drivers/gpu/drm/ttm/tests/ttm_pool_test.c | 4 +- drivers/gpu/drm/ttm/tests/ttm_resource_test.c | 2 +- drivers/gpu/drm/ttm/tests/ttm_tt_test.c | 20 +- drivers/gpu/drm/udl/udl_modeset.c | 3 +- drivers/gpu/drm/xe/display/xe_hdcp_gsc.c | 12 +- drivers/gpu/drm/xe/xe_bo.c | 47 +- drivers/gpu/drm/xe/xe_bo_types.h | 3 +- drivers/gpu/drm/xe/xe_exec.c | 14 +- drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 1 + drivers/gpu/drm/xlnx/zynqmp_dpsub.c | 1 + drivers/gpu/drm/xlnx/zynqmp_kms.c | 12 +- drivers/hwmon/adt7475.c | 2 +- drivers/hwmon/ltc2991.c | 4 +- drivers/hwmon/max6697.c | 5 +- drivers/hwtracing/coresight/coresight-platform.c | 4 +- drivers/i3c/master/mipi-i3c-hci/core.c | 8 + drivers/iio/adc/ad9467.c | 65 +- drivers/iio/adc/adi-axi-adc.c | 2 + drivers/iio/frequency/adrf6780.c | 1 - drivers/iio/industrialio-gts-helper.c | 7 +- drivers/infiniband/core/cache.c | 14 +- drivers/infiniband/core/device.c | 14 +- drivers/infiniband/core/iwcm.c | 11 +- drivers/infiniband/hw/bnxt_re/ib_verbs.c | 8 +- drivers/infiniband/hw/bnxt_re/qplib_fp.h | 6 +- drivers/infiniband/hw/hns/hns_roce_device.h | 7 + drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 164 +++-- drivers/infiniband/hw/hns/hns_roce_hw_v2.h | 6 + drivers/infiniband/hw/hns/hns_roce_mr.c | 5 + drivers/infiniband/hw/hns/hns_roce_qp.c | 4 +- drivers/infiniband/hw/hns/hns_roce_srq.c | 2 +- drivers/infiniband/hw/mana/device.c | 16 +- drivers/infiniband/hw/mlx4/alias_GUID.c | 2 +- drivers/infiniband/hw/mlx4/mad.c | 2 +- drivers/infiniband/hw/mlx5/mlx5_ib.h | 13 + drivers/infiniband/hw/mlx5/odp.c | 6 +- drivers/infiniband/sw/rxe/rxe_req.c | 7 +- drivers/input/keyboard/qt1050.c | 7 +- drivers/input/mouse/elan_i2c_core.c | 2 + drivers/interconnect/qcom/qcm2290.c | 2 +- drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 2 +- drivers/iommu/arm/arm-smmu/arm-smmu-qcom-debug.c | 17 +- drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 39 ++ drivers/iommu/arm/arm-smmu/arm-smmu-qcom.h | 2 + drivers/iommu/intel/cache.c | 3 +- drivers/iommu/intel/iommu.c | 2 +- drivers/iommu/iommufd/iova_bitmap.c | 5 +- drivers/iommu/iommufd/selftest.c | 2 +- drivers/iommu/sprd-iommu.c | 2 +- drivers/irqchip/irq-imx-irqsteer.c | 24 +- drivers/isdn/hardware/mISDN/hfcmulti.c | 7 +- drivers/leds/flash/leds-mt6360.c | 5 +- drivers/leds/flash/leds-qcom-flash.c | 10 +- drivers/leds/led-class.c | 1 - drivers/leds/led-triggers.c | 8 +- drivers/leds/leds-ss4200.c | 7 +- drivers/leds/rgb/leds-qcom-lpg.c | 8 +- drivers/leds/trigger/ledtrig-timer.c | 5 - drivers/macintosh/therm_windtunnel.c | 2 +- drivers/mailbox/imx-mailbox.c | 10 +- drivers/mailbox/mtk-cmdq-mailbox.c | 12 +- drivers/mailbox/omap-mailbox.c | 3 +- drivers/md/dm-raid.c | 7 +- drivers/md/dm-table.c | 15 +- drivers/md/dm-verity-target.c | 16 +- drivers/md/dm-zone.c | 25 +- drivers/md/dm.h | 1 + drivers/md/md-bitmap.c | 6 +- drivers/md/md-cluster.c | 22 +- drivers/md/md.c | 32 +- drivers/md/raid0.c | 21 +- drivers/md/raid1.c | 15 +- drivers/md/raid5.c | 76 ++- drivers/media/i2c/Kconfig | 1 + drivers/media/i2c/alvium-csi2.c | 6 +- drivers/media/i2c/hi846.c | 2 +- drivers/media/i2c/imx219.c | 2 +- drivers/media/i2c/imx412.c | 9 +- drivers/media/pci/intel/ivsc/mei_csi.c | 14 +- drivers/media/pci/ivtv/ivtv-udma.c | 8 + drivers/media/pci/ivtv/ivtv-yuv.c | 6 + drivers/media/pci/ivtv/ivtvfb.c | 6 +- drivers/media/pci/saa7134/saa7134-dvb.c | 8 +- .../mediatek/vcodec/decoder/vdec/vdec_vp8_if.c | 2 +- .../platform/mediatek/vcodec/decoder/vdec_vpu_if.c | 6 + drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c | 3 + drivers/media/platform/nxp/imx-pxp.c | 3 + drivers/media/platform/qcom/venus/vdec.c | 3 +- drivers/media/platform/renesas/rcar-csi2.c | 5 +- drivers/media/platform/renesas/rcar-vin/rcar-dma.c | 16 +- drivers/media/platform/renesas/vsp1/vsp1_histo.c | 20 +- drivers/media/platform/renesas/vsp1/vsp1_pipe.h | 2 +- drivers/media/platform/renesas/vsp1/vsp1_rpf.c | 8 +- .../platform/st/sti/c8sectpfe/c8sectpfe-debugfs.h | 4 +- .../platform/st/stm32/stm32-dcmipp/dcmipp-core.c | 4 +- drivers/media/rc/imon.c | 5 +- drivers/media/rc/lirc_dev.c | 4 +- drivers/media/usb/dvb-usb/dvb-usb-init.c | 35 +- drivers/media/usb/uvc/uvc_ctrl.c | 9 +- drivers/media/usb/uvc/uvc_driver.c | 12 +- drivers/media/usb/uvc/uvc_video.c | 21 +- drivers/media/usb/uvc/uvcvideo.h | 1 + drivers/media/v4l2-core/v4l2-async.c | 3 + drivers/memory/Kconfig | 2 +- drivers/mfd/Makefile | 6 +- drivers/mfd/omap-usb-tll.c | 3 +- drivers/mfd/rsmu_core.c | 2 + drivers/misc/eeprom/ee1004.c | 6 +- drivers/mtd/nand/raw/Kconfig | 3 +- drivers/mtd/spi-nor/winbond.c | 2 + drivers/mtd/tests/Makefile | 34 +- drivers/mtd/tests/mtd_test.c | 9 + drivers/mtd/ubi/eba.c | 3 +- drivers/net/bonding/bond_main.c | 7 +- drivers/net/dsa/b53/b53_common.c | 3 + drivers/net/dsa/microchip/ksz_common.c | 7 + drivers/net/dsa/mv88e6xxx/chip.c | 3 +- drivers/net/ethernet/brocade/bna/bna_types.h | 2 +- drivers/net/ethernet/brocade/bna/bnad.c | 11 +- drivers/net/ethernet/cortina/gemini.c | 23 +- drivers/net/ethernet/freescale/fec_main.c | 6 + drivers/net/ethernet/google/gve/gve_tx.c | 5 +- drivers/net/ethernet/google/gve/gve_tx_dqo.c | 22 +- drivers/net/ethernet/hisilicon/hns3/Makefile | 11 +- .../hisilicon/hns3/hns3_common/hclge_comm_cmd.c | 11 + .../hisilicon/hns3/hns3_common/hclge_comm_rss.c | 14 + .../hns3/hns3_common/hclge_comm_tqp_stats.c | 5 + drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c | 2 +- drivers/net/ethernet/intel/ice/ice_fdir.h | 3 + drivers/net/ethernet/intel/ice/ice_switch.c | 8 +- drivers/net/ethernet/intel/ice/ice_virtchnl_fdir.c | 16 + drivers/net/ethernet/intel/ice/ice_virtchnl_fdir.h | 1 + drivers/net/ethernet/mediatek/mtk_eth_soc.c | 3 +- .../ethernet/mellanox/mlxsw/spectrum_acl_atcam.c | 18 +- .../mellanox/mlxsw/spectrum_acl_bloom_filter.c | 2 +- .../net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c | 13 - .../ethernet/mellanox/mlxsw/spectrum_acl_tcam.h | 9 +- drivers/net/ethernet/microsoft/mana/mana_en.c | 19 + drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c | 2 +- .../net/ethernet/stmicro/stmmac/dwxgmac2_core.c | 2 +- drivers/net/ethernet/stmicro/stmmac/hwif.h | 2 +- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 4 +- drivers/net/netconsole.c | 2 +- drivers/net/pse-pd/pse_core.c | 4 +- drivers/net/virtio_net.c | 85 ++- drivers/net/wireless/ath/ath11k/ce.h | 6 +- drivers/net/wireless/ath/ath11k/core.c | 29 +- drivers/net/wireless/ath/ath11k/dp_rx.c | 3 +- drivers/net/wireless/ath/ath11k/dp_rx.h | 3 + drivers/net/wireless/ath/ath11k/mac.c | 28 +- drivers/net/wireless/ath/ath11k/reg.c | 14 +- drivers/net/wireless/ath/ath11k/reg.h | 4 +- drivers/net/wireless/ath/ath12k/acpi.c | 2 + drivers/net/wireless/ath/ath12k/ce.h | 6 +- drivers/net/wireless/ath/ath12k/core.c | 7 +- drivers/net/wireless/ath/ath12k/dp.c | 18 +- drivers/net/wireless/ath/ath12k/dp.h | 1 + drivers/net/wireless/ath/ath12k/dp_rx.c | 67 +- drivers/net/wireless/ath/ath12k/dp_tx.c | 47 +- drivers/net/wireless/ath/ath12k/hal_desc.h | 48 +- drivers/net/wireless/ath/ath12k/hw.c | 8 +- drivers/net/wireless/ath/ath12k/hw.h | 3 +- drivers/net/wireless/ath/ath12k/mac.c | 17 +- drivers/net/wireless/ath/ath12k/wmi.c | 23 +- drivers/net/wireless/ath/ath12k/wmi.h | 12 +- .../broadcom/brcm80211/brcmsmac/phy/phy_lcn.c | 18 +- drivers/net/wireless/intel/iwlwifi/mvm/link.c | 9 + drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c | 10 +- drivers/net/wireless/intel/iwlwifi/mvm/mvm.h | 9 +- .../net/wireless/intel/iwlwifi/mvm/time-event.c | 5 +- drivers/net/wireless/marvell/mwifiex/cfg80211.c | 2 + drivers/net/wireless/realtek/rtl8xxxu/8188f.c | 15 + drivers/net/wireless/realtek/rtw88/mac.c | 9 + drivers/net/wireless/realtek/rtw88/main.h | 2 + drivers/net/wireless/realtek/rtw88/reg.h | 1 + drivers/net/wireless/realtek/rtw88/rtw8703b.c | 1 + drivers/net/wireless/realtek/rtw88/rtw8723d.c | 1 + drivers/net/wireless/realtek/rtw88/rtw8821c.c | 1 + drivers/net/wireless/realtek/rtw88/rtw8822b.c | 1 + drivers/net/wireless/realtek/rtw88/rtw8822c.c | 1 + drivers/net/wireless/realtek/rtw88/usb.c | 6 +- drivers/net/wireless/realtek/rtw89/debug.c | 2 +- drivers/net/wireless/realtek/rtw89/fw.c | 13 +- drivers/net/wireless/realtek/rtw89/mac.c | 5 +- drivers/net/wireless/realtek/rtw89/pci.c | 23 +- drivers/net/wireless/realtek/rtw89/rtw8852b.c | 6 +- drivers/net/wireless/realtek/rtw89/rtw8852b_rfk.c | 2 +- drivers/net/wireless/virtual/virt_wifi.c | 20 +- drivers/nvme/host/pci.c | 5 +- drivers/nvme/target/auth.c | 14 +- drivers/nvmem/rockchip-otp.c | 1 + drivers/opp/core.c | 6 +- drivers/opp/ti-opp-supply.c | 6 +- drivers/parport/procfs.c | 24 +- drivers/pci/controller/dwc/pci-keystone.c | 156 +++-- drivers/pci/controller/dwc/pcie-designware-ep.c | 13 +- drivers/pci/controller/dwc/pcie-dw-rockchip.c | 2 +- drivers/pci/controller/dwc/pcie-qcom-ep.c | 6 - drivers/pci/controller/dwc/pcie-tegra194.c | 1 + drivers/pci/controller/pci-hyperv.c | 4 +- drivers/pci/controller/pci-loongson.c | 13 + drivers/pci/controller/pcie-rcar-host.c | 6 +- drivers/pci/controller/pcie-rockchip.c | 2 +- drivers/pci/endpoint/functions/pci-epf-test.c | 14 +- drivers/pci/endpoint/functions/pci-epf-vntb.c | 19 +- drivers/pci/pci.c | 6 +- drivers/pci/setup-bus.c | 6 +- drivers/perf/arm_pmuv3.c | 10 +- drivers/phy/cadence/phy-cadence-torrent.c | 3 + drivers/phy/qualcomm/phy-qcom-qmp-pcie.c | 9 +- drivers/phy/rockchip/Kconfig | 2 + drivers/phy/xilinx/phy-zynqmp.c | 14 +- drivers/pinctrl/core.c | 12 +- drivers/pinctrl/freescale/pinctrl-mxs.c | 4 +- drivers/pinctrl/pinctrl-rockchip.c | 17 +- drivers/pinctrl/pinctrl-single.c | 7 +- drivers/pinctrl/renesas/pfc-r8a779g0.c | 716 ++++++++++----------- drivers/pinctrl/ti/pinctrl-ti-iodelay.c | 11 +- drivers/platform/Makefile | 2 +- drivers/platform/chrome/cros_ec_debugfs.c | 1 + drivers/platform/mips/cpu_hwmon.c | 3 + drivers/platform/x86/asus-wmi.c | 6 +- drivers/power/supply/ab8500_charger.c | 16 +- drivers/power/supply/ingenic-battery.c | 10 +- drivers/pwm/pwm-atmel-tcb.c | 12 +- drivers/pwm/pwm-stm32.c | 5 +- drivers/remoteproc/imx_rproc.c | 10 +- drivers/remoteproc/mtk_scp.c | 21 +- drivers/remoteproc/stm32_rproc.c | 2 +- drivers/remoteproc/ti_k3_r5_remoteproc.c | 13 +- drivers/rtc/interface.c | 9 +- drivers/rtc/rtc-abx80x.c | 12 +- drivers/rtc/rtc-cmos.c | 10 +- drivers/rtc/rtc-isl1208.c | 11 +- drivers/rtc/rtc-tps6594.c | 4 - drivers/s390/block/dasd_devmap.c | 10 +- drivers/scsi/lpfc/lpfc_attr.c | 5 + drivers/scsi/lpfc/lpfc_hbadisc.c | 2 +- drivers/scsi/lpfc/lpfc_sli.c | 19 +- drivers/scsi/qla2xxx/qla_bsg.c | 98 +-- drivers/scsi/qla2xxx/qla_def.h | 17 +- drivers/scsi/qla2xxx/qla_gbl.h | 6 +- drivers/scsi/qla2xxx/qla_gs.c | 473 +++++++------- drivers/scsi/qla2xxx/qla_init.c | 92 ++- drivers/scsi/qla2xxx/qla_inline.h | 8 + drivers/scsi/qla2xxx/qla_mid.c | 2 +- drivers/scsi/qla2xxx/qla_nvme.c | 5 +- drivers/scsi/qla2xxx/qla_os.c | 19 +- drivers/scsi/qla2xxx/qla_sup.c | 108 +++- drivers/scsi/sr_ioctl.c | 2 +- drivers/soc/mediatek/mtk-mutex.c | 1 + drivers/soc/qcom/icc-bwmon.c | 4 +- drivers/soc/qcom/pdr_interface.c | 8 +- drivers/soc/qcom/pmic_glink.c | 13 +- drivers/soc/qcom/rpmh-rsc.c | 7 +- drivers/soc/qcom/rpmh.c | 1 - drivers/soc/qcom/socinfo.c | 3 +- drivers/soc/xilinx/xlnx_event_manager.c | 15 +- drivers/soc/xilinx/zynqmp_power.c | 4 +- drivers/spi/atmel-quadspi.c | 11 +- drivers/spi/spi-microchip-core.c | 139 ++-- drivers/spi/spidev.c | 1 + drivers/thermal/broadcom/bcm2835_thermal.c | 19 +- drivers/thermal/thermal_core.c | 89 ++- drivers/thermal/thermal_core.h | 10 +- drivers/ufs/core/ufs-mcq.c | 10 +- drivers/usb/host/xhci-pci.c | 4 +- drivers/usb/typec/mux/nb7vpq904m.c | 7 +- drivers/usb/typec/mux/ptn36502.c | 11 +- drivers/vhost/vsock.c | 4 +- drivers/video/fbdev/vesafb.c | 2 +- drivers/watchdog/rzg2l_wdt.c | 22 +- fs/btrfs/compression.c | 2 +- fs/ceph/super.c | 3 +- fs/erofs/zutil.c | 3 + fs/exfat/dir.c | 2 +- fs/ext2/balloc.c | 11 +- fs/ext4/extents_status.c | 2 + fs/ext4/fast_commit.c | 6 + fs/ext4/namei.c | 73 ++- fs/ext4/xattr.c | 6 + fs/f2fs/checkpoint.c | 10 +- fs/f2fs/data.c | 10 +- fs/f2fs/f2fs.h | 19 +- fs/f2fs/file.c | 47 +- fs/f2fs/gc.c | 13 +- fs/f2fs/inline.c | 8 +- fs/f2fs/inode.c | 14 +- fs/f2fs/segment.c | 6 +- fs/f2fs/segment.h | 3 +- fs/fuse/inode.c | 24 +- fs/hfs/inode.c | 3 + fs/hfsplus/bfind.c | 15 +- fs/hfsplus/extents.c | 9 +- fs/hfsplus/hfsplus_fs.h | 21 + fs/hostfs/hostfs.h | 7 +- fs/hostfs/hostfs_kern.c | 10 +- fs/hostfs/hostfs_user.c | 7 +- fs/jbd2/commit.c | 2 +- fs/jbd2/journal.c | 56 +- fs/jbd2/transaction.c | 45 +- fs/jfs/jfs_imap.c | 5 +- fs/netfs/write_issue.c | 1 + fs/nfs/file.c | 5 +- fs/nfs/nfs4client.c | 6 +- fs/nfs/nfs4proc.c | 2 +- fs/nfs/nfstrace.h | 36 +- fs/nfs/read.c | 8 +- fs/nfs/write.c | 10 +- fs/nfsd/Kconfig | 2 +- fs/nfsd/filecache.c | 2 +- fs/nfsd/nfs4proc.c | 5 +- fs/nfsd/nfs4recover.c | 4 +- fs/nilfs2/btnode.c | 25 +- fs/nilfs2/btree.c | 4 +- fs/nilfs2/segment.c | 2 +- fs/ntfs3/attrib.c | 30 +- fs/ntfs3/bitmap.c | 2 +- fs/ntfs3/dir.c | 3 +- fs/ntfs3/file.c | 5 +- fs/ntfs3/frecord.c | 2 +- fs/ntfs3/fslog.c | 5 +- fs/ntfs3/index.c | 4 +- fs/ntfs3/inode.c | 13 +- fs/ntfs3/ntfs.h | 12 +- fs/ntfs3/super.c | 4 +- fs/proc/proc_sysctl.c | 6 +- fs/proc/task_mmu.c | 30 +- fs/smb/client/cifsfs.c | 8 +- fs/smb/client/connect.c | 24 +- fs/super.c | 11 + fs/udf/balloc.c | 15 +- fs/udf/file.c | 2 + fs/udf/inode.c | 11 +- fs/udf/namei.c | 2 - fs/udf/super.c | 3 +- include/asm-generic/vmlinux.lds.h | 2 +- include/drm/drm_mipi_dsi.h | 46 +- include/linux/alloc_tag.h | 2 +- include/linux/bpf_verifier.h | 2 +- include/linux/firewire.h | 5 +- include/linux/huge_mm.h | 12 +- include/linux/hugetlb.h | 1 + include/linux/interrupt.h | 2 +- include/linux/jbd2.h | 12 +- include/linux/lsm_hook_defs.h | 1 + include/linux/mlx5/qp.h | 9 +- include/linux/mm.h | 16 +- include/linux/objagg.h | 1 - include/linux/perf_event.h | 1 + include/linux/pgalloc_tag.h | 7 +- include/linux/preempt.h | 41 ++ include/linux/sbitmap.h | 5 + include/linux/sched.h | 41 -- include/linux/screen_info.h | 10 + include/linux/spinlock.h | 14 +- include/linux/task_work.h | 3 +- include/linux/virtio_net.h | 11 + include/net/bluetooth/hci_core.h | 4 - include/net/ip6_route.h | 22 +- include/net/ip_fib.h | 1 + include/net/mana/mana.h | 2 + include/net/tcp.h | 1 + include/net/xfrm.h | 36 +- include/sound/tas2781-dsp.h | 11 +- include/trace/events/rpcgss.h | 2 +- include/uapi/drm/xe_drm.h | 8 +- include/uapi/linux/if_xdp.h | 4 + include/uapi/linux/netfilter/nf_tables.h | 2 +- include/uapi/linux/zorro_ids.h | 3 + include/ufs/ufshcd.h | 6 + io_uring/io-wq.c | 10 +- io_uring/io_uring.c | 5 +- io_uring/napi.c | 2 + io_uring/opdef.c | 8 + io_uring/opdef.h | 4 +- io_uring/register.c | 2 +- io_uring/timeout.c | 2 +- io_uring/uring_cmd.c | 2 +- kernel/bpf/btf.c | 10 +- kernel/bpf/helpers.c | 2 +- kernel/bpf/verifier.c | 5 +- kernel/cgroup/cpuset.c | 76 ++- kernel/debug/kdb/kdb_io.c | 6 +- kernel/dma/mapping.c | 2 +- kernel/events/core.c | 77 ++- kernel/events/internal.h | 2 +- kernel/events/ring_buffer.c | 4 +- kernel/irq/irqdomain.c | 7 +- kernel/irq/manage.c | 2 +- kernel/jump_label.c | 45 +- kernel/locking/rwsem.c | 6 +- kernel/rcu/tasks.h | 10 + kernel/sched/core.c | 37 +- kernel/sched/fair.c | 7 +- kernel/sched/sched.h | 2 +- kernel/signal.c | 8 + kernel/task_work.c | 34 +- kernel/time/tick-broadcast.c | 23 + kernel/time/timer_migration.c | 33 +- kernel/time/timer_migration.h | 12 +- kernel/trace/pid_list.c | 4 +- kernel/watchdog_perf.c | 11 +- kernel/workqueue.c | 6 +- lib/decompress_bunzip2.c | 3 +- lib/kobject_uevent.c | 17 +- lib/objagg.c | 18 +- lib/sbitmap.c | 36 +- mm/huge_memory.c | 14 +- mm/hugetlb.c | 49 +- mm/memory.c | 2 +- mm/mempolicy.c | 18 +- mm/mmap_lock.c | 175 +---- mm/page_alloc.c | 35 +- mm/vmscan.c | 83 ++- net/bluetooth/hci_core.c | 27 +- net/bluetooth/hci_event.c | 2 + net/bluetooth/hci_sync.c | 2 - net/bridge/br_forward.c | 4 +- net/core/filter.c | 15 +- net/core/flow_dissector.c | 2 +- net/core/page_pool.c | 2 +- net/core/xdp.c | 4 +- net/ethtool/pse-pd.c | 8 +- net/ipv4/esp4.c | 3 +- net/ipv4/esp4_offload.c | 7 + net/ipv4/fib_semantics.c | 13 +- net/ipv4/fib_trie.c | 1 + net/ipv4/nexthop.c | 7 +- net/ipv4/route.c | 18 +- net/ipv4/tcp.c | 8 +- net/ipv4/tcp_input.c | 32 +- net/ipv4/tcp_ipv4.c | 11 +- net/ipv4/tcp_minisocks.c | 15 +- net/ipv4/tcp_timer.c | 6 +- net/ipv6/addrconf.c | 3 +- net/ipv6/esp6.c | 3 +- net/ipv6/esp6_offload.c | 7 + net/ipv6/ip6_output.c | 1 + net/ipv6/route.c | 2 +- net/ipv6/tcp_ipv6.c | 10 +- net/mac80211/chan.c | 11 + net/mac80211/main.c | 2 +- net/mac80211/mlme.c | 15 +- net/mac80211/sta_info.h | 6 + net/mac80211/tx.c | 6 +- net/netfilter/ipvs/ip_vs_ctl.c | 10 +- net/netfilter/ipvs/ip_vs_proto_sctp.c | 4 +- net/netfilter/nf_conntrack_netlink.c | 3 +- net/netfilter/nft_set_pipapo.c | 4 +- net/netfilter/nft_set_pipapo.h | 21 + net/netfilter/nft_set_pipapo_avx2.c | 22 +- net/packet/af_packet.c | 86 ++- net/smc/smc_core.c | 5 +- net/sunrpc/auth_gss/gss_krb5_keys.c | 2 +- net/sunrpc/clnt.c | 3 +- net/sunrpc/xprtrdma/frwr_ops.c | 3 +- net/sunrpc/xprtrdma/verbs.c | 16 +- net/tipc/udp_media.c | 5 +- net/unix/af_unix.c | 41 +- net/unix/unix_bpf.c | 3 + net/wireless/nl80211.c | 3 + net/wireless/util.c | 8 +- net/xdp/xdp_umem.c | 9 +- net/xfrm/xfrm_input.c | 8 +- net/xfrm/xfrm_policy.c | 5 +- net/xfrm/xfrm_state.c | 65 +- net/xfrm/xfrm_user.c | 1 - scripts/Kconfig.include | 3 +- scripts/Makefile.lib | 6 +- scripts/gcc-x86_32-has-stack-protector.sh | 2 +- scripts/gcc-x86_64-has-stack-protector.sh | 2 +- scripts/syscalltbl.sh | 18 +- security/apparmor/lsm.c | 7 + security/apparmor/policy.c | 2 +- security/apparmor/policy_unpack.c | 43 +- security/keys/keyctl.c | 2 +- security/landlock/cred.c | 11 +- security/security.c | 70 +- security/selinux/hooks.c | 28 +- security/smack/smack_lsm.c | 31 +- sound/core/ump.c | 13 + sound/firewire/amdtp-stream.c | 3 +- sound/pci/hda/patch_realtek.c | 6 +- sound/soc/amd/acp-es8336.c | 4 +- sound/soc/amd/yc/acp6x-mach.c | 7 + sound/soc/codecs/cs35l56-shared.c | 2 +- sound/soc/codecs/max98088.c | 10 +- sound/soc/codecs/pcm6240.c | 6 +- sound/soc/codecs/tas2781-fmwlib.c | 20 +- sound/soc/codecs/tas2781-i2c.c | 39 +- sound/soc/codecs/wcd939x.c | 113 ++-- sound/soc/fsl/fsl_qmc_audio.c | 2 + sound/soc/intel/common/soc-acpi-intel-ssp-common.c | 9 + sound/soc/intel/common/soc-intel-quirks.h | 2 +- sound/soc/qcom/lpass-cpu.c | 4 + sound/soc/sof/amd/pci-vangogh.c | 1 - sound/soc/sof/imx/imx8m.c | 2 +- sound/soc/sof/intel/hda-loader.c | 18 +- sound/soc/sof/intel/hda.c | 17 +- sound/soc/sof/ipc4-topology.c | 46 +- sound/usb/mixer.c | 7 + sound/usb/quirks.c | 4 + tools/bpf/bpftool/common.c | 2 +- tools/bpf/bpftool/prog.c | 4 + tools/bpf/resolve_btfids/main.c | 2 +- tools/lib/bpf/btf.c | 2 +- tools/lib/bpf/btf_dump.c | 8 +- tools/lib/bpf/libbpf_internal.h | 10 +- tools/lib/bpf/linker.c | 11 +- tools/memory-model/lock.cat | 20 +- tools/objtool/noreturns.h | 4 + tools/perf/arch/powerpc/util/skip-callchain-idx.c | 8 +- tools/perf/arch/x86/util/intel-pt.c | 15 +- tools/perf/tests/pmu.c | 177 +++++ tools/perf/tests/shell/test_arm_callgraph_fp.sh | 27 +- tools/perf/tests/workloads/leafloop.c | 20 +- tools/perf/ui/gtk/annotate.c | 5 +- tools/perf/util/cs-etm.c | 10 +- tools/perf/util/disasm.c | 10 +- tools/perf/util/dso.c | 14 +- tools/perf/util/dso.h | 19 + tools/perf/util/maps.c | 9 +- tools/perf/util/pmu.c | 2 +- tools/perf/util/pmus.c | 5 +- tools/perf/util/sort.c | 2 +- tools/perf/util/srcline.c | 12 +- tools/perf/util/stat-display.c | 3 + tools/perf/util/stat-shadow.c | 7 + tools/perf/util/symbol.c | 18 +- tools/perf/util/unwind-libdw.c | 12 +- tools/perf/util/unwind-libunwind-local.c | 18 +- tools/testing/selftests/bpf/DENYLIST.aarch64 | 1 - tools/testing/selftests/bpf/bpf_kfuncs.h | 2 +- .../testing/selftests/bpf/prog_tests/bpf_tcp_ca.c | 16 +- .../testing/selftests/bpf/prog_tests/fexit_sleep.c | 8 +- tools/testing/selftests/bpf/prog_tests/sk_lookup.c | 2 +- .../selftests/bpf/prog_tests/xdp_adjust_tail.c | 2 +- .../bpf/progs/btf_dump_test_case_multidim.c | 4 +- .../bpf/progs/btf_dump_test_case_syntax.c | 4 +- .../bpf/progs/kprobe_multi_session_cookie.c | 2 +- tools/testing/selftests/bpf/test_sockmap.c | 9 +- tools/testing/selftests/damon/access_memory.c | 2 +- .../drivers/net/mlxsw/spectrum-2/tc_flower.sh | 55 +- tools/testing/selftests/iommu/iommufd.c | 76 ++- tools/testing/selftests/iommu/iommufd_utils.h | 6 +- tools/testing/selftests/landlock/base_test.c | 74 +++ tools/testing/selftests/landlock/config | 1 + tools/testing/selftests/net/fib_tests.sh | 24 +- .../net/forwarding/bridge_fdb_learning_limit.sh | 18 + .../selftests/net/forwarding/devlink_lib.sh | 2 + tools/testing/selftests/nolibc/nolibc-test.c | 2 +- tools/testing/selftests/resctrl/resctrl_val.c | 54 +- .../selftests/sigaltstack/current_stack_pointer.h | 2 +- 860 files changed, 7695 insertions(+), 4547 deletions(-)
Greg Kroah-Hartman
maintainerPATCH 1/809 spi: spi-microchip-core: Fix the number of chip selects supported
6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Prajna Rajendra Kumar <[email protected]>
[ Upstream commit a7ed3a11202d90939a3d00ffcc8cf50703cb7b35 ]
The SPI "hard" controller in PolarFire SoC has eight CS lines, but only one CS line is wired. When the 'num-cs' property is not specified in the device tree, the driver defaults to the MAX_CS value, which has been fixed to 1 to match the hardware configuration; however, when the 'num-cs' property is explicitly defined in the device tree, it overrides the default value.
--- drivers/spi/spi-microchip-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/spi/spi-microchip-core.c +1 -1
@@ -21,7 +21,7 @@#include <linux/spi/spi.h> #define MAX_LEN (0xffff) -#define MAX_CS (8) +#define MAX_CS (1)#define DEFAULT_FRAMESIZE (8)#define FIFO_DEPTH (32)#define CLK_GEN_MODE1_MAX (255)
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 2/809 spi: atmel-quadspi: Add missing check for clk_prepare
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Chen Ni <[email protected]>
[ Upstream commit ef901b38d3a4610c4067cd306c1a209f32e7ca31 ]
Add check for the return value of clk_prepare() and return the error if it fails in order to catch the error.
--- drivers/spi/atmel-quadspi.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-)
drivers/spi/atmel-quadspi.c +9 -2
@@ -756,8 +756,15 @@ static int __maybe_unused atmel_qspi_resume(struct device *dev)struct atmel_qspi *aq =spi_controller_get_devdata (ctrl);int ret; -clk_prepare (aq->pclk); -clk_prepare (aq->qspick); + ret =clk_prepare (aq->pclk); +if (ret) +return ret; + + ret =clk_prepare (aq->qspick); +if (ret) { +clk_unprepare (aq->pclk); +return ret; + } ret =pm_runtime_force_resume (dev);if (ret <0 )
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 3/809 EDAC, i10nm: make skx_common.o a separate module
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Arnd Bergmann <[email protected]>
[ Upstream commit 123b158635505c89ed0d3ef45c5845ff9030a466 ]
Commit 598afa050403 ("kbuild: warn objects shared among multiple modules") was added to track down cases where the same object is linked into multiple modules. This can cause serious problems if some modules are builtin while others are not.
That test triggers this warning:
scripts/Makefile.build:236: drivers/edac/Makefile: skx_common.o is added to multiple modules: i10nm_edac skx_edac
Make this a separate module instead.
[Tony: Added more background details to commit message]
--- drivers/edac/Makefile | 10 ++++++---- drivers/edac/skx_common.c | 21 +++++++++++++++++++-- drivers/edac/skx_common.h | 4 ++-- 3 files changed, 27 insertions(+), 8 deletions(-)
drivers/edac/Makefile +6 -4
@@ -54,11 +54,13 @@ obj-$(CONFIG_EDAC_MPC85XX) += mpc85xx_edac_mod.o layerscape_edac_mod-y := fsl_ddr_edac.o layerscape_edac.o obj-$(CONFIG_EDAC_LAYERSCAPE) += layerscape_edac_mod.o -skx_edac-y := skx_common.o skx_base.o -obj-$(CONFIG_EDAC_SKX) += skx_edac.o +skx_edac_common-y := skx_common.o -i10nm_edac-y := skx_common.o i10nm_base.o -obj-$(CONFIG_EDAC_I10NM) += i10nm_edac.o +skx_edac-y := skx_base.o +obj-$(CONFIG_EDAC_SKX) += skx_edac.o skx_edac_common.o + +i10nm_edac-y := i10nm_base.o +obj-$(CONFIG_EDAC_I10NM) += i10nm_edac.o skx_edac_common.o obj-$(CONFIG_EDAC_CELL) += cell_edac.o obj-$(CONFIG_EDAC_PPC4XX) += ppc4xx_edac.o
drivers/edac/skx_common.c +19 -2
@@ -48,7 +48,7 @@ static u64 skx_tolm, skx_tohm;static LIST_HEAD (dev_edac_list);static bool skx_mem_cfg_2lm; -int __init skx_adxl_get (void ) +int skx_adxl_get (void ) {const char *const *names;int i, j;
@@ -110,12 +110,14 @@ int __init skx_adxl_get(void)return -ENODEV ; } +EXPORT_SYMBOL_GPL (skx_adxl_get); -void __exit skx_adxl_put(void) +void skx_adxl_put (void ) {kfree (adxl_values);kfree (adxl_msg); } +EXPORT_SYMBOL_GPL (skx_adxl_put);static bool skx_adxl_decode (struct decoded_addr *res,bool error_in_1st_level_mem) {
@@ -187,12 +189,14 @@ void skx_set_mem_cfg(bool mem_cfg_2lm) { skx_mem_cfg_2lm = mem_cfg_2lm; } +EXPORT_SYMBOL_GPL (skx_set_mem_cfg);void skx_set_decode (skx_decode_f decode,skx_show_retry_log_f show_retry_log) { driver_decode = decode; skx_show_retry_rd_err_log = show_retry_log; } +EXPORT_SYMBOL_GPL (skx_set_decode);int skx_get_src_id (struct skx_dev *d,int off,u8 *id) {
@@ -206,6 +210,7 @@ int skx_get_src_id(struct skx_dev *d, int off, u8 *id) *id =GET_BITFIELD (reg,12 ,14 );return 0 ; } +EXPORT_SYMBOL_GPL (skx_get_src_id);int skx_get_node_id (struct skx_dev *d,u8 *id) {
@@ -219,6 +224,7 @@ int skx_get_node_id(struct skx_dev *d, u8 *id) *id =GET_BITFIELD (reg,0 ,2 );return 0 ; } +EXPORT_SYMBOL_GPL (skx_get_node_id);static int get_width (u32 mtr) {
@@ -284,6 +290,7 @@ int skx_get_all_bus_mappings(struct res_config *cfg, struct list_head **list) *list = &dev_edac_list;return ndev; } +EXPORT_SYMBOL_GPL (skx_get_all_bus_mappings);int skx_get_hi_lo (unsigned int did,int off[],u64 *tolm,u64 *tohm) {
@@ -323,6 +330,7 @@ int skx_get_hi_lo(unsigned int did, int off[], u64 *tolm, u64 *tohm)pci_dev_put (pdev);return -ENODEV ; } +EXPORT_SYMBOL_GPL (skx_get_hi_lo);static int skx_get_dimm_attr (u32 reg,int lobit,int hibit,int add,int minval,int maxval,const char *name)
@@ -394,6 +402,7 @@ int skx_get_dimm_info(u32 mtr, u32 mcmtr, u32 amap, struct dimm_info *dimm,return 1 ; } +EXPORT_SYMBOL_GPL (skx_get_dimm_info);int skx_get_nvdimm_info (struct dimm_info *dimm,struct skx_imc *imc,int chan,int dimmno,const char *mod_str)
@@ -442,6 +451,7 @@ int skx_get_nvdimm_info(struct dimm_info *dimm, struct skx_imc *imc,return (size ==0 || size == ~0ull ) ?0 :1 ; } +EXPORT_SYMBOL_GPL (skx_get_nvdimm_info); int skx_register_mci(struct skx_imc *imc, struct pci_dev *pdev, const char *ctl_name, const char *mod_str,
@@ -512,6 +522,7 @@ int skx_register_mci(struct skx_imc *imc, struct pci_dev *pdev, imc->mci =NULL ;return rc; } +EXPORT_SYMBOL_GPL (skx_register_mci);static void skx_unregister_mci (struct skx_imc *imc) {
@@ -688,6 +699,7 @@ int skx_mce_check_error(struct notifier_block *nb, unsigned long val, mce->kflags |=MCE_HANDLED_EDAC ;return NOTIFY_DONE ; } +EXPORT_SYMBOL_GPL (skx_mce_check_error);void skx_remove (void ) {
@@ -725,3 +737,8 @@ void skx_remove(void)kfree (d); } } +EXPORT_SYMBOL_GPL (skx_remove); + +MODULE_LICENSE ("GPL v2" ); +MODULE_AUTHOR ("Tony Luck" ); +MODULE_DESCRIPTION ("MC Driver for Intel server processors" );
drivers/edac/skx_common.h +2 -2
@@ -231,8 +231,8 @@ typedef int (*get_dimm_config_f)(struct mem_ctl_info *mci,typedef bool (*skx_decode_f )(struct decoded_addr *res);typedef void (*skx_show_retry_log_f )(struct decoded_addr *res,char *msg,int len,bool scrub_err); -int __init skx_adxl_get (void ); -void __exit skx_adxl_put(void); +int skx_adxl_get (void ); +void skx_adxl_put (void );void skx_set_decode (skx_decode_f decode,skx_show_retry_log_f show_retry_log);void skx_set_mem_cfg (bool mem_cfg_2lm);
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 4/809 rcu/tasks: Fix stale task snaphot for Tasks Trace
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Frederic Weisbecker <[email protected]>
[ Upstream commit 399ced9594dfab51b782798efe60a2376cd5b724 ]
When RCU-TASKS-TRACE pre-gp takes a snapshot of the current task running on all online CPUs, no explicit ordering synchronizes properly with a context switch. This lack of ordering can permit the new task to miss pre-grace-period update-side accesses. The following diagram, courtesy of Paul, shows the possible bad scenario:
CPU 0 CPU 1
----- -----
// Pre-GP update side access
WRITE_ONCE(*X, 1);
smp_mb();
r0 = rq->curr;
RCU_INIT_POINTER(rq->curr, TASK_B)
spin_unlock(rq)
rcu_read_lock_trace()
r1 = X;
/* ignore TASK_B */Either r0==TASK_B or r1==1 is needed but neither is guaranteed.
One possible solution to solve this is to wait for an RCU grace period at the beginning of the RCU-tasks-trace grace period before taking the current tasks snaphot. However this would introduce large additional latencies to RCU-tasks-trace grace periods.
Another solution is to lock the target runqueue while taking the current task snapshot. This ensures that the update side sees the latest context switch and subsequent context switches will see the pre-grace-period update side accesses.
This commit therefore adds runqueue locking to cpu_curr_snapshot().
--- kernel/rcu/tasks.h | 10 ++++++++++ kernel/sched/core.c | 14 +++++++------- 2 files changed, 17 insertions(+), 7 deletions(-)
kernel/rcu/tasks.h +10 -0
@@ -1757,6 +1757,16 @@ static void rcu_tasks_trace_pregp_step(struct list_head *hop)// allow safe access to the hop list. for_each_online_cpu (cpu) {rcu_read_lock (); +// Note that cpu_curr_snapshot() picks up the target +// CPU's current task while its runqueue is locked with +// an smp_mb__after_spinlock(). This ensures that either +// the grace-period kthread will see that task's read-side +// critical section or the task will see the updater's pre-GP +// accesses. The trailing smp_mb() in cpu_curr_snapshot() +// does not currently play a role other than simplify +// that function's ordering semantics. If these simplified +// ordering semantics continue to be redundant, that smp_mb() +// might be removed. t =cpu_curr_snapshot (cpu);if (rcu_tasks_trace_pertask_prep (t, true))trc_add_holdout (t, hop);
kernel/sched/core.c +7 -7
@@ -4466,12 +4466,7 @@ int task_call_func(struct task_struct *p, task_call_f func, void *arg)* @cpu: The CPU on which to snapshot the task. * * Returns the task_struct pointer of the task "currently" running on -* the specified CPU. If the same task is running on that CPU throughout, -* the return value will be a pointer to that task's task_struct structure. -* If the CPU did any context switches even vaguely concurrently with the -* execution of this function, the return value will be a pointer to the -* task_struct structure of a randomly chosen task that was running on -* that CPU somewhere around the time that this function was executing. +* the specified CPU. * * If the specified CPU was offline, the return value is whatever it * is, perhaps a pointer to the task_struct structure of that CPU's idle
@@ -4485,11 +4480,16 @@ int task_call_func(struct task_struct *p, task_call_f func, void *arg)*/ struct task_struct *cpu_curr_snapshot (int cpu) { +struct rq *rq =cpu_rq (cpu);struct task_struct *t; +struct rq_flags rf; -smp_mb ();/* Pairing determined by caller's synchronization design. */ +rq_lock_irqsave (rq, &rf); +smp_mb__after_spinlock ();/* Pairing determined by caller's synchronization design. */ t =rcu_dereference (cpu_curr (cpu)); +rq_unlock_irqrestore (rq, &rf);smp_mb ();/* Pairing determined by caller's synchronization design. */ +return t; }
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 5/809 md: fix deadlock between mddev_suspend and flush bio
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Li Nan <[email protected]>
[ Upstream commit 611d5cbc0b35a752e657a83eebadf40d814d006b ]
Deadlock occurs when mddev is being suspended while some flush bio is in progress. It is a complex issue.
T1. the first flush is at the ending stage, it clears 'mddev->flush_bio'
and tries to submit data, but is blocked because mddev is suspended by T4.
T2. the second flush sets 'mddev->flush_bio', and attempts to queue
md_submit_flush_data(), which is already running (T1) and won't execute again if on the same CPU as T1.
T3. the third flush inc active_io and tries to flush, but is blocked because
'mddev->flush_bio' is not NULL (set by T2).
T4. mddev_suspend() is called and waits for active_io dec to 0 which is inc
by T3. T1 T2 T3 T4
(flush 1) (flush 2) (third 3) (suspend)
md_submit_flush_data
mddev->flush_bio = NULL;
.
. md_flush_request
. mddev->flush_bio = bio
. queue submit_flushes
. .
. . md_handle_request
. . active_io + 1
. . md_flush_request
. . wait !mddev->flush_bio
. .
. . mddev_suspend
. . wait !active_io
. .
. submit_flushes
. queue_work md_submit_flush_data
. //md_submit_flush_data is already running (T1)
.
md_handle_request
wait resumeThe root issue is non-atomic inc/dec of active_io during flush process. active_io is dec before md_submit_flush_data is queued, and inc soon after md_submit_flush_data() run.
md_flush_request
active_io + 1
submit_flushes
active_io - 1
md_submit_flush_data
md_handle_request
active_io + 1
make_request
active_io - 1
If active_io is dec after md_handle_request() instead of within submit_flushes(), make_request() can be called directly intead of md_handle_request() in md_submit_flush_data(), and active_io will only inc and dec once in the whole flush process. Deadlock will be fixed.
Additionally, the only difference between fixing the issue and before is that there is no return error handling of make_request(). But after previous patch cleaned md_write_start(), make_requst() only return error in raid5_make_request() by dm-raid, see commit 41425f96d7aa ("dm-raid456, md/raid456: fix a deadlock for dm-raid456 while io concurrent with reshape)". Since dm always splits data and flush operation into two separate io, io size of flush submitted by dm always is 0, make_request() will not be called in md_submit_flush_data(). To prevent future modifications from introducing issues, add WARN_ON to ensure make_request() no error is returned in this context.
--- drivers/md/md.c | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-)
drivers/md/md.c +15 -11
@@ -550,13 +550,9 @@ static void md_end_flush(struct bio *bio)rdev_dec_pending (rdev, mddev); -if (atomic_dec_and_test (&mddev->flush_pending)) { -/* The pair is percpu_ref_get() from md_flush_request() */ -percpu_ref_put (&mddev->active_io); - +if (atomic_dec_and_test (&mddev->flush_pending))/* The pre-request flush has finished */ queue_work (md_wq, &mddev->flush_work); - } }static void md_submit_flush_data (struct work_struct *ws);
@@ -587,12 +583,8 @@ static void submit_flushes(struct work_struct *ws)rcu_read_lock (); }rcu_read_unlock (); -if (atomic_dec_and_test (&mddev->flush_pending)) { -/* The pair is percpu_ref_get() from md_flush_request() */ -percpu_ref_put (&mddev->active_io); - +if (atomic_dec_and_test (&mddev->flush_pending))queue_work (md_wq, &mddev->flush_work); - } }static void md_submit_flush_data (struct work_struct *ws)
@@ -617,8 +609,20 @@ static void md_submit_flush_data(struct work_struct *ws)bio_endio (bio); }else { bio->bi_opf &= ~REQ_PREFLUSH ; -md_handle_request (mddev, bio); + +/* +* make_requst() will never return error here, it only +* returns error in raid5_make_request() by dm-raid. +* Since dm always splits data and flush operation into +* two separate io, io size of flush submitted by dm +* always is 0, make_request() will not be called here. +*/ +if (WARN_ON_ONCE (!mddev->pers->make_request (mddev, bio))) +bio_io_error (bio);; } + +/* The pair is percpu_ref_get() from md_flush_request() */ +percpu_ref_put (&mddev->active_io); }/*
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 6/809 md/raid0: dont free conf on raid0_run failure
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Christoph Hellwig <[email protected]>
[ Upstream commit 35f20acaa3585f25f8356da0ee6bc143e0256522 ]
The core md code calls the ->free method which already frees conf.
--- drivers/md/raid0.c | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-)
drivers/md/raid0.c +5 -16
@@ -365,18 +365,13 @@ static sector_t raid0_size(struct mddev *mddev, sector_t sectors, int raid_disksreturn array_sectors; } -static void free_conf (struct mddev *mddev,struct r0conf *conf) -{ -kfree (conf->strip_zone); -kfree (conf->devlist); -kfree (conf); -} -static void raid0_free (struct mddev *mddev,void *priv) {struct r0conf *conf = priv; -free_conf (mddev, conf); +kfree (conf->strip_zone); +kfree (conf->devlist); +kfree (conf); }static int raid0_set_limits (struct mddev *mddev)
@@ -415,7 +410,7 @@ static int raid0_run(struct mddev *mddev)if (!mddev_is_dm (mddev)) { ret =raid0_set_limits (mddev);if (ret) - goto out_free_conf; +return ret; }/* calculate array device size */
@@ -427,13 +422,7 @@ static int raid0_run(struct mddev *mddev)dump_zones (mddev); - ret =md_integrity_register (mddev); -if (ret) - goto out_free_conf; -return 0 ; -out_free_conf: -free_conf (mddev, conf); -return ret; +return md_integrity_register (mddev); }/*
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 7/809 md/raid1: dont free conf on raid0_run failure
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Christoph Hellwig <[email protected]>
[ Upstream commit 17f91ac0843b50462a9c9c8f18df962338bd3db2 ]
The core md code calls the ->free method which already frees conf.
--- drivers/md/raid1.c | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-)
drivers/md/raid1.c +3 -11
@@ -3204,7 +3204,6 @@ static int raid1_set_limits(struct mddev *mddev)return queue_limits_set (mddev->gendisk->queue, &lim); } -static void raid1_free (struct mddev *mddev,void *priv);static int raid1_run (struct mddev *mddev) {struct r1conf *conf;
@@ -3238,7 +3237,7 @@ static int raid1_run(struct mddev *mddev)if (!mddev_is_dm (mddev)) { ret =raid1_set_limits (mddev);if (ret) - goto abort; +return ret; } mddev->degraded =0 ;
@@ -3252,8 +3251,7 @@ static int raid1_run(struct mddev *mddev)*/ if (conf->raid_disks - mddev->degraded <1 ) {md_unregister_thread (mddev, &conf->thread); - ret = -EINVAL ; - goto abort; +return -EINVAL ; }if (conf->raid_disks - mddev->degraded ==1 )
@@ -3277,14 +3275,8 @@ static int raid1_run(struct mddev *mddev)md_set_array_sectors (mddev,raid1_size (mddev,0 ,0 )); ret =md_integrity_register (mddev); -if (ret) { +if (ret)md_unregister_thread (mddev, &mddev->thread); - goto abort; - } -return 0 ; - -abort: -raid1_free (mddev, conf);return ret; }
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 8/809 platform/chrome: cros_ec_debugfs: fix wrong EC message version
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Tzung-Bi Shih <[email protected]>
[ Upstream commit c2a28647bbb4e0894e8824362410f72b06ac57a4 ]
ec_read_version_supported() uses ec_params_get_cmd_versions_v1 but it wrongly uses message version 0.
Fix it.
--- drivers/platform/chrome/cros_ec_debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/platform/chrome/cros_ec_debugfs.c +1 -0
@@ -330,6 +330,7 @@ static int ec_read_version_supported(struct cros_ec_dev *ec)if (!msg)return 0 ; + msg->version =1 ; msg->command =EC_CMD_GET_CMD_VERSIONS + ec->cmd_offset; msg->outsize =sizeof (*params); msg->insize =sizeof (*response);
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 9/809 ubd: refactor the interrupt handler
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Christoph Hellwig <[email protected]>
[ Upstream commit 5db755fbb1a0de4a4cfd5d5edfaa19853b9c56e6 ]
Instead of a separate handler function that leaves no work in the interrupt hanler itself, split out a per-request end I/O helper and clean up the coding style and variable naming while we're at it.
Stable-dep-of: 31ade7d4fdcf ("ubd: untagle discard vs write zeroes not support handling")
--- arch/um/drivers/ubd_kern.c | 49 ++++++++++++++------------------------ 1 file changed, 18 insertions(+), 31 deletions(-)
arch/um/drivers/ubd_kern.c +18 -31
@@ -447,43 +447,30 @@ static int bulk_req_safe_read(return n; } -/* Called without dev->lock held, and only in interrupt context. */ -static void ubd_handler (void ) +static void ubd_end_request (struct io_thread_req *io_req) { -int n; -int count; - -while (1 ){ - n =bulk_req_safe_read ( - thread_fd, - irq_req_buffer, - &irq_remainder, - &irq_remainder_size, -UBD_REQ_BUFFER_SIZE - ); -if (n <0 ) { -if (n == -EAGAIN ) -break ; -printk (KERN_ERR "spurious interrupt in ubd_handler, " -"err = %d\n" , -n); -return ; - } -for (count =0 ; count < n/sizeof (struct io_thread_req *); count++) { -struct io_thread_req *io_req = (*irq_req_buffer)[count]; - -if ((io_req->error ==BLK_STS_NOTSUPP ) && (req_op (io_req->req) ==REQ_OP_DISCARD )) { -blk_queue_max_discard_sectors (io_req->req->q,0 ); -blk_queue_max_write_zeroes_sectors (io_req->req->q,0 ); - } -blk_mq_end_request (io_req->req, io_req->error); -kfree (io_req); - } +if (io_req->error ==BLK_STS_NOTSUPP && +req_op (io_req->req) ==REQ_OP_DISCARD ) { +blk_queue_max_discard_sectors (io_req->req->q,0 ); +blk_queue_max_write_zeroes_sectors (io_req->req->q,0 ); } +blk_mq_end_request (io_req->req, io_req->error); +kfree (io_req); }static irqreturn_t ubd_intr (int irq,void *dev) { -ubd_handler (); +int len, i; + +while ((len =bulk_req_safe_read (thread_fd, irq_req_buffer, + &irq_remainder, &irq_remainder_size, +UBD_REQ_BUFFER_SIZE )) >=0 ) { +for (i =0 ; i < len /sizeof (struct io_thread_req *); i++) +ubd_end_request ((*irq_req_buffer)[i]); + } + +if (len <0 && len != -EAGAIN ) +pr_err ("spurious interrupt in %s, err = %d\n" , __func__, len);return IRQ_HANDLED ; }
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 10/809 ubd: untagle discard vs write zeroes not support handling
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Christoph Hellwig <[email protected]>
[ Upstream commit 31ade7d4fdcf382beb8cb229a1f5d77e0f239672 ]
Discard and Write Zeroes are different operation and implemented by different fallocate opcodes for ubd. If one fails the other one can work and vice versa.
Split the code to disable the operations in ubd_handler to only disable the operation that actually failed.
--- arch/um/drivers/ubd_kern.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)
arch/um/drivers/ubd_kern.c +5 -4
@@ -449,10 +449,11 @@ static int bulk_req_safe_read(static void ubd_end_request (struct io_thread_req *io_req) { -if (io_req->error ==BLK_STS_NOTSUPP && -req_op (io_req->req) ==REQ_OP_DISCARD ) { -blk_queue_max_discard_sectors (io_req->req->q,0 ); -blk_queue_max_write_zeroes_sectors (io_req->req->q,0 ); +if (io_req->error ==BLK_STS_NOTSUPP ) { +if (req_op (io_req->req) ==REQ_OP_DISCARD ) +blk_queue_max_discard_sectors (io_req->req->q,0 ); +else if (req_op (io_req->req) ==REQ_OP_WRITE_ZEROES ) +blk_queue_max_write_zeroes_sectors (io_req->req->q,0 ); }blk_mq_end_request (io_req->req, io_req->error);kfree (io_req);
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 11/809 block: initialize integrity buffer to zero before writing it to media
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Christoph Hellwig <[email protected]>
[ Upstream commit 899ee2c3829c5ac14bfc7d3c4a5846c0b709b78f ]
Metadata added by bio_integrity_prep is using plain kmalloc, which leads to random kernel memory being written media. For PI metadata this is limited to the app tag that isn't used by kernel generated metadata, but for non-PI metadata the entire buffer leaks kernel memory.
Fix this by adding the __GFP_ZERO flag to allocations for writes.
--- block/bio-integrity.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-)
block/bio-integrity.c +10 -1
@@ -454,6 +454,7 @@ bool bio_integrity_prep(struct bio *bio)unsigned long start, end;unsigned int len, nr_pages;unsigned int bytes, offset, i; +gfp_t gfp =GFP_NOIO ;if (!bi)return true;
@@ -476,11 +477,19 @@ bool bio_integrity_prep(struct bio *bio)if (!bi->profile->generate_fn || !(bi->flags &BLK_INTEGRITY_GENERATE ))return true; + +/* +* Zero the memory allocated to not leak uninitialized kernel +* memory to disk. For PI this only affects the app tag, but +* for non-integrity metadata it affects the entire metadata +* buffer. +*/ + gfp |= __GFP_ZERO; }/* Allocate kernel buffer for protection data */ len =bio_integrity_bytes (bi,bio_sectors (bio)); - buf =kmalloc (len,GFP_NOIO ); + buf =kmalloc (len, gfp);if (unlikely (buf ==NULL )) {printk (KERN_ERR "could not allocate integrity buffer\n" ); goto err_end_io;
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 12/809 dm: Call dm_revalidate_zones() after setting the queue limits
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Damien Le Moal <[email protected]>
[ Upstream commit 7f91ccd8a608dbe39b97a6e43d635378d493f77e ]
dm_revalidate_zones() is called from dm_set_zone_restrictions() when the mapped device queue limits are not yet set. However, dm_revalidate_zones() calls blk_revalidate_disk_zones() and this function consults and modifies the mapped device queue limits. Thus, currently, blk_revalidate_disk_zones() operates on limits that are not yet initialized.
Fix this by moving the call to dm_revalidate_zones() out of dm_set_zone_restrictions() and into dm_table_set_restrictions() after executing queue_limits_set().
To further cleanup dm_set_zones_restrictions(), the message about the type of zone append (native or emulated) is also moved inside dm_revalidate_zones().
--- drivers/md/dm-table.c | 15 +++++++++++---- drivers/md/dm-zone.c | 25 ++++++++++--------------- drivers/md/dm.h | 1 + 3 files changed, 22 insertions(+), 19 deletions(-)
drivers/md/dm-table.c +11 -4
@@ -2028,10 +2028,7 @@ int dm_table_set_restrictions(struct dm_table *t, struct request_queue *q, dm_table_any_dev_attr(t, device_is_not_random, NULL))blk_queue_flag_clear (QUEUE_FLAG_ADD_RANDOM , q); -/* -* For a zoned target, setup the zones related queue attributes -* and resources necessary for zone append emulation if necessary. -*/ +/* For a zoned table, setup the zone related queue attributes. */ if (IS_ENABLED (CONFIG_BLK_DEV_ZONED ) && limits->zoned) { r =dm_set_zones_restrictions (t, q, limits);if (r)
@@ -2042,6 +2039,16 @@ int dm_table_set_restrictions(struct dm_table *t, struct request_queue *q,if (r)return r; +/* +* Now that the limits are set, check the zones mapped by the table +* and setup the resources for zone append emulation if necessary. +*/ +if (IS_ENABLED (CONFIG_BLK_DEV_ZONED ) && limits->zoned) { + r =dm_revalidate_zones (t, q); +if (r) +return r; + } +dm_update_crypto_profile (q, t);/*
drivers/md/dm-zone.c +10 -15
@@ -166,14 +166,22 @@ static int dm_check_zoned_cb(struct blk_zone *zone, unsigned int idx,* blk_revalidate_disk_zones() function here as the mapped device is suspended * (this is called from __bind() context). */ -static int dm_revalidate_zones (struct mapped_device *md,struct dm_table *t) +int dm_revalidate_zones (struct dm_table *t,struct request_queue *q) { +struct mapped_device *md = t->md;struct gendisk *disk = md->disk;int ret; +if (!get_capacity (disk)) +return 0 ; +/* Revalidate only if something changed. */ -if (!disk->nr_zones || disk->nr_zones != md->nr_zones) +if (!disk->nr_zones || disk->nr_zones != md->nr_zones) { +DMINFO ("%s using %s zone append" , + disk->disk_name, +queue_emulates_zone_append (q) ?"emulated" :"native" ); md->nr_zones =0 ; + }if (md->nr_zones)return 0 ;
@@ -240,9 +248,6 @@ int dm_set_zones_restrictions(struct dm_table *t, struct request_queue *q, lim->max_zone_append_sectors =0 ; } -if (!get_capacity (md->disk)) -return 0 ; -/* * Count conventional zones to check that the mapped device will indeed * have sequential write required zones.
@@ -269,16 +274,6 @@ int dm_set_zones_restrictions(struct dm_table *t, struct request_queue *q,return 0 ; } -if (!md->disk->nr_zones) { -DMINFO ("%s using %s zone append" , - md->disk->disk_name, -queue_emulates_zone_append (q) ?"emulated" :"native" ); - } - - ret =dm_revalidate_zones (md, t); -if (ret <0 ) -return ret; -if (!static_key_enabled (&zoned_enabled.key))static_branch_enable (&zoned_enabled);return 0 ;
drivers/md/dm.h +1 -0
@@ -103,6 +103,7 @@ int dm_setup_md_queue(struct mapped_device *md, struct dm_table *t);*/ int dm_set_zones_restrictions (struct dm_table *t,struct request_queue *q,struct queue_limits *lim); +int dm_revalidate_zones (struct dm_table *t,struct request_queue *q);void dm_zone_endio (struct dm_io *io,struct bio *clone);#ifdef CONFIG_BLK_DEV_ZONED int dm_blk_report_zones(struct gendisk *disk, sector_t sector,
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 13/809 io_uring: Fix probe of disabled operations
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Gabriel Krisman Bertazi <[email protected]>
[ Upstream commit 3e05b222382ec67dce7358d50b6006e91d028d8b ]
io_probe checks io_issue_def->not_supported, but we never really set that field, as we mark non-supported functions through a specific ->prep handler. This means we end up returning IO_URING_OP_SUPPORTED, even for disabled operations. Fix it by just checking the prep handler itself.
--- io_uring/opdef.c | 8 ++++++++ io_uring/opdef.h | 4 ++-- io_uring/register.c | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-)
io_uring/opdef.c +8 -0
@@ -725,6 +725,14 @@ const char *io_uring_get_opcode(u8 opcode)return "INVALID" ; } +bool io_uring_op_supported (u8 opcode) +{ +if (opcode <IORING_OP_LAST && + io_issue_defs[opcode].prep != io_eopnotsupp_prep) +return true; +return false; +} +void __init io_uring_optable_init (void ) {int i;
io_uring/opdef.h +2 -2
@@ -17,8 +17,6 @@ struct io_issue_def { unsigned poll_exclusive : 1;/* op supports buffer selection */ unsigned buffer_select : 1; -/* opcode is not supported by this kernel */ - unsigned not_supported : 1;/* skip auditing */ unsigned audit_skip : 1;/* supports ioprio */
@@ -47,5 +45,7 @@ struct io_cold_def {extern const struct io_issue_def io_issue_defs[];extern const struct io_cold_def io_cold_defs[]; +bool io_uring_op_supported (u8 opcode); +void io_uring_optable_init (void );#endif
io_uring/register.c +1 -1
@@ -113,7 +113,7 @@ static __cold int io_probe(struct io_ring_ctx *ctx, void __user *arg,for (i =0 ; i < nr_args; i++) { p->ops[i].op = i; -if (!io_issue_defs[i].not_supported) +if (io_uring_op_supported (i)) p->ops[i].flags =IO_URING_OP_SUPPORTED ; } p->ops_len = i;
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 14/809 cgroup/cpuset: Optimize isolated partition only generate_sched_domains() calls
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Waiman Long <[email protected]>
[ Upstream commit 1805c1729f52edaa021288473b09f9c7f74fb1ca ]
If only isolated partitions are being created underneath the cgroup root, there will only be one sched domain with top_cpuset.effective_cpus. We can skip the unnecessary sched domains scanning code and save some cycles.
Stable-dep-of: ccac8e8de99c ("cgroup/cpuset: Fix remote root partition creation problem")
--- kernel/cgroup/cpuset.c | 8 ++++++++ 1 file changed, 8 insertions(+)
kernel/cgroup/cpuset.c +8 -0
@@ -964,6 +964,7 @@ static int generate_sched_domains(cpumask_var_t **domains,/* Special case for the 99% of systems with one, full, sched domain */ if (root_load_balance && !top_cpuset.nr_subparts) { +single_root_domain: ndoms =1 ; doms =alloc_sched_domains (ndoms);if (!doms)
@@ -1022,6 +1023,13 @@ static int generate_sched_domains(cpumask_var_t **domains, }rcu_read_unlock (); +/* +* If there are only isolated partitions underneath the cgroup root, +* we can optimize out unneeded sched domains scanning. +*/ +if (root_load_balance && (csn ==1 )) + goto single_root_domain; +for (i =0 ; i < csn; i++) csa[i]->pn = i; ndoms = csn;
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 15/809 cgroup/cpuset: Fix remote root partition creation problem
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Waiman Long <[email protected]>
[ Upstream commit ccac8e8de99cbcf5e7f53251ebce917bf7bcc29c ]
Since commit 181c8e091aae ("cgroup/cpuset: Introduce remote partition"), a remote partition can be created underneath a non-partition root cpuset as long as its exclusive_cpus are set to distribute exclusive CPUs down to its children. The generate_sched_domains() function, however, doesn't take into account this new behavior and hence will fail to create the sched domain needed for a remote root (non-isolated) partition.
There are two issues related to remote partition support. First of all, generate_sched_domains() has a fast path that is activated if root_load_balance is true and top_cpuset.nr_subparts is non-zero. The later condition isn't quite correct for remote partitions as nr_subparts just shows the number of local child partitions underneath it. There can be no local child partition under top_cpuset even if there are remote partitions further down the hierarchy. Fix that by checking for subpartitions_cpus which contains exclusive CPUs allocated to both local and remote partitions.
Secondly, the valid partition check for subtree skipping in the csa[] generation loop isn't enough as remote partition does not need to have a partition root parent. Fix this problem by breaking csa[] array generation loop of generate_sched_domains() into v1 and v2 specific parts and checking a cpuset's exclusive_cpus before skipping its subtree in the v2 case.
Also simplify generate_sched_domains() for cgroup v2 as only non-isolating partition roots should be included in building the cpuset array and none of the v1 scheduling attributes other than a different way to create an isolated partition are supported.
--- kernel/cgroup/cpuset.c | 55 ++++++++++++++++++++++++++++++++---------- 1 file changed, 42 insertions(+), 13 deletions(-)
kernel/cgroup/cpuset.c +42 -13
@@ -169,7 +169,7 @@ struct cpuset {/* for custom sched domain */ int relax_domain_level; -/* number of valid sub-partitions */ +/* number of valid local child partitions */ int nr_subparts;/* partition root state */
@@ -957,13 +957,14 @@ static int generate_sched_domains(cpumask_var_t **domains,int nslot;/* next empty doms[] struct cpumask slot */ struct cgroup_subsys_state *pos_css;bool root_load_balance =is_sched_load_balance (&top_cpuset); +bool cgrpv2 =cgroup_subsys_on_dfl (cpuset_cgrp_subsys); doms =NULL ; dattr =NULL ; csa =NULL ;/* Special case for the 99% of systems with one, full, sched domain */ -if (root_load_balance && !top_cpuset.nr_subparts) { +if (root_load_balance &&cpumask_empty (subpartitions_cpus)) { single_root_domain: ndoms =1 ; doms =alloc_sched_domains (ndoms);
@@ -992,16 +993,18 @@ static int generate_sched_domains(cpumask_var_t **domains,cpuset_for_each_descendant_pre (cp, pos_css, &top_cpuset) {if (cp == &top_cpuset)continue ; + +if (cgrpv2) + goto v2; +/* +* v1: * Continue traversing beyond @cp iff @cp has some CPUs and * isn't load balancing. The former is obvious. The * latter: All child cpusets contain a subset of the * parent's cpus, so just skip them, and then we call * update_domain_attr_tree() to calc relax_domain_level of * the corresponding sched domain. -* -* If root is load-balancing, we can skip @cp if it -* is a subset of the root's effective_cpus. */ if (!cpumask_empty(cp->cpus_allowed) && !(is_sched_load_balance(cp) &&
@@ -1009,16 +1012,28 @@ static int generate_sched_domains(cpumask_var_t **domains, housekeeping_cpumask(HK_TYPE_DOMAIN))))continue ; -if (root_load_balance && -cpumask_subset (cp->cpus_allowed, top_cpuset.effective_cpus)) -continue ; -if (is_sched_load_balance (cp) && !cpumask_empty (cp->effective_cpus)) csa[csn++] = cp; -/* skip @cp's subtree if not a partition root */ -if (!is_partition_valid (cp)) +/* skip @cp's subtree */ + pos_css =css_rightmost_descendant (pos_css); +continue ; + +v2: +/* +* Only valid partition roots that are not isolated and with +* non-empty effective_cpus will be saved into csn[]. +*/ +if ((cp->partition_root_state ==PRS_ROOT ) && + !cpumask_empty (cp->effective_cpus)) + csa[csn++] = cp; + +/* +* Skip @cp's subtree if not a partition root and has no +* exclusive CPUs to be granted to child cpusets. +*/ +if (!is_partition_valid (cp) &&cpumask_empty (cp->exclusive_cpus)) pos_css =css_rightmost_descendant (pos_css); }rcu_read_unlock ();
@@ -1072,6 +1087,20 @@ static int generate_sched_domains(cpumask_var_t **domains, dattr =kmalloc_array (ndoms,sizeof (struct sched_domain_attr ),GFP_KERNEL ); +/* +* Cgroup v2 doesn't support domain attributes, just set all of them +* to SD_ATTR_INIT. Also non-isolating partition root CPUs are a +* subset of HK_TYPE_DOMAIN housekeeping CPUs. +*/ +if (cgrpv2) { +for (i =0 ; i < ndoms; i++) { +cpumask_copy (doms[i], csa[i]->effective_cpus); +if (dattr) + dattr[i] =SD_ATTR_INIT ; + } + goto done; + } +for (nslot =0 , i =0 ; i < csn; i++) {struct cpuset *a = csa[i];struct cpumask *dp;
@@ -1231,7 +1260,7 @@ static void rebuild_sched_domains_locked(void)* root should be only a subset of the active CPUs. Since a CPU in any * partition root could be offlined, all must be checked. */ -if (top_cpuset.nr_subparts) { +if (!cpumask_empty (subpartitions_cpus)) {rcu_read_lock ();cpuset_for_each_descendant_pre (cs, pos_css, &top_cpuset) {if (!is_partition_valid (cs)) {
@@ -4579,7 +4608,7 @@ static void cpuset_handle_hotplug(void)* In the rare case that hotplug removes all the cpus in * subpartitions_cpus, we assumed that cpus are updated. */ -if (!cpus_updated && top_cpuset.nr_subparts) +if (!cpus_updated && !cpumask_empty (subpartitions_cpus)) cpus_updated = true;/* For v1, synchronize cpus_allowed to cpu_active_mask */
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 16/809 x86/kconfig: Add as-instr64 macro to properly evaluate AS_WRUSS
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Masahiro Yamada <[email protected]>
[ Upstream commit 469169803d52a5d8f0dc781090638e851a7d22b1 ]
Some instructions are only available on the 64-bit architecture.
Bi-arch compilers that default to -m32 need the explicit -m64 option to evaluate them properly.
--- arch/x86/Kconfig.assembler | 2 +- scripts/Kconfig.include | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-)
arch/x86/Kconfig.assembler +1 -1
@@ -36,6 +36,6 @@ config AS_VPCLMULQDQ Supported by binutils >= 2.30 and LLVM integrated assembler config AS_WRUSS - def_bool $(as-instr,wrussq %rax$(comma)(%rbx)) + def_bool $(as-instr64,wrussq %rax$(comma)(%rbx)) help Supported by binutils >= 2.31 and LLVM integrated assembler
scripts/Kconfig.include +2 -1
@@ -33,7 +33,8 @@ ld-option = $(success,$(LD) -v $(1)) # $(as-instr,<instr>) # Return y if the assembler supports <instr>, n otherwise -as-instr = $(success,printf "%b\n" "$(1)" | $(CC) $(CLANG_FLAGS) -Wa$(comma)--fatal-warnings -c -x assembler-with-cpp -o /dev/null -) +as-instr = $(success,printf "%b\n" "$(1)" | $(CC) $(CLANG_FLAGS) $(2) -Wa$(comma)--fatal-warnings -c -x assembler-with-cpp -o /dev/null -) +as-instr64 = $(as-instr,$(1),$(m64-flag)) # check if $(CC) and $(LD) exist $(error-if,$(failure,command -v $(CC)),C compiler '$(CC)' not found)
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 17/809 hfsplus: fix to avoid false alarm of circular locking
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Chao Yu <[email protected]>
[ Upstream commit be4edd1642ee205ed7bbf66edc0453b1be1fb8d7 ]
Syzbot report potential ABBA deadlock as below:
loop0: detected capacity change from 0 to 1024
======================================================
WARNING: possible circular locking dependency detected
6.9.0-syzkaller-10323-g8f6a15f095a6 #0 Not tainted
------------------------------------------------------
syz-executor171/5344 is trying to acquire lock:ffff88807cb980b0 (&tree->tree_lock){+.+.}-{3:3}, at: hfsplus_file_truncate+0x811/0xb50 fs/hfsplus/extents.c:595
but task is already holding lock:ffff88807a930108 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_truncate+0x2da/0xb50 fs/hfsplus/extents.c:576
which lock already depends on the new lock.
the existing dependency chain (in reverse order) is:
-> #1 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}:
lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5754
__mutex_lock_common kernel/locking/mutex.c:608 [inline]
__mutex_lock+0x136/0xd70 kernel/locking/mutex.c:752
hfsplus_file_extend+0x21b/0x1b70 fs/hfsplus/extents.c:457
hfsplus_bmap_reserve+0x105/0x4e0 fs/hfsplus/btree.c:358
hfsplus_rename_cat+0x1d0/0x1050 fs/hfsplus/catalog.c:456
hfsplus_rename+0x12e/0x1c0 fs/hfsplus/dir.c:552
vfs_rename+0xbdb/0xf00 fs/namei.c:4887
do_renameat2+0xd94/0x13f0 fs/namei.c:5044
__do_sys_rename fs/namei.c:5091 [inline]
__se_sys_rename fs/namei.c:5089 [inline]
__x64_sys_rename+0x86/0xa0 fs/namei.c:5089
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f-> #0 (&tree->tree_lock){+.+.}-{3:3}:
check_prev_add kernel/locking/lockdep.c:3134 [inline]
check_prevs_add kernel/locking/lockdep.c:3253 [inline]
validate_chain+0x18cb/0x58e0 kernel/locking/lockdep.c:3869
__lock_acquire+0x1346/0x1fd0 kernel/locking/lockdep.c:5137
lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5754
__mutex_lock_common kernel/locking/mutex.c:608 [inline]
__mutex_lock+0x136/0xd70 kernel/locking/mutex.c:752
hfsplus_file_truncate+0x811/0xb50 fs/hfsplus/extents.c:595
hfsplus_setattr+0x1ce/0x280 fs/hfsplus/inode.c:265
notify_change+0xb9d/0xe70 fs/attr.c:497
do_truncate+0x220/0x310 fs/open.c:65
handle_truncate fs/namei.c:3308 [inline]
do_open fs/namei.c:3654 [inline]
path_openat+0x2a3d/0x3280 fs/namei.c:3807
do_filp_open+0x235/0x490 fs/namei.c:3834
do_sys_openat2+0x13e/0x1d0 fs/open.c:1406
do_sys_open fs/open.c:1421 [inline]
__do_sys_creat fs/open.c:1497 [inline]
__se_sys_creat fs/open.c:1491 [inline]
__x64_sys_creat+0x123/0x170 fs/open.c:1491
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7fother info that might help us debug this:
Possible unsafe locking scenario:
CPU0 CPU1
---- ----
lock(&HFSPLUS_I(inode)->extents_lock);
lock(&tree->tree_lock);
lock(&HFSPLUS_I(inode)->extents_lock); lock(&tree->tree_lock);
This is a false alarm as tree_lock mutex are different, one is from sbi->cat_tree, and another is from sbi->ext_tree:
Thread A Thread B
- hfsplus_rename
- hfsplus_rename_cat
- hfs_find_init
- mutext_lock(cat_tree->tree_lock)
- hfsplus_setattr
- hfsplus_file_truncate
- mutex_lock(hip->extents_lock)
- hfs_find_init
- mutext_lock(ext_tree->tree_lock)
- hfs_bmap_reserve
- hfsplus_file_extend
- mutex_lock(hip->extents_lock)
So, let's call mutex_lock_nested for tree_lock mutex lock, and pass correct lock class for it.
--- fs/hfsplus/bfind.c | 15 ++------------- fs/hfsplus/extents.c | 9 ++++++--- fs/hfsplus/hfsplus_fs.h | 21 +++++++++++++++++++++ 3 files changed, 29 insertions(+), 16 deletions(-)
fs/hfsplus/bfind.c +2 -13
@@ -25,19 +25,8 @@ int hfs_find_init(struct hfs_btree *tree, struct hfs_find_data *fd) fd->key = ptr + tree->max_key_len +2 ;hfs_dbg (BNODE_REFS ,"find_init: %d (%p)\n" , tree->cnid,__builtin_return_address (0 )); -switch (tree->cnid) { -case HFSPLUS_CAT_CNID : -mutex_lock_nested (&tree->tree_lock,CATALOG_BTREE_MUTEX ); -break ; -case HFSPLUS_EXT_CNID : -mutex_lock_nested (&tree->tree_lock,EXTENTS_BTREE_MUTEX ); -break ; -case HFSPLUS_ATTR_CNID : -mutex_lock_nested (&tree->tree_lock,ATTR_BTREE_MUTEX ); -break ; -default : -BUG (); - } +mutex_lock_nested (&tree->tree_lock, +hfsplus_btree_lock_class (tree));return 0 ; }
fs/hfsplus/extents.c +6 -3
@@ -430,7 +430,8 @@ int hfsplus_free_fork(struct super_block *sb, u32 cnid,hfsplus_free_extents (sb, ext_entry, total_blocks - start, total_blocks); total_blocks = start; -mutex_lock (&fd.tree->tree_lock); +mutex_lock_nested (&fd.tree->tree_lock, +hfsplus_btree_lock_class (fd.tree)); }while (total_blocks > blocks);hfs_find_exit (&fd);
@@ -592,7 +593,8 @@ void hfsplus_file_truncate(struct inode *inode) alloc_cnt, alloc_cnt - blk_cnt);hfsplus_dump_extent (hip->first_extents); hip->first_blocks = blk_cnt; -mutex_lock (&fd.tree->tree_lock); +mutex_lock_nested (&fd.tree->tree_lock, +hfsplus_btree_lock_class (fd.tree));break ; } res =__hfsplus_ext_cache_extent (&fd, inode, alloc_cnt);
@@ -606,7 +608,8 @@ void hfsplus_file_truncate(struct inode *inode)hfsplus_free_extents (sb, hip->cached_extents, alloc_cnt - start, alloc_cnt - blk_cnt);hfsplus_dump_extent (hip->cached_extents); -mutex_lock (&fd.tree->tree_lock); +mutex_lock_nested (&fd.tree->tree_lock, +hfsplus_btree_lock_class (fd.tree));if (blk_cnt > start) { hip->extent_state |=HFSPLUS_EXT_DIRTY ;break ;
fs/hfsplus/hfsplus_fs.h +21 -0
@@ -553,6 +553,27 @@ static inline __be32 __hfsp_ut2mt(time64_t ut)return cpu_to_be32 (lower_32_bits (ut) +HFSPLUS_UTC_OFFSET ); } +static inline enum hfsplus_btree_mutex_classes +hfsplus_btree_lock_class (struct hfs_btree *tree) +{ +enum hfsplus_btree_mutex_classes class; + +switch (tree->cnid) { +case HFSPLUS_CAT_CNID : + class =CATALOG_BTREE_MUTEX ; +break ; +case HFSPLUS_EXT_CNID : + class =EXTENTS_BTREE_MUTEX ; +break ; +case HFSPLUS_ATTR_CNID : + class =ATTR_BTREE_MUTEX ; +break ; +default : +BUG (); + } +return class; +} +/* compatibility */ #define hfsp_mt2ut (t) (struct timespec64){ .tv_sec = __hfsp_mt2ut(t) }#define hfsp_ut2mt (t) __hfsp_ut2mt((t).tv_sec)
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 18/809 x86/of: Return consistent error type from x86_of_pci_irq_enable()
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Ilpo Järvinen <[email protected]>
[ Upstream commit ec0b4c4d45cf7cf9a6c9626a494a89cb1ae7c645 ]
x86_of_pci_irq_enable() returns PCIBIOS_* code received from pci_read_config_byte() directly and also -EINVAL which are not compatible error types. x86_of_pci_irq_enable() is used as (*pcibios_enable_irq) function which should not return PCIBIOS_* codes.
Convert the PCIBIOS_* return code from pci_read_config_byte() into normal errno using pcibios_err_to_errno().
--- arch/x86/kernel/devicetree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kernel/devicetree.c +1 -1
@@ -83,7 +83,7 @@ static int x86_of_pci_irq_enable(struct pci_dev *dev) ret =pci_read_config_byte (dev,PCI_INTERRUPT_PIN , &pin);if (ret) -return ret; +return pcibios_err_to_errno (ret);if (!pin)return 0 ;
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 19/809 x86/pci/intel_mid_pci: Fix PCIBIOS_* return code handling
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Ilpo Järvinen <[email protected]>
[ Upstream commit 724852059e97c48557151b3aa4af424614819752 ]
intel_mid_pci_irq_enable() uses pci_read_config_byte() that returns PCIBIOS_* codes. The error handling, however, assumes the codes are normal errnos because it checks for < 0.
intel_mid_pci_irq_enable() also returns the PCIBIOS_* code back to the caller but the function is used as the (*pcibios_enable_irq) function which should return normal errnos.
Convert the error check to plain non-zero check which works for PCIBIOS_* return codes and convert the PCIBIOS_* return code using pcibios_err_to_errno() into normal errno before returning it.
--- arch/x86/pci/intel_mid_pci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/x86/pci/intel_mid_pci.c +2 -2
@@ -233,9 +233,9 @@ static int intel_mid_pci_irq_enable(struct pci_dev *dev)return 0 ; ret =pci_read_config_byte (dev,PCI_INTERRUPT_LINE , &gsi); -if (ret <0 ) { +if (ret) {dev_warn (&dev->dev,"Failed to read interrupt line: %d\n" , ret); -return ret; +return pcibios_err_to_errno (ret); } id =x86_match_cpu (intel_mid_cpu_ids);
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 20/809 x86/pci/xen: Fix PCIBIOS_* return code handling
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Ilpo Järvinen <[email protected]>
[ Upstream commit e9d7b435dfaec58432f4106aaa632bf39f52ce9f ]
xen_pcifront_enable_irq() uses pci_read_config_byte() that returns PCIBIOS_* codes. The error handling, however, assumes the codes are normal errnos because it checks for < 0.
xen_pcifront_enable_irq() also returns the PCIBIOS_* code back to the caller but the function is used as the (*pcibios_enable_irq) function which should return normal errnos.
Convert the error check to plain non-zero check which works for PCIBIOS_* return codes and convert the PCIBIOS_* return code using pcibios_err_to_errno() into normal errno before returning it.
--- arch/x86/pci/xen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/x86/pci/xen.c +2 -2
@@ -38,10 +38,10 @@ static int xen_pcifront_enable_irq(struct pci_dev *dev)u8 gsi; rc =pci_read_config_byte (dev,PCI_INTERRUPT_LINE , &gsi); -if (rc <0 ) { +if (rc) {dev_warn (&dev->dev,"Xen PCI: failed to read interrupt line: %d\n" , rc); -return rc; +return pcibios_err_to_errno (rc); }/* In PV DomU the Xen PCI backend puts the PIRQ in the interrupt line.*/ pirq = gsi;
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 21/809 x86/platform/iosf_mbi: Convert PCIBIOS_* return codes to errnos
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Ilpo Järvinen <[email protected]>
[ Upstream commit 7821fa101eab529521aa4b724bf708149d70820c ]
iosf_mbi_pci_{read,write}_mdr() use pci_{read,write}_config_dword() that return PCIBIOS_* codes but functions also return -ENODEV which are not compatible error codes. As neither of the functions are related to PCI read/write functions, they should return normal errnos.
Convert PCIBIOS_* returns code using pcibios_err_to_errno() into normal errno before returning it.
--- arch/x86/platform/intel/iosf_mbi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/x86/platform/intel/iosf_mbi.c +2 -2
@@ -62,7 +62,7 @@ static int iosf_mbi_pci_read_mdr(u32 mcrx, u32 mcr, u32 *mdr) fail_read:dev_err (&mbi_pdev->dev,"PCI config access failed with %d\n" , result); -return result; +return pcibios_err_to_errno (result); }static int iosf_mbi_pci_write_mdr (u32 mcrx,u32 mcr,u32 mdr)
@@ -91,7 +91,7 @@ static int iosf_mbi_pci_write_mdr(u32 mcrx, u32 mcr, u32 mdr) fail_write:dev_err (&mbi_pdev->dev,"PCI config access failed with %d\n" , result); -return result; +return pcibios_err_to_errno (result); }int iosf_mbi_read (u8 port,u8 opcode,u32 offset,u32 *mdr)
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 22/809 x86/syscall: Mark exit[_group] syscall handlers __noreturn
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Josh Poimboeuf <[email protected]>
[ Upstream commit 9142be9e6443fd641ca37f820efe00d9cd890eb1 ]
The direct-call syscall dispatch function doesn't know that the exit() and exit_group() syscall handlers don't return, so the call sites aren't optimized accordingly.
Fix that by marking the exit syscall declarations __noreturn.
Fixes the following warnings:
vmlinux.o: warning: objtool: x64_sys_call+0x2804: __x64_sys_exit() is missing a __noreturn annotation vmlinux.o: warning: objtool: ia32_sys_call+0x29b6: __ia32_sys_exit_group() is missing a __noreturn annotation
--- arch/x86/entry/syscall_32.c | 10 ++++++---- arch/x86/entry/syscall_64.c | 9 ++++++--- arch/x86/entry/syscall_x32.c | 7 +++++-- arch/x86/entry/syscalls/syscall_32.tbl | 6 +++--- arch/x86/entry/syscalls/syscall_64.tbl | 6 +++--- arch/x86/um/sys_call_table_32.c | 10 ++++++---- arch/x86/um/sys_call_table_64.c | 11 +++++++---- scripts/syscalltbl.sh | 18 ++++++++++++++++-- tools/objtool/noreturns.h | 4 ++++ 9 files changed, 56 insertions(+), 25 deletions(-)
arch/x86/entry/syscall_32.c +6 -4
@@ -14,9 +14,12 @@#endif #define __SYSCALL (nr, sym) extern long __ia32_##sym(const struct pt_regs *); - +#define __SYSCALL_NORETURN (nr, sym) extern long __noreturn __ia32_##sym(const struct pt_regs *);#include <asm/syscalls_32.h> -#undef __SYSCALL +#undef __SYSCALL + +#undef __SYSCALL_NORETURN +#define __SYSCALL_NORETURN __SYSCALL/* * The sys_call_table[] is no longer used for system calls, but
@@ -28,11 +31,10 @@const sys_call_ptr_t sys_call_table[] = { #include <asm/syscalls_32.h> }; -#undef __SYSCALL +#undef __SYSCALL#endif #define __SYSCALL (nr, sym) case nr: return __ia32_##sym(regs); -long ia32_sys_call (const struct pt_regs *regs,unsigned int nr) {switch (nr) {
arch/x86/entry/syscall_64.c +6 -3
@@ -8,8 +8,12 @@#include <asm/syscall.h> #define __SYSCALL (nr, sym) extern long __x64_##sym(const struct pt_regs *); +#define __SYSCALL_NORETURN (nr, sym) extern long __noreturn __x64_##sym(const struct pt_regs *);#include <asm/syscalls_64.h> -#undef __SYSCALL +#undef __SYSCALL + +#undef __SYSCALL_NORETURN +#define __SYSCALL_NORETURN __SYSCALL/* * The sys_call_table[] is no longer used for system calls, but
@@ -20,10 +24,9 @@ const sys_call_ptr_t sys_call_table[] = {#include <asm/syscalls_64.h> }; -#undef __SYSCALL +#undef __SYSCALL#define __SYSCALL (nr, sym) case nr: return __x64_##sym(regs); -long x64_sys_call (const struct pt_regs *regs,unsigned int nr) {switch (nr) {
arch/x86/entry/syscall_x32.c +5 -2
@@ -8,11 +8,14 @@#include <asm/syscall.h> #define __SYSCALL (nr, sym) extern long __x64_##sym(const struct pt_regs *); +#define __SYSCALL_NORETURN (nr, sym) extern long __noreturn __x64_##sym(const struct pt_regs *);#include <asm/syscalls_x32.h> -#undef __SYSCALL +#undef __SYSCALL -#define __SYSCALL (nr, sym) case nr: return __x64_##sym(regs); +#undef __SYSCALL_NORETURN +#define __SYSCALL_NORETURN __SYSCALL +#define __SYSCALL (nr, sym) case nr: return __x64_##sym(regs);long x32_sys_call (const struct pt_regs *regs,unsigned int nr) {switch (nr) {
arch/x86/entry/syscalls/syscall_32.tbl +3 -3
@@ -2,7 +2,7 @@ # 32-bit system call numbers and entry vectors # # The format is: -# <number> <abi> <name> <entry point> <compat entry point> +# <number> <abi> <name> <entry point> [<compat entry point> [noreturn]] # # The __ia32_sys and __ia32_compat_sys stubs are created on-the-fly for # sys_*() system calls and compat_sys_*() compat system calls if
@@ -12,7 +12,7 @@ # The abi is always "i386" for this file. # 0 i386 restart_syscall sys_restart_syscall -1 i386 exit sys_exit +1 i386 exit sys_exit - noreturn 2 i386 fork sys_fork 3 i386 read sys_read 4 i386 write sys_write
@@ -263,7 +263,7 @@ 249 i386 io_cancel sys_io_cancel 250 i386 fadvise64 sys_ia32_fadvise64 # 251 is available for reuse (was briefly sys_set_zone_reclaim) -252 i386 exit_group sys_exit_group +252 i386 exit_group sys_exit_group - noreturn 253 i386 lookup_dcookie 254 i386 epoll_create sys_epoll_create 255 i386 epoll_ctl sys_epoll_ctl
arch/x86/entry/syscalls/syscall_64.tbl +3 -3
@@ -2,7 +2,7 @@ # 64-bit system call numbers and entry vectors # # The format is: -# <number> <abi> <name> <entry point> +# <number> <abi> <name> <entry point> [<compat entry point> [noreturn]] # # The __x64_sys_*() stubs are created on-the-fly for sys_*() system calls #
@@ -68,7 +68,7 @@ 57 common fork sys_fork 58 common vfork sys_vfork 59 64 execve sys_execve -60 common exit sys_exit +60 common exit sys_exit - noreturn 61 common wait4 sys_wait4 62 common kill sys_kill 63 common uname sys_newuname
@@ -239,7 +239,7 @@ 228 common clock_gettime sys_clock_gettime 229 common clock_getres sys_clock_getres 230 common clock_nanosleep sys_clock_nanosleep -231 common exit_group sys_exit_group +231 common exit_group sys_exit_group - noreturn 232 common epoll_wait sys_epoll_wait 233 common epoll_ctl sys_epoll_ctl 234 common tgkill sys_tgkill
arch/x86/um/sys_call_table_32.c +6 -4
@@ -9,6 +9,10 @@#include <linux/cache.h> #include <asm/syscall.h> +extern asmlinkage long sys_ni_syscall (unsigned long ,unsigned long , +unsigned long ,unsigned long , +unsigned long ,unsigned long ); +/* * Below you can see, in terms of #define's, the differences between the x86-64 * and the UML syscall table.
@@ -22,15 +26,13 @@#define sys_vm86 sys_ni_syscall#define __SYSCALL_WITH_COMPAT (nr, native, compat) __SYSCALL(nr, native) +#define __SYSCALL_NORETURN __SYSCALL#define __SYSCALL (nr, sym) extern asmlinkage long sym(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long);#include <asm/syscalls_32.h> +#undef __SYSCALL -#undef __SYSCALL#define __SYSCALL (nr, sym) sym, - -extern asmlinkage long sys_ni_syscall (unsigned long ,unsigned long ,unsigned long ,unsigned long ,unsigned long ,unsigned long ); - const sys_call_ptr_t sys_call_table[] ____cacheline_aligned = {#include <asm/syscalls_32.h> };
arch/x86/um/sys_call_table_64.c +7 -4
@@ -9,6 +9,10 @@#include <linux/cache.h> #include <asm/syscall.h> +extern asmlinkage long sys_ni_syscall (unsigned long ,unsigned long , +unsigned long ,unsigned long , +unsigned long ,unsigned long ); +/* * Below you can see, in terms of #define's, the differences between the x86-64 * and the UML syscall table.
@@ -18,14 +22,13 @@#define sys_iopl sys_ni_syscall#define sys_ioperm sys_ni_syscall +#define __SYSCALL_NORETURN __SYSCALL +#define __SYSCALL (nr, sym) extern asmlinkage long sym(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long);#include <asm/syscalls_64.h> +#undef __SYSCALL -#undef __SYSCALL#define __SYSCALL (nr, sym) sym, - -extern asmlinkage long sys_ni_syscall (unsigned long ,unsigned long ,unsigned long ,unsigned long ,unsigned long ,unsigned long ); - const sys_call_ptr_t sys_call_table[] ____cacheline_aligned = {#include <asm/syscalls_64.h> };
scripts/syscalltbl.sh +16 -2
@@ -54,7 +54,7 @@ nxt=0 grep -E "^[0-9]+[[:space:]]+$abis" "$infile" | { - while read nr abi name native compat ; do + while read nr abi name native compat noreturn; do if [ $nxt -gt $nr ]; then echo "error: $infile: syscall table is not sorted or duplicates the same syscall number" >&2
@@ -66,7 +66,21 @@ grep -E "^[0-9]+[[:space:]]+$abis" "$infile" | { nxt=$((nxt + 1)) done - if [ -n "$compat" ]; then + if [ "$compat" = "-" ]; then + unset compat + fi + + if [ -n "$noreturn" ]; then + if [ "$noreturn" != "noreturn" ]; then + echo "error: $infile: invalid string \"$noreturn\" in 'noreturn' column" + exit 1 + fi + if [ -n "$compat" ]; then + echo "__SYSCALL_COMPAT_NORETURN($nr, $native, $compat)" + else + echo "__SYSCALL_NORETURN($nr, $native)" + fi + elif [ -n "$compat" ]; then echo "__SYSCALL_WITH_COMPAT($nr, $native, $compat)" elif [ -n "$native" ]; then echo "__SYSCALL($nr, $native)"
tools/objtool/noreturns.h +4 -0
@@ -7,12 +7,16 @@* Yes, this is unfortunate. A better solution is in the works. */ NORETURN(__fortify_panic) +NORETURN(__ia32_sys_exit) +NORETURN(__ia32_sys_exit_group) NORETURN(__kunit_abort) NORETURN(__module_put_and_kthread_exit) NORETURN(__reiserfs_panic) NORETURN(__stack_chk_fail) NORETURN(__tdx_hypercall_failed) NORETURN(__ubsan_handle_builtin_unreachable) +NORETURN(__x64_sys_exit) +NORETURN(__x64_sys_exit_group) NORETURN(arch_cpu_idle_dead) NORETURN(bch2_trans_in_restart_error) NORETURN(bch2_trans_restart_error)
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 23/809 cgroup/cpuset: Prevent UAF in proc_cpuset_show()
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Chen Ridong <[email protected]>
[ Upstream commit 1be59c97c83ccd67a519d8a49486b3a8a73ca28a ]
An UAF can happen when /proc/cpuset is read as reported in [1].
This can be reproduced by the following methods:
1.add an mdelay(1000) before acquiring the cgroup_lock In the
cgroup_path_ns function.
2.$cat /proc/<pid>/cpuset repeatly.
3.$mount -t cgroup -o cpuset cpuset /sys/fs/cgroup/cpuset/
$umount /sys/fs/cgroup/cpuset/ repeatly.
The race that cause this bug can be shown as below:
(umount) | (cat /proc/<pid>/cpuset)css_release | proc_cpuset_showcss_release_work_fn | css = task_get_css(tsk, cpuset_cgrp_id);css_free_rwork_fn | cgroup_path_ns(css->cgroup, ...);cgroup_destroy_root | mutex_lock(&cgroup_mutex);rebind_subsystems |cgroup_free_root |
| // cgrp was freed, UAF | cgroup_path_ns_locked(cgrp,..);
When the cpuset is initialized, the root node top_cpuset.css.cgrp will point to &cgrp_dfl_root.cgrp. In cgroup v1, the mount operation will allocate cgroup_root, and top_cpuset.css.cgrp will point to the allocated &cgroup_root.cgrp. When the umount operation is executed, top_cpuset.css.cgrp will be rebound to &cgrp_dfl_root.cgrp.
The problem is that when rebinding to cgrp_dfl_root, there are cases where the cgroup_root allocated by setting up the root for cgroup v1 is cached. This could lead to a Use-After-Free (UAF) if it is subsequently freed. The descendant cgroups of cgroup v1 can only be freed after the css is released. However, the css of the root will never be released, yet the cgroup_root should be freed when it is unmounted. This means that obtaining a reference to the css of the root does not guarantee that css.cgrp->root will not be freed.
Fix this problem by using rcu_read_lock in proc_cpuset_show(). As cgroup_root is kfree_rcu after commit d23b5c577715 ("cgroup: Make operations on the cgroup root_list RCU safe"), css->cgroup won't be freed during the critical section.
To call cgroup_path_ns_locked, css_set_lock is needed, so it is safe to replace task_get_css with task_css.
[1] https://syzkaller.appspot.com/bug?extid=9b1ff7be974a403aa4cd
--- kernel/cgroup/cpuset.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-)
kernel/cgroup/cpuset.c +9 -4
@@ -21,6 +21,7 @@* License. See the file COPYING in the main directory of the Linux * distribution for more details. */ +#include "cgroup-internal.h" #include <linux/cpu.h> #include <linux/cpumask.h>
@@ -5088,10 +5089,14 @@ int proc_cpuset_show(struct seq_file *m, struct pid_namespace *ns,if (!buf) goto out; - css =task_get_css (tsk, cpuset_cgrp_id); - retval =cgroup_path_ns (css->cgroup, buf,PATH_MAX , - current->nsproxy->cgroup_ns); -css_put (css); +rcu_read_lock (); +spin_lock_irq (&css_set_lock); + css =task_css (tsk, cpuset_cgrp_id); + retval =cgroup_path_ns_locked (css->cgroup, buf,PATH_MAX , + current->nsproxy->cgroup_ns); +spin_unlock_irq (&css_set_lock); +rcu_read_unlock (); +if (retval == -E2BIG ) retval = -ENAMETOOLONG ;if (retval <0 )
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 24/809 hwmon: (adt7475) Fix default duty on fan is disabled
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Wayne Tung <[email protected]>
[ Upstream commit 39b24cced70fdc336dbc0070f8b3bde61d8513a8 ]
According to the comments on fan is disabled, we change to manual mode and set the duty cycle to 0.
For setting the duty cycle part, the register is wrong. Fix it.
--- drivers/hwmon/adt7475.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/hwmon/adt7475.c +1 -1
@@ -1900,7 +1900,7 @@ static void adt7475_read_pwm(struct i2c_client *client, int index) data->pwm[CONTROL ][index] &= ~0xE0 ; data->pwm[CONTROL ][index] |= (7 <<5 ); -i2c_smbus_write_byte_data (client,PWM_CONFIG_REG (index), +i2c_smbus_write_byte_data (client,PWM_REG (index), data->pwm[INPUT ][index]); i2c_smbus_write_byte_data(client, PWM_CONFIG_REG(index),
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 25/809 block: Call .limit_depth() after .hctx has been set
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Bart Van Assche <[email protected]>
[ Upstream commit 6259151c04d4e0085e00d2dcb471ebdd1778e72e ]
Call .limit_depth() after data->hctx has been set such that data->hctx can be used in .limit_depth() implementations.
--- block/blk-mq.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
block/blk-mq.c +6 -6
@@ -448,6 +448,10 @@ static struct request *__blk_mq_alloc_requests(struct blk_mq_alloc_data *data)if (data->cmd_flags &REQ_NOWAIT ) data->flags |=BLK_MQ_REQ_NOWAIT ; +retry: + data->ctx =blk_mq_get_ctx (q); + data->hctx =blk_mq_map_queue (q, data->cmd_flags, data->ctx); +if (q->elevator) {/* * All requests use scheduler tags when an I/O scheduler is
@@ -469,13 +473,9 @@ static struct request *__blk_mq_alloc_requests(struct blk_mq_alloc_data *data)if (ops->limit_depth) ops->limit_depth (data->cmd_flags, data); } - } - -retry: - data->ctx =blk_mq_get_ctx (q); - data->hctx =blk_mq_map_queue (q, data->cmd_flags, data->ctx); -if (!(data->rq_flags &RQF_SCHED_TAGS )) + }else {blk_mq_tag_busy (data->hctx); + }if (data->flags &BLK_MQ_REQ_RESERVED ) data->rq_flags |=RQF_RESV ;
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 26/809 block/mq-deadline: Fix the tag reservation code
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Bart Van Assche <[email protected]>
[ Upstream commit 39823b47bbd40502632ffba90ebb34fff7c8b5e8 ]
The current tag reservation code is based on a misunderstanding of the meaning of data->shallow_depth. Fix the tag reservation code as follows:
* By default, do not reserve any tags for synchronous requests because for certain use cases reserving tags reduces performance. See also Harshit Mogalapalli, [bug-report] Performance regression with fio sequential-write on a multipath setup, 2024-03-07
(https://lore.kernel.org/linux-block/[email protected]/)
* Reduce min_shallow_depth to one because min_shallow_depth must be less than or equal any shallow_depth value.
* Scale dd->async_depth from the range [1, nr_requests] to [1, bits_per_sbitmap_word].
--- block/mq-deadline.c | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-)
block/mq-deadline.c +17 -3
@@ -487,6 +487,20 @@ static struct request *dd_dispatch_request(struct blk_mq_hw_ctx *hctx)return rq; } +/* +* 'depth' is a number in the range 1..INT_MAX representing a number of +* requests. Scale it with a factor (1 << bt->sb.shift) / q->nr_requests since +* 1..(1 << bt->sb.shift) is the range expected by sbitmap_get_shallow(). +* Values larger than q->nr_requests have the same effect as q->nr_requests. +*/ +static int dd_to_word_depth (struct blk_mq_hw_ctx *hctx,unsigned int qdepth) +{ +struct sbitmap_queue *bt = &hctx->sched_tags->bitmap_tags; +const unsigned int nrr = hctx->queue->nr_requests; + +return ((qdepth << bt->sb.shift) + nrr -1 ) / nrr; +} +/* * Called by __blk_mq_alloc_request(). The shallow_depth value set by this * function is used by __blk_mq_get_tag().
@@ -503,7 +517,7 @@ static void dd_limit_depth(blk_opf_t opf, struct blk_mq_alloc_data *data)* Throttle asynchronous requests and writes such that these requests * do not block the allocation of synchronous requests. */ - data->shallow_depth = dd->async_depth; + data->shallow_depth =dd_to_word_depth (data->hctx, dd->async_depth); }/* Called by blk_mq_update_nr_requests(). */
@@ -513,9 +527,9 @@ static void dd_depth_updated(struct blk_mq_hw_ctx *hctx)struct deadline_data *dd = q->elevator->elevator_data;struct blk_mq_tags *tags = hctx->sched_tags; - dd->async_depth =max (1UL ,3 * q->nr_requests /4 ); + dd->async_depth = q->nr_requests; -sbitmap_queue_min_shallow_depth (&tags->bitmap_tags, dd->async_depth); +sbitmap_queue_min_shallow_depth (&tags->bitmap_tags,1 ); }/* Called by blk_mq_init_hctx() and blk_mq_init_sched(). */
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 27/809 xen-blkfront: fix sector_size propagation to the block layer
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Christoph Hellwig <[email protected]>
[ Upstream commit 98d34c087249d39838874b83e17671e7d5eb1ca7 ]
Ensure that info->sector_size and info->physical_sector_size are set before the call to blkif_set_queue_limits by doing away with the local variables and arguments that propagate them.
Thanks to Marek Marczykowski-Górecki and Jürgen Groß for root causing the issue.
--- drivers/block/xen-blkfront.c | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-)
drivers/block/xen-blkfront.c +5 -11
@@ -1063,8 +1063,7 @@ static char *encode_disk_name(char *ptr, unsigned int n) }static int xlvbd_alloc_gendisk (blkif_sector_t capacity, -struct blkfront_info *info,u16 sector_size, -unsigned int physical_sector_size) +struct blkfront_info *info) {struct queue_limits lim = {};struct gendisk *gd;
@@ -1159,8 +1158,6 @@ static int xlvbd_alloc_gendisk(blkif_sector_t capacity, info->rq = gd->queue; info->gd = gd; - info->sector_size = sector_size; - info->physical_sector_size = physical_sector_size;xlvbd_flush (info);
@@ -2315,8 +2312,6 @@ static void blkfront_gather_backend_features(struct blkfront_info *info)static void blkfront_connect (struct blkfront_info *info) {unsigned long long sectors; -unsigned long sector_size; -unsigned int physical_sector_size;int err, i;struct blkfront_ring_info *rinfo;
@@ -2355,7 +2350,7 @@ static void blkfront_connect(struct blkfront_info *info) err =xenbus_gather (XBT_NIL , info->xbdev->otherend,"sectors" ,"%llu" , §ors,"info" ,"%u" , &info->vdisk_info, -"sector-size" ,"%lu" , §or_size, +"sector-size" ,"%lu" , &info->sector_size,NULL );if (err) { xenbus_dev_fatal(info->xbdev, err,
@@ -2369,9 +2364,9 @@ static void blkfront_connect(struct blkfront_info *info)* provide this. Assume physical sector size to be the same as * sector_size in that case. */ - physical_sector_size =xenbus_read_unsigned (info->xbdev->otherend, + info->physical_sector_size =xenbus_read_unsigned (info->xbdev->otherend,"physical-sector-size" , - sector_size); + info->sector_size);blkfront_gather_backend_features (info);for_each_rinfo (info, rinfo, i) { err =blkfront_setup_indirect (rinfo);
@@ -2383,8 +2378,7 @@ static void blkfront_connect(struct blkfront_info *info) } } - err =xlvbd_alloc_gendisk (sectors, info, sector_size, - physical_sector_size); + err =xlvbd_alloc_gendisk (sectors, info);if (err) {xenbus_dev_fatal (info->xbdev, err,"xlvbd_add at %s" , info->xbdev->otherend);
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 28/809 perf: arm_pmuv3: Avoid assigning fixed cycle counter with threshold
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Rob Herring (Arm) <[email protected]>
[ Upstream commit 81e15ca3e523a508d62806fe681c1d289361ca16 ]
If the user has requested a counting threshold for the CPU cycles event, then the fixed cycle counter can't be assigned as it lacks threshold support. Currently, the thresholds will work or not randomly depending on which counter the event is assigned.
While using thresholds for CPU cycles doesn't make much sense, it can be useful for testing purposes.
--- drivers/perf/arm_pmuv3.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)
drivers/perf/arm_pmuv3.c +8 -2
@@ -338,6 +338,11 @@ static bool armv8pmu_event_want_user_access(struct perf_event *event)return ATTR_CFG_GET_FLD (&event->attr, rdpmc); } +static u32 armv8pmu_event_get_threshold (struct perf_event_attr *attr) +{ +return ATTR_CFG_GET_FLD (attr, threshold); +} +static u8 armv8pmu_event_threshold_control (struct perf_event_attr *attr) {u8 th_compare =ATTR_CFG_GET_FLD (attr, threshold_compare);
@@ -941,7 +946,8 @@ static int armv8pmu_get_event_idx(struct pmu_hw_events *cpuc,unsigned long evtype = hwc->config_base &ARMV8_PMU_EVTYPE_EVENT ;/* Always prefer to place a cycle counter into the cycle counter. */ -if (evtype ==ARMV8_PMUV3_PERFCTR_CPU_CYCLES ) { +if ((evtype ==ARMV8_PMUV3_PERFCTR_CPU_CYCLES ) && + !armv8pmu_event_get_threshold (&event->attr)) {if (!test_and_set_bit (ARMV8_IDX_CYCLE_COUNTER , cpuc->used_mask))return ARMV8_IDX_CYCLE_COUNTER ; else if (armv8pmu_event_is_64bit(event) &&
@@ -1033,7 +1039,7 @@ static int armv8pmu_set_event_filter(struct hw_perf_event *event,* If FEAT_PMUv3_TH isn't implemented, then THWIDTH (threshold_max) will * be 0 and will also trigger this check, preventing it from being used. */ - th =ATTR_CFG_GET_FLD (attr, threshold); + th =armv8pmu_event_get_threshold (attr);if (th >threshold_max (cpu_pmu)) {pr_debug ("PMU event threshold exceeds max value\n" );return -EINVAL ;
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 29/809 md: Dont wait for MD_RECOVERY_NEEDED for HOT_REMOVE_DISK ioctl
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Yu Kuai <[email protected]>
[ Upstream commit a1fd37f97808db4fa1bf55da0275790c42521e45 ]
Commit 90f5f7ad4f38 ("md: Wait for md_check_recovery before attempting device removal.") explained in the commit message that failed device must be reomoved from the personality first by md_check_recovery(), before it can be removed from the array. That's the reason the commit add the code to wait for MD_RECOVERY_NEEDED.
However, this is not the case now, because remove_and_add_spares() is called directly from hot_remove_disk() from ioctl path, hence failed device(marked faulty) can be removed from the personality by ioctl.
On the other hand, the commit introduced a performance problem that if MD_RECOVERY_NEEDED is set and the array is not running, ioctl will wait for 5s before it can return failure to user.
Since the waiting is not needed now, fix the problem by removing the waiting.
--- drivers/md/md.c | 6 ------ 1 file changed, 6 deletions(-)
drivers/md/md.c +0 -6
@@ -7746,12 +7746,6 @@ static int md_ioctl(struct block_device *bdev, blk_mode_t mode,return get_bitmap_file (mddev, argp); } -if (cmd ==HOT_REMOVE_DISK ) -/* need to ensure recovery thread has run */ -wait_event_interruptible_timeout (mddev->sb_wait, - !test_bit (MD_RECOVERY_NEEDED , - &mddev->recovery), -msecs_to_jiffies (5000 ));if (cmd ==STOP_ARRAY || cmd ==STOP_ARRAY_RO ) {/* Need to flush page cache, and ensure no-one else opens * and writes
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 30/809 md/raid5: recheck if reshape has finished with device_lock held
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Benjamin Marzinski <[email protected]>
[ Upstream commit 25b3a8237a03ec0b67b965b52d74862e77ef7115 ]
When handling an IO request, MD checks if a reshape is currently happening, and if so, where the IO sector is in relation to the reshape progress. MD uses conf->reshape_progress for both of these tasks. When the reshape finishes, conf->reshape_progress is set to MaxSector. If this occurs after MD checks if the reshape is currently happening but before it calls ahead_of_reshape(), then ahead_of_reshape() will end up comparing the IO sector against MaxSector. During a backwards reshape, this will make MD think the IO sector is in the area not yet reshaped, causing it to use the previous configuration, and map the IO to the sector where that data was before the reshape.
This bug can be triggered by running the lvm2 lvconvert-raid-reshape-linear_to_raid6-single-type.sh test in a loop, although it's very hard to reproduce.
Fix this by factoring the code that checks where the IO sector is in relation to the reshape out to a helper called get_reshape_loc(), which reads reshape_progress and reshape_safe while holding the device_lock, and then rechecks if the reshape has finished before calling ahead_of_reshape with the saved values.
Also use the helper during the REQ_NOWAIT check to see if the location is inside of the reshape region.
--- drivers/md/raid5.c | 64 +++++++++++++++++++++++++++++----------------- 1 file changed, 41 insertions(+), 23 deletions(-)
drivers/md/raid5.c +41 -23
@@ -5899,6 +5899,39 @@ static int add_all_stripe_bios(struct r5conf *conf,return ret; } +enum reshape_loc { +LOC_NO_RESHAPE , +LOC_AHEAD_OF_RESHAPE , +LOC_INSIDE_RESHAPE , +LOC_BEHIND_RESHAPE , +}; + +static enum reshape_loc get_reshape_loc (struct mddev *mddev, +struct r5conf *conf,sector_t logical_sector) +{ +sector_t reshape_progress, reshape_safe; +/* +* Spinlock is needed as reshape_progress may be +* 64bit on a 32bit platform, and so it might be +* possible to see a half-updated value +* Of course reshape_progress could change after +* the lock is dropped, so once we get a reference +* to the stripe that we think it is, we will have +* to check again. +*/ +spin_lock_irq (&conf->device_lock); + reshape_progress = conf->reshape_progress; + reshape_safe = conf->reshape_safe; +spin_unlock_irq (&conf->device_lock); +if (reshape_progress == MaxSector) +return LOC_NO_RESHAPE ; +if (ahead_of_reshape (mddev, logical_sector, reshape_progress)) +return LOC_AHEAD_OF_RESHAPE ; +if (ahead_of_reshape (mddev, logical_sector, reshape_safe)) +return LOC_INSIDE_RESHAPE ; +return LOC_BEHIND_RESHAPE ; +} +static enum stripe_result make_stripe_request (struct mddev *mddev,struct r5conf *conf,struct stripe_request_ctx *ctx,sector_t logical_sector,struct bio *bi)
@@ -5913,28 +5946,14 @@ static enum stripe_result make_stripe_request(struct mddev *mddev, seq =read_seqcount_begin (&conf->gen_lock);if (unlikely (conf->reshape_progress != MaxSector)) { -/* -* Spinlock is needed as reshape_progress may be -* 64bit on a 32bit platform, and so it might be -* possible to see a half-updated value -* Of course reshape_progress could change after -* the lock is dropped, so once we get a reference -* to the stripe that we think it is, we will have -* to check again. -*/ -spin_lock_irq (&conf->device_lock); -if (ahead_of_reshape (mddev, logical_sector, - conf->reshape_progress)) { - previous =1 ; - }else { -if (ahead_of_reshape (mddev, logical_sector, - conf->reshape_safe)) { -spin_unlock_irq (&conf->device_lock); - ret =STRIPE_SCHEDULE_AND_RETRY ; - goto out; - } +enum reshape_loc loc =get_reshape_loc (mddev, conf, + logical_sector); +if (loc ==LOC_INSIDE_RESHAPE ) { + ret =STRIPE_SCHEDULE_AND_RETRY ; + goto out; } -spin_unlock_irq (&conf->device_lock); +if (loc ==LOC_AHEAD_OF_RESHAPE ) + previous =1 ; } new_sector = raid5_compute_sector(conf, logical_sector, previous,
@@ -6113,8 +6132,7 @@ static bool raid5_make_request(struct mddev *mddev, struct bio * bi)/* Bail out if conflicts with reshape and REQ_NOWAIT is set */ if ((bi->bi_opf &REQ_NOWAIT ) && (conf->reshape_progress != MaxSector) && - !ahead_of_reshape (mddev, logical_sector, conf->reshape_progress) && -ahead_of_reshape (mddev, logical_sector, conf->reshape_safe)) { +get_reshape_loc (mddev, conf, logical_sector) ==LOC_INSIDE_RESHAPE ) {bio_wouldblock_error (bi);if (rw ==WRITE )md_write_end (mddev);
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 31/809 hwmon: (ltc2991) re-order conditions to fix off by one bug
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Dan Carpenter <[email protected]>
[ Upstream commit 99bf7c2eccff82760fa23ce967cc67c8c219c6a6 ]
LTC2991_T_INT_CH_NR is 4. The st->temp_en[] array has LTC2991_MAX_CHANNEL
(4) elements. Thus if "channel" is equal to LTC2991_T_INT_CH_NR then we have read one element beyond the end of the array. Flip the conditions around so that we check if "channel" is valid before using it as an array index.
--- drivers/hwmon/ltc2991.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/hwmon/ltc2991.c +2 -2
@@ -225,8 +225,8 @@ static umode_t ltc2991_is_visible(const void *data,case hwmon_temp:switch (attr) {case hwmon_temp_input: -if (st->temp_en[channel] || - channel ==LTC2991_T_INT_CH_NR ) +if (channel ==LTC2991_T_INT_CH_NR || + st->temp_en[channel])return 0444 ;break ; }
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 32/809 pwm: stm32: Always do lazy disabling
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Uwe Kleine-König <[email protected]>
[ Upstream commit 7346e7a058a2c9aa9ff1cc699c7bf18a402d9f84 ]
When the state changes from enabled to disabled, polarity, duty_cycle and period are not configured in hardware and TIM_CCER_CCxE is just cleared. However if the state changes from one disabled state to another, all parameters are written to hardware because the early exit from stm32_pwm_apply() is only taken if the pwm is currently enabled.
This yields surprises like: Applying
{ .period = 1, .duty_cycle = 0, .enabled = false }succeeds if the pwm is initially on, but fails if it's already off because 1 is a too small period.
Update the check for lazy disable to always exit early if the target state is disabled, no matter what is currently configured.
--- drivers/pwm/pwm-stm32.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/pwm/pwm-stm32.c +3 -2
@@ -452,8 +452,9 @@ static int stm32_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, enabled = pwm->state.enabled; -if (enabled && !state->enabled) { -stm32_pwm_disable (priv, pwm->hwpwm); +if (!state->enabled) { +if (enabled) +stm32_pwm_disable (priv, pwm->hwpwm);return 0 ; }
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 33/809 drm/bridge: adv7511: Fix Intermittent EDID failures
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Adam Ford <[email protected]>
[ Upstream commit 91f9f4a37124044089debb02a3965c59b5b10c21 ]
In the process of adding support for shared IRQ pins, a scenario was accidentally created where adv7511_irq_process returned prematurely causing the EDID to fail randomly.
Since the interrupt handler is broken up into two main helper functions, update both of them to treat the helper functions as IRQ handlers. These IRQ routines process their respective tasks as before, but if they determine that actual work was done, mark the respective IRQ status accordingly, and delay the check until everything has been processed.
This should guarantee the helper functions don't return prematurely while still returning proper values of either IRQ_HANDLED or IRQ_NONE.
V3: Remove unnecessary declaration of ret by evaluating the return
code of regmap_read directly.
V2: Fix uninitialized cec_status
Cut back a little on error handling to return either IRQ_NONE or IRQ_HANDLED.
--- drivers/gpu/drm/bridge/adv7511/adv7511.h | 2 +- drivers/gpu/drm/bridge/adv7511/adv7511_cec.c | 13 ++++++++---- drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 22 ++++++++++++-------- 3 files changed, 23 insertions(+), 14 deletions(-)
drivers/gpu/drm/bridge/adv7511/adv7511.h +1 -1
@@ -401,7 +401,7 @@ struct adv7511 {#ifdef CONFIG_DRM_I2C_ADV7511_CEC int adv7511_cec_init (struct device *dev,struct adv7511 *adv7511); -void adv7511_cec_irq_process (struct adv7511 *adv7511,unsigned int irq1); +int adv7511_cec_irq_process (struct adv7511 *adv7511,unsigned int irq1);#else static inline int adv7511_cec_init (struct device *dev,struct adv7511 *adv7511) {
drivers/gpu/drm/bridge/adv7511/adv7511_cec.c +9 -4
@@ -119,7 +119,7 @@ static void adv7511_cec_rx(struct adv7511 *adv7511, int rx_buf)cec_received_msg (adv7511->cec_adap, &msg); } -void adv7511_cec_irq_process (struct adv7511 *adv7511,unsigned int irq1) +int adv7511_cec_irq_process (struct adv7511 *adv7511,unsigned int irq1) {unsigned int offset = adv7511->info->reg_cec_offset; const u32 irq_tx_mask = ADV7511_INT1_CEC_TX_READY |
@@ -131,16 +131,19 @@ void adv7511_cec_irq_process(struct adv7511 *adv7511, unsigned int irq1)unsigned int rx_status;int rx_order[3 ] = {-1 ,-1 ,-1 };int i; +int irq_status =IRQ_NONE ; -if (irq1 & irq_tx_mask) +if (irq1 & irq_tx_mask) {adv_cec_tx_raw_status (adv7511, irq1); + irq_status =IRQ_HANDLED ; + }if (!(irq1 & irq_rx_mask)) -return ; +return irq_status;if (regmap_read (adv7511->regmap_cec,ADV7511_REG_CEC_RX_STATUS + offset, &rx_status)) -return ; +return irq_status;/* * ADV7511_REG_CEC_RX_STATUS[5:0] contains the reception order of RX
@@ -172,6 +175,8 @@ void adv7511_cec_irq_process(struct adv7511 *adv7511, unsigned int irq1)adv7511_cec_rx (adv7511, rx_buf); } + +return IRQ_HANDLED ; }static int adv7511_cec_adap_enable (struct cec_adapter *adap,bool enable)
drivers/gpu/drm/bridge/adv7511/adv7511_drv.c +13 -9
@@ -469,6 +469,8 @@ static int adv7511_irq_process(struct adv7511 *adv7511, bool process_hpd) {unsigned int irq0, irq1;int ret; +int cec_status =IRQ_NONE ; +int irq_status =IRQ_NONE ; ret =regmap_read (adv7511->regmap,ADV7511_REG_INT (0 ), &irq0);if (ret <0 )
@@ -478,29 +480,31 @@ static int adv7511_irq_process(struct adv7511 *adv7511, bool process_hpd)if (ret <0 )return ret; -/* If there is no IRQ to handle, exit indicating no IRQ data */ -if (!(irq0 & (ADV7511_INT0_HPD |ADV7511_INT0_EDID_READY )) && - !(irq1 &ADV7511_INT1_DDC_ERROR )) -return -ENODATA ; -regmap_write (adv7511->regmap,ADV7511_REG_INT (0 ), irq0);regmap_write (adv7511->regmap,ADV7511_REG_INT (1 ), irq1); -if (process_hpd && irq0 &ADV7511_INT0_HPD && adv7511->bridge.encoder) +if (process_hpd && irq0 &ADV7511_INT0_HPD && adv7511->bridge.encoder) {schedule_work (&adv7511->hpd_work); + irq_status =IRQ_HANDLED ; + }if (irq0 &ADV7511_INT0_EDID_READY || irq1 &ADV7511_INT1_DDC_ERROR ) { adv7511->edid_read = true;if (adv7511->i2c_main->irq)wake_up_all (&adv7511->wq); + irq_status =IRQ_HANDLED ; }#ifdef CONFIG_DRM_I2C_ADV7511_CEC -adv7511_cec_irq_process (adv7511, irq1); + cec_status =adv7511_cec_irq_process (adv7511, irq1);#endif -return 0 ; +/* If there is no IRQ to handle, exit indicating no IRQ data */ +if (irq_status ==IRQ_HANDLED || cec_status ==IRQ_HANDLED ) +return IRQ_HANDLED ; + +return IRQ_NONE ; }static irqreturn_t adv7511_irq_handler (int irq,void *devid)
@@ -509,7 +513,7 @@ static irqreturn_t adv7511_irq_handler(int irq, void *devid)int ret; ret =adv7511_irq_process (adv7511, true); -return ret <0 ?IRQ_NONE :IRQ_HANDLED ; +return ret <0 ?IRQ_NONE : ret; }/* -----------------------------------------------------------------------------
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 34/809 arm64: smp: Fix missing IPI statistics
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Jinjie Ruan <[email protected]>
[ Upstream commit 916b93f4e865b35563902f5862b443fc122631b4 ]
commit 83cfac95c018 ("genirq: Allow interrupts to be excluded from /proc/interrupts") is to avoid IPIs appear twice in /proc/interrupts. But the commit 331a1b3a836c ("arm64: smp: Add arch support for backtrace using pseudo-NMI") and commit 2f5cd0c7ffde("arm64: kgdb: Implement kgdb_roundup_cpus() to enable pseudo-NMI roundup") set CPU_BACKTRACE and KGDB_ROUNDUP IPIs "IRQ_HIDDEN" flag but not show them in arch_show_interrupts(), which cause the interrupt kstat_irqs accounting is missing in display.
Before this patch, CPU_BACKTRACE and KGDB_ROUNDUP IPIs are missing:
/ # cat /proc/interrupts
CPU0 CPU1 CPU2 CPU3
11: 466 600 309 332 GICv3 27 Level arch_timer
13: 24 0 0 0 GICv3 33 Level uart-pl011
15: 64 0 0 0 GICv3 78 Edge virtio0
16: 0 0 0 0 GICv3 79 Edge virtio1
17: 0 0 0 0 GICv3 34 Level rtc-pl031
18: 3 3 3 3 GICv3 23 Level arm-pmu
19: 0 0 0 0 9030000.pl061 3 Edge GPIO Key Poweroff
IPI0: 7 14 9 26 Rescheduling interrupts
IPI1: 354 93 233 255 Function call interrupts
IPI2: 0 0 0 0 CPU stop interrupts
IPI3: 0 0 0 0 CPU stop (for crash dump) interrupts
IPI4: 0 0 0 0 Timer broadcast interrupts
IPI5: 1 0 0 0 IRQ work interrupts
Err: 0
After this pacth, CPU_BACKTRACE and KGDB_ROUNDUP IPIs are displayed:
/ # cat /proc/interrupts
CPU0 CPU1 CPU2 CPU3
11: 393 281 532 449 GICv3 27 Level arch_timer
13: 15 0 0 0 GICv3 33 Level uart-pl011
15: 64 0 0 0 GICv3 78 Edge virtio0
16: 0 0 0 0 GICv3 79 Edge virtio1
17: 0 0 0 0 GICv3 34 Level rtc-pl031
18: 2 2 2 2 GICv3 23 Level arm-pmu
19: 0 0 0 0 9030000.pl061 3 Edge GPIO Key Poweroff
IPI0: 11 19 4 23 Rescheduling interrupts
IPI1: 279 347 222 72 Function call interrupts
IPI2: 0 0 0 0 CPU stop interrupts
IPI3: 0 0 0 0 CPU stop (for crash dump) interrupts
IPI4: 0 0 0 0 Timer broadcast interrupts
IPI5: 1 0 0 1 IRQ work interrupts
IPI6: 0 0 0 0 CPU backtrace interrupts
IPI7: 0 0 0 0 KGDB roundup interrupts
Err: 0
--- arch/arm64/kernel/smp.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
arch/arm64/kernel/smp.c +4 -2
@@ -767,13 +767,15 @@ void __init smp_prepare_cpus(unsigned int max_cpus) } } -static const char *ipi_types[NR_IPI] __tracepoint_string = { +static const char *ipi_types[MAX_IPI] __tracepoint_string = { [IPI_RESCHEDULE ] ="Rescheduling interrupts" , [IPI_CALL_FUNC ] ="Function call interrupts" , [IPI_CPU_STOP ] ="CPU stop interrupts" , [IPI_CPU_CRASH_STOP ] ="CPU stop (for crash dump) interrupts" , [IPI_TIMER ] ="Timer broadcast interrupts" , [IPI_IRQ_WORK ] ="IRQ work interrupts" , + [IPI_CPU_BACKTRACE ] ="CPU backtrace interrupts" , + [IPI_KGDB_ROUNDUP ] ="KGDB roundup interrupts" , };static void smp_cross_call (const struct cpumask *target,unsigned int ipinr);
@@ -784,7 +786,7 @@ int arch_show_interrupts(struct seq_file *p, int prec) {unsigned int cpu, i; -for (i =0 ; i <NR_IPI ; i++) { +for (i =0 ; i <MAX_IPI ; i++) {seq_printf (p,"%*s%u:%s" , prec -1 ,"IPI" , i, prec >=4 ?" " :"" );for_each_online_cpu (cpu)
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 35/809 nvmet-auth: fix nvmet_auth hash error handling
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Gaosheng Cui <[email protected]>
[ Upstream commit 89f58f96d1e2357601c092d85b40a2109cf25ef3 ]
If we fail to call nvme_auth_augmented_challenge, or fail to kmalloc for shash, we should free the memory allocation for challenge, so add err path out_free_challenge to fix the memory leak.
--- drivers/nvme/target/auth.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-)
drivers/nvme/target/auth.c +8 -6
@@ -314,7 +314,7 @@ int nvmet_auth_host_hash(struct nvmet_req *req, u8 *response, req->sq->dhchap_c1, challenge, shash_len);if (ret) - goto out_free_response; + goto out_free_challenge; } pr_debug("ctrl %d qid %d host response seq %u transaction %d\n",
@@ -325,7 +325,7 @@ int nvmet_auth_host_hash(struct nvmet_req *req, u8 *response, GFP_KERNEL);if (!shash) { ret = -ENOMEM ; - goto out_free_response; + goto out_free_challenge; } shash->tfm = shash_tfm; ret =crypto_shash_init (shash);
@@ -361,9 +361,10 @@ int nvmet_auth_host_hash(struct nvmet_req *req, u8 *response, goto out; ret =crypto_shash_final (shash, response); out: +kfree (shash); +out_free_challenge:if (challenge != req->sq->dhchap_c1)kfree (challenge); -kfree (shash); out_free_response:nvme_auth_free_key (transformed_key); out_free_tfm:
@@ -427,14 +428,14 @@ int nvmet_auth_ctrl_hash(struct nvmet_req *req, u8 *response, req->sq->dhchap_c2, challenge, shash_len);if (ret) - goto out_free_response; + goto out_free_challenge; } shash =kzalloc (sizeof (*shash) +crypto_shash_descsize (shash_tfm),GFP_KERNEL );if (!shash) { ret = -ENOMEM ; - goto out_free_response; + goto out_free_challenge; } shash->tfm = shash_tfm;
@@ -471,9 +472,10 @@ int nvmet_auth_ctrl_hash(struct nvmet_req *req, u8 *response, goto out; ret =crypto_shash_final (shash, response); out: +kfree (shash); +out_free_challenge:if (challenge != req->sq->dhchap_c2)kfree (challenge); -kfree (shash); out_free_response:nvme_auth_free_key (transformed_key); out_free_tfm:
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 36/809 drm/meson: fix canvas release in bind function
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Yao Zi <[email protected]>
[ Upstream commit a695949b2e9bb6b6700a764c704731a306c4bebf ]
Allocated canvases may not be released on the error exit path of meson_drv_bind_master(), leading to resource leaking. Rewrite exit path to release canvases on error.
--- drivers/gpu/drm/meson/meson_drv.c | 37 +++++++++++++++---------------- 1 file changed, 18 insertions(+), 19 deletions(-)
drivers/gpu/drm/meson/meson_drv.c +18 -19
@@ -250,29 +250,20 @@ static int meson_drv_bind_master(struct device *dev, bool has_components)if (ret) goto free_drm; ret =meson_canvas_alloc (priv->canvas, &priv->canvas_id_vd1_0); -if (ret) { -meson_canvas_free (priv->canvas, priv->canvas_id_osd1); - goto free_drm; - } +if (ret) + goto free_canvas_osd1; ret =meson_canvas_alloc (priv->canvas, &priv->canvas_id_vd1_1); -if (ret) { -meson_canvas_free (priv->canvas, priv->canvas_id_osd1); -meson_canvas_free (priv->canvas, priv->canvas_id_vd1_0); - goto free_drm; - } +if (ret) + goto free_canvas_vd1_0; ret =meson_canvas_alloc (priv->canvas, &priv->canvas_id_vd1_2); -if (ret) { -meson_canvas_free (priv->canvas, priv->canvas_id_osd1); -meson_canvas_free (priv->canvas, priv->canvas_id_vd1_0); -meson_canvas_free (priv->canvas, priv->canvas_id_vd1_1); - goto free_drm; - } +if (ret) + goto free_canvas_vd1_1; priv->vsync_irq =platform_get_irq (pdev,0 ); ret =drm_vblank_init (drm,1 );if (ret) - goto free_drm; + goto free_canvas_vd1_2;/* Assign limits per soc revision/package */ for (i =0 ; i <ARRAY_SIZE (meson_drm_soc_attrs) ; ++i) {
@@ -288,11 +279,11 @@ static int meson_drv_bind_master(struct device *dev, bool has_components)*/ ret =drm_aperture_remove_framebuffers (&meson_driver);if (ret) - goto free_drm; + goto free_canvas_vd1_2; ret =drmm_mode_config_init (drm);if (ret) - goto free_drm; + goto free_canvas_vd1_2; drm->mode_config.max_width =3840 ; drm->mode_config.max_height =2160 ; drm->mode_config.funcs = &meson_mode_config_funcs;
@@ -307,7 +298,7 @@ static int meson_drv_bind_master(struct device *dev, bool has_components)if (priv->afbcd.ops) { ret = priv->afbcd.ops->init (priv);if (ret) - goto free_drm; + goto free_canvas_vd1_2; }/* Encoder Initialization */
@@ -371,6 +362,14 @@ static int meson_drv_bind_master(struct device *dev, bool has_components) exit_afbcd:if (priv->afbcd.ops) priv->afbcd.ops->exit (priv); +free_canvas_vd1_2: +meson_canvas_free (priv->canvas, priv->canvas_id_vd1_2); +free_canvas_vd1_1: +meson_canvas_free (priv->canvas, priv->canvas_id_vd1_1); +free_canvas_vd1_0: +meson_canvas_free (priv->canvas, priv->canvas_id_vd1_0); +free_canvas_osd1: +meson_canvas_free (priv->canvas, priv->canvas_id_osd1); free_drm:drm_dev_put (drm);
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 37/809 pwm: atmel-tcb: Fix race condition and convert to guards
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Uwe Kleine-König <[email protected]>
[ Upstream commit 37f7707077f5ea2515bf4b1dc7fad43f8e12993e ]
The hardware only supports a single period length for both PWM outputs. So atmel_tcb_pwm_config() checks the configuration of the other output if it's compatible with the currently requested setting. The register values are then actually updated in atmel_tcb_pwm_enable(). To make this race free the lock must be held during the whole process, so grab the lock in .apply() instead of individually in atmel_tcb_pwm_disable() and atmel_tcb_pwm_enable() which then also covers atmel_tcb_pwm_config().
To simplify handling, use the guard helper to let the compiler care for unlocking. Otherwise unlocking would be more difficult as there is more than one exit path in atmel_tcb_pwm_apply().
--- drivers/pwm/pwm-atmel-tcb.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-)
drivers/pwm/pwm-atmel-tcb.c +5 -7
@@ -81,7 +81,8 @@ static int atmel_tcb_pwm_request(struct pwm_chip *chip, tcbpwm->period =0 ; tcbpwm->div =0 ; -spin_lock (&tcbpwmc->lock); +guard (spinlock)(&tcbpwmc->lock); +regmap_read (tcbpwmc->regmap,ATMEL_TC_REG (tcbpwmc->channel,CMR ), &cmr);/* * Get init config from Timer Counter registers if
@@ -107,7 +108,6 @@ static int atmel_tcb_pwm_request(struct pwm_chip *chip, cmr |=ATMEL_TC_WAVE |ATMEL_TC_WAVESEL_UP_AUTO |ATMEL_TC_EEVT_XC0 ;regmap_write (tcbpwmc->regmap,ATMEL_TC_REG (tcbpwmc->channel,CMR ), cmr); -spin_unlock (&tcbpwmc->lock);return 0 ; }
@@ -137,7 +137,6 @@ static void atmel_tcb_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm,if (tcbpwm->duty ==0 ) polarity = !polarity; -spin_lock (&tcbpwmc->lock);regmap_read (tcbpwmc->regmap,ATMEL_TC_REG (tcbpwmc->channel,CMR ), &cmr);/* flush old setting and set the new one */
@@ -172,8 +171,6 @@ static void atmel_tcb_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm, ATMEL_TC_SWTRG); tcbpwmc->bkup.enabled =0 ; } - -spin_unlock (&tcbpwmc->lock); } static int atmel_tcb_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm,
@@ -194,7 +191,6 @@ static int atmel_tcb_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm,if (tcbpwm->duty ==0 ) polarity = !polarity; -spin_lock (&tcbpwmc->lock);regmap_read (tcbpwmc->regmap,ATMEL_TC_REG (tcbpwmc->channel,CMR ), &cmr);/* flush old setting and set the new one */
@@ -256,7 +252,6 @@ static int atmel_tcb_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm,regmap_write (tcbpwmc->regmap,ATMEL_TC_REG (tcbpwmc->channel,CCR ),ATMEL_TC_SWTRG |ATMEL_TC_CLKEN ); tcbpwmc->bkup.enabled =1 ; -spin_unlock (&tcbpwmc->lock);return 0 ; }
@@ -341,9 +336,12 @@ static int atmel_tcb_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,static int atmel_tcb_pwm_apply (struct pwm_chip *chip,struct pwm_device *pwm,const struct pwm_state *state) { +struct atmel_tcb_pwm_chip *tcbpwmc =to_tcb_chip (chip);int duty_cycle, period;int ret; +guard (spinlock)(&tcbpwmc->lock); +if (!state->enabled) {atmel_tcb_pwm_disable (chip, pwm, state->polarity);return 0 ;
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 38/809 drm/xe/display/xe_hdcp_gsc: Free arbiter on driver removal
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Nirmoy Das <[email protected]>
[ Upstream commit 609458abd5a10180f513ca364d6c0ae30128c821 ]
Free arbiter allocated in intel_hdcp_gsc_init().
--- drivers/gpu/drm/xe/display/xe_hdcp_gsc.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-)
drivers/gpu/drm/xe/display/xe_hdcp_gsc.c +8 -4
@@ -159,12 +159,16 @@ void intel_hdcp_gsc_fini(struct xe_device *xe) {struct intel_hdcp_gsc_message *hdcp_message = xe->display.hdcp.hdcp_message; +struct i915_hdcp_arbiter *arb = xe->display.hdcp.arbiter; -if (!hdcp_message) -return ; +if (hdcp_message) { +xe_bo_unpin_map_no_vm (hdcp_message->hdcp_bo); +kfree (hdcp_message); + xe->display.hdcp.hdcp_message =NULL ; + } -xe_bo_unpin_map_no_vm (hdcp_message->hdcp_bo); -kfree (hdcp_message); +kfree (arb); + xe->display.hdcp.arbiter =NULL ; } static int xe_gsc_send_sync(struct xe_device *xe,
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 39/809 hwmon: (max6697) Fix underflow when writing limit attributes
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Guenter Roeck <[email protected]>
[ Upstream commit cbf7467828cd4ec7ceac7a8b5b5ddb2f69f07b0e ]
Using DIV_ROUND_CLOSEST() on an unbound value can result in underflows. Indeed, module test scripts report:
temp1_max: Suspected underflow: [min=0, read 255000, written -9223372036854775808]temp1_crit: Suspected underflow: [min=0, read 255000, written -9223372036854775808]
Fix by introducing an extra set of clamping.
--- drivers/hwmon/max6697.c | 1 + 1 file changed, 1 insertion(+)
drivers/hwmon/max6697.c +1 -0
@@ -311,6 +311,7 @@ static ssize_t temp_store(struct device *dev,return ret;mutex_lock (&data->update_lock); + temp =clamp_val (temp,-1000000 ,1000000 );/* prevent underflow */ temp =DIV_ROUND_CLOSEST (temp,1000 ) + data->temp_offset; temp =clamp_val (temp,0 , data->type == max6581 ?255 :127 ); data->temp[nr][index] = temp;
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 40/809 hwmon: (max6697) Fix swapped temp{1,8} critical alarms
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Guenter Roeck <[email protected]>
[ Upstream commit 1ea3fd1eb9869fcdcbc9c68f9728bfc47b9503f1 ]
The critical alarm bit for the local temperature sensor (temp1) is in bit 7 of register 0x45 (not bit 6), and the critical alarm bit for remote temperature sensor 7 (temp8) is in bit 6 (not bit 7).
This only affects MAX6581 since all other chips supported by this driver do not support those critical alarms.
--- drivers/hwmon/max6697.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/hwmon/max6697.c +2 -2
@@ -429,14 +429,14 @@ static SENSOR_DEVICE_ATTR_RO(temp6_max_alarm, alarm, 20); static SENSOR_DEVICE_ATTR_RO(temp7_max_alarm, alarm, 21); static SENSOR_DEVICE_ATTR_RO(temp8_max_alarm, alarm, 23); -static SENSOR_DEVICE_ATTR_RO(temp1_crit_alarm, alarm, 14); +static SENSOR_DEVICE_ATTR_RO(temp1_crit_alarm, alarm, 15); static SENSOR_DEVICE_ATTR_RO(temp2_crit_alarm, alarm, 8); static SENSOR_DEVICE_ATTR_RO(temp3_crit_alarm, alarm, 9); static SENSOR_DEVICE_ATTR_RO(temp4_crit_alarm, alarm, 10); static SENSOR_DEVICE_ATTR_RO(temp5_crit_alarm, alarm, 11); static SENSOR_DEVICE_ATTR_RO(temp6_crit_alarm, alarm, 12); static SENSOR_DEVICE_ATTR_RO(temp7_crit_alarm, alarm, 13); -static SENSOR_DEVICE_ATTR_RO(temp8_crit_alarm, alarm, 15); +static SENSOR_DEVICE_ATTR_RO(temp8_crit_alarm, alarm, 14); static SENSOR_DEVICE_ATTR_RO(temp2_fault, alarm, 1); static SENSOR_DEVICE_ATTR_RO(temp3_fault, alarm, 2);
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 41/809 soc: qcom: socinfo: Update X1E PMICs
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Konrad Dybcio <[email protected]>
[ Upstream commit 85f5656a4f3f188cb950cf8dc88f3f0e4e656bae ]
Assign the correct name to ID 82 and fix the ID of SMB2360.
--- drivers/soc/qcom/socinfo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/soc/qcom/socinfo.c +2 -1
@@ -133,7 +133,8 @@ static const char *const pmic_models[] = { [72] = "PMR735D", [73] = "PM8550", [74] = "PMK8550", - [82] = "SMB2360", + [82] = "PMC8380", + [83] = "SMB2360", };struct socinfo_params {
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 42/809 arm64: dts: qcom: sc8180x: Correct PCIe slave ports
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Bjorn Andersson <[email protected]>
[ Upstream commit dc402e084a9e0cc714ffd6008dce3c63281b8142 ]
The interconnects property was clearly copy-pasted between the 4 PCIe controllers, giving all four the cpu-pcie path destination of SLAVE_0.
The four ports are all associated with CN0, but update the property for correctness sake.
--- arch/arm64/boot/dts/qcom/sc8180x.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/qcom/sc8180x.dtsi +3 -3
@@ -1890,7 +1890,7 @@ pcie3: pcie@1c08000 { power-domains = <&gcc PCIE_3_GDSC>; interconnects = <&aggre2_noc MASTER_PCIE_3 0 &mc_virt SLAVE_EBI_CH0 0>, - <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_PCIE_0 0>; + <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_PCIE_3 0>; interconnect-names = "pcie-mem", "cpu-pcie"; phys = <&pcie3_phy>;
@@ -2012,7 +2012,7 @@ pcie1: pcie@1c10000 { power-domains = <&gcc PCIE_1_GDSC>; interconnects = <&aggre2_noc MASTER_PCIE_1 0 &mc_virt SLAVE_EBI_CH0 0>, - <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_PCIE_0 0>; + <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_PCIE_1 0>; interconnect-names = "pcie-mem", "cpu-pcie"; phys = <&pcie1_phy>;
@@ -2134,7 +2134,7 @@ pcie2: pcie@1c18000 { power-domains = <&gcc PCIE_2_GDSC>; interconnects = <&aggre2_noc MASTER_PCIE_2 0 &mc_virt SLAVE_EBI_CH0 0>, - <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_PCIE_0 0>; + <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_PCIE_2 0>; interconnect-names = "pcie-mem", "cpu-pcie"; phys = <&pcie2_phy>;
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 43/809 arm64: dts: qcom: sc7280: Remove CTS/RTS configuration
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Viken Dadhaniya <[email protected]>
[ Upstream commit 2b96407b8f10f1d71b58cb35704eb91b8ea78db1 ]
For IDP variant, GPIO 20/21 is used by camera use case and camera driver is not able acquire these GPIOs as it is acquired by UART5 driver as RTS/CTS pin.
UART5 is designed for debug UART for all the board variants of the sc7280 chipset and RTS/CTS configuration is not required for debug uart usecase.
Remove CTS/RTS configuration for UART5 instance and change compatible string to debug UART.
Remove overwriting compatible property from individual target specific file as it is not required.
--- arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts | 1 - arch/arm64/boot/dts/qcom/qcm6490-idp.dts | 1 - arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts | 1 - arch/arm64/boot/dts/qcom/sc7280-idp.dtsi | 1 - arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi | 1 - arch/arm64/boot/dts/qcom/sc7280.dtsi | 14 ++------------ 6 files changed, 2 insertions(+), 17 deletions(-)
arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts +0 -1
@@ -864,7 +864,6 @@ sw_ctrl_default: sw-ctrl-default-state { }; &uart5 { - compatible = "qcom,geni-debug-uart"; status = "okay"; };
arch/arm64/boot/dts/qcom/qcm6490-idp.dts +0 -1
@@ -658,7 +658,6 @@ &tlmm { }; &uart5 { - compatible = "qcom,geni-debug-uart"; status = "okay"; };
arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts +0 -1
@@ -632,7 +632,6 @@ &tlmm { }; &uart5 { - compatible = "qcom,geni-debug-uart"; status = "okay"; };
arch/arm64/boot/dts/qcom/sc7280-idp.dtsi +0 -1
@@ -495,7 +495,6 @@ wcd_tx: codec@0,3 { }; &uart5 { - compatible = "qcom,geni-debug-uart"; status = "okay"; };
arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi +0 -1
@@ -427,7 +427,6 @@ wcd_tx: codec@0,3 { }; uart_dbg: &uart5 { - compatible = "qcom,geni-debug-uart"; status = "okay"; };
arch/arm64/boot/dts/qcom/sc7280.dtsi +2 -12
@@ -1440,12 +1440,12 @@ spi5: spi@994000 { }; uart5: serial@994000 { - compatible = "qcom,geni-uart"; + compatible = "qcom,geni-debug-uart"; reg = <0 0x00994000 0 0x4000>; clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>; clock-names = "se"; pinctrl-names = "default"; - pinctrl-0 = <&qup_uart5_cts>, <&qup_uart5_rts>, <&qup_uart5_tx>, <&qup_uart5_rx>; + pinctrl-0 = <&qup_uart5_tx>, <&qup_uart5_rx>; interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>; power-domains = <&rpmhpd SC7280_CX>; operating-points-v2 = <&qup_opp_table>;
@@ -5408,16 +5408,6 @@ qup_uart4_rx: qup-uart4-rx-state { function = "qup04"; }; - qup_uart5_cts: qup-uart5-cts-state { - pins = "gpio20"; - function = "qup05"; - }; - - qup_uart5_rts: qup-uart5-rts-state { - pins = "gpio21"; - function = "qup05"; - }; - qup_uart5_tx: qup-uart5-tx-state { pins = "gpio22"; function = "qup05";
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 44/809 ARM: dts: qcom: msm8226-microsoft-common: Enable smbb explicitly
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Rayyan Ansari <[email protected]>
[ Upstream commit 81a0a21b6159c6a9ed1e39c23e755cd05a102ce3 ]
Enable the smbb node explicitly for MSM8x26 Lumia devices. These devices rely on the smbb driver in order to detect USB state.
It seems that this was accidentally missed in the commit that this fixes.
--- arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-common.dtsi | 4 ++++ 1 file changed, 4 insertions(+)
arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-common.dtsi +4 -0
@@ -287,6 +287,10 @@ &sdhc_2 { status = "okay"; }; +&smbb { + status = "okay"; +}; + &usb { extcon = <&smbb>; dr_mode = "peripheral";
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 45/809 arm64: dts: qcom: sc7180: drop extra UFS PHY compat
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Dmitry Baryshkov <[email protected]>
[ Upstream commit 48299f604d27dad1168cc90b89f33853162c6e33 ]
The DT schema doesn't have a fallback compatible for qcom,sc7180-qmp-ufs-phy. Drop it from the dtsi too.
--- arch/arm64/boot/dts/qcom/sc7180.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
arch/arm64/boot/dts/qcom/sc7180.dtsi +1 -2
@@ -1582,8 +1582,7 @@ &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>, }; ufs_mem_phy: phy@1d87000 { - compatible = "qcom,sc7180-qmp-ufs-phy", - "qcom,sm7150-qmp-ufs-phy"; + compatible = "qcom,sc7180-qmp-ufs-phy"; reg = <0 0x01d87000 0 0x1000>; clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GCC_UFS_PHY_PHY_AUX_CLK>,
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 46/809 arm64: dts: qcom: sc8180x: add power-domain to UFS PHY
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Dmitry Baryshkov <[email protected]>
[ Upstream commit 9a80ecce60bd4919019a3cdb64604c9b183a8518 ]
The UFS PHY is powered on via the UFS_PHY_GDSC power domain. Add corresponding power-domain the the PHY node.
--- arch/arm64/boot/dts/qcom/sc8180x.dtsi | 2 ++ 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/qcom/sc8180x.dtsi +2 -0
@@ -2245,6 +2245,8 @@ ufs_mem_phy: phy-wrapper@1d87000 { resets = <&ufs_mem_hc 0>; reset-names = "ufsphy"; + power-domains = <&gcc UFS_PHY_GDSC>; + #phy-cells = <0>; status = "disabled";
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 47/809 arm64: dts: qcom: sdm845: add power-domain to UFS PHY
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Dmitry Baryshkov <[email protected]>
[ Upstream commit fd39ae8b9bc10419b1e4b849cdbc6755a967ade1 ]
The UFS PHY is powered on via the UFS_PHY_GDSC power domain. Add corresponding power-domain the the PHY node.
--- arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 ++ 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/qcom/sdm845.dtsi +2 -0
@@ -2666,6 +2666,8 @@ ufs_mem_phy: phy@1d87000 { "ref_aux", "qref"; + power-domains = <&gcc UFS_PHY_GDSC>; + resets = <&ufs_mem_hc 0>; reset-names = "ufsphy";
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 48/809 arm64: dts: qcom: sm6115: add power-domain to UFS PHY
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Dmitry Baryshkov <[email protected]>
[ Upstream commit a9eb454873a813ddc4578e5c3b37778de6fda472 ]
The UFS PHY is powered on via the UFS_PHY_GDSC power domain. Add corresponding power-domain the the PHY node.
--- arch/arm64/boot/dts/qcom/sm6115.dtsi | 2 ++ 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/qcom/sm6115.dtsi +2 -0
@@ -1231,6 +1231,8 @@ ufs_mem_phy: phy@4807000 { "ref_aux", "qref"; + power-domains = <&gcc GCC_UFS_PHY_GDSC>; + resets = <&ufs_mem_hc 0>; reset-names = "ufsphy";
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 49/809 arm64: dts: qcom: sm6350: add power-domain to UFS PHY
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Dmitry Baryshkov <[email protected]>
[ Upstream commit 18c2727282c5264ff5502daac26c43000e8eb202 ]
The UFS PHY is powered on via the UFS_PHY_GDSC power domain. Add corresponding power-domain the the PHY node.
--- arch/arm64/boot/dts/qcom/sm6350.dtsi | 2 ++ 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/qcom/sm6350.dtsi +2 -0
@@ -1197,6 +1197,8 @@ ufs_mem_phy: phy@1d87000 { "ref_aux", "qref"; + power-domains = <&gcc UFS_PHY_GDSC>; + resets = <&ufs_mem_hc 0>; reset-names = "ufsphy";
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 50/809 arm64: dts: qcom: sm8250: add power-domain to UFS PHY
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Dmitry Baryshkov <[email protected]>
[ Upstream commit 154ed5ea328d8a97a4ef5d1447e6f06d11fe2bbe ]
The UFS PHY is powered on via the UFS_PHY_GDSC power domain. Add corresponding power-domain the the PHY node.
--- arch/arm64/boot/dts/qcom/sm8250.dtsi | 2 ++ 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/qcom/sm8250.dtsi +2 -0
@@ -2580,6 +2580,8 @@ ufs_mem_phy: phy@1d87000 { resets = <&ufs_mem_hc 0>; reset-names = "ufsphy"; + power-domains = <&gcc UFS_PHY_GDSC>; + #phy-cells = <0>; status = "disabled";
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 51/809 arm64: dts: qcom: sm8350: add power-domain to UFS PHY
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Dmitry Baryshkov <[email protected]>
[ Upstream commit 634acc8cea1584b507801315831a330443f819b4 ]
The UFS PHY is powered on via the UFS_PHY_GDSC power domain. Add corresponding power-domain the the PHY node.
--- arch/arm64/boot/dts/qcom/sm8350.dtsi | 2 ++ 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/qcom/sm8350.dtsi +2 -0
@@ -1779,6 +1779,8 @@ ufs_mem_phy: phy@1d87000 { "ref_aux", "qref"; + power-domains = <&gcc UFS_PHY_GDSC>; + resets = <&ufs_mem_hc 0>; reset-names = "ufsphy";
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 52/809 arm64: dts: qcom: sm8450: add power-domain to UFS PHY
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Dmitry Baryshkov <[email protected]>
[ Upstream commit 27d3f57cf5a71484ea38770d4bfd10f6ef035cf4 ]
The UFS PHY is powered on via the UFS_PHY_GDSC power domain. Add corresponding power-domain the the PHY node.
--- arch/arm64/boot/dts/qcom/sm8450.dtsi | 2 ++ 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/qcom/sm8450.dtsi +2 -0
@@ -4429,6 +4429,8 @@ ufs_mem_phy: phy@1d87000 { <&gcc GCC_UFS_PHY_PHY_AUX_CLK>, <&gcc GCC_UFS_0_CLKREF_EN>; + power-domains = <&gcc UFS_PHY_GDSC>; + resets = <&ufs_mem_hc 0>; reset-names = "ufsphy";
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 53/809 arm64: dts: qcom: msm8996-xiaomi-common: drop excton from the USB PHY
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Dmitry Baryshkov <[email protected]>
[ Upstream commit c1aefeae8cb7b71c1bb6d33b1bda7fc322094e16 ]
The USB PHYs don't use extcon connectors, drop the extcon property from the hsusb_phy1 node.
--- arch/arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi | 1 - 1 file changed, 1 deletion(-)
arch/arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi +0 -1
@@ -405,7 +405,6 @@ &usb3_dwc3 { &hsusb_phy1 { status = "okay"; - extcon = <&typec>; vdda-pll-supply = <&vreg_l12a_1p8>; vdda-phy-dpdm-supply = <&vreg_l24a_3p075>;
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 54/809 arm64: dts: qcom: sdm850-lenovo-yoga-c630: fix IPA firmware path
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Dmitry Baryshkov <[email protected]>
[ Upstream commit cae4c862d8b2d7debb07e6d831e079520163ac4f ]
Specify firmware path for the IPA network controller on the Lenovo Yoga C630 laptop. Without this property IPA tries to load firmware from the default location, which likely will fail.
--- arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts | 1 + 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts +1 -0
@@ -494,6 +494,7 @@ ecsh: hid@5c { &ipa { qcom,gsi-loader = "self"; memory-region = <&ipa_fw_mem>; + firmware-name = "qcom/sdm850/LENOVO/81JL/ipa_fws.elf"; status = "okay"; };
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 55/809 arm64: dts: qcom: msm8998: enable adreno_smmu by default
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Marc Gonzalez <[email protected]>
[ Upstream commit 98a0c4f2278b4d6c1c7722735c20b2247de6293f ]
15 qcom platform DTSI files define an adreno_smmu node. msm8998 is the only one with adreno_smmu disabled by default.
There's no reason why this SMMU should be disabled by default, it doesn't need any further configuration.
Bring msm8998 in line with the 14 other platforms.
This fixes GPU init failing with ENODEV:msm_dpu c901000.display-controller: failed to load adreno gpumsm_dpu c901000.display-controller: failed to bind 5000000.gpu (ops a3xx_ops): -19
--- arch/arm64/boot/dts/qcom/msm8998.dtsi | 1 - 1 file changed, 1 deletion(-)
arch/arm64/boot/dts/qcom/msm8998.dtsi +0 -1
@@ -1590,7 +1590,6 @@ adreno_smmu: iommu@5040000 { * SoC VDDMX RPM Power Domain in the Adreno driver. */ power-domains = <&gpucc GPU_GX_GDSC>; - status = "disabled"; }; gpucc: clock-controller@5065000 {
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 56/809 soc: qcom: pmic_glink: Handle the return value of pmic_glink_init
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Chen Ni <[email protected]>
[ Upstream commit 0780c836673b25f5aad306630afcb1172d694cb4 ]
As platform_driver_register() and register_rpmsg_driver() can return error numbers, it should be better to check the return value and deal with the exception.
--- drivers/soc/qcom/pmic_glink.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-)
drivers/soc/qcom/pmic_glink.c +11 -2
@@ -373,8 +373,17 @@ static struct platform_driver pmic_glink_driver = {static int pmic_glink_init (void ) { -platform_driver_register (&pmic_glink_driver); -register_rpmsg_driver (&pmic_glink_rpmsg_driver); +int ret; + + ret =platform_driver_register (&pmic_glink_driver); +if (ret <0 ) +return ret; + + ret =register_rpmsg_driver (&pmic_glink_rpmsg_driver); +if (ret <0 ) { +platform_driver_unregister (&pmic_glink_driver); +return ret; + }return 0 ; }
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 57/809 soc: qcom: rpmh-rsc: Ensure irqs arent disabled by rpmh_rsc_send_data() callers
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Stephen Boyd <[email protected]>
[ Upstream commit e43111f52b9ec5c2d700f89a1d61c8d10dc2d9e9 ]
Dan pointed out that Smatch is concerned about this code because it uses spin_lock_irqsave() and then calls wait_event_lock_irq() which enables irqs before going to sleep. The comment above the function says it should be called with interrupts enabled, but we simply hope that's true without really confirming that. Let's add a might_sleep() here to confirm that interrupts and preemption aren't disabled. Once we do that, we can change the lock to be non-saving, spin_lock_irq(), to clarify that we don't expect irqs to be disabled. If irqs are disabled by callers they're going to be enabled anyway in the wait_event_lock_irq() call which would be bad.
This should make Smatch happier and find bad callers faster with the might_sleep(). We can drop the WARN_ON() in the caller because we have the might_sleep() now, simplifying the code.
--- drivers/soc/qcom/rpmh-rsc.c | 7 ++++--- drivers/soc/qcom/rpmh.c | 1 - 2 files changed, 4 insertions(+), 4 deletions(-)
drivers/soc/qcom/rpmh-rsc.c +4 -3
@@ -646,13 +646,14 @@ int rpmh_rsc_send_data(struct rsc_drv *drv, const struct tcs_request *msg) {struct tcs_group *tcs;int tcs_id; -unsigned long flags; + +might_sleep (); tcs =get_tcs_for_msg (drv, msg);if (IS_ERR (tcs))return PTR_ERR (tcs); -spin_lock_irqsave (&drv->lock, flags); +spin_lock_irq (&drv->lock);/* Wait forever for a free tcs. It better be there eventually! */ wait_event_lock_irq(drv->tcs_wait,
@@ -670,7 +671,7 @@ int rpmh_rsc_send_data(struct rsc_drv *drv, const struct tcs_request *msg)write_tcs_reg_sync (drv, drv->regs[RSC_DRV_CMD_ENABLE ], tcs_id,0 );enable_tcs_irq (drv, tcs_id, true); } -spin_unlock_irqrestore (&drv->lock, flags); +spin_unlock_irq (&drv->lock);/* * These two can be done after the lock is released because:
drivers/soc/qcom/rpmh.c +0 -1
@@ -183,7 +183,6 @@ static int __rpmh_write(const struct device *dev, enum rpmh_state state, }if (state ==RPMH_ACTIVE_ONLY_STATE ) { -WARN_ON (irqs_disabled ()); ret =rpmh_rsc_send_data (ctrlr_to_drv (ctrlr), &rpm_msg->msg); }else {/* Clean up our call by spoofing tx_done */
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 58/809 arm64: dts: rockchip: Add sdmmc related properties on rk3308-rock-pi-s
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Jonas Karlman <[email protected]>
[ Upstream commit fc0daeccc384233eadfa9d5ddbd00159653c6bdc ]
Add cap-mmc-highspeed to allow use of high speed MMC mode using an eMMC to uSD board. Use disable-wp to signal that no physical write-protect line is present. Also add vcc_io used for card and IO line power as vmmc-supply.
--- arch/arm64/boot/dts/rockchip/rk3308-rock-pi-s.dts | 3 +++ 1 file changed, 3 insertions(+)
arch/arm64/boot/dts/rockchip/rk3308-rock-pi-s.dts +3 -0
@@ -272,7 +272,10 @@ &sdio { }; &sdmmc { + cap-mmc-highspeed; cap-sd-highspeed; + disable-wp; + vmmc-supply = <&vcc_io>; status = "okay"; };
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 59/809 arm64: dts: rockchip: Add pinctrl for UART0 to rk3308-rock-pi-s
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Jonas Karlman <[email protected]>
[ Upstream commit 7affb86ef62581e3475ce3e0a7640da1f2ee29f8 ]
UAR0 CTS/RTS is not wired to any pin and is not used for the default serial console use of UART0 on ROCK Pi S.
Override the SoC defined pinctrl props to limit configuration of the two xfer pins wired to one of the GPIO pin headers.
--- arch/arm64/boot/dts/rockchip/rk3308-rock-pi-s.dts | 2 ++ 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/rockchip/rk3308-rock-pi-s.dts +2 -0
@@ -294,6 +294,8 @@ u2phy_otg: otg-port { }; &uart0 { + pinctrl-names = "default"; + pinctrl-0 = <&uart0_xfer>; status = "okay"; };
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 60/809 arm64: dts: rockchip: Add mdio and ethernet-phy nodes to rk3308-rock-pi-s
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Jonas Karlman <[email protected]>
[ Upstream commit 4b64ed510ed946a4e4ca6d51d6512bf5361f6a04 ]
Be explicit about the Ethernet port and define mdio and ethernet-phy nodes in the device tree for ROCK Pi S.
--- .../boot/dts/rockchip/rk3308-rock-pi-s.dts | 26 ++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/rockchip/rk3308-rock-pi-s.dts +23 -3
@@ -144,11 +144,25 @@ &emmc { &gmac { clock_in_out = "output"; + phy-handle = <&rtl8201f>; phy-supply = <&vcc_io>; - snps,reset-gpio = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>; - snps,reset-active-low; - snps,reset-delays-us = <0 50000 50000>; status = "okay"; + + mdio { + compatible = "snps,dwmac-mdio"; + #address-cells = <1>; + #size-cells = <0>; + + rtl8201f: ethernet-phy@1 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <1>; + pinctrl-names = "default"; + pinctrl-0 = <&mac_rst>; + reset-assert-us = <20000>; + reset-deassert-us = <50000>; + reset-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>; + }; + }; }; &gpio0 {
@@ -221,6 +235,12 @@ &pinctrl { pinctrl-names = "default"; pinctrl-0 = <&rtc_32k>; + gmac { + mac_rst: mac-rst { + rockchip,pins = <0 RK_PA7 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; + leds { green_led: green-led { rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 61/809 arm64: dts: rockchip: Update WIFi/BT related nodes on rk3308-rock-pi-s
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Jonas Karlman <[email protected]>
[ Upstream commit 12c3ec878cbe3709782e85b88124abecc3bb8617 ]
Update WiFi SDIO and BT UART related props to better reflect details about the optional onboard RTL8723DS WiFi/BT module.
Also correct the compatible used for bluetooth to match the WiFi/BT module used on the board.
--- .../boot/dts/rockchip/rk3308-rock-pi-s.dts | 40 +++++++++++++++++-- 1 file changed, 36 insertions(+), 4 deletions(-)
arch/arm64/boot/dts/rockchip/rk3308-rock-pi-s.dts +36 -4
@@ -17,6 +17,7 @@ aliases { ethernet0 = &gmac; mmc0 = &emmc; mmc1 = &sdmmc; + mmc2 = &sdio; }; chosen {
@@ -235,6 +236,20 @@ &pinctrl { pinctrl-names = "default"; pinctrl-0 = <&rtc_32k>; + bluetooth { + bt_reg_on: bt-reg-on { + rockchip,pins = <4 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>; + }; + + bt_wake_host: bt-wake-host { + rockchip,pins = <4 RK_PB4 RK_FUNC_GPIO &pcfg_pull_down>; + }; + + host_wake_bt: host-wake-bt { + rockchip,pins = <4 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; + gmac { mac_rst: mac-rst { rockchip,pins = <0 RK_PA7 RK_FUNC_GPIO &pcfg_pull_none>;
@@ -284,11 +299,24 @@ &sdio { cap-sd-highspeed; cap-sdio-irq; keep-power-in-suspend; - max-frequency = <1000000>; + max-frequency = <100000000>; mmc-pwrseq = <&sdio_pwrseq>; + no-mmc; + no-sd; non-removable; - sd-uhs-sdr104; + sd-uhs-sdr50; + vmmc-supply = <&vcc_io>; + vqmmc-supply = <&vcc_1v8>; status = "okay"; + + rtl8723ds: wifi@1 { + reg = <1>; + interrupt-parent = <&gpio0>; + interrupts = <RK_PA0 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "host-wake"; + pinctrl-names = "default"; + pinctrl-0 = <&wifi_host_wake>; + }; }; &sdmmc {
@@ -320,12 +348,16 @@ &uart0 { }; &uart4 { + uart-has-rtscts; status = "okay"; bluetooth { - compatible = "realtek,rtl8723bs-bt"; - device-wake-gpios = <&gpio4 RK_PB3 GPIO_ACTIVE_HIGH>; + compatible = "realtek,rtl8723ds-bt"; + device-wake-gpios = <&gpio4 RK_PB2 GPIO_ACTIVE_HIGH>; + enable-gpios = <&gpio4 RK_PB3 GPIO_ACTIVE_HIGH>; host-wake-gpios = <&gpio4 RK_PB4 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&bt_reg_on &bt_wake_host &host_wake_bt>; }; };
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 62/809 cpufreq: sun50i: fix memory leak in dt_has_supported_hw()
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Javier Carrasco <[email protected]>
[ Upstream commit 6282fba6abd7c3c8896c239cc8aa9ec45edcb97b ]
The for_each_child_of_node() loop does not decrement the child node refcount before the break instruction, even though the node is no longer required.
This can be avoided with the new for_each_child_of_node_scoped() macro that removes the need for any of_node_put().
--- drivers/cpufreq/sun50i-cpufreq-nvmem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/cpufreq/sun50i-cpufreq-nvmem.c +2 -2
@@ -131,7 +131,7 @@ static const struct of_device_id cpu_opp_match_list[] = {static bool dt_has_supported_hw (void ) {bool has_opp_supported_hw = false; -struct device_node *np, *opp; +struct device_node *np;struct device *cpu_dev; cpu_dev =get_cpu_device (0 );
@@ -142,7 +142,7 @@ static bool dt_has_supported_hw(void)if (!np)return false; -for_each_child_of_node (np, opp) { +for_each_child_of_node_scoped (np, opp) {if (of_find_property (opp,"opp-supported-hw" ,NULL )) { has_opp_supported_hw = true;break ;
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 63/809 OPP: Fix missing cleanup on error in _opp_attach_genpd()
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Viresh Kumar <[email protected]>
[ Upstream commit d86a2f0800683652004490c590b4b96a63e7fc04 ]
A recent commit updated the code mistakenly to return directly on errors, without doing the required cleanups. Fix it.
--- drivers/opp/core.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
drivers/opp/core.c +4 -2
@@ -2443,8 +2443,10 @@ static int _opp_attach_genpd(struct opp_table *opp_table, struct device *dev,* Cross check it again and fix if required. */ gdev =dev_to_genpd_dev (virt_dev); -if (IS_ERR (gdev)) -return PTR_ERR (gdev); +if (IS_ERR (gdev)) { + ret =PTR_ERR (gdev); + goto err; + } genpd_table =_find_opp_table (gdev);if (!IS_ERR (genpd_table)) {
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 64/809 arm64: dts: qcom: msm8996: specify UFS core_clk frequencies
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Dmitry Baryshkov <[email protected]>
[ Upstream commit 02f838b7f8cdfb7a96b7f08e7f6716f230bdecba ]
Follow the example of other platforms and specify core_clk frequencies in the frequency table in addition to the core_clk_src frequencies. The driver should be setting the leaf frequency instead of some interim clock freq.
--- arch/arm64/boot/dts/qcom/msm8996.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/msm8996.dtsi +1 -1
@@ -2102,7 +2102,7 @@ ufshc: ufshc@624000 { <&gcc GCC_UFS_RX_SYMBOL_0_CLK>; freq-table-hz = <100000000 200000000>, - <0 0>, + <100000000 200000000>, <0 0>, <0 0>, <0 0>,
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 65/809 arm64: dts: qcom: sa8775p: mark ethernet devices as DMA-coherent
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Sagar Cheluvegowda <[email protected]>
[ Upstream commit 49cc31f8ab44e60d8109da7e18c0983a917d4d74 ]
Ethernet devices are cache coherent, mark it as such in the dtsi.
--- arch/arm64/boot/dts/qcom/sa8775p.dtsi | 2 ++ 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/qcom/sa8775p.dtsi +2 -0
@@ -2504,6 +2504,7 @@ ethernet1: ethernet@23000000 { phy-names = "serdes"; iommus = <&apps_smmu 0x140 0xf>; + dma-coherent; snps,tso; snps,pbl = <32>;
@@ -2538,6 +2539,7 @@ ethernet0: ethernet@23040000 { phy-names = "serdes"; iommus = <&apps_smmu 0x120 0xf>; + dma-coherent; snps,tso; snps,pbl = <32>;
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 66/809 soc: xilinx: rename cpu_number1 to dummy_cpu_number
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Jay Buddhabhatti <[email protected]>
[ Upstream commit 4a95449dd975e2ea6629a034f3e74b46c9634916 ]
The per cpu variable cpu_number1 is passed to xlnx_event_handler as argument "dev_id", but it is not used in this function. So drop the initialization of this variable and rename it to dummy_cpu_number. This patch is to fix the following call trace when the kernel option CONFIG_DEBUG_ATOMIC_SLEEP is enabled:
BUG: sleeping function called from invalid context at include/linux/sched/mm.h:274
in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 1, name: swapper/0
preempt_count: 1, expected: 0
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 6.1.0 #53
Hardware name: Xilinx Versal vmk180 Eval board rev1.1 (QSPI) (DT)
Call trace:
dump_backtrace+0xd0/0xe0
show_stack+0x18/0x40
dump_stack_lvl+0x7c/0xa0
dump_stack+0x18/0x34
__might_resched+0x10c/0x140
__might_sleep+0x4c/0xa0
__kmem_cache_alloc_node+0xf4/0x168
kmalloc_trace+0x28/0x38
__request_percpu_irq+0x74/0x138
xlnx_event_manager_probe+0xf8/0x298
platform_probe+0x68/0xd8--- drivers/soc/xilinx/xlnx_event_manager.c | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-)
drivers/soc/xilinx/xlnx_event_manager.c +4 -11
@@ -3,6 +3,7 @@* Xilinx Event Management Driver * * Copyright (C) 2021 Xilinx, Inc. +* Copyright (C) 2024 Advanced Micro Devices, Inc. * * Abhyuday Godhasara <[email protected]> */
@@ -19,7 +20,7 @@#include <linux/platform_device.h> #include <linux/slab.h> -static DEFINE_PER_CPU_READ_MOSTLY(int, cpu_number1); +static DEFINE_PER_CPU_READ_MOSTLY(int, dummy_cpu_number);static int virq_sgi;static int event_manager_availability = -EACCES ;
@@ -570,7 +571,6 @@ static void xlnx_disable_percpu_irq(void *data)static int xlnx_event_init_sgi (struct platform_device *pdev) {int ret =0 ; -int cpu;/* * IRQ related structures are used for the following: * for each SGI interrupt ensure its mapped by GIC IRQ domain
@@ -607,11 +607,8 @@ static int xlnx_event_init_sgi(struct platform_device *pdev) sgi_fwspec.param[0 ] = sgi_num; virq_sgi =irq_create_fwspec_mapping (&sgi_fwspec); - cpu =get_cpu (); -per_cpu (cpu_number1, cpu) = cpu; ret =request_percpu_irq (virq_sgi, xlnx_event_handler,"xlnx_event_mgmt" , - &cpu_number1); -put_cpu (); + &dummy_cpu_number);WARN_ON (ret);if (ret) {
@@ -627,16 +624,12 @@ static int xlnx_event_init_sgi(struct platform_device *pdev)static void xlnx_event_cleanup_sgi (struct platform_device *pdev) { -int cpu =smp_processor_id (); - -per_cpu (cpu_number1, cpu) = cpu; -cpuhp_remove_state (CPUHP_AP_ONLINE_DYN );on_each_cpu (xlnx_disable_percpu_irq,NULL ,1 );irq_clear_status_flags (virq_sgi,IRQ_PER_CPU ); -free_percpu_irq (virq_sgi, &cpu_number1); +free_percpu_irq (virq_sgi, &dummy_cpu_number);irq_dispose_mapping (virq_sgi); }
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 67/809 ARM: dts: sunxi: remove duplicated entries in makefile
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Pavel Löbl <[email protected]>
[ Upstream commit bba474656dd85b13e4c5d5bdb73ca08d9136df21 ]
During introduction of DTS vendor subdirectories in 724ba6751532, sun8i section of the makefile got duplicated. Clean that up.
--- arch/arm/boot/dts/allwinner/Makefile | 62 ---------------------------- 1 file changed, 62 deletions(-)
arch/arm/boot/dts/allwinner/Makefile +0 -62
@@ -261,68 +261,6 @@ dtb-$(CONFIG_MACH_SUN8I) += \ sun8i-v3s-licheepi-zero.dtb \ sun8i-v3s-licheepi-zero-dock.dtb \ sun8i-v40-bananapi-m2-berry.dtb -dtb-$(CONFIG_MACH_SUN8I) += \ - sun8i-a23-evb.dtb \ - sun8i-a23-gt90h-v4.dtb \ - sun8i-a23-inet86dz.dtb \ - sun8i-a23-ippo-q8h-v5.dtb \ - sun8i-a23-ippo-q8h-v1.2.dtb \ - sun8i-a23-polaroid-mid2407pxe03.dtb \ - sun8i-a23-polaroid-mid2809pxe04.dtb \ - sun8i-a23-q8-tablet.dtb \ - sun8i-a33-et-q8-v1.6.dtb \ - sun8i-a33-ga10h-v1.1.dtb \ - sun8i-a33-inet-d978-rev2.dtb \ - sun8i-a33-ippo-q8h-v1.2.dtb \ - sun8i-a33-olinuxino.dtb \ - sun8i-a33-q8-tablet.dtb \ - sun8i-a33-sinlinx-sina33.dtb \ - sun8i-a83t-allwinner-h8homlet-v2.dtb \ - sun8i-a83t-bananapi-m3.dtb \ - sun8i-a83t-cubietruck-plus.dtb \ - sun8i-a83t-tbs-a711.dtb \ - sun8i-h2-plus-bananapi-m2-zero.dtb \ - sun8i-h2-plus-libretech-all-h3-cc.dtb \ - sun8i-h2-plus-orangepi-r1.dtb \ - sun8i-h2-plus-orangepi-zero.dtb \ - sun8i-h3-bananapi-m2-plus.dtb \ - sun8i-h3-bananapi-m2-plus-v1.2.dtb \ - sun8i-h3-beelink-x2.dtb \ - sun8i-h3-libretech-all-h3-cc.dtb \ - sun8i-h3-mapleboard-mp130.dtb \ - sun8i-h3-nanopi-duo2.dtb \ - sun8i-h3-nanopi-m1.dtb\ - \ - sun8i-h3-nanopi-m1-plus.dtb \ - sun8i-h3-nanopi-neo.dtb \ - sun8i-h3-nanopi-neo-air.dtb \ - sun8i-h3-nanopi-r1.dtb \ - sun8i-h3-orangepi-2.dtb \ - sun8i-h3-orangepi-lite.dtb \ - sun8i-h3-orangepi-one.dtb \ - sun8i-h3-orangepi-pc.dtb \ - sun8i-h3-orangepi-pc-plus.dtb \ - sun8i-h3-orangepi-plus.dtb \ - sun8i-h3-orangepi-plus2e.dtb \ - sun8i-h3-orangepi-zero-plus2.dtb \ - sun8i-h3-rervision-dvk.dtb \ - sun8i-h3-zeropi.dtb \ - sun8i-h3-emlid-neutis-n5h3-devboard.dtb \ - sun8i-r16-bananapi-m2m.dtb \ - sun8i-r16-nintendo-nes-classic.dtb \ - sun8i-r16-nintendo-super-nes-classic.dtb \ - sun8i-r16-parrot.dtb \ - sun8i-r40-bananapi-m2-ultra.dtb \ - sun8i-r40-oka40i-c.dtb \ - sun8i-s3-elimo-initium.dtb \ - sun8i-s3-lichee-zero-plus.dtb \ - sun8i-s3-pinecube.dtb \ - sun8i-t113s-mangopi-mq-r-t113.dtb \ - sun8i-t3-cqa3t-bv3.dtb \ - sun8i-v3-sl631-imx179.dtb \ - sun8i-v3s-licheepi-zero.dtb \ - sun8i-v3s-licheepi-zero-dock.dtb \ - sun8i-v40-bananapi-m2-berry.dtb dtb-$(CONFIG_MACH_SUN9I) += \ sun9i-a80-optimus.dtb \ sun9i-a80-cubieboard4.dtb
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 68/809 ARM: dts: stm32: Add arm,no-tick-in-suspend to STM32MP15xx STGEN timer
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Marek Vasut <[email protected]>
[ Upstream commit 4306c047415a227bc72f0e7ba9bde1ccdac10435 ]
STM32MP15xx RM0436 Rev 6 section 46.3 System timer generator (STGEN) states "
Arm recommends that the system counter is in an always-on power domain. This is not supported in the current implementation, therefore STGEN should be saved and restored before Standby mode entry, and restored at Standby exit by secure software.
...
"
Instead of piling up workarounds in the firmware which is difficult to update, add "arm,no-tick-in-suspend" DT property into the timer node to indicate the timer is stopped in suspend, and let the kernel fix the timer up.
--- arch/arm/boot/dts/st/stm32mp151.dtsi | 1 + 1 file changed, 1 insertion(+)
arch/arm/boot/dts/st/stm32mp151.dtsi +1 -0
@@ -50,6 +50,7 @@ timer { <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>, <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>; interrupt-parent = <&intc>; + arm,no-tick-in-suspend; }; clocks {
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 69/809 arm64: dts: qcom: qrb4210-rb2: make L9A always-on
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Dmitry Baryshkov <[email protected]>
[ Upstream commit d6c6b85bf5582bbe2efefa9a083178b5f7eef439 ]
The L9A regulator is used to further control voltage regulators on the board. It can be used to disable VBAT_mains, 1.8V, 3.3V, 5V rails). Make sure that is stays always on to prevent undervolting of these volage rails.
--- arch/arm64/boot/dts/qcom/qrb4210-rb2.dts | 2 ++ 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/qcom/qrb4210-rb2.dts +2 -0
@@ -414,6 +414,8 @@ vreg_l9a_1p8: l9 { regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-allow-set-load; + regulator-always-on; + regulator-boot-on; }; vreg_l10a_1p8: l10 {
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 70/809 cpufreq: ti-cpufreq: Handle deferred probe with dev_err_probe()
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Primoz Fiser <[email protected]>
[ Upstream commit 101388b8ef1027be72e399beeb97293cce67bb24 ]
Handle deferred probing gracefully by using dev_err_probe() to not spam console with unnecessary error messages.
--- drivers/cpufreq/ti-cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/cpufreq/ti-cpufreq.c +1 -1
@@ -417,7 +417,7 @@ static int ti_cpufreq_probe(struct platform_device *pdev) ret =dev_pm_opp_set_config (opp_data->cpu_dev, &config);if (ret <0 ) { -dev_err (opp_data->cpu_dev,"Failed to set OPP config\n" ); +dev_err_probe (opp_data->cpu_dev, ret,"Failed to set OPP config\n" ); goto fail_put_node; }
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 71/809 arm64: dts: qcom: sc8280xp-*: Remove thermal zone polling delays
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Konrad Dybcio <[email protected]>
[ Upstream commit e388421387e8b1b51c507883aaf13f40277fe137 ]
All of the thermal zone suppliers are interrupt-driven, remove the bogus and unnecessary polling that only wastes CPU time.
Stable-dep-of: f7fd6d04c104 ("arm64: dts: qcom: sc8280xp: Throttle the GPU when overheating")
--- .../boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 2 +- arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi | 4 ++-- arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 13 ------------- 3 files changed, 3 insertions(+), 16 deletions(-)
arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts +1 -1
@@ -299,7 +299,7 @@ linux,cma { thermal-zones { skin-temp-thermal { polling-delay-passive = <250>; - polling-delay = <0>; + thermal-sensors = <&pmk8280_adc_tm 5>; trips {
arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi +2 -2
@@ -14,7 +14,7 @@ / { thermal-zones { pm8280_1_thermal: pm8280-1-thermal { polling-delay-passive = <100>; - polling-delay = <0>; + thermal-sensors = <&pm8280_1_temp_alarm>; trips {
@@ -34,7 +34,7 @@ trip1 { pm8280_2_thermal: pm8280-2-thermal { polling-delay-passive = <100>; - polling-delay = <0>; + thermal-sensors = <&pm8280_2_temp_alarm>; trips {
arch/arm64/boot/dts/qcom/sc8280xp.dtsi +0 -13
@@ -5833,7 +5833,6 @@ sound: sound { thermal-zones { cpu0-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 1>;
@@ -5848,7 +5847,6 @@ cpu-crit { cpu1-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 2>;
@@ -5863,7 +5861,6 @@ cpu-crit { cpu2-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 3>;
@@ -5878,7 +5875,6 @@ cpu-crit { cpu3-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 4>;
@@ -5893,7 +5889,6 @@ cpu-crit { cpu4-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 5>;
@@ -5908,7 +5903,6 @@ cpu-crit { cpu5-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 6>;
@@ -5923,7 +5917,6 @@ cpu-crit { cpu6-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 7>;
@@ -5938,7 +5931,6 @@ cpu-crit { cpu7-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 8>;
@@ -5953,7 +5945,6 @@ cpu-crit { cluster0-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 9>;
@@ -5967,9 +5958,6 @@ cpu-crit { }; gpu-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens2 2>; trips {
@@ -5983,7 +5971,6 @@ gpu-crit { mem-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens1 15>;
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 72/809 arm64: dts: qcom: sc8280xp: Throttle the GPU when overheating
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Konrad Dybcio <[email protected]>
[ Upstream commit f7fd6d04c1046107a87a0fc883ed044cf8b877a1 ]
Add an 85C passive trip point with 1C of hysteresis to ensure the thermal framework takes sufficient action to prevent reaching junction temperature. Also, add passive polling to ensure more than one temperature change event is recorded.
--- arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/sc8280xp.dtsi +16 -1
@@ -5958,10 +5958,25 @@ cpu-crit { }; gpu-thermal { + polling-delay-passive = <250>; + thermal-sensors = <&tsens2 2>; + cooling-maps { + map0 { + trip = <&gpu_alert0>; + cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; + trips { - gpu-crit { + gpu_alert0: trip-point0 { + temperature = <85000>; + hysteresis = <1000>; + type = "passive"; + }; + + trip-point1 { temperature = <110000>; hysteresis = <1000>; type = "critical";
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 73/809 OPP: ti: Fix ti_opp_supply_probe wrong return values
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Primoz Fiser <[email protected]>
[ Upstream commit 3a1ac6b8f603a9310274990a0ad563a5fb709f59 ]
Function ti_opp_supply_probe() since commit 6baee034cb55 ("OPP: ti:
Migrate to dev_pm_opp_set_config_regulators()") returns wrong values when all goes well and hence driver probing eventually fails.
--- drivers/opp/ti-opp-supply.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
drivers/opp/ti-opp-supply.c +4 -2
@@ -393,10 +393,12 @@ static int ti_opp_supply_probe(struct platform_device *pdev) } ret =dev_pm_opp_set_config_regulators (cpu_dev, ti_opp_config_regulators); -if (ret <0 ) +if (ret <0 ) {_free_optimized_voltages (dev, &opp_data); +return ret; + } -return ret; +return 0 ; }static struct platform_driver ti_opp_supply_driver = {
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 74/809 memory: fsl_ifc: Make FSL_IFC config visible and selectable
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Esben Haabendal <[email protected]>
[ Upstream commit 9ba0cae3cac07c21c583f9ff194f74043f90d29c ]
While use of fsl_ifc driver with NAND flash is fine, as the fsl_ifc_nand driver selects FSL_IFC automatically, we need the CONFIG_FSL_IFC option to be selectable for platforms using fsl_ifc with NOR flash.
--- drivers/memory/Kconfig | 2 +- drivers/mtd/nand/raw/Kconfig | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-)
drivers/memory/Kconfig +1 -1
@@ -167,7 +167,7 @@ config FSL_CORENET_CF represents a coherency violation. config FSL_IFC - bool "Freescale IFC driver" if COMPILE_TEST + bool "Freescale IFC driver" depends on FSL_SOC || ARCH_LAYERSCAPE || SOC_LS1021A || COMPILE_TEST depends on HAS_IOMEM
drivers/mtd/nand/raw/Kconfig +1 -2
@@ -234,8 +234,7 @@ config MTD_NAND_FSL_IFC tristate "Freescale IFC NAND controller" depends on FSL_SOC || ARCH_LAYERSCAPE || SOC_LS1021A || COMPILE_TEST depends on HAS_IOMEM - select FSL_IFC - select MEMORY + depends on FSL_IFC help Various Freescale chips e.g P1010, include a NAND Flash machine with built-in hardware ECC capabilities.
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 75/809 arm64: dts: ti: k3-am62-main: Fix the reg-range for main_pktdma
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Jayesh Choudhary <[email protected]>
[ Upstream commit 6edad223553c7f1680fcaca25ded59eba7c6d82d ]
For main_pktdma node, the TX Channel Realtime Register region 'tchanrt' is 128KB and Ring Realtime Register region 'ringrt' is 2MB as shown in memory map in the TRM[0] (Table 2-1).
So fix ranges for those register regions.
[0]: <https://www.ti.com/lit/pdf/spruiv7>
--- arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/ti/k3-am62-main.dtsi +2 -2
@@ -141,8 +141,8 @@ main_pktdma: dma-controller@485c0000 { compatible = "ti,am64-dmss-pktdma"; reg = <0x00 0x485c0000 0x00 0x100>, <0x00 0x4a800000 0x00 0x20000>, - <0x00 0x4aa00000 0x00 0x40000>, - <0x00 0x4b800000 0x00 0x400000>, + <0x00 0x4aa00000 0x00 0x20000>, + <0x00 0x4b800000 0x00 0x200000>, <0x00 0x485e0000 0x00 0x10000>, <0x00 0x484a0000 0x00 0x2000>, <0x00 0x484c0000 0x00 0x2000>,
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 76/809 arm64: dts: ti: k3-am62a-main: Fix the reg-range for main_pktdma
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Jayesh Choudhary <[email protected]>
[ Upstream commit d007a883a61f55b9b195c4c18bbe29de5b802822 ]
For main_pktdma node, the TX Channel Realtime Register region 'tchanrt' is 128KB and Ring Realtime Register region 'ringrt' is 2MB as shown in memory map in the TRM[0] (Table 2-1).
So fix ranges for those register regions.
[0]: <https://www.ti.com/lit/pdf/spruj16>
--- arch/arm64/boot/dts/ti/k3-am62a-main.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/ti/k3-am62a-main.dtsi +2 -2
@@ -120,8 +120,8 @@ main_pktdma: dma-controller@485c0000 { compatible = "ti,am64-dmss-pktdma"; reg = <0x00 0x485c0000 0x00 0x100>, <0x00 0x4a800000 0x00 0x20000>, - <0x00 0x4aa00000 0x00 0x40000>, - <0x00 0x4b800000 0x00 0x400000>, + <0x00 0x4aa00000 0x00 0x20000>, + <0x00 0x4b800000 0x00 0x200000>, <0x00 0x485e0000 0x00 0x10000>, <0x00 0x484a0000 0x00 0x2000>, <0x00 0x484c0000 0x00 0x2000>,
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 77/809 arm64: dts: ti: k3-am62p-main: Fix the reg-range for main_pktdma
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Jayesh Choudhary <[email protected]>
[ Upstream commit a6e6604c600aeedf9700de4a55255850391bc3fc ]
For main_pktdma node, the TX Channel Realtime Register region 'tchanrt' is 128KB and Ring Realtime Register region 'ringrt' is 2MB as shown in memory map in the TRM[0] (Table 2-1).
So fix ranges for those register regions.
[0]: <https://www.ti.com/lit/pdf/spruj83>
--- arch/arm64/boot/dts/ti/k3-am62p-main.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/ti/k3-am62p-main.dtsi +2 -2
@@ -123,8 +123,8 @@ main_pktdma: dma-controller@485c0000 { compatible = "ti,am64-dmss-pktdma"; reg = <0x00 0x485c0000 0x00 0x100>, <0x00 0x4a800000 0x00 0x20000>, - <0x00 0x4aa00000 0x00 0x40000>, - <0x00 0x4b800000 0x00 0x400000>, + <0x00 0x4aa00000 0x00 0x20000>, + <0x00 0x4b800000 0x00 0x200000>, <0x00 0x485e0000 0x00 0x10000>, <0x00 0x484a0000 0x00 0x2000>, <0x00 0x484c0000 0x00 0x2000>,
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 78/809 arm64: dts: ti: k3-am642-hummingboard-t: correct rs485 rts polarity
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Josua Mayer <[email protected]>
[ Upstream commit 9dcc0e1065f3c40d0b2ad79a858bb4ebaba33167 ]
The RS485 transceiver RE (Receiver enable) and DE (Driver enable) are shorted and connected to both RTS/CTS of the SoC UART.
RE is active-low, DE is active-high.
Remove the "rs485-rts-active-low" flag to match RTS polarity with DE, and fix communication in both transmit and receive directions.
--- arch/arm64/boot/dts/ti/k3-am642-hummingboard-t.dts | 1 - 1 file changed, 1 deletion(-)
arch/arm64/boot/dts/ti/k3-am642-hummingboard-t.dts +0 -1
@@ -282,7 +282,6 @@ &main_uart3 { pinctrl-names = "default"; pinctrl-0 = <&main_uart3_default_pins>; uart-has-rtscts; - rs485-rts-active-low; linux,rs485-enabled-at-boot-time; status = "okay"; };
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 79/809 arm64: dts: ti: k3-j722s: Fix main domain GPIO count
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Vaishnav Achath <[email protected]>
[ Upstream commit 2cdf63e73415ce6c8f6b3397cdc91d5f928855f9 ]
J722S does not pin out all of the GPIO same as AM62P and have more number of GPIO on the main_gpio1 instance. Fix the GPIO count on both instances by overriding the ti,ngpio property.
More details at J722S/AM67 Datasheet (Section 5.3.11, GPIO):
https://www.ti.com/lit/ds/symlink/am67.pdf
--- arch/arm64/boot/dts/ti/k3-j722s.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+)
arch/arm64/boot/dts/ti/k3-j722s.dtsi +8 -0
@@ -83,6 +83,14 @@ &inta_main_dmss { ti,interrupt-ranges = <7 71 21>; }; +&main_gpio0 { + ti,ngpio = <87>; +}; + +&main_gpio1 { + ti,ngpio = <73>; +}; + &oc_sram { reg = <0x00 0x70000000 0x00 0x40000>; ranges = <0x00 0x00 0x70000000 0x40000>;
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 80/809 arm64: dts: ti: k3-am62x: Drop McASP AFIFOs
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Jai Luthra <[email protected]>
[ Upstream commit 6ee3ca0ec7fabc63603afdb3485da04164dc8747 ]
McASP AFIFOs are not necessary with UDMA-P/BCDMA as there is buffering on the DMA IP. Drop these for better audio latency.
--- arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi | 2 -- 1 file changed, 2 deletions(-)
arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi +0 -2
@@ -504,8 +504,6 @@ &mcasp1 { 0 0 0 0 0 0 0 0 >; - tx-num-evt = <32>; - rx-num-evt = <32>; }; &dss {
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 81/809 arm64: dts: ti: k3-am62a7: Drop McASP AFIFOs
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Jai Luthra <[email protected]>
[ Upstream commit a931b81072921a11d5bb8e8201b6228b791d40a9 ]
McASP AFIFOs are not necessary with UDMA-P/BCDMA as there is buffering on the DMA IP. Drop these for better audio latency.
--- arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 2 -- 1 file changed, 2 deletions(-)
arch/arm64/boot/dts/ti/k3-am62a7-sk.dts +0 -2
@@ -701,8 +701,6 @@ &mcasp1 { 0 0 0 0 0 0 0 0 >; - tx-num-evt = <32>; - rx-num-evt = <32>; }; &dss {
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 82/809 arm64: dts: ti: k3-am62p5: Drop McASP AFIFOs
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Jai Luthra <[email protected]>
[ Upstream commit d3fe4b4e2e44de64ed1f1585151bf4a3627adbaf ]
McASP AFIFOs are not necessary with UDMA-P/BCDMA as there is buffering on the DMA IP. Drop these for better audio latency.
--- arch/arm64/boot/dts/ti/k3-am62p5-sk.dts | 2 -- 1 file changed, 2 deletions(-)
arch/arm64/boot/dts/ti/k3-am62p5-sk.dts +0 -2
@@ -549,8 +549,6 @@ &mcasp1 { 0 0 0 0 0 0 0 0 >; - tx-num-evt = <32>; - rx-num-evt = <32>; }; &fss {
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 83/809 arm64: dts: ti: k3-am625-beagleplay: Drop McASP AFIFOs
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Jai Luthra <[email protected]>
[ Upstream commit 3b4a03357aee07a32a44a49bb6a71f5e82b1ecc1 ]
McASP AFIFOs are not necessary with UDMA-P/BCDMA as there is buffering on the DMA IP. Drop these for better audio latency.
--- arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts | 2 -- 1 file changed, 2 deletions(-)
arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts +0 -2
@@ -924,6 +924,4 @@ &mcasp1 { 0 0 0 0 0 0 0 0 >; - tx-num-evt = <32>; - rx-num-evt = <32>; };
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 84/809 arm64: dts: ti: k3-am62-verdin: Drop McASP AFIFOs
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Jai Luthra <[email protected]>
[ Upstream commit fb01352801f08740e9f37cbd71f73866c7044927 ]
McASP AFIFOs are not necessary with UDMA-P/BCDMA as there is buffering on the DMA IP. Drop these for better audio latency.
--- arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi | 4 ---- 1 file changed, 4 deletions(-)
arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi +0 -4
@@ -1364,8 +1364,6 @@ &mcasp0 { 0 0 0 0 >; tdm-slots = <2>; - rx-num-evt = <32>; - tx-num-evt = <32>; #sound-dai-cells = <0>; status = "disabled"; };
@@ -1382,8 +1380,6 @@ &mcasp1 { 0 0 0 0 >; tdm-slots = <2>; - rx-num-evt = <32>; - tx-num-evt = <32>; #sound-dai-cells = <0>; status = "disabled"; };
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 85/809 arm64: dts: ti: k3-am625-phyboard-lyra-rdk: Drop McASP AFIFOs
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Jai Luthra <[email protected]>
[ Upstream commit 554dd562a5f2f5d7e838f7b229a1c612275678db ]
McASP AFIFOs are not necessary with UDMA-P/BCDMA as there is buffering on the DMA IP. Drop these for better audio latency.
--- arch/arm64/boot/dts/ti/k3-am625-phyboard-lyra-rdk.dts | 2 -- 1 file changed, 2 deletions(-)
arch/arm64/boot/dts/ti/k3-am625-phyboard-lyra-rdk.dts +0 -2
@@ -441,8 +441,6 @@ &mcasp2 { 0 0 0 0 0 0 0 0 >; - tx-num-evt = <32>; - rx-num-evt = <32>; status = "okay"; };
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 86/809 arm64: dts: ti: k3-am62p5-sk: Fix pinmux for McASP1 TX
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Jai Luthra <[email protected]>
[ Upstream commit e96e36ce1fdcf08a70e3f09cbe2da02b073c58ac ]
On SK-AM62P, McASP1 uses two pins for communicating with the codec over I2S protocol. One of these pins (AXR0) is used for audio playback (TX) so the direction of the pin should be OUTPUT.
--- arch/arm64/boot/dts/ti/k3-am62p5-sk.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/ti/k3-am62p5-sk.dts +1 -1
@@ -207,7 +207,7 @@ main_mcasp1_pins_default: main-mcasp1-default-pins { pinctrl-single,pins = < AM62PX_IOPAD(0x0090, PIN_INPUT, 2) /* (U24) GPMC0_BE0n_CLE.MCASP1_ACLKX */ AM62PX_IOPAD(0x0098, PIN_INPUT, 2) /* (AA24) GPMC0_WAIT0.MCASP1_AFSX */ - AM62PX_IOPAD(0x008c, PIN_INPUT, 2) /* (T25) GPMC0_WEn.MCASP1_AXR0 */ + AM62PX_IOPAD(0x008c, PIN_OUTPUT, 2) /* (T25) GPMC0_WEn.MCASP1_AXR0 */ AM62PX_IOPAD(0x0084, PIN_INPUT, 2) /* (R25) GPMC0_ADVn_ALE.MCASP1_AXR2 */ >; };
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 87/809 arm64: dts: qcom: sc7180-trogdor: Disable pwmleds node where unused
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Nícolas F. R. A. Prado <[email protected]>
[ Upstream commit 99e94768c890c7522af020ff0e5e5317b2d046d9 ]
Currently the keyboard backlight is described in the common sc7180-trogdor dtsi as an led node below a pwmleds node, and the led node is set to disabled. Only the boards that have a keyboard backlight enable it.
However, since the parent pwmleds node is still enabled everywhere, even on boards that don't have keyboard backlight it is probed and fails, resulting in an error:
leds_pwm pwmleds: probe with driver leds_pwm failed with error -22
as well as a failure in the DT kselftest:
not ok 45 /pwmleds
Fix this by controlling the status of the parent pwmleds node instead of the child led, based on the presence of keyboard backlight. This is what is done on sc7280 already.
While at it add a missing blank line before the child node to follow the coding style.
--- arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r1-kb.dts | 2 +- arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r1-lte.dts | 2 +- arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r10-kb.dts | 2 +- arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r10-lte.dts | 2 +- arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r3-kb.dts | 2 +- arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r3-lte.dts | 2 +- arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r9-kb.dts | 2 +- arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r9-lte.dts | 2 +- arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 5 +++-- 9 files changed, 11 insertions(+), 10 deletions(-)
arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r1-kb.dts +1 -1
@@ -12,6 +12,6 @@ / { compatible = "google,lazor-rev1-sku2", "google,lazor-rev2-sku2", "qcom,sc7180"; }; -&keyboard_backlight { +&pwmleds { status = "okay"; };
arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r1-lte.dts +1 -1
@@ -17,6 +17,6 @@ &ap_sar_sensor_i2c { status = "okay"; }; -&keyboard_backlight { +&pwmleds { status = "okay"; };
arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r10-kb.dts +1 -1
@@ -18,6 +18,6 @@ / { compatible = "google,lazor-sku2", "qcom,sc7180"; }; -&keyboard_backlight { +&pwmleds { status = "okay"; };
arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r10-lte.dts +1 -1
@@ -22,6 +22,6 @@ &ap_sar_sensor_i2c { status = "okay"; }; -&keyboard_backlight { +&pwmleds { status = "okay"; };
arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r3-kb.dts +1 -1
@@ -21,6 +21,6 @@ / { "qcom,sc7180"; }; -&keyboard_backlight { +&pwmleds { status = "okay"; };
arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r3-lte.dts +1 -1
@@ -25,6 +25,6 @@ &ap_sar_sensor_i2c { status = "okay"; }; -&keyboard_backlight { +&pwmleds { status = "okay"; };
arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r9-kb.dts +1 -1
@@ -18,6 +18,6 @@ / { compatible = "google,lazor-rev9-sku2", "qcom,sc7180"; }; -&keyboard_backlight { +&pwmleds { status = "okay"; };
arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r9-lte.dts +1 -1
@@ -22,6 +22,6 @@ &ap_sar_sensor_i2c { status = "okay"; }; -&keyboard_backlight { +&pwmleds { status = "okay"; };
arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi +3 -2
@@ -359,10 +359,11 @@ max98360a: audio-codec-0 { #sound-dai-cells = <0>; }; - pwmleds { + pwmleds: pwmleds { compatible = "pwm-leds"; + status = "disabled"; + keyboard_backlight: led-0 { - status = "disabled"; label = "cros_ec::kbd_backlight"; function = LED_FUNCTION_KBD_BACKLIGHT; pwms = <&cros_ec_pwm 0>;
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 88/809 arm64: dts: qcom: qdu1000: Add secure qfprom node
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Komal Bajaj <[email protected]>
[ Upstream commit 367fb3f0aaa6eac9101dc683dd27c268b4cc702e ]
Add secure qfprom node and also add properties for multi channel DDR. This is required for LLCC driver to pick the correct LLCC configuration.
--- arch/arm64/boot/dts/qcom/qdu1000.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+)
arch/arm64/boot/dts/qcom/qdu1000.dtsi +15 -0
@@ -1478,6 +1478,21 @@ system-cache-controller@19200000 { "llcc7_base", "llcc_broadcast_base"; interrupts = <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>; + + nvmem-cells = <&multi_chan_ddr>; + nvmem-cell-names = "multi-chan-ddr"; + }; + + sec_qfprom: efuse@221c8000 { + compatible = "qcom,qdu1000-sec-qfprom", "qcom,sec-qfprom"; + reg = <0 0x221c8000 0 0x1000>; + #address-cells = <1>; + #size-cells = <1>; + + multi_chan_ddr: multi-chan-ddr@12b { + reg = <0x12b 0x1>; + bits = <0 2>; + }; }; };
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 89/809 soc: qcom: icc-bwmon: Fix refcount imbalance seen during bwmon_remove
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Sibi Sankar <[email protected]>
[ Upstream commit 24086640ab39396eb1a92d1cb1cd2f31b2677c52 ]
The following warning is seen during bwmon_remove due to refcount imbalance, fix this by releasing the OPPs after use.
Logs:
WARNING: at drivers/opp/core.c:1640 _opp_table_kref_release+0x150/0x158 Hardware name: Qualcomm Technologies, Inc. X1E80100 CRD (DT) ... Call trace: _opp_table_kref_release+0x150/0x158 dev_pm_opp_remove_table+0x100/0x1b4 devm_pm_opp_of_table_release+0x10/0x1c devm_action_release+0x14/0x20 devres_release_all+0xa4/0x104 device_unbind_cleanup+0x18/0x60 device_release_driver_internal+0x1ec/0x228 driver_detach+0x50/0x98 bus_remove_driver+0x6c/0xbc driver_unregister+0x30/0x60 platform_driver_unregister+0x14/0x20 bwmon_driver_exit+0x18/0x524 [icc_bwmon] __arm64_sys_delete_module+0x184/0x264 invoke_syscall+0x48/0x118 el0_svc_common.constprop.0+0xc8/0xe8 do_el0_svc+0x20/0x2c el0_svc+0x34/0xdc el0t_64_sync_handler+0x13c/0x158 el0t_64_sync+0x190/0x194
--[ end trace 0000000000000000 ]---
--- drivers/soc/qcom/icc-bwmon.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/soc/qcom/icc-bwmon.c +3 -1
@@ -565,7 +565,7 @@ static void bwmon_start(struct icc_bwmon *bwmon)int window;/* No need to check for errors, as this must have succeeded before. */ -dev_pm_opp_find_bw_ceil (bwmon->dev, &bw_low,0 ); +dev_pm_opp_put (dev_pm_opp_find_bw_ceil (bwmon->dev, &bw_low,0 ));bwmon_clear_counters (bwmon, true);
@@ -772,11 +772,13 @@ static int bwmon_probe(struct platform_device *pdev) opp =dev_pm_opp_find_bw_floor (dev, &bwmon->max_bw_kbps,0 );if (IS_ERR (opp))return dev_err_probe (dev,PTR_ERR (opp),"failed to find max peak bandwidth\n" ); +dev_pm_opp_put (opp); bwmon->min_bw_kbps =0 ; opp =dev_pm_opp_find_bw_ceil (dev, &bwmon->min_bw_kbps,0 );if (IS_ERR (opp))return dev_err_probe (dev,PTR_ERR (opp),"failed to find min peak bandwidth\n" ); +dev_pm_opp_put (opp); bwmon->dev = dev;
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 90/809 soc: qcom: pdr: protect locator_addr with the main mutex
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Dmitry Baryshkov <[email protected]>
[ Upstream commit 107924c14e3ddd85119ca43c26a4ee1056fa9b84 ]
If the service locator server is restarted fast enough, the PDR can rewrite locator_addr fields concurrently. Protect them by placing modification of those fields under the main pdr->lock.
--- drivers/soc/qcom/pdr_interface.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
drivers/soc/qcom/pdr_interface.c +4 -2
@@ -76,12 +76,12 @@ static int pdr_locator_new_server(struct qmi_handle *qmi, locator_hdl);struct pdr_service *pds; +mutex_lock (&pdr->lock);/* Create a local client port for QMI communication */ pdr->locator_addr.sq_family =AF_QIPCRTR ; pdr->locator_addr.sq_node = svc->node; pdr->locator_addr.sq_port = svc->port; -mutex_lock (&pdr->lock); pdr->locator_init_complete = true;mutex_unlock (&pdr->lock);
@@ -104,10 +104,10 @@ static void pdr_locator_del_server(struct qmi_handle *qmi,mutex_lock (&pdr->lock); pdr->locator_init_complete = false; -mutex_unlock (&pdr->lock); pdr->locator_addr.sq_node =0 ; pdr->locator_addr.sq_port =0 ; +mutex_unlock (&pdr->lock); }static const struct qmi_ops pdr_locator_ops = {
@@ -365,12 +365,14 @@ static int pdr_get_domain_list(struct servreg_get_domain_list_req *req,if (ret <0 )return ret; +mutex_lock (&pdr->lock); ret =qmi_send_request (&pdr->locator_hdl, &pdr->locator_addr, &txn,SERVREG_GET_DOMAIN_LIST_REQ ,SERVREG_GET_DOMAIN_LIST_REQ_MAX_LEN , servreg_get_domain_list_req_ei, req); +mutex_unlock (&pdr->lock);if (ret <0 ) {qmi_txn_cancel (&txn);return ret;
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 91/809 soc: qcom: pdr: fix parsing of domains lists
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Dmitry Baryshkov <[email protected]>
[ Upstream commit 57f20d51f35780f240ecf39d81cda23612800a92 ]
While parsing the domains list, start offsets from 0 rather than from domains_read. The domains_read is equal to the total count of the domains we have seen, while the domains list in the message starts from offset 0.
--- drivers/soc/qcom/pdr_interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/soc/qcom/pdr_interface.c +1 -1
@@ -417,7 +417,7 @@ static int pdr_locate_service(struct pdr_handle *pdr, struct pdr_service *pds)if (ret <0 ) goto out; -for (i = domains_read; i < resp->domain_list_len; i++) { +for (i =0 ; i < resp->domain_list_len; i++) { entry = &resp->domain_list[i];if (strnlen (entry->name,sizeof (entry->name)) ==sizeof (entry->name))
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 92/809 arm64: dts: rockchip: Increase VOP clk rate on RK3328
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Jonas Karlman <[email protected]>
[ Upstream commit 0f2ddb128fa20f8441d903285632f2c69e90fae1 ]
The VOP on RK3328 needs to run at a higher rate in order to produce a proper 3840x2160 signal.
Change to use 300MHz for VIO clk and 400MHz for VOP clk, same rates used by vendor 4.4 kernel.
--- arch/arm64/boot/dts/rockchip/rk3328.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/rockchip/rk3328.dtsi +2 -2
@@ -850,8 +850,8 @@ cru: clock-controller@ff440000 { <0>, <24000000>, <24000000>, <24000000>, <15000000>, <15000000>, - <100000000>, <100000000>, - <100000000>, <100000000>, + <300000000>, <100000000>, + <400000000>, <100000000>, <50000000>, <100000000>, <100000000>, <100000000>, <50000000>, <50000000>,
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 93/809 arm64: dts: amlogic: sm1: fix spdif compatibles
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Jerome Brunet <[email protected]>
[ Upstream commit b0aba467c329a89e8b325eda0cf60776958353fe ]
The spdif input and output of g12 and sm1 are compatible but sm1 should use the related compatible since it exists.
--- arch/arm64/boot/dts/amlogic/meson-sm1.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/amlogic/meson-sm1.dtsi +2 -2
@@ -339,7 +339,7 @@ tdmin_lb: audio-controller@3c0 { }; spdifin: audio-controller@400 { - compatible = "amlogic,g12a-spdifin", + compatible = "amlogic,sm1-spdifin", "amlogic,axg-spdifin"; reg = <0x0 0x400 0x0 0x30>; #sound-dai-cells = <0>;
@@ -353,7 +353,7 @@ spdifin: audio-controller@400 { }; spdifout_a: audio-controller@480 { - compatible = "amlogic,g12a-spdifout", + compatible = "amlogic,sm1-spdifout", "amlogic,axg-spdifout"; reg = <0x0 0x480 0x0 0x50>; #sound-dai-cells = <0>;
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 94/809 ARM: dts: imx6qdl-kontron-samx6i: fix phy-mode
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Michael Walle <[email protected]>
[ Upstream commit 0df3c7d7a73d75153090637392c0b73a63cdc24a ]
The i.MX6 cannot add any RGMII delays. The PHY has to add both the RX and TX delays on the RGMII interface. Fix the interface mode. While at it, use the new phy-connection-type property name.
--- arch/arm/boot/dts/nxp/imx/imx6qdl-kontron-samx6i.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/nxp/imx/imx6qdl-kontron-samx6i.dtsi +1 -1
@@ -259,7 +259,7 @@ smarc_flash: flash@0 { &fec { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_enet>; - phy-mode = "rgmii"; + phy-connection-type = "rgmii-id"; phy-handle = <ðphy>; mdio {
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 95/809 ARM: dts: imx6qdl-kontron-samx6i: fix PHY reset
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Michael Walle <[email protected]>
[ Upstream commit edfea889a049abe80f0d55c0365bf60fbade272f ]
The PHY reset line is connected to both the SoC (GPIO1_25) and the CPLD. We must not use the GPIO1_25 as it will drive against the output buffer of the CPLD. Instead there is another GPIO (GPIO2_01), an input to the CPLD, which will tell the CPLD to assert the PHY reset line.
--- arch/arm/boot/dts/nxp/imx/imx6qdl-kontron-samx6i.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/nxp/imx/imx6qdl-kontron-samx6i.dtsi +2 -2
@@ -269,7 +269,7 @@ mdio { ethphy: ethernet-phy@1 { compatible = "ethernet-phy-ieee802.3-c22"; reg = <1>; - reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>; + reset-gpios = <&gpio2 1 GPIO_ACTIVE_LOW>; reset-assert-us = <1000>; }; };
@@ -516,7 +516,7 @@ MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b0b0 MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0 MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0 MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x1b0b0 - MX6QDL_PAD_ENET_CRS_DV__GPIO1_IO25 0x1b0b0 /* RST_GBE0_PHY# */ + MX6QDL_PAD_NANDF_D1__GPIO2_IO01 0x1b0b0 /* RST_GBE0_PHY# */ >; };
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 96/809 ARM: dts: imx6qdl-kontron-samx6i: fix board reset
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Michael Walle <[email protected]>
[ Upstream commit b972d6b3b46345023aee56a95df8e2c137aa4ee4 ]
On i.MX6 the board is reset by the watchdog. But in turn to do a complete board reset, we have to assert the WDOG_B output which is routed also to the CPLD which then do a complete power-cycle of the board.
--- arch/arm/boot/dts/nxp/imx/imx6qdl-kontron-samx6i.dtsi | 1 + 1 file changed, 1 insertion(+)
arch/arm/boot/dts/nxp/imx/imx6qdl-kontron-samx6i.dtsi +1 -0
@@ -817,5 +817,6 @@ &wdog1 { /* CPLD is feeded by watchdog (hardwired) */ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_wdog1>; + fsl,ext-reset-output; status = "okay"; };
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 97/809 ARM: dts: imx6qdl-kontron-samx6i: fix SPI0 chip selects
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Michael Walle <[email protected]>
[ Upstream commit 74e1c956a68a65d642447d852e95b3fbb69bebaa ]
There is a comment in the imx6q variant dtsi claiming that these modules will have one more chip select than the imx6dl variant. This is wrong. Ordinary GPIOs are used for chip selects and both variants of the module share the very same PCB and both have this GPIO routed to the SPI0_CS1# pin of the SMARC connector.
Fix it by moving the third chip select description to the common dtsi.
--- .../dts/nxp/imx/imx6q-kontron-samx6i.dtsi | 23 ------------------- .../dts/nxp/imx/imx6qdl-kontron-samx6i.dtsi | 5 +++- 2 files changed, 4 insertions(+), 24 deletions(-)
arch/arm/boot/dts/nxp/imx/imx6q-kontron-samx6i.dtsi +0 -23
@@ -5,31 +5,8 @@ #include "imx6q.dtsi" #include "imx6qdl-kontron-samx6i.dtsi" -#include <dt-bindings/gpio/gpio.h> / { model = "Kontron SMARC sAMX6i Quad/Dual"; compatible = "kontron,imx6q-samx6i", "fsl,imx6q"; }; - -/* Quad/Dual SoMs have 3 chip-select signals */ -&ecspi4 { - cs-gpios = <&gpio3 24 GPIO_ACTIVE_LOW>, - <&gpio3 29 GPIO_ACTIVE_LOW>, - <&gpio3 25 GPIO_ACTIVE_LOW>; -}; - -&pinctrl_ecspi4 { - fsl,pins = < - MX6QDL_PAD_EIM_D21__ECSPI4_SCLK 0x100b1 - MX6QDL_PAD_EIM_D28__ECSPI4_MOSI 0x100b1 - MX6QDL_PAD_EIM_D22__ECSPI4_MISO 0x100b1 - - /* SPI4_IMX_CS2# - connected to internal flash */ - MX6QDL_PAD_EIM_D24__GPIO3_IO24 0x1b0b0 - /* SPI4_IMX_CS0# - connected to SMARC SPI0_CS0# */ - MX6QDL_PAD_EIM_D29__GPIO3_IO29 0x1b0b0 - /* SPI4_CS3# - connected to SMARC SPI0_CS1# */ - MX6QDL_PAD_EIM_D25__GPIO3_IO25 0x1b0b0 - >; -};
arch/arm/boot/dts/nxp/imx/imx6qdl-kontron-samx6i.dtsi +4 -1
@@ -244,7 +244,8 @@ &ecspi4 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_ecspi4>; cs-gpios = <&gpio3 24 GPIO_ACTIVE_LOW>, - <&gpio3 29 GPIO_ACTIVE_LOW>; + <&gpio3 29 GPIO_ACTIVE_LOW>, + <&gpio3 25 GPIO_ACTIVE_LOW>; status = "okay"; /* default boot source: workaround #1 for errata ERR006282 */
@@ -464,6 +465,8 @@ MX6QDL_PAD_EIM_D22__ECSPI4_MISO 0x100b1 MX6QDL_PAD_EIM_D24__GPIO3_IO24 0x1b0b0 /* SPI_IMX_CS0# - connected to SMARC SPI0_CS0# */ MX6QDL_PAD_EIM_D29__GPIO3_IO29 0x1b0b0 + /* SPI4_CS3# - connected to SMARC SPI0_CS1# */ + MX6QDL_PAD_EIM_D25__GPIO3_IO25 0x1b0b0 >; };
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 98/809 ARM: dts: imx6qdl-kontron-samx6i: fix PCIe reset polarity
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Michael Walle <[email protected]>
[ Upstream commit df35c6e9027cf9affe699e632a48082ab1bbba4c ]
The PCIe reset line is active low. Fix it.
--- arch/arm/boot/dts/nxp/imx/imx6qdl-kontron-samx6i.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/nxp/imx/imx6qdl-kontron-samx6i.dtsi +1 -1
@@ -732,7 +732,7 @@ &pcie { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pcie>; wake-up-gpio = <&gpio6 18 GPIO_ACTIVE_HIGH>; - reset-gpio = <&gpio3 13 GPIO_ACTIVE_HIGH>; + reset-gpio = <&gpio3 13 GPIO_ACTIVE_LOW>; }; /* LCD_BKLT_PWM */
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 99/809 arm64: dts: mediatek: mt8195: Fix GPU thermal zone name for SVS
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: AngeloGioacchino Del Regno <[email protected]>
[ Upstream commit b2b6f2edb82a08abe8942535bc77da55a0f43e14 ]
This SoC has two GPU related thermal zones: the primary zone must be called "gpu-thermal" for SVS to pick it up.
--- arch/arm64/boot/dts/mediatek/mt8195.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/mediatek/mt8195.dtsi +1 -1
@@ -3880,7 +3880,7 @@ vpu1_crit: trip-crit { }; }; - gpu0-thermal { + gpu-thermal { polling-delay = <1000>; polling-delay-passive = <250>; thermal-sensors = <&lvts_ap MT8195_AP_GPU0>;
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 100/809 arm64: dts: mediatek: mt8192: Fix GPU thermal zone name for SVS
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: AngeloGioacchino Del Regno <[email protected]>
[ Upstream commit 86beeec5dd2b8e28217f67815a3fb15752031667 ]
This SoC has two GPU related thermal zones: the primary zone must be called "gpu-thermal" for SVS to pick it up.
--- arch/arm64/boot/dts/mediatek/mt8192.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/mediatek/mt8192.dtsi +1 -1
@@ -2234,7 +2234,7 @@ vpu1_crit: trip-crit { }; }; - gpu0-thermal { + gpu-thermal { polling-delay = <1000>; polling-delay-passive = <250>; thermal-sensors = <&lvts_ap MT8192_AP_GPU0>;
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 101/809 arm64: dts: medaitek: mt8395-nio-12l: Set i2c6 pins to bias-disable
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: AngeloGioacchino Del Regno <[email protected]>
[ Upstream commit 32b33be8894f3389d15b409140d663acbdf9de1d ]
GPIOs 25 and 26 do not support pull-up/pull-down when those are muxed as I2C6's SDA6/SCL6 lines: set those to bias-disable to avoid warning messages from the pinctrl driver.
--- arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts +1 -1
@@ -528,7 +528,7 @@ i2c6_pins: i2c6-pins { pins { pinmux = <PINMUX_GPIO25__FUNC_SDA6>, <PINMUX_GPIO26__FUNC_SCL6>; - bias-pull-up = <MTK_PULL_SET_RSEL_111>; + bias-disable; }; };
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 102/809 arm64: dts: mediatek: mt8183-kukui: Drop bogus output-enable property
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Chen-Yu Tsai <[email protected]>
[ Upstream commit e9a9055fdcdc1e5a27cef118c5b4f09cdd2fa28e ]
The "output-enable" property is set on uart1's RTS pin. This is bogus because the hardware does not actually have a controllable output buffer. Secondly, the implementation incorrectly treats this property as a request to switch the pin to GPIO output. This does not fit the intended semantic of "output-enable" and it does not have any affect either because the pin is muxed to the UART function, not the GPIO function.
Drop the property.
--- arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 2 -- 1 file changed, 2 deletions(-)
arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi +0 -2
@@ -803,7 +803,6 @@ pins-tx { }; pins-rts { pinmux = <PINMUX_GPIO47__FUNC_URTS1>; - output-enable; }; pins-cts { pinmux = <PINMUX_GPIO46__FUNC_UCTS1>;
@@ -822,7 +821,6 @@ pins-tx { }; pins-rts { pinmux = <PINMUX_GPIO47__FUNC_URTS1>; - output-enable; }; pins-cts { pinmux = <PINMUX_GPIO46__FUNC_UCTS1>;
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 103/809 arm64: dts: mediatek: mt8192-asurada: Add off-on-delay-us for pp3300_mipibrdg
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Pin-yen Lin <[email protected]>
[ Upstream commit 897a7edba9330974726c564dfdbf4fb5e203b9ac ]
Set off-on-delay-us to 500000 us for pp3300_mipibrdg to make sure it complies with the panel's unprepare delay (the time to power down completely) of the power sequence. Explicit configuration on the regulator node is required because mt8192-asurada uses the same power supply for the panel and the anx7625 DP bridge.
For example, the power sequence could be violated in this sequence:
1. Bridge on: panel goes off, but regulator doesn't turn off (refcount=1).
2. Bridge off: regulator turns off (refcount=0).
3. Bridge resume -> regulator turns on but the bridge driver doesn't check the delay.
Or in this sequence:
1. Bridge on: panel goes off. The regulator doesn't turn off (refcount=1), but the .unprepared_time in panel_edp is still updated.
2. Bridge off, regulator goes off (refcount=0).
3. Panel on, but the panel driver uses the wrong .unprepared_time to check the unprepare delay.
--- arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi | 1 + 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi +1 -0
@@ -147,6 +147,7 @@ pp3300_mipibrdg: regulator-3v3-mipibrdg { regulator-boot-on; gpio = <&pio 127 GPIO_ACTIVE_HIGH>; vin-supply = <&pp3300_g>; + off-on-delay-us = <500000>; }; /* separately switched 3.3V power rail */
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 104/809 arm64: dts: mediatek: mt7981: fix code alignment for PWM clocks
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Rafał Miłecki <[email protected]>
[ Upstream commit f80cfe9616b7448eca709a3e87ca57201cd5787c ]
Align "clocks" array entries to start at the same column.
--- arch/arm64/boot/dts/mediatek/mt7981b.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
arch/arm64/boot/dts/mediatek/mt7981b.dtsi +4 -4
@@ -78,10 +78,10 @@ pwm@10048000 { compatible = "mediatek,mt7981-pwm"; reg = <0 0x10048000 0 0x1000>; clocks = <&infracfg CLK_INFRA_PWM_STA>, - <&infracfg CLK_INFRA_PWM_HCK>, - <&infracfg CLK_INFRA_PWM1_CK>, - <&infracfg CLK_INFRA_PWM2_CK>, - <&infracfg CLK_INFRA_PWM3_CK>; + <&infracfg CLK_INFRA_PWM_HCK>, + <&infracfg CLK_INFRA_PWM1_CK>, + <&infracfg CLK_INFRA_PWM2_CK>, + <&infracfg CLK_INFRA_PWM3_CK>; clock-names = "top", "main", "pwm1", "pwm2", "pwm3"; #pwm-cells = <2>; };
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 105/809 arm64: dts: mediatek: mt7622: fix "emmc" pinctrl mux
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Rafał Miłecki <[email protected]>
[ Upstream commit aebba1030a5766cdf894ed4ab0cac7aed5aee9c1 ]
Value "emmc_rst" is a group name and should be part of the "groups" property.
This fixes:arch/arm64/boot/dts/mediatek/mt7622-rfb1.dtb: pinctrl@10211000: emmc-pins-default:mux:function: ['emmc', 'emmc_rst'] is too long
from schema $id: http://devicetree.org/schemas/pinctrl/mediatek,mt7622-pinctrl.yaml#arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dtb: pinctrl@10211000: emmc-pins-default:mux:function: ['emmc', 'emmc_rst'] is too long
from schema $id: http://devicetree.org/schemas/pinctrl/mediatek,mt7622-pinctrl.yaml#
--- arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts | 4 ++-- arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts +2 -2
@@ -329,8 +329,8 @@ asm_sel { /* eMMC is shared pin with parallel NAND */ emmc_pins_default: emmc-pins-default { mux { - function = "emmc", "emmc_rst"; - groups = "emmc"; + function = "emmc"; + groups = "emmc", "emmc_rst"; }; /* "NDL0","NDL1","NDL2","NDL3","NDL4","NDL5","NDL6","NDL7",
arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts +2 -2
@@ -268,8 +268,8 @@ &pio { /* eMMC is shared pin with parallel NAND */ emmc_pins_default: emmc-pins-default { mux { - function = "emmc", "emmc_rst"; - groups = "emmc"; + function = "emmc"; + groups = "emmc", "emmc_rst"; }; /* "NDL0","NDL1","NDL2","NDL3","NDL4","NDL5","NDL6","NDL7",
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 106/809 arm64: dts: mediatek: mt8183-kukui: Fix the value of `dlg,jack-det-rate` mismatch
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Hsin-Te Yuan <[email protected]>
[ Upstream commit 95173af725e6f41eb470466a52ddf2054439409c ]
According to Documentation/devicetree/bindings/sound/dialog,da7219.yaml, the value of dlg,jack-det-rate property should be "32_64" instead of "32ms_64ms".
--- arch/arm64/boot/dts/mediatek/mt8183-kukui-audio-da7219.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/mediatek/mt8183-kukui-audio-da7219.dtsi +1 -1
@@ -27,7 +27,7 @@ da7219_aad { dlg,btn-cfg = <50>; dlg,mic-det-thr = <500>; dlg,jack-ins-deb = <20>; - dlg,jack-det-rate = "32ms_64ms"; + dlg,jack-det-rate = "32_64"; dlg,jack-rem-deb = <1>; dlg,a-d-btn-thr = <0xa>;
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 107/809 arm64: dts: mediatek: mt8183-pico6: Fix wake-on-X event node names
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Chen-Yu Tsai <[email protected]>
[ Upstream commit 70bf81dd2c2dedbed1f19dfc5d1d2f22474a5296 ]
The wake-on-bt and wake-on-wlan nodes don't have a button- or event- prefix that the gpio-keys binding requires.
Fix up the node names to satisfy the binding. While at it, also fix up the GPIO overriding structure for the wake-on-wlan node. Instead of referencing the gpio-keys node and then open coding the node, add a label for the event node, and use that to reference and override the GPIO settings.
--- .../boot/dts/mediatek/mt8183-kukui-jacuzzi-pico6.dts | 8 +++----- arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-)
arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-pico6.dts +3 -5
@@ -17,7 +17,7 @@ bt_wakeup: bt-wakeup { pinctrl-names = "default"; pinctrl-0 = <&bt_pins_wakeup>; - wobt { + event-wobt { label = "Wake on BT"; gpios = <&pio 42 GPIO_ACTIVE_HIGH>; linux,code = <KEY_WAKEUP>;
@@ -47,10 +47,8 @@ trackpad@2c { }; }; -&wifi_wakeup { - wowlan { - gpios = <&pio 113 GPIO_ACTIVE_LOW>; - }; +&wifi_wakeup_event { + gpios = <&pio 113 GPIO_ACTIVE_LOW>; }; &wifi_pwrseq {
arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi +1 -1
@@ -152,7 +152,7 @@ wifi_wakeup: wifi-wakeup { pinctrl-names = "default"; pinctrl-0 = <&wifi_pins_wakeup>; - button-wowlan { + wifi_wakeup_event: event-wowlan { label = "Wake on WiFi"; gpios = <&pio 113 GPIO_ACTIVE_HIGH>; linux,code = <KEY_WAKEUP>;
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 108/809 arm64: dts: mediatek: mt8183-kukui-jacuzzi: Add ports node for anx7625
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Chen-Yu Tsai <[email protected]>
[ Upstream commit 4055416e6c51347e7dd5784065263fe0ced0bb7d ]
The anx7625 binding requires a "ports" node as a container for the "port" nodes. The jacuzzi dtsi file is missing it.
Add a "ports" node under the anx7625 node, and move the port related nodes and properties under it.
--- .../dts/mediatek/mt8183-kukui-jacuzzi.dtsi | 25 +++++++++++-------- 1 file changed, 14 insertions(+), 11 deletions(-)
arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi +14 -11
@@ -155,21 +155,24 @@ anx_bridge: anx7625@58 { vdd18-supply = <&pp1800_mipibrdg>; vdd33-supply = <&vddio_mipibrdg>; - #address-cells = <1>; - #size-cells = <0>; - port@0 { - reg = <0>; + ports { + #address-cells = <1>; + #size-cells = <0>; - anx7625_in: endpoint { - remote-endpoint = <&dsi_out>; + port@0 { + reg = <0>; + + anx7625_in: endpoint { + remote-endpoint = <&dsi_out>; + }; }; - }; - port@1 { - reg = <1>; + port@1 { + reg = <1>; - anx7625_out: endpoint { - remote-endpoint = <&panel_in>; + anx7625_out: endpoint { + remote-endpoint = <&panel_in>; + }; }; };
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 109/809 soc: mediatek: mtk-mutex: Add MDP_TCC0 mod to MT8188 mutex table
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: AngeloGioacchino Del Regno <[email protected]>
[ Upstream commit 161ee1eb9ab2440553dac55ada8329de704b1ffd ]
MT8188's MDP3 is able to use MDP_TCC0, this mutex_mod bit does actually exist and it's the same as MT8195: add it to the table.
--- drivers/soc/mediatek/mtk-mutex.c | 1 + 1 file changed, 1 insertion(+)
drivers/soc/mediatek/mtk-mutex.c +1 -0
@@ -524,6 +524,7 @@ static const unsigned int mt8188_mdp_mutex_table_mod[MUTEX_MOD_IDX_MAX] = { [MUTEX_MOD_IDX_MDP_PAD0] = MT8195_MUTEX_MOD_MDP_PAD0, [MUTEX_MOD_IDX_MDP_PAD2] = MT8195_MUTEX_MOD_MDP_PAD2, [MUTEX_MOD_IDX_MDP_PAD3] = MT8195_MUTEX_MOD_MDP_PAD3, + [MUTEX_MOD_IDX_MDP_TCC0] = MT8195_MUTEX_MOD_MDP_TCC0, [MUTEX_MOD_IDX_MDP_WROT0] = MT8195_MUTEX_MOD_MDP_WROT0, [MUTEX_MOD_IDX_MDP_WROT2] = MT8195_MUTEX_MOD_MDP_WROT2, [MUTEX_MOD_IDX_MDP_WROT3] = MT8195_MUTEX_MOD_MDP_WROT3,
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 110/809 arm64: dts: amlogic: gx: correct hdmi clocks
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Jerome Brunet <[email protected]>
[ Upstream commit 0602ba0dcd0e76067a0b7543e92b2de3fb231073 ]
The clocks provided to HDMI tx are not consistent between gx and g12:
* gx receives the peripheral clock as 'isfr' while g12 receives it as 'iahb'
* g12 gets the HDMI system clock as 'isfr' but gx does not even get it. It surely needs that clock since the driver is directly poking around the clock controller's registers for that clock.
Align gx SoCs with g12 and provide:
* the HDMI peripheral clock as 'iahb'
* the HDMI system clock as 'isfr'
--- arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 4 ++-- arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi +2 -2
@@ -311,8 +311,8 @@ &hdmi_tx { <&reset RESET_HDMI_SYSTEM_RESET>, <&reset RESET_HDMI_TX>; reset-names = "hdmitx_apb", "hdmitx", "hdmitx_phy"; - clocks = <&clkc CLKID_HDMI_PCLK>, - <&clkc CLKID_CLK81>, + clocks = <&clkc CLKID_HDMI>, + <&clkc CLKID_HDMI_PCLK>, <&clkc CLKID_GCLK_VENCI_INT0>; clock-names = "isfr", "iahb", "venci"; };
arch/arm64/boot/dts/amlogic/meson-gxl.dtsi +2 -2
@@ -323,8 +323,8 @@ &hdmi_tx { <&reset RESET_HDMI_SYSTEM_RESET>, <&reset RESET_HDMI_TX>; reset-names = "hdmitx_apb", "hdmitx", "hdmitx_phy"; - clocks = <&clkc CLKID_HDMI_PCLK>, - <&clkc CLKID_CLK81>, + clocks = <&clkc CLKID_HDMI>, + <&clkc CLKID_HDMI_PCLK>, <&clkc CLKID_GCLK_VENCI_INT0>; clock-names = "isfr", "iahb", "venci"; };
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 111/809 arm64: dts: amlogic: add power domain to hdmitx
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Jerome Brunet <[email protected]>
[ Upstream commit f1ab099d6591a353899a2ee09c89de0fc908e2d2 ]
HDMI Tx needs HDMI Tx memory power domain turned on. This power domain is handled under the VPU power domain.
The HDMI Tx currently works because it is enabling the PD by directly poking the power controller register. It is should not do that but properly use the power domain controller.
Fix this by adding the power domain to HDMI Tx.
Stable-dep-of: 1443b6ea806d ("arm64: dts: amlogic: setup hdmi system clock")
--- arch/arm64/boot/dts/amlogic/meson-g12.dtsi | 4 ++++ arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 1 + arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 1 + arch/arm64/boot/dts/amlogic/meson-sm1.dtsi | 4 ++++ 4 files changed, 10 insertions(+)
arch/arm64/boot/dts/amlogic/meson-g12.dtsi +4 -0
@@ -363,6 +363,10 @@ ðmac { power-domains = <&pwrc PWRC_G12A_ETH_ID>; }; +&hdmi_tx { + power-domains = <&pwrc PWRC_G12A_VPU_ID>; +}; + &vpu { power-domains = <&pwrc PWRC_G12A_VPU_ID>; };
arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi +1 -0
@@ -315,6 +315,7 @@ &hdmi_tx { <&clkc CLKID_HDMI_PCLK>, <&clkc CLKID_GCLK_VENCI_INT0>; clock-names = "isfr", "iahb", "venci"; + power-domains = <&pwrc PWRC_GXBB_VPU_ID>; }; &sysctrl {
arch/arm64/boot/dts/amlogic/meson-gxl.dtsi +1 -0
@@ -327,6 +327,7 @@ &hdmi_tx { <&clkc CLKID_HDMI_PCLK>, <&clkc CLKID_GCLK_VENCI_INT0>; clock-names = "isfr", "iahb", "venci"; + power-domains = <&pwrc PWRC_GXBB_VPU_ID>; }; &sysctrl {
arch/arm64/boot/dts/amlogic/meson-sm1.dtsi +4 -0
@@ -518,6 +518,10 @@ &gpio_intc { "amlogic,meson-gpio-intc"; }; +&hdmi_tx { + power-domains = <&pwrc PWRC_SM1_VPU_ID>; +}; + &pcie { power-domains = <&pwrc PWRC_SM1_PCIE_ID>; };
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 112/809 arm64: dts: amlogic: setup hdmi system clock
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Jerome Brunet <[email protected]>
[ Upstream commit 1443b6ea806dfcdcee6c894784332c9c947ac319 ]
HDMI Tx needs the system clock set on the xtal rate.
This clock is managed by the main clock controller of the related SoCs.
Currently 2 part of the display drivers race to setup the HDMI system clock by directly poking the controller register. The clock API should be used to setup the rate instead.
Use assigned-clock to setup the HDMI system clock.
--- arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi | 5 +++++ arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 5 +++++ arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 5 +++++ 3 files changed, 15 insertions(+)
arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi +5 -0
@@ -215,6 +215,11 @@ hdmi_tx: hdmi-tx@0 { #sound-dai-cells = <0>; status = "disabled"; + assigned-clocks = <&clkc CLKID_HDMI_SEL>, + <&clkc CLKID_HDMI>; + assigned-clock-parents = <&xtal>, <0>; + assigned-clock-rates = <0>, <24000000>; + /* VPU VENC Input */ hdmi_tx_venc_port: port@0 { reg = <0>;
arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi +5 -0
@@ -316,6 +316,11 @@ &hdmi_tx { <&clkc CLKID_GCLK_VENCI_INT0>; clock-names = "isfr", "iahb", "venci"; power-domains = <&pwrc PWRC_GXBB_VPU_ID>; + + assigned-clocks = <&clkc CLKID_HDMI_SEL>, + <&clkc CLKID_HDMI>; + assigned-clock-parents = <&xtal>, <0>; + assigned-clock-rates = <0>, <24000000>; }; &sysctrl {
arch/arm64/boot/dts/amlogic/meson-gxl.dtsi +5 -0
@@ -328,6 +328,11 @@ &hdmi_tx { <&clkc CLKID_GCLK_VENCI_INT0>; clock-names = "isfr", "iahb", "venci"; power-domains = <&pwrc PWRC_GXBB_VPU_ID>; + + assigned-clocks = <&clkc CLKID_HDMI_SEL>, + <&clkc CLKID_HDMI>; + assigned-clock-parents = <&xtal>, <0>; + assigned-clock-rates = <0>, <24000000>; }; &sysctrl {
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 113/809 arm64: dts: rockchip: Drop invalid mic-in-differential on rk3568-rock-3a
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Cristian Ciocaltea <[email protected]>
[ Upstream commit 406a554b382200abfabd1df423a425f6efee53e0 ]
The 'mic-in-differential' DT property supported by the RK809/RK817 audio codec driver is actually valid if prefixed with 'rockchip,':
DTC_CHK arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dtb
rk3568-rock-3a.dtb: pmic@20: codec: 'mic-in-differential' does not match any of the regexes: 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/mfd/rockchip,rk809.yaml#
However, the board doesn't make use of differential signaling, hence drop the incorrect property and the now unnecessary 'codec' node.
--- arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts | 4 ---- 1 file changed, 4 deletions(-)
arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts +0 -4
@@ -531,10 +531,6 @@ regulator-state-mem { }; }; }; - - codec { - mic-in-differential; - }; }; };
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 114/809 arm64: dts: rockchip: Fix mic-in-differential usage on rk3566-roc-pc
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Cristian Ciocaltea <[email protected]>
[ Upstream commit e643e4eb4bef6a2f95bf0c61a20c991bccecb212 ]
The 'mic-in-differential' DT property supported by the RK809/RK817 audio codec driver is actually valid if prefixed with 'rockchip,':
DTC_CHK arch/arm64/boot/dts/rockchip/rk3566-roc-pc.dtb
rk3566-roc-pc.dtb: pmic@20: codec: 'mic-in-differential' does not match any of the regexes: 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/mfd/rockchip,rk809.yaml#
Make use of the correct property name.
--- arch/arm64/boot/dts/rockchip/rk3566-roc-pc.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/rockchip/rk3566-roc-pc.dts +1 -1
@@ -269,7 +269,7 @@ rk809: pmic@20 { vcc9-supply = <&vcc3v3_sys>; codec { - mic-in-differential; + rockchip,mic-in-differential; }; regulators {
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 115/809 arm64: dts: rockchip: Fix mic-in-differential usage on rk3568-evb1-v10
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Cristian Ciocaltea <[email protected]>
[ Upstream commit ec03073888ad23223ebb986e62583c20a9ed3c07 ]
The 'mic-in-differential' DT property supported by the RK809/RK817 audio codec driver is actually valid if prefixed with 'rockchip,':
DTC_CHK arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dtb
rk3568-evb1-v10.dtb: pmic@20: codec: 'mic-in-differential' does not match any of the regexes: 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/mfd/rockchip,rk809.yaml#
Make use of the correct property name.
--- arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts +1 -1
@@ -475,7 +475,7 @@ regulator-state-mem { }; codec { - mic-in-differential; + rockchip,mic-in-differential; }; }; };
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 116/809 arm64: dts: renesas: r8a779h0: Drop "opp-shared" from opp-table-0
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Geert Uytterhoeven <[email protected]>
[ Upstream commit f3acb237a17962349b61eed813f62dddf7aead29 ]
The four Cortex-A76 CPU cores on R-Car V4M share their Operating Performance Points (OPP) table, but they have independent clocks. All cores in the cluster can switch DVFS states independently, hence the cluster's OPP table should not have an "opp-shared" property.
--- arch/arm64/boot/dts/renesas/r8a779h0.dtsi | 1 - 1 file changed, 1 deletion(-)
arch/arm64/boot/dts/renesas/r8a779h0.dtsi +0 -1
@@ -16,7 +16,6 @@ / { cluster0_opp: opp-table-0 { compatible = "operating-points-v2"; - opp-shared; opp-500000000 { opp-hz = /bits/ 64 <500000000>;
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 117/809 arm64: dts: renesas: r8a779a0: Add missing hypervisor virtual timer IRQ
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Geert Uytterhoeven <[email protected]>
[ Upstream commit 6fca24a07e1de664c3d0b280043302e0387726df ]
Add the missing fifth interrupt to the device node that represents the ARM architected timer. While at it, add an interrupt-names property for clarity,
--- arch/arm64/boot/dts/renesas/r8a779a0.dtsi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/renesas/r8a779a0.dtsi +4 -1
@@ -2919,6 +2919,9 @@ timer { interrupts-extended = <&gic GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>, <&gic GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>, <&gic GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>, - <&gic GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>; + <&gic GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>, + <&gic GIC_PPI 12 IRQ_TYPE_LEVEL_LOW>; + interrupt-names = "sec-phys", "phys", "virt", "hyp-phys", + "hyp-virt"; }; };
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 118/809 arm64: dts: renesas: r8a779f0: Add missing hypervisor virtual timer IRQ
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Geert Uytterhoeven <[email protected]>
[ Upstream commit b1c34567aebe300f9a0f70320eaeef0b3d56ffc7 ]
Add the missing fifth interrupt to the device node that represents the ARM architected timer. While at it, add an interrupt-names property for clarity,
--- arch/arm64/boot/dts/renesas/r8a779f0.dtsi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/renesas/r8a779f0.dtsi +4 -1
@@ -1324,7 +1324,10 @@ timer { interrupts-extended = <&gic GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>, <&gic GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>, <&gic GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>, - <&gic GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>; + <&gic GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>, + <&gic GIC_PPI 12 IRQ_TYPE_LEVEL_LOW>; + interrupt-names = "sec-phys", "phys", "virt", "hyp-phys", + "hyp-virt"; }; ufs30_clk: ufs30-clk {
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 119/809 arm64: dts: renesas: r8a779g0: Add missing hypervisor virtual timer IRQ
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Geert Uytterhoeven <[email protected]>
[ Upstream commit 6775165fc95052a03acc91e25bc20fcf286910a7 ]
Add the missing fifth interrupt to the device node that represents the ARM architected timer. While at it, add an interrupt-names property for clarity,
--- arch/arm64/boot/dts/renesas/r8a779g0.dtsi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/renesas/r8a779g0.dtsi +4 -1
@@ -2359,6 +2359,9 @@ timer { interrupts-extended = <&gic GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>, <&gic GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>, <&gic GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>, - <&gic GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>; + <&gic GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>, + <&gic GIC_PPI 12 IRQ_TYPE_LEVEL_LOW>; + interrupt-names = "sec-phys", "phys", "virt", "hyp-phys", + "hyp-virt"; }; };
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 120/809 arm64: dts: renesas: r9a07g043u: Add missing hypervisor virtual timer IRQ
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Geert Uytterhoeven <[email protected]>
[ Upstream commit 4036bae6dfd782d414040e7d714abc525b2e8792 ]
Add the missing fifth interrupt to the device node that represents the ARM architected timer. While at it, add an interrupt-names property for clarity,
--- arch/arm64/boot/dts/renesas/r9a07g043u.dtsi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/renesas/r9a07g043u.dtsi +4 -1
@@ -50,7 +50,10 @@ timer { interrupts-extended = <&gic GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>, <&gic GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>, <&gic GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>, - <&gic GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>; + <&gic GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>, + <&gic GIC_PPI 12 IRQ_TYPE_LEVEL_LOW>; + interrupt-names = "sec-phys", "phys", "virt", "hyp-phys", + "hyp-virt"; }; };
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 121/809 arm64: dts: renesas: r9a07g044: Add missing hypervisor virtual timer IRQ
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Geert Uytterhoeven <[email protected]>
[ Upstream commit ecbc5206a1a0532258144a4703cccf4e70f3fe6c ]
Add the missing fifth interrupt to the device node that represents the ARM architected timer. While at it, add an interrupt-names property for clarity,
--- arch/arm64/boot/dts/renesas/r9a07g044.dtsi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/renesas/r9a07g044.dtsi +4 -1
@@ -1334,6 +1334,9 @@ timer { interrupts-extended = <&gic GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>, <&gic GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>, <&gic GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>, - <&gic GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>; + <&gic GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>, + <&gic GIC_PPI 12 IRQ_TYPE_LEVEL_LOW>; + interrupt-names = "sec-phys", "phys", "virt", "hyp-phys", + "hyp-virt"; }; };
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 122/809 arm64: dts: renesas: r9a07g054: Add missing hypervisor virtual timer IRQ
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Geert Uytterhoeven <[email protected]>
[ Upstream commit 2918674704aad620215c41979a331021fe3f1ec4 ]
Add the missing fifth interrupt to the device node that represents the ARM architected timer. While at it, add an interrupt-names property for clarity,
--- arch/arm64/boot/dts/renesas/r9a07g054.dtsi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/renesas/r9a07g054.dtsi +4 -1
@@ -1342,6 +1342,9 @@ timer { interrupts-extended = <&gic GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>, <&gic GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>, <&gic GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>, - <&gic GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>; + <&gic GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>, + <&gic GIC_PPI 12 IRQ_TYPE_LEVEL_LOW>; + interrupt-names = "sec-phys", "phys", "virt", "hyp-phys", + "hyp-virt"; }; };
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 123/809 arm64: dts: renesas: r9a08g045: Add missing hypervisor virtual timer IRQ
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Geert Uytterhoeven <[email protected]>
[ Upstream commit 10f9badc473d43ebfddd1ddedbcb8eb3f8f3fdd9 ]
Add the missing fifth interrupt to the device node that represents the ARM architected timer. While at it, add an interrupt-names property for clarity,
--- arch/arm64/boot/dts/renesas/r9a08g045.dtsi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/renesas/r9a08g045.dtsi +4 -1
@@ -294,6 +294,9 @@ timer { interrupts-extended = <&gic GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>, <&gic GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>, <&gic GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>, - <&gic GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>; + <&gic GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>, + <&gic GIC_PPI 12 IRQ_TYPE_LEVEL_LOW>; + interrupt-names = "sec-phys", "phys", "virt", "hyp-phys", + "hyp-virt"; }; };
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 124/809 m68k: atari: Fix TT bootup freeze / unexpected (SCU) interrupt messages
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Eero Tamminen <[email protected]>
[ Upstream commit f70065a9fd988983b2c693631b801f25a615fc04 ]
Avoid freeze on Atari TT / MegaSTe boot with continuous messages of:
unexpected interrupt from 112
Which was due to VBL interrupt being enabled in SCU sys mask, but there being no handler for that any more.
(Bug and fix were first verified on real Atari TT HW by Christian,
this patch later on in Hatari emulator.)
--- arch/m68k/atari/ataints.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
arch/m68k/atari/ataints.c +1 -5
@@ -301,11 +301,7 @@ void __init atari_init_IRQ(void)if (ATARIHW_PRESENT (SCU )) {/* init the SCU if present */ - tt_scu.sys_mask =0x10 ;/* enable VBL (for the cursor) and -* disable HSYNC interrupts (who -* needs them?) MFP and SCC are -* enabled in VME mask -*/ + tt_scu.sys_mask =0x0 ;/* disable all interrupts */ tt_scu.vme_mask =0x60 ;/* enable MFP and SCC ints */ }else {/* If no SCU and no Hades, the HSYNC interrupt needs to be
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 125/809 arm64: dts: imx8mp: Fix pgc_mlmix location
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Adam Ford <[email protected]>
[ Upstream commit 106f68fc9da3d4835070b55a2229d2c54ef5cba1 ]
The pgc_mlmix shows a power-domain@24, but the reg value is IMX8MP_POWER_DOMAIN_MLMIX which is set to 4.
The stuff after the @ symbol should match the stuff referenced by 'reg' so reorder the pgc_mlmix so it to appear as power-domain@4.
--- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 34 +++++++++++------------ 1 file changed, 17 insertions(+), 17 deletions(-)
arch/arm64/boot/dts/freescale/imx8mp.dtsi +17 -17
@@ -789,6 +789,23 @@ pgc_usb2_phy: power-domain@3 { reg = <IMX8MP_POWER_DOMAIN_USB2_PHY>; }; + pgc_mlmix: power-domain@4 { + #power-domain-cells = <0>; + reg = <IMX8MP_POWER_DOMAIN_MLMIX>; + clocks = <&clk IMX8MP_CLK_ML_AXI>, + <&clk IMX8MP_CLK_ML_AHB>, + <&clk IMX8MP_CLK_NPU_ROOT>; + assigned-clocks = <&clk IMX8MP_CLK_ML_CORE>, + <&clk IMX8MP_CLK_ML_AXI>, + <&clk IMX8MP_CLK_ML_AHB>; + assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_800M>, + <&clk IMX8MP_SYS_PLL1_800M>, + <&clk IMX8MP_SYS_PLL1_800M>; + assigned-clock-rates = <800000000>, + <800000000>, + <300000000>; + }; + pgc_audio: power-domain@5 { #power-domain-cells = <0>; reg = <IMX8MP_POWER_DOMAIN_AUDIOMIX>;
@@ -900,23 +917,6 @@ pgc_vpu_vc8000e: power-domain@22 { reg = <IMX8MP_POWER_DOMAIN_VPU_VC8000E>; clocks = <&clk IMX8MP_CLK_VPU_VC8KE_ROOT>; }; - - pgc_mlmix: power-domain@24 { - #power-domain-cells = <0>; - reg = <IMX8MP_POWER_DOMAIN_MLMIX>; - clocks = <&clk IMX8MP_CLK_ML_AXI>, - <&clk IMX8MP_CLK_ML_AHB>, - <&clk IMX8MP_CLK_NPU_ROOT>; - assigned-clocks = <&clk IMX8MP_CLK_ML_CORE>, - <&clk IMX8MP_CLK_ML_AXI>, - <&clk IMX8MP_CLK_ML_AHB>; - assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_800M>, - <&clk IMX8MP_SYS_PLL1_800M>, - <&clk IMX8MP_SYS_PLL1_800M>; - assigned-clock-rates = <800000000>, - <800000000>, - <300000000>; - }; }; }; };
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 126/809 arm64: dts: imx8mp: Fix pgc vpu locations
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Adam Ford <[email protected]>
[ Upstream commit 2f8405fb077bcb8e98c8cd87c2a0a238b15d8da8 ]
The various pgv_vpu nodes have a mismatch between the value after the @ symbol and what is referenced by 'reg' so reorder the nodes to align.
--- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 55 ++++++++++++----------- 1 file changed, 28 insertions(+), 27 deletions(-)
arch/arm64/boot/dts/freescale/imx8mp.dtsi +28 -27
@@ -838,6 +838,12 @@ pgc_gpumix: power-domain@7 { assigned-clock-rates = <800000000>, <400000000>; }; + pgc_vpumix: power-domain@8 { + #power-domain-cells = <0>; + reg = <IMX8MP_POWER_DOMAIN_VPUMIX>; + clocks = <&clk IMX8MP_CLK_VPU_ROOT>; + }; + pgc_gpu3d: power-domain@9 { #power-domain-cells = <0>; reg = <IMX8MP_POWER_DOMAIN_GPU3D>;
@@ -853,6 +859,28 @@ pgc_mediamix: power-domain@10 { <&clk IMX8MP_CLK_MEDIA_APB_ROOT>; }; + pgc_vpu_g1: power-domain@11 { + #power-domain-cells = <0>; + power-domains = <&pgc_vpumix>; + reg = <IMX8MP_POWER_DOMAIN_VPU_G1>; + clocks = <&clk IMX8MP_CLK_VPU_G1_ROOT>; + }; + + pgc_vpu_g2: power-domain@12 { + #power-domain-cells = <0>; + power-domains = <&pgc_vpumix>; + reg = <IMX8MP_POWER_DOMAIN_VPU_G2>; + clocks = <&clk IMX8MP_CLK_VPU_G2_ROOT>; + + }; + + pgc_vpu_vc8000e: power-domain@13 { + #power-domain-cells = <0>; + power-domains = <&pgc_vpumix>; + reg = <IMX8MP_POWER_DOMAIN_VPU_VC8000E>; + clocks = <&clk IMX8MP_CLK_VPU_VC8KE_ROOT>; + }; + pgc_hdmimix: power-domain@14 { #power-domain-cells = <0>; reg = <IMX8MP_POWER_DOMAIN_HDMIMIX>;
@@ -890,33 +918,6 @@ pgc_ispdwp: power-domain@18 { reg = <IMX8MP_POWER_DOMAIN_MEDIAMIX_ISPDWP>; clocks = <&clk IMX8MP_CLK_MEDIA_ISP_ROOT>; }; - - pgc_vpumix: power-domain@19 { - #power-domain-cells = <0>; - reg = <IMX8MP_POWER_DOMAIN_VPUMIX>; - clocks = <&clk IMX8MP_CLK_VPU_ROOT>; - }; - - pgc_vpu_g1: power-domain@20 { - #power-domain-cells = <0>; - power-domains = <&pgc_vpumix>; - reg = <IMX8MP_POWER_DOMAIN_VPU_G1>; - clocks = <&clk IMX8MP_CLK_VPU_G1_ROOT>; - }; - - pgc_vpu_g2: power-domain@21 { - #power-domain-cells = <0>; - power-domains = <&pgc_vpumix>; - reg = <IMX8MP_POWER_DOMAIN_VPU_G2>; - clocks = <&clk IMX8MP_CLK_VPU_G2_ROOT>; - }; - - pgc_vpu_vc8000e: power-domain@22 { - #power-domain-cells = <0>; - power-domains = <&pgc_vpumix>; - reg = <IMX8MP_POWER_DOMAIN_VPU_VC8000E>; - clocks = <&clk IMX8MP_CLK_VPU_VC8KE_ROOT>; - }; }; }; };
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 127/809 arm64: dts: qcom: x1e80100: Fix USB HS PHY 0.8V supply
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Abel Vesa <[email protected]>
[ Upstream commit 9c99c33a904c86d95ecf4e2690de6a826b88671c ]
According to the power grid documentation, the 0.8v HS PHY shared regulator is actually LDO3 from PM8550ve id J. Fix both CRD and QCP boards.
--- arch/arm64/boot/dts/qcom/x1e80100-crd.dts | 6 +++--- arch/arm64/boot/dts/qcom/x1e80100-qcp.dts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-)
arch/arm64/boot/dts/qcom/x1e80100-crd.dts +3 -3
@@ -840,7 +840,7 @@ &uart21 { }; &usb_1_ss0_hsphy { - vdd-supply = <&vreg_l2e_0p8>; + vdd-supply = <&vreg_l3j_0p8>; vdda12-supply = <&vreg_l2j_1p2>; phys = <&smb2360_0_eusb2_repeater>;
@@ -865,7 +865,7 @@ &usb_1_ss0_dwc3 { }; &usb_1_ss1_hsphy { - vdd-supply = <&vreg_l2e_0p8>; + vdd-supply = <&vreg_l3j_0p8>; vdda12-supply = <&vreg_l2j_1p2>; phys = <&smb2360_1_eusb2_repeater>;
@@ -890,7 +890,7 @@ &usb_1_ss1_dwc3 { }; &usb_1_ss2_hsphy { - vdd-supply = <&vreg_l2e_0p8>; + vdd-supply = <&vreg_l3j_0p8>; vdda12-supply = <&vreg_l2j_1p2>; phys = <&smb2360_2_eusb2_repeater>;
arch/arm64/boot/dts/qcom/x1e80100-qcp.dts +3 -3
@@ -536,7 +536,7 @@ &uart21 { }; &usb_1_ss0_hsphy { - vdd-supply = <&vreg_l2e_0p8>; + vdd-supply = <&vreg_l3j_0p8>; vdda12-supply = <&vreg_l2j_1p2>; phys = <&smb2360_0_eusb2_repeater>;
@@ -561,7 +561,7 @@ &usb_1_ss0_dwc3 { }; &usb_1_ss1_hsphy { - vdd-supply = <&vreg_l2e_0p8>; + vdd-supply = <&vreg_l3j_0p8>; vdda12-supply = <&vreg_l2j_1p2>; phys = <&smb2360_1_eusb2_repeater>;
@@ -586,7 +586,7 @@ &usb_1_ss1_dwc3 { }; &usb_1_ss2_hsphy { - vdd-supply = <&vreg_l2e_0p8>; + vdd-supply = <&vreg_l3j_0p8>; vdda12-supply = <&vreg_l2j_1p2>; phys = <&smb2360_2_eusb2_repeater>;
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 128/809 x86/xen: Convert comma to semicolon
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Chen Ni <[email protected]>
[ Upstream commit 349d271416c61f82b853336509b1d0dc04c1fcbb ]
Replace a comma between expression statements by a semicolon.
--- arch/x86/xen/p2m.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/x86/xen/p2m.c +2 -2
@@ -730,7 +730,7 @@ int set_foreign_p2m_mapping(struct gnttab_map_grant_ref *map_ops,* immediate unmapping. */ map_ops[i].status = GNTST_general_error; - unmap[0 ].host_addr = map_ops[i].host_addr, + unmap[0 ].host_addr = map_ops[i].host_addr; unmap[0 ].handle = map_ops[i].handle; map_ops[i].handle =INVALID_GRANT_HANDLE ;if (map_ops[i].flags & GNTMAP_device_map)
@@ -740,7 +740,7 @@ int set_foreign_p2m_mapping(struct gnttab_map_grant_ref *map_ops,if (kmap_ops) { kmap_ops[i].status = GNTST_general_error; - unmap[1 ].host_addr = kmap_ops[i].host_addr, + unmap[1 ].host_addr = kmap_ops[i].host_addr; unmap[1 ].handle = kmap_ops[i].handle; kmap_ops[i].handle =INVALID_GRANT_HANDLE ;if (kmap_ops[i].flags & GNTMAP_device_map)
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 129/809 arm64: dts: qcom: qrb4210-rb2: Correct max current draw for VBUS
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Dang Huynh <[email protected]>
[ Upstream commit c6050d45cd372e4a34f9f501b30243caf2e810c6 ]
According to downstream sources, maximum current for PMI632 VBUS is 1A.
Taken from msm-4.19 (631561973a034e46ccacd0e53ef65d13a40d87a4) Line 685-687 in drivers/power/supply/qcom/qpnp-smb5.c
--- arch/arm64/boot/dts/qcom/qrb4210-rb2.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/qrb4210-rb2.dts +1 -1
@@ -305,7 +305,7 @@ pmi632_ss_in: endpoint { &pmi632_vbus { regulator-min-microamp = <500000>; - regulator-max-microamp = <3000000>; + regulator-max-microamp = <1000000>; status = "okay"; };
Signature · 1 line
2.43.0
Greg Kroah-Hartman
maintainerPATCH 130/809 arm64: dts: rockchip: Add missing power-domains for rk356x vop_mmu
In reply to Greg Kroah-Hartman6.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Cristian Ciocaltea <[email protected]>
[ Upstream commit 9d42c3ee3ce37cdad6f98c9e77bfbd0d791ac7da ]
The iommu@fe043e00 on RK356x SoC shares the VOP power domain, but the power-domains property was not provided when the node has been added.
The consequence is that an attempt to reload the rockchipdrm module will freeze the entire system. That is because on probe time, pm_runtime_get_suppliers() gets called for vop@fe040000, which blocks when pm_runtime_get_sync() is being invoked for iommu@fe043e00.
Fix the issue by adding the missing property.
--- arch/arm64/boot/dts/rockchip/rk356x.dtsi | 1 + 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/rockchip/rk356x.dtsi +1 -0
@@ -790,6 +790,7 @@ vop_mmu: iommu@fe043e00 { clocks = <&cru ACLK_VOP>, <&cru HCLK_VOP>; clock-names = "aclk", "iface"; #iommu-cells = <0>; + power-domains = <&power RK3568_PD_VO>; status = "disabled"; };
Signature · 1 line
2.43.0