This is the start of the stable review cycle for the 6.6.24 release.
There are 396 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.
Responses should be made by Wed, 03 Apr 2024 15:24:46 +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.6.24-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.6.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <[email protected]>
Linux 6.6.24-rc1
Natanael Copa <[email protected]>
tools/resolve_btfids: fix build with musl libc
Kevin Loughlin <[email protected]>
x86/sev: Skip ROM range scans and validation for SEV-SNP guests
Xingui Yang <[email protected]>
scsi: libsas: Fix disk not being scanned in after being removed
Xingui Yang <[email protected]>
scsi: libsas: Add a helper sas_get_sas_addr_and_dev_type()
Muhammad Usama Anjum <[email protected]>
scsi: lpfc: Correct size for wqe for memset()
Muhammad Usama Anjum <[email protected]>
scsi: lpfc: Correct size for cmdwqe/rspwqe for memset()
Heikki Krogerus <[email protected]>
usb: dwc3: pci: Drop duplicate ID
Dave Hansen <[email protected]>
Revert "x86/bugs: Use fixed addressing for VERW operand"
Pawan Gupta <[email protected]>
x86/bugs: Use fixed addressing for VERW operand
Quinn Tran <[email protected]>
scsi: qla2xxx: Delay I/O Abort on PCI error
Saurav Kashyap <[email protected]>
scsi: qla2xxx: Change debug message during driver unload
Saurav Kashyap <[email protected]>
scsi: qla2xxx: Fix double free of fcport
Saurav Kashyap <[email protected]>
scsi: qla2xxx: Fix double free of the ha->vp_map pointer
Quinn Tran <[email protected]>
scsi: qla2xxx: Fix command flush on cable pull
Quinn Tran <[email protected]>
scsi: qla2xxx: NVME|FCP prefer flag not being honored
Bikash Hazarika <[email protected]>
scsi: qla2xxx: Update manufacturer detail
Quinn Tran <[email protected]>
scsi: qla2xxx: Split FCE|EFT trace control
Quinn Tran <[email protected]>
scsi: qla2xxx: Fix N2N stuck connection
Quinn Tran <[email protected]>
scsi: qla2xxx: Prevent command send on chip reset
Christian A. Ehrhardt <[email protected]>
usb: typec: ucsi: Clear UCSI_CCI_RESET_COMPLETE before reset
Christian A. Ehrhardt <[email protected]>
usb: typec: ucsi_acpi: Refactor and fix DELL quirk
Christian A. Ehrhardt <[email protected]>
usb: typec: ucsi: Ack unsupported commands
Christian A. Ehrhardt <[email protected]>
usb: typec: ucsi: Check for notifications after init
Christian A. Ehrhardt <[email protected]>
usb: typec: ucsi: Clear EVENT_PENDING under PPM lock
Kyle Tso <[email protected]>
usb: typec: Return size of buffer if pd_set operation succeeds
yuan linyu <[email protected]>
usb: udc: remove warning when queue disabled ep
Minas Harutyunyan <[email protected]>
usb: dwc2: gadget: LPM flow fix
Minas Harutyunyan <[email protected]>
usb: dwc2: gadget: Fix exiting from clock gating
Minas Harutyunyan <[email protected]>
usb: dwc2: host: Fix ISOC flow in DDMA mode
Minas Harutyunyan <[email protected]>
usb: dwc2: host: Fix hibernation flow
Minas Harutyunyan <[email protected]>
usb: dwc2: host: Fix remote wakeup from hibernation
Alan Stern <[email protected]>
USB: core: Fix deadlock in port "disable" sysfs attribute
Alan Stern <[email protected]>
USB: core: Add hub_get() and hub_put() routines
Alan Stern <[email protected]>
USB: core: Fix deadlock in usb_deauthorize_interface()
Thinh Nguyen <[email protected]>
usb: dwc3: Properly set system wakeup
Dan Carpenter <[email protected]>
staging: vc04_services: fix information leak in create_component()
Arnd Bergmann <[email protected]>
staging: vc04_services: changen strncpy() to strscpy_pad()
Guilherme G. Piccoli <[email protected]>
scsi: core: Fix unremoved procfs host directory regression
Alexander Wetzel <[email protected]>
scsi: sg: Avoid sg device teardown race
Damien Le Moal <[email protected]>
scsi: sd: Fix TCG OPAL unlock on system resume
Duoming Zhou <[email protected]>
ALSA: sh: aica: reorder cleanup operations to avoid UAF bugs
Brett Creeley <[email protected]>
vfio/pds: Make sure migration file isn't accessed after reset
Ilya Bakoulin <[email protected]>
drm/amd/display: Clear OPTC mem select on disable
George Shen <[email protected]>
drm/amd/display: Disconnect phantom pipe OPP from OPTC being disabled
Ilya Bakoulin <[email protected]>
drm/amd/display: Fix hang/underflow when transitioning to ODM4:1
Weitao Wang <[email protected]>
USB: UAS: return ENODEV when submit urbs fail with device not attached
Oliver Neukum <[email protected]>
usb: cdc-wdm: close race between read and workqueue
Alexander Stein <[email protected]>
Revert "usb: phy: generic: Get the vbus supply"
Ezra Buehler <[email protected]>
mtd: spinand: Add support for 5-byte IDs
Luiz Augusto von Dentz <[email protected]>
Bluetooth: hci_sync: Fix not checking error on hci_cmd_sync_cancel_sync
Chris Wilson <[email protected]>
drm/i915/gt: Reset queue_priority_hint on parking
Jonathon Hall <[email protected]>
drm/i915: Do not match JSL in ehl_combo_pll_div_frac_wa_needed()
Ville Syrjälä <[email protected]>
drm/i915/dsi: Go back to the previous INIT_OTP/DISPLAY_ON order, mostly
Ville Syrjälä <[email protected]>
drm/i915/bios: Tolerate devdata==NULL in intel_bios_encoder_supports_dp_dual_mode()
Janusz Krzysztofik <[email protected]>
drm/i915/hwmon: Fix locking inversion in sysfs getter
Johannes Weiner <[email protected]>
drm/amdgpu: fix deadlock while reading mqd from debugfs
Eric Huang <[email protected]>
drm/amdkfd: fix TLB flush after unmap for GFX9.4.2
Jocelyn Falempe <[email protected]>
drm/vmwgfx: Create debugfs ttm_resource_manager entry only if needed
Claus Hansen Ries <[email protected]>
net: ll_temac: platform_get_resource replaced by wrong function
Duoming Zhou <[email protected]>
nouveau/dmem: handle kcalloc() allocation failure
Ye Zhang <[email protected]>
thermal: devfreq_cooling: Fix perf state when calculate dfc res_util
Damien Le Moal <[email protected]>
block: Do not force full zone append completion in req_bio_endio()
Liming Sun <[email protected]>
sdhci-of-dwcmshc: disable PM runtime in dwcmshc_remove()
Mikko Rapeli <[email protected]>
mmc: core: Avoid negative index with array access
Mikko Rapeli <[email protected]>
mmc: core: Initialize mmc_blk_ioc_data
Romain Naour <[email protected]>
mmc: sdhci-omap: re-tuning is needed after a pm transition to support emmc HS200 mode
Edward Liaw <[email protected]>
selftests/mm: fix ARM related issue with fork after pthread_create
Edward Liaw <[email protected]>
selftests/mm: sigbus-wp test requires UFFD_FEATURE_WP_HUGETLBFS_SHMEM
Johannes Weiner <[email protected]>
mm: cachestat: fix two shmem bugs
Nathan Chancellor <[email protected]>
hexagon: vmlinux.lds.S: handle attributes section
Max Filippov <[email protected]>
exec: Fix NOMMU linux_binprm::exec in transfer_args_to_stack()
Bartosz Golaszewski <[email protected]>
gpio: cdev: sanitize the label before requesting the interrupt
Harry Wentland <[email protected]>
Revert "drm/amd/display: Fix sending VSC (+ colorimetry) packets for DP/eDP displays without PSR"
Johannes Berg <[email protected]>
wifi: iwlwifi: fw: don't always use FW dump trig
Johannes Berg <[email protected]>
wifi: iwlwifi: mvm: disable MLO for the time being
Johannes Berg <[email protected]>
wifi: cfg80211: add a flag to disable wireless extensions
Felix Fietkau <[email protected]>
wifi: mac80211: check/clear fast rx for non-4addr sta VLAN changes
Johannes Thumshirn <[email protected]>
btrfs: zoned: use zone aware sb location for scrub
Johannes Thumshirn <[email protected]>
btrfs: zoned: don't skip block groups with 100% zone unusable
Tavian Barnes <[email protected]>
btrfs: fix race in read_extent_buffer_pages()
Carlos Maiolino <[email protected]>
tmpfs: fix race on handling dquot rbtree
Zev Weiss <[email protected]>
ARM: prctl: reject PR_SET_MDWE on pre-ARMv6
Zev Weiss <[email protected]>
prctl: generalize PR_SET_MDWE support check to be per-arch
Ard Biesheuvel <[email protected]>
x86/efistub: Reinstate soft limit for initrd loading
Ard Biesheuvel <[email protected]>
efi/libstub: Cast away type warning in use of max()
Ard Biesheuvel <[email protected]>
x86/efistub: Add missing boot_params for mixed mode compat entry
John Sperbeck <[email protected]>
init: open /initrd.image with O_LARGEFILE
Gergo Koteles <[email protected]>
ALSA: hda/tas2781: add locks to kcontrols
Gergo Koteles <[email protected]>
ALSA: hda/tas2781: remove digital gain kcontrol
Kan Liang <[email protected]>
perf top: Use evsel's cpus to replace user_requested_cpus
Vitaly Chikunov <[email protected]>
selftests/mm: Fix build with _FORTIFY_SOURCE
Muhammad Usama Anjum <[email protected]>
selftests/mm: gup_test: conform test to TAP format output
Zoltan HERPAI <[email protected]>
pwm: img: fix pwm clock lookup
Oleksandr Tymoshenko <[email protected]>
efi: fix panic in kdump kernel
Adamos Ttofari <[email protected]>
x86/fpu: Keep xfd_state in sync with MSR_IA32_XFD
Thomas Gleixner <[email protected]>
x86/mpparse: Register APIC address only once
KONDO KAZUMA(近藤 和真) <[email protected]>
efi/libstub: fix efi_random_alloc() to allocate memory at alloc_min or higher address
Masami Hiramatsu (Google) <[email protected]>
kprobes/x86: Use copy_from_kernel_nofault() to read from unsafe address
Biju Das <[email protected]>
irqchip/renesas-rzg2l: Prevent spurious interrupts when setting trigger type
Biju Das <[email protected]>
irqchip/renesas-rzg2l: Rename rzg2l_irq_eoi()
Biju Das <[email protected]>
irqchip/renesas-rzg2l: Rename rzg2l_tint_eoi()
Claudiu Beznea <[email protected]>
irqchip/renesas-rzg2l: Add macro to retrieve TITSR register offset based on register's index
Biju Das <[email protected]>
irqchip/renesas-rzg2l: Flush posted write in irq_eoi()
Claudiu Beznea <[email protected]>
irqchip/renesas-rzg2l: Implement restriction when writing ISCR register
John Ogness <[email protected]>
printk: Update @console_may_schedule in console_trylock_spinning()
Nicolin Chen <[email protected]>
iommu/dma: Force swiotlb_max_mapping_size on an untrusted device
Will Deacon <[email protected]>
swiotlb: Fix alignment checks when both allocation and DMA masks are present
Will Deacon <[email protected]>
swiotlb: Honour dma_alloc_coherent() alignment in swiotlb_alloc()
Will Deacon <[email protected]>
swiotlb: Fix double-allocation of slots due to broken alignment handling
André Rösti <[email protected]>
entry: Respect changes to system call number by trace_sys_enter()
Yongqiang Liu <[email protected]>
ARM: 9359/1: flush: check if the folio is reserved for no-mapping addresses
Ard Biesheuvel <[email protected]>
ARM: 9352/1: iwmmxt: Remove support for PJ4/PJ4B cores
Martin Blumenstingl <[email protected]>
clocksource/drivers/arm_global_timer: Fix maximum prescaler value
Ard Biesheuvel <[email protected]>
x86/sev: Fix position dependent variable references in startup code
Borislav Petkov (AMD) <[email protected]>
x86/Kconfig: Remove CONFIG_AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT
Alex Williamson <[email protected]>
vfio/fsl-mc: Block calling interrupt handler without trigger
Alex Williamson <[email protected]>
vfio/platform: Create persistent IRQ handlers
Alex Williamson <[email protected]>
vfio/pci: Create persistent INTx handler
Alex Williamson <[email protected]>
vfio: Introduce interface to flush virqfd inject workqueue
Josef Bacik <[email protected]>
btrfs: fix deadlock with fiemap and extent locking
Darrick J. Wong <[email protected]>
xfs: remove conditional building of rt geometry validator functions
Andrey Albershteyn <[email protected]>
xfs: reset XFS_ATTR_INCOMPLETE filter on node removal
Zhang Tianci <[email protected]>
xfs: update dir3 leaf block metadata after swap
Jiachen Zhang <[email protected]>
xfs: ensure logflagsp is initialized in xfs_bmap_del_extent_real
Long Li <[email protected]>
xfs: fix perag leak when growfs fails
Long Li <[email protected]>
xfs: add lock protection when remove perag from radix tree
Eric Sandeen <[email protected]>
xfs: short circuit xfs_growfs_data_private() if delta is zero
Dave Chinner <[email protected]>
xfs: initialise di_crc in xfs_log_dinode
Darrick J. Wong <[email protected]>
xfs: add missing nrext64 inode flag check to scrub
Darrick J. Wong <[email protected]>
xfs: force all buffers to be written during btree bulk load
Darrick J. Wong <[email protected]>
xfs: fix an off-by-one error in xreap_agextent_binval
Darrick J. Wong <[email protected]>
xfs: recompute growfsrtfree transaction reservation while growing rt volume
Darrick J. Wong <[email protected]>
xfs: remove unused fields from struct xbtree_ifakeroot
Darrick J. Wong <[email protected]>
xfs: make xchk_iget safer in the presence of corrupt inode btrees
Darrick J. Wong <[email protected]>
xfs: don't allow overly small or large realtime volumes
Darrick J. Wong <[email protected]>
xfs: fix 32-bit truncation in xfs_compute_rextslog
Darrick J. Wong <[email protected]>
xfs: make rextslog computation consistent with mkfs
Darrick J. Wong <[email protected]>
xfs: transfer recovered intent item ownership in ->iop_recover
Darrick J. Wong <[email protected]>
xfs: pass the xfs_defer_pending object to iop_recover
Darrick J. Wong <[email protected]>
xfs: use xfs_defer_pending objects to recover intent items
Darrick J. Wong <[email protected]>
xfs: don't leak recovered attri intent items
Christoph Hellwig <[email protected]>
xfs: consider minlen sized extents in xfs_rtallocate_extent_block
Darrick J. Wong <[email protected]>
xfs: convert rt bitmap extent lengths to xfs_rtbxlen_t
Darrick J. Wong <[email protected]>
xfs: move the xfs_rtbitmap.c declarations to xfs_rtbitmap.h
Bitterblue Smith <[email protected]>
wifi: rtw88: 8821cu: Fix connection failure
Johannes Berg <[email protected]>
wifi: iwlwifi: pcie: fix RB status reading
Jiawei Wang <[email protected]>
ASoC: amd: yc: Revert "Fix non-functional mic on Lenovo 21J2"
Ard Biesheuvel <[email protected]>
x86/efistub: Call mixed mode boot services on the firmware's stack
Alex Deucher <[email protected]>
drm/amd/display: handle range offsets in VRR ranges
Ville Syrjälä <[email protected]>
drm/i915: Don't explode when the dig port we don't have an AUX CH
Jean-Baptiste Maneyrol <[email protected]>
iio: imu: inv_mpu6050: fix FIFO parsing when empty
Jean-Baptiste Maneyrol <[email protected]>
iio: imu: inv_mpu6050: fix frequency setting when chip is off
Heiner Kallweit <[email protected]>
i2c: i801: Avoid potential double call to gpiod_remove_lookup_table
Cosmin Tanislav <[email protected]>
iio: accel: adxl367: fix I2C FIFO data register
Cosmin Tanislav <[email protected]>
iio: accel: adxl367: fix DEVID read after reset
Johan Hovold <[email protected]>
arm64: dts: qcom: sc8280xp-x13s: limit pcie4 link speed
Vlastimil Babka <[email protected]>
mm, vmscan: prevent infinite loop for costly GFP_NOIO | __GFP_RETRY_MAYFAIL allocations
Fabio Estevam <[email protected]>
ARM: imx_v6_v7_defconfig: Restore CONFIG_BACKLIGHT_CLASS_DEVICE
Sumit Garg <[email protected]>
tee: optee: Fix kernel panic caused by incorrect error handling
Andy Chi <[email protected]>
ALSA: hda/realtek: fix mute/micmute LEDs for HP EliteBook
Kailang Yang <[email protected]>
ALSA: hda/realtek - Add Headset Mic supported Acer NB platform
Bart Van Assche <[email protected]>
fs/aio: Check IOCB_AIO_RW before the struct aio_kiocb conversion
Douglas Anderson <[email protected]>
Revert "tty: serial: simplify qcom_geni_serial_send_chunk_fifo()"
Nicolas Pitre <[email protected]>
vt: fix unicode buffer corruption when deleting characters
Alexander Usyskin <[email protected]>
mei: me: add arrow lake point H DID
Alexander Usyskin <[email protected]>
mei: me: add arrow lake point S DID
Yicong Yang <[email protected]>
serial: port: Don't suspend if the port is still busy
Ekansh Gupta <[email protected]>
misc: fastrpc: Pass proper arguments to scm call
Hans de Goede <[email protected]>
misc: lis3lv02d_i2c: Fix regulators getting en-/dis-abled twice on suspend/resume
Peter Collingbourne <[email protected]>
serial: 8250_dw: Do not reclock if already at correct rate
Sherry Sun <[email protected]>
tty: serial: fsl_lpuart: avoid idle preamble pending if CTS is enabled
Mathias Nyman <[email protected]>
xhci: Fix failure to detect ring expansion need.
Mathias Nyman <[email protected]>
usb: port: Don't try to peer unused USB ports based on location
Krishna Kurapati <[email protected]>
usb: gadget: ncm: Fix handling of zero block length packets
RD Babiera <[email protected]>
usb: typec: altmodes/displayport: create sysfs nodes as driver's default device attribute group
Alan Stern <[email protected]>
USB: usb-storage: Prevent divide-by-0 error in isd200_ata_command
Kailang Yang <[email protected]>
ALSA: hda/realtek - Fix headset Mic no show at resume back for Lenovo ALC897 platform
Nirmoy Das <[email protected]>
drm/i915: Check before removing mm notifier
Rickard x Andersson <[email protected]>
tty: serial: imx: Fix broken RS485
Ma Jun <[email protected]>
drm/amdgpu/pm: Fix the error of pwm1_enable setting
Steven Rostedt (Google) <[email protected]>
tracing: Use .flush() call to wake up readers
Paolo Bonzini <[email protected]>
SEV: disable SEV-ES DebugSwap by default
Sean Christopherson <[email protected]>
KVM: SVM: Flush pages under kvm->lock to fix UAF in svm_register_enc_region()
Sean Christopherson <[email protected]>
KVM: x86: Mark target gfn of emulated atomic instruction as dirty
Edmund Raile <[email protected]>
firewire: ohci: prevent leak of left-over IRQ on unbind
Kees Cook <[email protected]>
init/Kconfig: lower GCC version check for -Warray-bounds
Max Nguyen <[email protected]>
Input: xpad - add additional HyperX Controller Identifiers
Kamalesh Babulal <[email protected]>
cgroup/cpuset: Fix retval in update_cpumask()
Badhri Jagan Sridharan <[email protected]>
usb: typec: tpcm: Fix PORT_RESET behavior for self powered devices
Geliang Tang <[email protected]>
selftests: mptcp: diag: return KSFT_FAIL not test_cnt
Vlastimil Babka <[email protected]>
mm, mmap: fix vma_merge() case 7 with vma_ops->close
Nathan Chancellor <[email protected]>
xfrm: Avoid clang fortify warning in copy_to_user_tmpl()
Andrey Skvortsov <[email protected]>
crypto: sun8i-ce - Fix use after free in unprepare
Herbert Xu <[email protected]>
crypto: rk3288 - Fix use after free in unprepare
Karol Herbst <[email protected]>
drm/nouveau: fix stale locked mutex in nouveau_gem_ioctl_pushbuf
Dave Airlie <[email protected]>
nouveau: lock the client object tree.
Michael Kelley <[email protected]>
Drivers: hv: vmbus: Calculate ring buffer size for more efficient use of memory
Pablo Neira Ayuso <[email protected]>
netfilter: nf_tables: reject constant set with timeout
Pablo Neira Ayuso <[email protected]>
netfilter: nf_tables: disallow anonymous set with timeout flag
Pablo Neira Ayuso <[email protected]>
netfilter: nf_tables: mark set as dead when unbinding anonymous set with timeout
Heng Guo <[email protected]>
net: fix IPSTATS_MIB_OUTPKGS increment in OutForwDatagrams.
Mario Limonciello <[email protected]>
drm/amd/display: Use freesync when `DRM_EDID_FEATURE_CONTINUOUS_FREQ` found
Audra Mitchell <[email protected]>
workqueue: Shorten events_freezable_power_efficient name
Jani Nikula <[email protected]>
drm/bridge: lt8912b: do not return negative values from .get_modes()
Jani Nikula <[email protected]>
drm/bridge: lt8912b: clear the EDID property on failures
Jani Nikula <[email protected]>
drm/bridge: lt8912b: use drm_bridge_edid_read()
Jani Nikula <[email protected]>
drm/bridge: add ->edid_read hook and drm_bridge_edid_read()
Zack Rusin <[email protected]>
drm/ttm: Make sure the mapped tt pages are decrypted when needed
Hector Martin <[email protected]>
wifi: brcmfmac: Demote vendor-specific attach/detach messages to info
Hector Martin <[email protected]>
wifi: brcmfmac: cfg80211: Use WSEC to set SAE password
Arend van Spriel <[email protected]>
wifi: brcmfmac: add per-vendor feature detection callback
Anton Altaparmakov <[email protected]>
x86/pm: Work around false positive kmemleak report in msr_build_context()
Mikulas Patocka <[email protected]>
dm snapshot: fix lockup in dm_exception_table_exit
Leo Ma <[email protected]>
drm/amd/display: Fix noise issue on HDMI AV mute
Rodrigo Siqueira <[email protected]>
drm/amd/display: Return the correct HDCP error code
Philip Yang <[email protected]>
drm/amdgpu: amdgpu_ttm_gart_bind set gtt bound flag
Conrad Kostecki <[email protected]>
ahci: asm1064: asm1166: don't limit reported ports
Andrey Jr. Melnikov <[email protected]>
ahci: asm1064: correct count of reported ports
Jason A. Donenfeld <[email protected]>
wireguard: selftests: set RISCV_ISA_FALLBACK on riscv{32,64}
Jason A. Donenfeld <[email protected]>
wireguard: netlink: access device through ctx instead of peer
Jason A. Donenfeld <[email protected]>
wireguard: netlink: check for dangling peer via is_dead instead of empty list
Yuli Wang <[email protected]>
LoongArch/crypto: Clean up useless assignment operations
Huacai Chen <[email protected]>
LoongArch: Define the __io_aw() hook as mmiowb()
Huacai Chen <[email protected]>
LoongArch: Change __my_cpu_offset definition to avoid mis-optimization
David Hildenbrand <[email protected]>
virtio: reenable config if freezing device failed
Alison Schofield <[email protected]>
cxl/trace: Properly initialize cxl_poison region name
Steven Rostedt (Google) <[email protected]>
net: hns3: tracing: fix hclgevf trace event strings
Steven Rostedt (Google) <[email protected]>
drm/i915: Add missing ; to __assign_str() macros in tracepoint code
Steven Rostedt (Google) <[email protected]>
NFSD: Fix nfsd_clid_class use of __string_len() macro
Dragos Tatulea <[email protected]>
net: esp: fix bad handling of pages from page_pool
Borislav Petkov (AMD) <[email protected]>
x86/CPU/AMD: Update the Zenbleed microcode revisions
Marek Szyprowski <[email protected]>
cpufreq: dt: always allocate zeroed cpumask
Miquel Raynal <[email protected]>
mtd: rawnand: Constrain even more when continuous reads are enabled
Miquel Raynal <[email protected]>
mtd: rawnand: Fix and simplify again the continuous read derivations
Eugene Korenevsky <[email protected]>
cifs: open_cached_dir(): add FILE_READ_EA to desired access
Shyam Prasad N <[email protected]>
cifs: reduce warning log level for server not advertising interfaces
Dan Carpenter <[email protected]>
cifs: make cifs_chan_update_iface() a void function
Dan Carpenter <[email protected]>
cifs: delete unnecessary NULL checks in cifs_chan_update_iface()
Shyam Prasad N <[email protected]>
cifs: do not let cifs_chan_update_iface deallocate channels
Shyam Prasad N <[email protected]>
cifs: make sure server interfaces are requested only for SMB3+
Shyam Prasad N <[email protected]>
cifs: add xid to query server interface call
Ryusuke Konishi <[email protected]>
nilfs2: prevent kernel bug at submit_bh_wbc()
Ryusuke Konishi <[email protected]>
nilfs2: fix failure to detect DAT corruption in btree and direct mappings
Sunmin Jeong <[email protected]>
f2fs: truncate page cache before clearing flags when aborting atomic write
Sunmin Jeong <[email protected]>
f2fs: mark inode dirty for FI_ATOMIC_COMMITTED flag
Bart Van Assche <[email protected]>
Revert "block/mq-deadline: use correct way to throttling write requests"
Qiang Zhang <[email protected]>
memtest: use {READ,WRITE}_ONCE in memory scanning
Jani Nikula <[email protected]>
drm/vc4: hdmi: do not return negative values from .get_modes()
Jani Nikula <[email protected]>
drm/imx/ipuv3: do not return negative values from .get_modes()
Jani Nikula <[email protected]>
drm/exynos: do not return negative values from .get_modes()
Jani Nikula <[email protected]>
drm/panel: do not return negative error codes from drm_panel_get_modes()
Jani Nikula <[email protected]>
drm/probe-helper: warn about negative .get_modes()
Harald Freudenberger <[email protected]>
s390/zcrypt: fix reference counting on zcrypt card objects
Sean Anderson <[email protected]>
soc: fsl: qbman: Use raw spinlock for cgr_lock
Sean Anderson <[email protected]>
soc: fsl: qbman: Always disable interrupts when taking cgr_lock
Alexander Aring <[email protected]>
dlm: fix user space lkb refcounting
Steven Rostedt (Google) <[email protected]>
ring-buffer: Use wait_event_interruptible() in ring_buffer_wait()
Steven Rostedt (Google) <[email protected]>
ring-buffer: Fix full_waiters_pending in poll
Steven Rostedt (Google) <[email protected]>
ring-buffer: Fix resetting of shortest_full
Steven Rostedt (Google) <[email protected]>
ring-buffer: Do not set shortest_full when full target is hit
Steven Rostedt (Google) <[email protected]>
ring-buffer: Fix waking up ring buffer readers
Pavel Begunkov <[email protected]>
io_uring: clean rings on NO_MMAP alloc fail
Srinivas Pandruvada <[email protected]>
platform/x86/intel/tpmi: Change vsec offset to u64
Marios Makassikis <[email protected]>
ksmbd: retrieve number of blocks using vfs_getattr in set_file_allocation_info
Marios Makassikis <[email protected]>
ksmbd: replace generic_fillattr with vfs_getattr
Jeff Layton <[email protected]>
server: convert to new timestamp accessors
Lino Sanfilippo <[email protected]>
tpm,tpm_tis: Avoid warning splat at shutdown
Alex Williamson <[email protected]>
vfio/platform: Disable virqfds on cleanup
Alex Williamson <[email protected]>
vfio/pci: Lock external INTx masking ops
Alex Williamson <[email protected]>
vfio/pci: Disable auto-enable of exclusive INTx IRQ
Frank Wunderlich <[email protected]>
thermal/drivers/mediatek: Fix control buffer enablement on MT7896
Steve French <[email protected]>
cifs: allow changing password during remount
Bharath SM <[email protected]>
cifs: prevent updating file size from server if we have a read/write lease
Paulo Alcantara <[email protected]>
smb: client: stop revalidating reparse points unnecessarily
Michael Kelley <[email protected]>
PCI: hv: Fix ring buffer size calculation
Niklas Cassel <[email protected]>
PCI: dwc: endpoint: Fix advertised resizable BAR size
Manivannan Sadhasivam <[email protected]>
PCI: qcom: Enable BDF to SID translation properly
Nathan Chancellor <[email protected]>
kbuild: Move -Wenum-{compare-conditional,enum-conversion} into W=1
Benjamin Coddington <[email protected]>
NFS: Read unlock folio on nfs_page_create_from_folio() error
Josef Bacik <[email protected]>
nfs: fix UAF in direct writes
Sam Ravnborg <[email protected]>
sparc32: Fix parport build with sparc32
Pavel Begunkov <[email protected]>
io_uring: fix mshot io-wq checks
Jens Axboe <[email protected]>
io_uring/net: correctly handle multishot recvmsg retry setup
Stanislaw Gruszka <[email protected]>
PCI/AER: Block runtime suspend when handling errors
Samuel Thibault <[email protected]>
speakup: Fix 8bit characters from direct synth
Wayne Chang <[email protected]>
usb: gadget: tegra-xudc: Fix USB3 PHY retrieval logic
Wayne Chang <[email protected]>
phy: tegra: xusb: Add API to retrieve the port number of phy
Christophe JAILLET <[email protected]>
slimbus: core: Remove usage of the deprecated ida_simple_xx() API
Jerome Brunet <[email protected]>
nvmem: meson-efuse: fix function pointer type mismatch
Maximilian Heyne <[email protected]>
ext4: fix corruption during on-line resize
Josua Mayer <[email protected]>
hwmon: (amc6821) add of_match table
Mickaël Salaün <[email protected]>
landlock: Warn once if a Landlock action is requested while disabled
Christian Gmeiner <[email protected]>
drm/etnaviv: Restore some id values
Christian Marangi <[email protected]>
leds: trigger: netdev: Fix kernel panic on interface rename trig notify
Marcel Ziswiler <[email protected]>
Bluetooth: btnxpuart: Fix btnxpuart_close
Dominique Martinet <[email protected]>
mmc: core: Fix switch on gp3 partition
Ryan Roberts <[email protected]>
mm: swap: fix race between free_swap_and_cache() and swapoff()
Fedor Pchelkin <[email protected]>
mac802154: fix llsec key resources release in mac802154_llsec_key_del
Tony Battersby <[email protected]>
block: Fix page refcounts for unaligned buffers in __bio_release_pages()
Nathan Chancellor <[email protected]>
powerpc: xor_vmx: Add '-mhard-float' to CFLAGS
Yu Kuai <[email protected]>
dm-raid: fix lockdep waring in "pers->hot_add_disk"
Jarred White <[email protected]>
ACPI: CPPC: Use access_width over bit_width for system memory accesses
Paul Menzel <[email protected]>
PCI/DPC: Quirk PIO log size for Intel Raptor Lake Root Ports
Rafael J. Wysocki <[email protected]>
PCI/PM: Drain runtime-idle callbacks before driver removal
Nick Morrow <[email protected]>
wifi: rtw88: Add missing VID/PIDs for 8811CU and 8821CU
Filipe Manana <[email protected]>
btrfs: fix off-by-one chunk length calculation at contains_pending_extent()
Qu Wenruo <[email protected]>
btrfs: qgroup: always free reserved space for extent records
Peter Collingbourne <[email protected]>
serial: Lock console when calling into driver before registration
Jonas Gorski <[email protected]>
serial: core: only stop transmit when HW fifo is empty
Roger Quadros <[email protected]>
usb: dwc3-am62: Disable wakeup at remove
Roger Quadros <[email protected]>
usb: dwc3-am62: fix module unload/reload behavior
Jameson Thies <[email protected]>
usb: typec: ucsi: Clean up UCSI_CABLE_PROP macros
Miklos Szeredi <[email protected]>
fuse: don't unhash root
Miklos Szeredi <[email protected]>
fuse: fix root lookup with nonzero generation
Miklos Szeredi <[email protected]>
fuse: replace remaining make_bad_inode() with fuse_make_bad()
Wolfram Sang <[email protected]>
mmc: tmio: avoid concurrent runs of mmc_request_done()
Qingliang Li <[email protected]>
PM: sleep: wakeirq: fix wake irq warning in system suspend
Toru Katagiri <[email protected]>
USB: serial: cp210x: add pid/vid for TDK NC0110013M and MM0110113M
David Woodhouse <[email protected]>
KVM: x86/xen: inject vCPU upcall vector when local APIC is enabled
Aurélien Jacobs <[email protected]>
USB: serial: option: add MeiG Smart SLM320 product
Christian Häggström <[email protected]>
USB: serial: cp210x: add ID for MGP Instruments PDS100
Cameron Williams <[email protected]>
USB: serial: add device ID for VeriFone adapter
Daniel Vogelbacher <[email protected]>
USB: serial: ftdi_sio: add support for GMC Z216C Adapter IR-USB
Michael Ellerman <[email protected]>
powerpc/fsl: Fix mfpmr build errors with newer binutils
Prashanth K <[email protected]>
usb: xhci: Add error handling in xhci_map_urb_for_dma
Gabor Juhos <[email protected]>
clk: qcom: mmcc-msm8974: fix terminating of frequency table arrays
Gabor Juhos <[email protected]>
clk: qcom: mmcc-apq8084: fix terminating of frequency table arrays
Gabor Juhos <[email protected]>
clk: qcom: gcc-ipq9574: fix terminating of frequency table arrays
Gabor Juhos <[email protected]>
clk: qcom: gcc-ipq8074: fix terminating of frequency table arrays
Gabor Juhos <[email protected]>
clk: qcom: gcc-ipq6018: fix terminating of frequency table arrays
Gabor Juhos <[email protected]>
clk: qcom: gcc-ipq5018: fix terminating of frequency table arrays
Brett Creeley <[email protected]>
vfio/pds: Always clear the save/restore FDs on reset
Maulik Shah <[email protected]>
PM: suspend: Set mem_sleep_current during kernel command line setup
Shivnandan Kumar <[email protected]>
cpufreq: Limit resolving a frequency to policy min/max
Akira Yokosawa <[email protected]>
docs: Restore "smart quotes" for quotes
Quentin Schulz <[email protected]>
iio: adc: rockchip_saradc: use mask for write_enable bitfield
Quentin Schulz <[email protected]>
iio: adc: rockchip_saradc: fix bitmask for channels on SARADCv2
Gui-Dong Han <[email protected]>
md/raid5: fix atomicity violation in raid5_cache_count
Guenter Roeck <[email protected]>
parisc: Strip upper 32 bit of sum in csum_ipv6_magic for 64-bit builds
Guenter Roeck <[email protected]>
parisc: Fix csum_ipv6_magic on 64-bit systems
Guenter Roeck <[email protected]>
parisc: Fix csum_ipv6_magic on 32-bit systems
Guenter Roeck <[email protected]>
parisc: Fix ip_fast_csum
John David Anglin <[email protected]>
parisc: Avoid clobbering the C/B bits in the PSW with tophys and tovirt macros
Guenter Roeck <[email protected]>
parisc/unaligned: Rewrite 64-bit inline assembly of emulate_ldd()
Breno Leitao <[email protected]>
x86/nmi: Fix the inverse "in NMI handler" check
Heming Zhao <[email protected]>
md/md-bitmap: fix incorrect usage for sb_index
Arseniy Krasnov <[email protected]>
mtd: rawnand: meson: fix scrambling mode value in command macro
Zhang Yi <[email protected]>
ubi: correct the calculation of fastmap size
Richard Weinberger <[email protected]>
ubi: Check for too small LEB size in VTBL code
Matthew Wilcox (Oracle) <[email protected]>
ubifs: Set page uptodate in the correct place
Bernd Schubert <[email protected]>
fuse: fix VM_MAYSHARE and direct_io_allow_mmap
Jan Kara <[email protected]>
fat: fix uninitialized field in nostale filehandles
Matthew Wilcox (Oracle) <[email protected]>
bounds: support non-power-of-two CONFIG_NR_CPUS
Arnd Bergmann <[email protected]>
kasan/test: avoid gcc warning for intentional overflow
Damien Le Moal <[email protected]>
block: Clear zone limits for a non-zoned stacked queue
Baokun Li <[email protected]>
ext4: correct best extent lstart adjustment logic
SeongJae Park <[email protected]>
selftests/mqueue: Set timeout to 180 seconds
Damian Muszynski <[email protected]>
crypto: qat - resolve race condition during AER recovery
Randy Dunlap <[email protected]>
sparc: vDSO: fix return value of __setup handler
Randy Dunlap <[email protected]>
sparc64: NMI watchdog: fix return value of __setup handler
Michael Ellerman <[email protected]>
powerpc/smp: Increase nr_cpu_ids to include the boot CPU
Michael Ellerman <[email protected]>
powerpc/smp: Adjust nr_cpu_ids to cover all threads of a core
Zhang Rui <[email protected]>
powercap: intel_rapl_tpmi: Fix System Domain probing
Zhang Rui <[email protected]>
powercap: intel_rapl_tpmi: Fix a register bug
Zhang Rui <[email protected]>
powercap: intel_rapl: Fix locking in TPMI RAPL
Peter Zijlstra <[email protected]>
sched: Simplify tg_set_cfs_bandwidth()
Zhang Rui <[email protected]>
powercap: intel_rapl: Fix a NULL pointer dereference
Zhang Rui <[email protected]>
thermal/intel: Fix intel_tcc_get_temp() to support negative CPU temperature
Tor Vic <[email protected]>
cpufreq: amd-pstate: Fix min_perf assignment in amd_pstate_adjust_perf()
Krzysztof Kozlowski <[email protected]>
arm64: dts: qcom: sm8550-mtp: correct WCD9385 TX port mapping
Krzysztof Kozlowski <[email protected]>
arm64: dts: qcom: sm8550-qrd: correct WCD9385 TX port mapping
Sean Christopherson <[email protected]>
KVM: Always flush async #PF workqueue when vCPU is being destroyed
Laurent Pinchart <[email protected]>
media: nxp: imx8-isi: Mark all crossbar sink pads as MUST_CONNECT
Laurent Pinchart <[email protected]>
media: mc: Expand MUST_CONNECT flag to always require an enabled link
Laurent Pinchart <[email protected]>
media: mc: Rename pad variable to clarify intent
Laurent Pinchart <[email protected]>
media: mc: Add num_links flag to media_pad
Marek Vasut <[email protected]>
media: nxp: imx8-isi: Check whether crossbar pad is non-NULL before access
Laurent Pinchart <[email protected]>
media: mc: Fix flags handling when creating pad links
Laurent Pinchart <[email protected]>
media: mc: Add local pad to pipeline regardless of the link state
Gui-Dong Han <[email protected]>
media: xc4000: Fix atomicity violation in xc4000_get_frequency
Philipp Stanner <[email protected]>
pci_iounmap(): Fix MMIO mapping leak
Zack Rusin <[email protected]>
drm/vmwgfx: Fix the lifetime of the bo cursor memory
Hugo Villeneuve <[email protected]>
serial: max310x: fix NULL pointer dereference in I2C instantiation
Zack Rusin <[email protected]>
drm/vmwgfx: Fix possible null pointer derefence with invalid contexts
Duje Mihanović <[email protected]>
arm: dts: marvell: Fix maxium->maxim typo in brownstone dts
Roberto Sassu <[email protected]>
smack: Handle SMACK64TRANSMUTE in smack_inode_setsecurity()
Roberto Sassu <[email protected]>
smack: Set SMACK64TRANSMUTE only for dirs in smack_inode_setxattr()
Amit Pundir <[email protected]>
clk: qcom: gcc-sdm845: Add soft dependency on rpmhpd
Joakim Zhang <[email protected]>
remoteproc: virtio: Fix wdg cannot recovery remote processor
Krishna chaitanya chundru <[email protected]>
arm64: dts: qcom: sc7280: Add additional MSI interrupts
Hidenori Kobayashi <[email protected]>
media: staging: ipu3-imgu: Set fields before media_entity_pads_init()
Arend van Spriel <[email protected]>
wifi: brcmfmac: avoid invalid list operation when vendor attach fails
Zheng Wang <[email protected]>
wifi: brcmfmac: Fix use-after-free bug in brcmf_cfg80211_detach
Zack Rusin <[email protected]>
drm/vmwgfx: Unmap the surface before resetting it on a plane state
Jim Mattson <[email protected]>
KVM: x86: Use a switch statement and macros in __feature_translate()
Jim Mattson <[email protected]>
KVM: x86: Advertise CPUID.(EAX=7,ECX=2):EDX[5:0] to userspace
-------------
Diffstat:
Documentation/admin-guide/kernel-parameters.txt | 4 +-
Documentation/arch/x86/amd-memory-encryption.rst | 16 +-
Documentation/conf.py | 6 +-
.../userspace-api/media/mediactl/media-types.rst | 11 +-
Makefile | 4 +-
arch/arm/Kconfig | 4 +-
arch/arm/boot/dts/marvell/mmp2-brownstone.dts | 2 +-
arch/arm/configs/imx_v6_v7_defconfig | 1 +
arch/arm/include/asm/mman.h | 14 ++
arch/arm/kernel/Makefile | 2 -
arch/arm/kernel/iwmmxt.S | 51 ++--
arch/arm/kernel/pj4-cp0.c | 135 -----------
arch/arm/mm/flush.c | 3 +
arch/arm64/boot/dts/qcom/sc7280.dtsi | 12 +-
.../dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 2 +
arch/arm64/boot/dts/qcom/sm8550-mtp.dts | 2 +-
arch/arm64/boot/dts/qcom/sm8550-qrd.dts | 2 +-
arch/hexagon/kernel/vmlinux.lds.S | 1 +
arch/loongarch/crypto/crc32-loongarch.c | 2 -
arch/loongarch/include/asm/Kbuild | 1 +
arch/loongarch/include/asm/io.h | 2 +
arch/loongarch/include/asm/percpu.h | 7 +-
arch/loongarch/include/asm/qspinlock.h | 18 --
arch/parisc/include/asm/assembly.h | 18 +-
arch/parisc/include/asm/checksum.h | 10 +-
arch/parisc/include/asm/mman.h | 14 ++
arch/parisc/kernel/unaligned.c | 27 +--
arch/powerpc/include/asm/reg_fsl_emb.h | 11 +-
arch/powerpc/kernel/prom.c | 12 +
arch/powerpc/lib/Makefile | 2 +-
arch/sparc/include/asm/parport.h | 259 +--------------------
arch/sparc/include/asm/parport_64.h | 256 ++++++++++++++++++++
arch/sparc/kernel/nmi.c | 2 +-
arch/sparc/vdso/vma.c | 7 +-
arch/x86/Kconfig | 13 --
arch/x86/boot/compressed/efi_mixed.S | 29 ++-
arch/x86/coco/core.c | 7 +-
arch/x86/include/asm/asm.h | 14 ++
arch/x86/include/asm/coco.h | 8 +-
arch/x86/include/asm/mem_encrypt.h | 15 +-
arch/x86/include/asm/sev.h | 4 +-
arch/x86/include/asm/suspend_32.h | 10 +-
arch/x86/include/asm/x86_init.h | 3 +-
arch/x86/kernel/cpu/amd.c | 10 +-
arch/x86/kernel/eisa.c | 3 +-
arch/x86/kernel/fpu/xstate.c | 5 +-
arch/x86/kernel/fpu/xstate.h | 14 +-
arch/x86/kernel/kprobes/core.c | 11 +-
arch/x86/kernel/mpparse.c | 10 +-
arch/x86/kernel/nmi.c | 2 +-
arch/x86/kernel/probe_roms.c | 10 -
arch/x86/kernel/setup.c | 3 +-
arch/x86/kernel/sev-shared.c | 12 +-
arch/x86/kernel/sev.c | 31 ++-
arch/x86/kernel/x86_init.c | 2 +
arch/x86/kvm/cpuid.c | 21 +-
arch/x86/kvm/lapic.c | 5 +-
arch/x86/kvm/reverse_cpuid.h | 33 ++-
arch/x86/kvm/svm/sev.c | 25 +-
arch/x86/kvm/x86.c | 10 +
arch/x86/kvm/xen.c | 2 +-
arch/x86/kvm/xen.h | 18 ++
arch/x86/mm/mem_encrypt_amd.c | 18 ++
arch/x86/mm/mem_encrypt_identity.c | 38 ++-
block/bio.c | 7 +-
block/blk-mq.c | 9 +-
block/blk-settings.c | 4 +
block/mq-deadline.c | 3 +-
drivers/accessibility/speakup/synth.c | 4 +-
drivers/acpi/cppc_acpi.c | 31 ++-
drivers/ata/ahci.c | 5 -
drivers/ata/libata-eh.c | 5 +-
drivers/ata/libata-scsi.c | 9 +
drivers/base/power/wakeirq.c | 4 +-
drivers/bluetooth/btnxpuart.c | 3 +
drivers/char/tpm/tpm_tis_core.c | 3 +-
drivers/clk/qcom/gcc-ipq5018.c | 3 +
drivers/clk/qcom/gcc-ipq6018.c | 2 +
drivers/clk/qcom/gcc-ipq8074.c | 2 +
drivers/clk/qcom/gcc-ipq9574.c | 1 +
drivers/clk/qcom/gcc-sdm845.c | 1 +
drivers/clk/qcom/mmcc-apq8084.c | 2 +
drivers/clk/qcom/mmcc-msm8974.c | 2 +
drivers/clocksource/arm_global_timer.c | 2 +-
drivers/cpufreq/amd-pstate.c | 2 +-
drivers/cpufreq/cpufreq-dt.c | 2 +-
.../crypto/allwinner/sun8i-ce/sun8i-ce-cipher.c | 34 +--
drivers/crypto/intel/qat/qat_common/adf_aer.c | 22 +-
drivers/crypto/rockchip/rk3288_crypto_ahash.c | 4 +-
drivers/cxl/core/trace.h | 14 +-
drivers/firewire/ohci.c | 2 +
drivers/firmware/efi/efi.c | 2 +
drivers/firmware/efi/libstub/randomalloc.c | 2 +-
drivers/firmware/efi/libstub/x86-stub.c | 1 +
drivers/gpio/gpiolib-cdev.c | 38 ++-
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | 46 ++--
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 1 +
drivers/gpu/drm/amd/amdkfd/kfd_priv.h | 2 +-
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 49 ++--
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_hwseq.c | 12 +-
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_optc.c | 17 ++
.../gpu/drm/amd/display/modules/hdcp/hdcp_psp.c | 3 +
.../amd/display/modules/info_packet/info_packet.c | 13 +-
drivers/gpu/drm/amd/pm/amdgpu_pm.c | 12 +-
drivers/gpu/drm/bridge/lontium-lt8912b.c | 24 +-
drivers/gpu/drm/drm_bridge.c | 46 +++-
drivers/gpu/drm/drm_panel.c | 17 +-
drivers/gpu/drm/drm_probe_helper.c | 7 +
drivers/gpu/drm/etnaviv/etnaviv_drv.c | 2 +-
drivers/gpu/drm/etnaviv/etnaviv_hwdb.c | 9 +
drivers/gpu/drm/exynos/exynos_drm_vidi.c | 4 +-
drivers/gpu/drm/exynos/exynos_hdmi.c | 4 +-
drivers/gpu/drm/i915/display/icl_dsi.c | 3 +-
drivers/gpu/drm/i915/display/intel_bios.c | 46 +++-
.../drm/i915/display/intel_display_power_well.c | 17 +-
drivers/gpu/drm/i915/display/intel_display_trace.h | 6 +-
drivers/gpu/drm/i915/display/intel_dpll_mgr.c | 2 +-
drivers/gpu/drm/i915/gem/i915_gem_userptr.c | 3 +
drivers/gpu/drm/i915/gt/intel_engine_pm.c | 3 -
.../gpu/drm/i915/gt/intel_execlists_submission.c | 3 +
drivers/gpu/drm/i915/i915_hwmon.c | 37 +--
drivers/gpu/drm/imx/ipuv3/parallel-display.c | 4 +-
drivers/gpu/drm/nouveau/include/nvkm/core/client.h | 1 +
drivers/gpu/drm/nouveau/nouveau_dmem.c | 12 +-
drivers/gpu/drm/nouveau/nouveau_gem.c | 2 +-
drivers/gpu/drm/nouveau/nvkm/core/client.c | 1 +
drivers/gpu/drm/nouveau/nvkm/core/object.c | 26 ++-
drivers/gpu/drm/ttm/ttm_bo_util.c | 13 +-
drivers/gpu/drm/ttm/ttm_tt.c | 13 ++
drivers/gpu/drm/vc4/vc4_hdmi.c | 2 +-
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 15 +-
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | 14 +-
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 17 +-
drivers/hwmon/amc6821.c | 11 +
drivers/i2c/busses/i2c-i801.c | 4 +-
drivers/iio/accel/adxl367.c | 8 +-
drivers/iio/accel/adxl367_i2c.c | 2 +-
drivers/iio/adc/rockchip_saradc.c | 6 +-
drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c | 2 +
drivers/iio/imu/inv_mpu6050/inv_mpu_trigger.c | 5 +
drivers/input/joystick/xpad.c | 6 +
drivers/iommu/dma-iommu.c | 9 +
drivers/irqchip/irq-renesas-rzg2l.c | 93 +++++---
drivers/leds/trigger/ledtrig-netdev.c | 4 +-
drivers/md/dm-raid.c | 2 +
drivers/md/dm-snap.c | 4 +-
drivers/md/md-bitmap.c | 9 +-
drivers/md/raid5.c | 14 +-
drivers/media/mc/mc-entity.c | 93 ++++++--
.../platform/nxp/imx8-isi/imx8-isi-crossbar.c | 4 +-
drivers/media/tuners/xc4000.c | 4 +-
drivers/misc/fastrpc.c | 10 +-
drivers/misc/lis3lv02d/lis3lv02d_i2c.c | 21 +-
drivers/misc/mei/hw-me-regs.h | 2 +
drivers/misc/mei/pci-me.c | 2 +
drivers/mmc/core/block.c | 14 +-
drivers/mmc/host/sdhci-of-dwcmshc.c | 28 ++-
drivers/mmc/host/sdhci-omap.c | 3 +
drivers/mmc/host/tmio_mmc_core.c | 2 +
drivers/mtd/nand/raw/meson_nand.c | 2 +-
drivers/mtd/nand/raw/nand_base.c | 48 ++--
drivers/mtd/ubi/fastmap.c | 7 +-
drivers/mtd/ubi/vtbl.c | 6 +
.../ethernet/hisilicon/hns3/hns3pf/hclge_trace.h | 8 +-
.../ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h | 8 +-
drivers/net/ethernet/xilinx/ll_temac_main.c | 2 +-
drivers/net/wireguard/netlink.c | 10 +-
.../broadcom/brcm80211/brcmfmac/bca/core.c | 15 +-
.../broadcom/brcm80211/brcmfmac/cfg80211.c | 60 ++---
.../broadcom/brcm80211/brcmfmac/cfg80211.h | 2 +
.../broadcom/brcm80211/brcmfmac/cyw/core.c | 33 ++-
.../wireless/broadcom/brcm80211/brcmfmac/feature.c | 3 +
.../wireless/broadcom/brcm80211/brcmfmac/fwil.c | 1 +
.../broadcom/brcm80211/brcmfmac/fwil_types.h | 2 +-
.../wireless/broadcom/brcm80211/brcmfmac/fwvid.c | 14 +-
.../wireless/broadcom/brcm80211/brcmfmac/fwvid.h | 39 ++--
.../broadcom/brcm80211/brcmfmac/wcc/core.c | 16 +-
drivers/net/wireless/intel/iwlwifi/fw/dbg.c | 15 +-
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c | 2 +-
drivers/net/wireless/intel/iwlwifi/pcie/internal.h | 8 +-
drivers/net/wireless/intel/iwlwifi/pcie/rx.c | 2 +-
drivers/net/wireless/intel/iwlwifi/pcie/trans.c | 12 +-
drivers/net/wireless/realtek/rtw88/mac.c | 7 +
drivers/net/wireless/realtek/rtw88/rtw8821cu.c | 46 ++--
drivers/nvmem/meson-efuse.c | 25 +-
drivers/pci/controller/dwc/pcie-designware-ep.c | 7 +-
drivers/pci/controller/dwc/pcie-qcom.c | 10 +
drivers/pci/controller/pci-hyperv.c | 3 +-
drivers/pci/pci-driver.c | 7 +
drivers/pci/pcie/err.c | 20 ++
drivers/pci/quirks.c | 2 +
drivers/phy/tegra/xusb.c | 13 ++
drivers/platform/x86/intel/tpmi.c | 9 +-
drivers/powercap/intel_rapl_common.c | 34 ++-
drivers/powercap/intel_rapl_msr.c | 8 +-
drivers/powercap/intel_rapl_tpmi.c | 15 ++
drivers/pwm/pwm-img.c | 4 +-
drivers/remoteproc/remoteproc_virtio.c | 6 +-
drivers/s390/crypto/zcrypt_api.c | 2 +
drivers/scsi/hosts.c | 7 +-
drivers/scsi/libsas/sas_expander.c | 51 ++--
drivers/scsi/lpfc/lpfc_bsg.c | 4 +-
drivers/scsi/lpfc/lpfc_nvmet.c | 2 +-
drivers/scsi/qla2xxx/qla_attr.c | 14 +-
drivers/scsi/qla2xxx/qla_def.h | 2 +-
drivers/scsi/qla2xxx/qla_gbl.h | 2 +-
drivers/scsi/qla2xxx/qla_init.c | 128 +++++-----
drivers/scsi/qla2xxx/qla_iocb.c | 68 ++++--
drivers/scsi/qla2xxx/qla_mbx.c | 2 +-
drivers/scsi/qla2xxx/qla_os.c | 3 +-
drivers/scsi/qla2xxx/qla_target.c | 10 +
drivers/scsi/scsi_scan.c | 34 +++
drivers/scsi/sd.c | 23 +-
drivers/scsi/sg.c | 4 +-
drivers/slimbus/core.c | 4 +-
drivers/soc/fsl/qbman/qman.c | 25 +-
drivers/staging/media/ipu3/ipu3-v4l2.c | 16 +-
.../staging/vc04_services/vchiq-mmal/mmal-vchiq.c | 5 +-
drivers/tee/optee/device.c | 3 +-
drivers/thermal/devfreq_cooling.c | 2 +-
.../int340x_thermal/processor_thermal_device.c | 8 +-
.../intel/int340x_thermal/processor_thermal_rapl.c | 8 +-
drivers/thermal/intel/intel_tcc.c | 12 +-
drivers/thermal/intel/x86_pkg_temp_thermal.c | 8 +-
drivers/thermal/mediatek/auxadc_thermal.c | 3 +
drivers/tty/serial/8250/8250_dw.c | 6 +-
drivers/tty/serial/8250/8250_port.c | 6 -
drivers/tty/serial/fsl_lpuart.c | 7 +-
drivers/tty/serial/imx.c | 22 +-
drivers/tty/serial/max310x.c | 7 +-
drivers/tty/serial/qcom_geni_serial.c | 10 +-
drivers/tty/serial/serial_core.c | 12 +
drivers/tty/serial/serial_port.c | 25 +-
drivers/tty/vt/vt.c | 2 +-
drivers/usb/class/cdc-wdm.c | 6 +-
drivers/usb/core/hub.c | 23 +-
drivers/usb/core/hub.h | 2 +
drivers/usb/core/port.c | 43 +++-
drivers/usb/core/sysfs.c | 16 +-
drivers/usb/dwc2/core.h | 14 ++
drivers/usb/dwc2/core_intr.c | 72 ++++--
drivers/usb/dwc2/gadget.c | 10 +
drivers/usb/dwc2/hcd.c | 49 +++-
drivers/usb/dwc2/hcd_ddma.c | 17 +-
drivers/usb/dwc2/hw.h | 2 +-
drivers/usb/dwc2/platform.c | 2 +-
drivers/usb/dwc3/core.c | 2 +
drivers/usb/dwc3/core.h | 2 +
drivers/usb/dwc3/dwc3-am62.c | 13 +-
drivers/usb/dwc3/dwc3-pci.c | 2 -
drivers/usb/dwc3/gadget.c | 10 +
drivers/usb/dwc3/host.c | 11 +
drivers/usb/gadget/function/f_ncm.c | 2 +-
drivers/usb/gadget/udc/core.c | 4 +-
drivers/usb/gadget/udc/tegra-xudc.c | 39 ++--
drivers/usb/host/xhci-ring.c | 8 +-
drivers/usb/host/xhci.c | 2 +
drivers/usb/phy/phy-generic.c | 7 -
drivers/usb/serial/cp210x.c | 4 +
drivers/usb/serial/ftdi_sio.c | 2 +
drivers/usb/serial/ftdi_sio_ids.h | 6 +
drivers/usb/serial/option.c | 6 +
drivers/usb/storage/isd200.c | 23 +-
drivers/usb/storage/uas.c | 28 ++-
drivers/usb/typec/altmodes/displayport.c | 18 +-
drivers/usb/typec/class.c | 7 +-
drivers/usb/typec/tcpm/tcpm.c | 7 +-
drivers/usb/typec/ucsi/ucsi.c | 56 ++++-
drivers/usb/typec/ucsi/ucsi.h | 4 +-
drivers/usb/typec/ucsi/ucsi_acpi.c | 71 +++---
drivers/vfio/fsl-mc/vfio_fsl_mc_intr.c | 7 +-
drivers/vfio/pci/pds/lm.c | 13 ++
drivers/vfio/pci/pds/lm.h | 1 +
drivers/vfio/pci/pds/vfio_dev.c | 4 +-
drivers/vfio/pci/vfio_pci_intrs.c | 180 ++++++++------
drivers/vfio/platform/vfio_platform_irq.c | 105 ++++++---
drivers/vfio/virqfd.c | 21 ++
drivers/virtio/virtio.c | 10 +-
fs/aio.c | 8 +-
fs/btrfs/block-group.c | 3 +-
fs/btrfs/extent_io.c | 75 ++++--
fs/btrfs/qgroup.c | 10 +-
fs/btrfs/scrub.c | 12 +-
fs/btrfs/volumes.c | 2 +-
fs/dlm/user.c | 10 +-
fs/exec.c | 1 +
fs/ext4/mballoc.c | 17 +-
fs/ext4/resize.c | 3 +-
fs/f2fs/f2fs.h | 1 +
fs/f2fs/segment.c | 4 +-
fs/fat/nfs.c | 6 +
fs/fuse/dir.c | 6 +-
fs/fuse/file.c | 8 +-
fs/fuse/fuse_i.h | 1 -
fs/fuse/inode.c | 7 +-
fs/nfs/direct.c | 11 +-
fs/nfs/read.c | 2 +
fs/nfs/write.c | 2 +-
fs/nfsd/trace.h | 2 +-
fs/nilfs2/btree.c | 9 +-
fs/nilfs2/direct.c | 9 +-
fs/nilfs2/inode.c | 2 +-
fs/smb/client/cached_dir.c | 3 +-
fs/smb/client/cifs_debug.c | 2 +
fs/smb/client/cifsglob.h | 5 +
fs/smb/client/cifsproto.h | 8 +-
fs/smb/client/connect.c | 10 +-
fs/smb/client/file.c | 8 +-
fs/smb/client/fs_context.c | 27 ++-
fs/smb/client/inode.c | 17 +-
fs/smb/client/readdir.c | 133 +++++------
fs/smb/client/sess.c | 45 ++--
fs/smb/client/smb2ops.c | 2 +
fs/smb/client/smb2pdu.c | 10 +-
fs/smb/server/smb2pdu.c | 180 +++++++++-----
fs/smb/server/smb_common.c | 11 +-
fs/smb/server/vfs.c | 12 +-
fs/ubifs/file.c | 13 +-
fs/xfs/libxfs/xfs_ag.c | 36 ++-
fs/xfs/libxfs/xfs_ag.h | 2 +
fs/xfs/libxfs/xfs_attr.c | 6 +-
fs/xfs/libxfs/xfs_bmap.c | 75 +++---
fs/xfs/libxfs/xfs_btree_staging.c | 4 +-
fs/xfs/libxfs/xfs_btree_staging.h | 6 -
fs/xfs/libxfs/xfs_da_btree.c | 7 +
fs/xfs/libxfs/xfs_defer.c | 105 ++++++---
fs/xfs/libxfs/xfs_defer.h | 5 +
fs/xfs/libxfs/xfs_format.h | 2 +-
fs/xfs/libxfs/xfs_log_recover.h | 5 +
fs/xfs/libxfs/xfs_rtbitmap.c | 2 +
fs/xfs/libxfs/xfs_rtbitmap.h | 83 +++++++
fs/xfs/libxfs/xfs_sb.c | 20 +-
fs/xfs/libxfs/xfs_sb.h | 2 +
fs/xfs/libxfs/xfs_types.h | 13 ++
fs/xfs/scrub/common.c | 6 +-
fs/xfs/scrub/common.h | 25 ++
fs/xfs/scrub/fscounters.c | 2 +-
fs/xfs/scrub/inode.c | 8 +-
fs/xfs/scrub/reap.c | 2 +-
fs/xfs/scrub/rtbitmap.c | 3 +-
fs/xfs/scrub/rtsummary.c | 3 +-
fs/xfs/scrub/trace.h | 3 +-
fs/xfs/xfs_attr_item.c | 23 +-
fs/xfs/xfs_bmap_item.c | 14 +-
fs/xfs/xfs_buf.c | 44 +++-
fs/xfs/xfs_buf.h | 1 +
fs/xfs/xfs_extfree_item.c | 14 +-
fs/xfs/xfs_fsmap.c | 2 +-
fs/xfs/xfs_fsops.c | 9 +-
fs/xfs/xfs_inode_item.c | 3 +
fs/xfs/xfs_log.c | 1 +
fs/xfs/xfs_log_priv.h | 1 +
fs/xfs/xfs_log_recover.c | 116 ++++-----
fs/xfs/xfs_refcount_item.c | 13 +-
fs/xfs/xfs_rmap_item.c | 14 +-
fs/xfs/xfs_rtalloc.c | 14 +-
fs/xfs/xfs_rtalloc.h | 73 ------
fs/xfs/xfs_trans.h | 4 +-
include/drm/drm_bridge.h | 33 +++
include/drm/drm_modeset_helper_vtables.h | 3 +-
include/drm/ttm/ttm_tt.h | 9 +-
include/linux/cpu.h | 2 +
include/linux/cpufreq.h | 15 +-
include/linux/gfp.h | 9 +
include/linux/hyperv.h | 22 +-
include/linux/intel_rapl.h | 6 +
include/linux/intel_tcc.h | 2 +-
include/linux/libata.h | 1 +
include/linux/mman.h | 8 +
include/linux/mtd/spinand.h | 2 +-
include/linux/nfs_fs.h | 1 +
include/linux/phy/tegra/xusb.h | 1 +
include/linux/ring_buffer.h | 1 +
include/linux/serial_core.h | 3 +-
include/linux/skbuff.h | 10 +
include/linux/vfio.h | 2 +
include/media/media-entity.h | 2 +
include/net/cfg80211.h | 2 +
include/net/cfg802154.h | 1 +
include/scsi/scsi_driver.h | 1 +
include/scsi/scsi_host.h | 1 +
include/uapi/linux/snmp.h | 3 +-
init/Kconfig | 6 +-
init/initramfs.c | 2 +-
io_uring/io_uring.c | 5 +-
io_uring/net.c | 5 +-
kernel/bounds.c | 2 +-
kernel/cgroup/cpuset.c | 2 +-
kernel/dma/swiotlb.c | 37 +--
kernel/entry/common.c | 8 +-
kernel/power/suspend.c | 1 +
kernel/printk/printk.c | 27 ++-
kernel/sched/core.c | 38 +--
kernel/sys.c | 7 +-
kernel/trace/ring_buffer.c | 233 ++++++++++--------
kernel/trace/trace.c | 21 +-
kernel/workqueue.c | 2 +-
lib/pci_iomap.c | 2 +-
mm/compaction.c | 7 +-
mm/filemap.c | 16 ++
mm/kasan/kasan_test.c | 3 +-
mm/memtest.c | 4 +-
mm/mmap.c | 10 +-
mm/page_alloc.c | 10 +-
mm/shmem_quota.c | 10 +-
mm/swapfile.c | 13 +-
mm/vmscan.c | 5 +-
net/bluetooth/hci_core.c | 6 +-
net/bluetooth/hci_sync.c | 5 +-
net/ipv4/esp4.c | 8 +-
net/ipv4/ip_output.c | 2 +
net/ipv4/proc.c | 3 +-
net/ipv6/esp6.c | 8 +-
net/ipv6/ip6_output.c | 6 +-
net/ipv6/mcast.c | 5 +-
net/ipv6/ndisc.c | 2 +-
net/ipv6/proc.c | 3 +-
net/ipv6/raw.c | 2 +-
net/mac80211/cfg.c | 5 +-
net/mac802154/llsec.c | 18 +-
net/netfilter/nf_tables_api.c | 7 +
net/wireless/wext-core.c | 7 +-
net/xfrm/xfrm_user.c | 3 +
scripts/Makefile.extrawarn | 2 +
security/landlock/syscalls.c | 18 +-
security/smack/smack_lsm.c | 12 +-
sound/pci/hda/patch_realtek.c | 13 +-
sound/pci/hda/tas2781_hda_i2c.c | 83 ++++---
sound/sh/aica.c | 17 +-
sound/soc/amd/yc/acp6x-mach.c | 7 -
tools/include/linux/btf_ids.h | 2 +
tools/perf/builtin-top.c | 4 +-
tools/testing/selftests/mm/gup_test.c | 67 +++---
tools/testing/selftests/mm/soft-dirty.c | 2 +-
tools/testing/selftests/mm/split_huge_page_test.c | 2 +-
tools/testing/selftests/mm/uffd-common.c | 3 +
tools/testing/selftests/mm/uffd-common.h | 2 +
tools/testing/selftests/mm/uffd-unit-tests.c | 13 +-
tools/testing/selftests/mqueue/setting | 1 +
tools/testing/selftests/net/mptcp/diag.sh | 6 +-
.../selftests/wireguard/qemu/arch/riscv32.config | 1 +
.../selftests/wireguard/qemu/arch/riscv64.config | 1 +
virt/kvm/async_pf.c | 31 ++-
443 files changed, 4373 insertions(+), 2498 deletions(-)
6.6-stable review patch. If anyone has any objections, please let me know.
------------------
From: Zack Rusin <[email protected]>
[ Upstream commit 71ce046327cfd3aef3f93d1c44e091395eb03f8f ]
Some drivers require the mapped tt pages to be decrypted. In an ideal
world this would have been handled by the dma layer, but the TTM page
fault handling would have to be rewritten to able to do that.
A side-effect of the TTM page fault handling is using a dma allocation
per order (via ttm_pool_alloc_page) which makes it impossible to just
trivially use dma_mmap_attrs. As a result ttm has to be very careful
about trying to make its pgprot for the mapped tt pages match what
the dma layer thinks it is. At the ttm layer it's possible to
deduce the requirement to have tt pages decrypted by checking
whether coherent dma allocations have been requested and the system
is running with confidential computing technologies.
This approach isn't ideal but keeping TTM matching DMAs expectations
for the page properties is in general fragile, unfortunately proper
fix would require a rewrite of TTM's page fault handling.
Fixes vmwgfx with SEV enabled.
v2: Explicitly include cc_platform.h
v3: Use CC_ATTR_GUEST_MEM_ENCRYPT instead of CC_ATTR_MEM_ENCRYPT to
limit the scope to guests and log when memory decryption is enabled.
Signed-off-by: Zack Rusin <[email protected]>
Fixes: 3bf3710e3718 ("drm/ttm: Add a generic TTM memcpy move for page-based iomem")
Reviewed-by: Thomas Hellström <[email protected]>
Acked-by: Christian König <[email protected]>
Cc: Huang Rui <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: <[email protected]> # v5.14+
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Sasha Levin <[email protected]>
---
drivers/gpu/drm/ttm/ttm_bo_util.c | 13 +++++++++++--
drivers/gpu/drm/ttm/ttm_tt.c | 13 +++++++++++++
include/drm/ttm/ttm_tt.h | 9 ++++++++-
3 files changed, 32 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/ttm/ttm_bo_util.c b/drivers/gpu/drm/ttm/ttm_bo_util.c
index fd9fd3d15101c..0b3f4267130c4 100644
--- a/drivers/gpu/drm/ttm/ttm_bo_util.c
+++ b/drivers/gpu/drm/ttm/ttm_bo_util.c
@@ -294,7 +294,13 @@ pgprot_t ttm_io_prot(struct ttm_buffer_object *bo, struct ttm_resource *res,
enum ttm_caching caching;
man = ttm_manager_type(bo->bdev, res->mem_type);
- caching = man->use_tt ? bo->ttm->caching : res->bus.caching;
+ if (man->use_tt) {
+ caching = bo->ttm->caching;
+ if (bo->ttm->page_flags & TTM_TT_FLAG_DECRYPTED)
+ tmp = pgprot_decrypted(tmp);
+ } else {
+ caching = res->bus.caching;
+ }
return ttm_prot_from_caching(caching, tmp);
}
@@ -337,6 +343,8 @@ static int ttm_bo_kmap_ttm(struct ttm_buffer_object *bo,
.no_wait_gpu = false
};
struct ttm_tt *ttm = bo->ttm;
+ struct ttm_resource_manager *man =
+ ttm_manager_type(bo->bdev, bo->resource->mem_type);
pgprot_t prot;
int ret;
@@ -346,7 +354,8 @@ static int ttm_bo_kmap_ttm(struct ttm_buffer_object *bo,
if (ret)
return ret;
- if (num_pages == 1 && ttm->caching == ttm_cached) {
+ if (num_pages == 1 && ttm->caching == ttm_cached &&
+ !(man->use_tt && (ttm->page_flags & TTM_TT_FLAG_DECRYPTED))) {
/*
* We're mapping a single page, and the desired
* page protection is consistent with the bo.
diff --git a/drivers/gpu/drm/ttm/ttm_tt.c b/drivers/gpu/drm/ttm/ttm_tt.c
index e0a77671edd6c..43eaffa7faae3 100644
--- a/drivers/gpu/drm/ttm/ttm_tt.c
+++ b/drivers/gpu/drm/ttm/ttm_tt.c
@@ -31,11 +31,14 @@
#define pr_fmt(fmt) "[TTM] " fmt
+#include <linux/cc_platform.h>
#include <linux/sched.h>
#include <linux/shmem_fs.h>
#include <linux/file.h>
#include <linux/module.h>
#include <drm/drm_cache.h>
+#include <drm/drm_device.h>
+#include <drm/drm_util.h>
#include <drm/ttm/ttm_bo.h>
#include <drm/ttm/ttm_tt.h>
@@ -60,6 +63,7 @@ static atomic_long_t ttm_dma32_pages_allocated;
int ttm_tt_create(struct ttm_buffer_object *bo, bool zero_alloc)
{
struct ttm_device *bdev = bo->bdev;
+ struct drm_device *ddev = bo->base.dev;
uint32_t page_flags = 0;
dma_resv_assert_held(bo->base.resv);
@@ -81,6 +85,15 @@ int ttm_tt_create(struct ttm_buffer_object *bo, bool zero_alloc)
pr_err("Illegal buffer object type\n");
return -EINVAL;
}
+ /*
+ * When using dma_alloc_coherent with memory encryption the
+ * mapped TT pages need to be decrypted or otherwise the drivers
+ * will end up sending encrypted mem to the gpu.
+ */
+ if (bdev->pool.use_dma_alloc && cc_platform_has(CC_ATTR_GUEST_MEM_ENCRYPT)) {
+ page_flags |= TTM_TT_FLAG_DECRYPTED;
+ drm_info(ddev, "TT memory decryption enabled.");
+ }
bo->ttm = bdev->funcs->ttm_tt_create(bo, page_flags);
if (unlikely(bo->ttm == NULL))
diff --git a/include/drm/ttm/ttm_tt.h b/include/drm/ttm/ttm_tt.h
index a4eff85b1f449..2b9d856ff388d 100644
--- a/include/drm/ttm/ttm_tt.h
+++ b/include/drm/ttm/ttm_tt.h
@@ -79,6 +79,12 @@ struct ttm_tt {
* page_flags = TTM_TT_FLAG_EXTERNAL |
* TTM_TT_FLAG_EXTERNAL_MAPPABLE;
*
+ * TTM_TT_FLAG_DECRYPTED: The mapped ttm pages should be marked as
+ * not encrypted. The framework will try to match what the dma layer
+ * is doing, but note that it is a little fragile because ttm page
+ * fault handling abuses the DMA api a bit and dma_map_attrs can't be
+ * used to assure pgprot always matches.
+ *
* TTM_TT_FLAG_PRIV_POPULATED: TTM internal only. DO NOT USE. This is
* set by TTM after ttm_tt_populate() has successfully returned, and is
* then unset when TTM calls ttm_tt_unpopulate().
@@ -87,8 +93,9 @@ struct ttm_tt {
#define TTM_TT_FLAG_ZERO_ALLOC BIT(1)
#define TTM_TT_FLAG_EXTERNAL BIT(2)
#define TTM_TT_FLAG_EXTERNAL_MAPPABLE BIT(3)
+#define TTM_TT_FLAG_DECRYPTED BIT(4)
-#define TTM_TT_FLAG_PRIV_POPULATED BIT(4)
+#define TTM_TT_FLAG_PRIV_POPULATED BIT(5)
uint32_t page_flags;
/** @num_pages: Number of pages in the page array. */
uint32_t num_pages;
--
2.43.0
6.6-stable review patch. If anyone has any objections, please let me know.
------------------
From: KONDO KAZUMA(近藤 和真) <[email protected]>
[ Upstream commit 3cb4a4827596abc82e55b80364f509d0fefc3051 ]
Following warning is sometimes observed while booting my servers:
[ 3.594838] DMA: preallocated 4096 KiB GFP_KERNEL pool for atomic allocations
[ 3.602918] swapper/0: page allocation failure: order:10, mode:0xcc1(GFP_KERNEL|GFP_DMA), nodemask=(null),cpuset=/,mems_allowed=0-1
...
[ 3.851862] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocation
If 'nokaslr' boot option is set, the warning always happens.
On x86, ZONE_DMA is small zone at the first 16MB of physical address
space. When this problem happens, most of that space seems to be used by
decompressed kernel. Thereby, there is not enough space at DMA_ZONE to
meet the request of DMA pool allocation.
The commit 2f77465b05b1 ("x86/efistub: Avoid placing the kernel below
LOAD_PHYSICAL_ADDR") tried to fix this problem by introducing lower
bound of allocation.
But the fix is not complete.
efi_random_alloc() allocates pages by following steps.
1. Count total available slots ('total_slots')
2. Select a slot ('target_slot') to allocate randomly
3. Calculate a starting address ('target') to be included target_slot
4. Allocate pages, which starting address is 'target'
In step 1, 'alloc_min' is used to offset the starting address of memory
chunk. But in step 3 'alloc_min' is not considered at all. As the
result, 'target' can be miscalculated and become lower than 'alloc_min'.
When KASLR is disabled, 'target_slot' is always 0 and the problem
happens everytime if the EFI memory map of the system meets the
condition.
Fix this problem by calculating 'target' considering 'alloc_min'.
Cc: [email protected]
Cc: Tom Englund <[email protected]>
Cc: [email protected]
Fixes: 2f77465b05b1 ("x86/efistub: Avoid placing the kernel below LOAD_PHYSICAL_ADDR")
Signed-off-by: Kazuma Kondo <[email protected]>
Signed-off-by: Ard Biesheuvel <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
---
drivers/firmware/efi/libstub/randomalloc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/firmware/efi/libstub/randomalloc.c b/drivers/firmware/efi/libstub/randomalloc.c
index 4e96a855fdf47..7e18528595502 100644
--- a/drivers/firmware/efi/libstub/randomalloc.c
+++ b/drivers/firmware/efi/libstub/randomalloc.c
@@ -120,7 +120,7 @@ efi_status_t efi_random_alloc(unsigned long size,
continue;
}
- target = round_up(md->phys_addr, align) + target_slot * align;
+ target = round_up(max(md->phys_addr, alloc_min), align) + target_slot * align;
pages = size / EFI_PAGE_SIZE;
status = efi_bs_call(allocate_pages, EFI_ALLOCATE_ADDRESS,
--
2.43.0
Hello,
On Mon, 1 Apr 2024 17:40:49 +0200 Greg Kroah-Hartman <[email protected]> wrote:
> This is the start of the stable review cycle for the 6.6.24 release.
> There are 396 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Wed, 03 Apr 2024 15:24:46 +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.6.24-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.6.y
> and the diffstat can be found below.
This rc kernel passes DAMON functionality test[1] on my test machine.
Attaching the test results summary below. Please note that I retrieved the
kernel from linux-stable-rc tree[2].
Tested-by: SeongJae Park <[email protected]>
[1] https://github.com/awslabs/damon-tests/tree/next/corr
[2] 75a2533b74d0 ("Linux 6.6.24-rc1")
Thanks,
SJ
[...]
---
ok 1 selftests: damon: debugfs_attrs.sh
ok 2 selftests: damon: debugfs_schemes.sh
ok 3 selftests: damon: debugfs_target_ids.sh
ok 4 selftests: damon: debugfs_empty_targets.sh
ok 5 selftests: damon: debugfs_huge_count_read_write.sh
ok 6 selftests: damon: debugfs_duplicate_context_creation.sh
ok 7 selftests: damon: debugfs_rm_non_contexts.sh
ok 8 selftests: damon: sysfs.sh
ok 9 selftests: damon: sysfs_update_removed_scheme_dir.sh
ok 10 selftests: damon: reclaim.sh
ok 11 selftests: damon: lru_sort.sh
ok 1 selftests: damon-tests: kunit.sh
ok 2 selftests: damon-tests: huge_count_read_write.sh
ok 3 selftests: damon-tests: buffer_overflow.sh
ok 4 selftests: damon-tests: rm_contexts.sh
ok 5 selftests: damon-tests: record_null_deref.sh
ok 6 selftests: damon-tests: dbgfs_target_ids_read_before_terminate_race.sh
ok 7 selftests: damon-tests: dbgfs_target_ids_pid_leak.sh
ok 8 selftests: damon-tests: damo_tests.sh
ok 9 selftests: damon-tests: masim-record.sh
ok 10 selftests: damon-tests: build_i386.sh
ok 11 selftests: damon-tests: build_arm64.sh
ok 12 selftests: damon-tests: build_m68k.sh
ok 13 selftests: damon-tests: build_i386_idle_flag.sh
ok 14 selftests: damon-tests: build_i386_highpte.sh
ok 15 selftests: damon-tests: build_nomemcg.sh
[33m
[92mPASS [39m
On Mon, 1 Apr 2024 at 22:06, Greg Kroah-Hartman
<[email protected]> wrote:
>
> This is the start of the stable review cycle for the 6.6.24 release.
> There are 396 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Wed, 03 Apr 2024 15:24:46 +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.6.24-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.6.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
Following kernel warnings have been noticed on qemu-x86_64 while running LTP
cve ioctl_sg01 tests the kernel with stable-rc 6.6.24-rc1, 6.7.12-rc1 and
6.8.3-rc1.
We have started bi-secting this issue.
Always reproduced.
Reported-by: Linux Kernel Functional Testing <[email protected]>
ioctl_sg01.c:81: TINFO: Found SCSI device /dev/sg0
------------[ cut here ]------------
[ 36.606841] WARNING: CPU: 0 PID: 8 at drivers/scsi/sg.c:2237
sg_remove_sfp_usercontext+0x145/0x150
[ 36.609445] Modules linked in:
[ 36.610793] CPU: 0 PID: 8 Comm: kworker/0:0 Not tainted 6.6.24-rc1 #1
[ 36.611568] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009),
BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
[ 36.612872] Workqueue: events sg_remove_sfp_usercontext
[ 36.613691] RIP: 0010:sg_remove_sfp_usercontext+0x145/0x150
<trim>
[ 36.621539] Call Trace:
[ 36.621953] <TASK>
[ 36.622444] ? show_regs+0x69/0x80
[ 36.622819] ? __warn+0x8d/0x150
[ 36.623078] ? sg_remove_sfp_usercontext+0x145/0x150
[ 36.623558] ? report_bug+0x171/0x1a0
[ 36.623881] ? handle_bug+0x42/0x80
[ 36.624070] ? exc_invalid_op+0x1c/0x70
[ 36.624491] ? asm_exc_invalid_op+0x1f/0x30
[ 36.624897] ? sg_remove_sfp_usercontext+0x145/0x150
[ 36.625408] process_one_work+0x141/0x300
[ 36.625769] worker_thread+0x2f6/0x430
[ 36.626073] ? __pfx_worker_thread+0x10/0x10
[ 36.626529] kthread+0x105/0x140
[ 36.626778] ? __pfx_kthread+0x10/0x10
[ 36.627059] ret_from_fork+0x41/0x60
[ 36.627441] ? __pfx_kthread+0x10/0x10
[ 36.627735] ret_from_fork_asm+0x1b/0x30
[ 36.628293] </TASK>
[ 36.628604] ---[ end trace 0000000000000000 ]---
ioctl_sg01.c:122: TPASS: Output buffer is empty, no data leaked
Suspecting commit:
-----
scsi: sg: Avoid sg device teardown race
commit 27f58c04a8f438078583041468ec60597841284d upstream.
+ WARN_ON_ONCE(kref_read(&sdp->d_ref) != 1);
Steps to reproduce:
- https://tuxapi.tuxsuite.com/v1/groups/linaro/projects/lkft/tests/2eVWFlAeOUepfeFVkrOXFYNNAqI/reproducer
Links:
- https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.6.y/build/v6.6.23-397-g75a2533b74d0/testrun/23255318/suite/log-parser-test/tests/
- https://tuxapi.tuxsuite.com/v1/groups/linaro/projects/lkft/tests/2eVTitwVMagaiWhs5T2iKH390D5
--
Linaro LKFT
https://lkft.linaro.org
> Following kernel warnings have been noticed on qemu-x86_64 while running LTP
> cve ioctl_sg01 tests the kernel with stable-rc 6.6.24-rc1, 6.7.12-rc1 and
> 6.8.3-rc1.
>
> We have started bi-secting this issue.
> Always reproduced.
>
> Reported-by: Linux Kernel Functional Testing <[email protected]>
>
> ioctl_sg01.c:81: TINFO: Found SCSI device /dev/sg0
> ------------[ cut here ]------------
> [ 36.606841] WARNING: CPU: 0 PID: 8 at drivers/scsi/sg.c:2237
> sg_remove_sfp_usercontext+0x145/0x150
> [ 36.609445] Modules linked in:
> [ 36.610793] CPU: 0 PID: 8 Comm: kworker/0:0 Not tainted 6.6.24-rc1 #1
> [ 36.611568] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009),
> BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
> [ 36.612872] Workqueue: events sg_remove_sfp_usercontext
> [ 36.613691] RIP: 0010:sg_remove_sfp_usercontext+0x145/0x150
>
> <trim>
>
> [ 36.621539] Call Trace:
> [ 36.621953] <TASK>
> [ 36.622444] ? show_regs+0x69/0x80
> [ 36.622819] ? __warn+0x8d/0x150
> [ 36.623078] ? sg_remove_sfp_usercontext+0x145/0x150
> [ 36.623558] ? report_bug+0x171/0x1a0
> [ 36.623881] ? handle_bug+0x42/0x80
> [ 36.624070] ? exc_invalid_op+0x1c/0x70
> [ 36.624491] ? asm_exc_invalid_op+0x1f/0x30
> [ 36.624897] ? sg_remove_sfp_usercontext+0x145/0x150
> [ 36.625408] process_one_work+0x141/0x300
> [ 36.625769] worker_thread+0x2f6/0x430
> [ 36.626073] ? __pfx_worker_thread+0x10/0x10
> [ 36.626529] kthread+0x105/0x140
> [ 36.626778] ? __pfx_kthread+0x10/0x10
> [ 36.627059] ret_from_fork+0x41/0x60
> [ 36.627441] ? __pfx_kthread+0x10/0x10
> [ 36.627735] ret_from_fork_asm+0x1b/0x30
> [ 36.628293] </TASK>
> [ 36.628604] ---[ end trace 0000000000000000 ]---
> ioctl_sg01.c:122: TPASS: Output buffer is empty, no data leaked
>
> Suspecting commit:
> -----
> scsi: sg: Avoid sg device teardown race
> commit 27f58c04a8f438078583041468ec60597841284d upstream.
>
Correct. The issue is already been worked on.
commit 27f58c04a8f4 ("scsi: sg: Avoid sg device teardown race") fixed a
real issue. But also added an incorrect WARN_ON_ONCE(). Thus the scary -
but otherwise harmless - error message.
Current patch fixing the broken commit is proposed here:
https://lore.kernel.org/all/[email protected]/
Sorry for the trouble,
Alexander
On 4/1/24 08:40, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 6.6.24 release.
> There are 396 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Wed, 03 Apr 2024 15:24:46 +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.6.24-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.6.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
On ARCH_BRCMSTB using 32-bit and 64-bit ARM kernels, build tested on
BMIPS_GENERIC:
Tested-by: Florian Fainelli <[email protected]>
--
Florian
On 4/1/24 09:40, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 6.6.24 release.
> There are 396 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Wed, 03 Apr 2024 15:24:46 +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.6.24-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.6.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
>
Compiled and booted on my test system. No dmesg regressions.
Tested-by: Shuah Khan <[email protected]>
thanks,
-- Shuah
On Mon, Apr 01, 2024 at 05:40:49PM +0200, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 6.6.24 release.
> There are 396 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Wed, 03 Apr 2024 15:24:46 +0000.
> Anything received after that time might be too late.
>
No regressions found on WSL (x86 and arm64).
Built, booted, and reviewed dmesg.
Thank you. :)
Tested-by: Kelsey Steele <[email protected]>
Hi Greg,
On 01/04/24 21:10, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 6.6.24 release.
> There are 396 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Wed, 03 Apr 2024 15:24:46 +0000.
> Anything received after that time might be too late.
>
No problems seen on x86_64 and aarch64 with our testing.
Tested-by: Harshit Mogalapalli <[email protected]>
Thanks,
Harshit
> The whole patch series can be found in one patch at:
> https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.6.24-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.6.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
>
> ----
On 4/1/24 8:40 AM, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 6.6.24 release.
> There are 396 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Wed, 03 Apr 2024 15:24:46 +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.6.24-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.6.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
Built and booted successfully on RISC-V RV64 (HiFive Unmatched).
Tested-by: Ron Economos <[email protected]>
On Mon, Apr 01, 2024 at 09:22:52PM +0200, Alexander Wetzel wrote:
>
> > Following kernel warnings have been noticed on qemu-x86_64 while running LTP
> > cve ioctl_sg01 tests the kernel with stable-rc 6.6.24-rc1, 6.7.12-rc1 and
> > 6.8.3-rc1.
> >
> > We have started bi-secting this issue.
> > Always reproduced.
> >
> > Reported-by: Linux Kernel Functional Testing <[email protected]>
> >
> > ioctl_sg01.c:81: TINFO: Found SCSI device /dev/sg0
> > ------------[ cut here ]------------
> > [ 36.606841] WARNING: CPU: 0 PID: 8 at drivers/scsi/sg.c:2237
> > sg_remove_sfp_usercontext+0x145/0x150
> > [ 36.609445] Modules linked in:
> > [ 36.610793] CPU: 0 PID: 8 Comm: kworker/0:0 Not tainted 6.6.24-rc1 #1
> > [ 36.611568] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009),
> > BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
> > [ 36.612872] Workqueue: events sg_remove_sfp_usercontext
> > [ 36.613691] RIP: 0010:sg_remove_sfp_usercontext+0x145/0x150
> >
> > <trim>
> >
> > [ 36.621539] Call Trace:
> > [ 36.621953] <TASK>
> > [ 36.622444] ? show_regs+0x69/0x80
> > [ 36.622819] ? __warn+0x8d/0x150
> > [ 36.623078] ? sg_remove_sfp_usercontext+0x145/0x150
> > [ 36.623558] ? report_bug+0x171/0x1a0
> > [ 36.623881] ? handle_bug+0x42/0x80
> > [ 36.624070] ? exc_invalid_op+0x1c/0x70
> > [ 36.624491] ? asm_exc_invalid_op+0x1f/0x30
> > [ 36.624897] ? sg_remove_sfp_usercontext+0x145/0x150
> > [ 36.625408] process_one_work+0x141/0x300
> > [ 36.625769] worker_thread+0x2f6/0x430
> > [ 36.626073] ? __pfx_worker_thread+0x10/0x10
> > [ 36.626529] kthread+0x105/0x140
> > [ 36.626778] ? __pfx_kthread+0x10/0x10
> > [ 36.627059] ret_from_fork+0x41/0x60
> > [ 36.627441] ? __pfx_kthread+0x10/0x10
> > [ 36.627735] ret_from_fork_asm+0x1b/0x30
> > [ 36.628293] </TASK>
> > [ 36.628604] ---[ end trace 0000000000000000 ]---
> > ioctl_sg01.c:122: TPASS: Output buffer is empty, no data leaked
> >
> > Suspecting commit:
> > -----
> > scsi: sg: Avoid sg device teardown race
> > commit 27f58c04a8f438078583041468ec60597841284d upstream.
> >
>
> Correct. The issue is already been worked on.
>
> commit 27f58c04a8f4 ("scsi: sg: Avoid sg device teardown race") fixed a real
> issue. But also added an incorrect WARN_ON_ONCE(). Thus the scary - but
> otherwise harmless - error message.
>
> Current patch fixing the broken commit is proposed here:
> https://lore.kernel.org/all/[email protected]/
I will drop the offending commit from all queues now, thanks.
greg k-h
On Mon, 1 Apr 2024 at 22:06, Greg Kroah-Hartman
<[email protected]> wrote:
>
> This is the start of the stable review cycle for the 6.6.24 release.
> There are 396 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Wed, 03 Apr 2024 15:24:46 +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.6.24-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.6.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
Results from Linaro’s test farm.
Regressions on arm64, arm, x86_64, and i386 with libgpiod tests.
libgpiod test regressions noticed on Linux stable-rc 6.8, 6.7 and 6.6
and Linux next and mainline master.
Anders bisected and found this first bad commit,
gpio: cdev: sanitize the label before requesting the interrupt
commit b34490879baa847d16fc529c8ea6e6d34f004b38 upstream.
Reported-by: Linux Kernel Functional Testing <[email protected]>
LKFT is running libgpiod test suite version
v2.0.1-0-gae275c3 (and also tested v2.1)
libgpiod
- _gpiod_edge-event_edge_event_wait_timeout
- _gpiod_edge-event_event_copy
- _gpiod_edge-event_null_buffer
- _gpiod_edge-event_read_both_events
- _gpiod_edge-event_read_both_events_blocking
- _gpiod_edge-event_read_falling_edge_event
- _gpiod_edge-event_read_rising_edge_event
- _gpiod_edge-event_read_rising_edge_event_polled
- _gpiod_edge-event_reading_more_events_than_the_queue_contains_doesnt_block
- _gpiod_edge-event_seqno
- _gpiod_line-info_edge_detection_settings
Test log:
-------
ok 16 /gpiod/edge-event/edge_event_buffer_max_capacity
**
gpiod-test:ERROR:tests-edge-event.c:52:_gpiod_test_func_edge_event_wait_timeout:
'_request' should not be NULL
# gpiod-test:ERROR:tests-edge-event.c:52:_gpiod_test_func_edge_event_wait_timeout:
'_request' should not be NULL
not ok 17 /gpiod/edge-event/edge_event_wait_timeout
ok 18 /gpiod/edge-event/cannot_request_lines_in_output_mode_with_edge_detection
**
gpiod-test:ERROR:tests-edge-event.c:125:_gpiod_test_func_read_both_events:
'_request' should not be NULL
# gpiod-test:ERROR:tests-edge-event.c:125:_gpiod_test_func_read_both_events:
'_request' should not be NULL
not ok 19 /gpiod/edge-event/read_both_events
Links:
- https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.6.y/build/v6.6.23-397-g75a2533b74d0/testrun/23254910/suite/libgpiod/tests/
--
Linaro LKFT
https://lkft.linaro.org
On Mon, Apr 01, 2024 at 09:22:52PM +0200, Alexander Wetzel wrote:
>
> > Following kernel warnings have been noticed on qemu-x86_64 while running LTP
> > cve ioctl_sg01 tests the kernel with stable-rc 6.6.24-rc1, 6.7.12-rc1 and
> > 6.8.3-rc1.
> >
> > We have started bi-secting this issue.
> > Always reproduced.
> >
> > Reported-by: Linux Kernel Functional Testing <[email protected]>
> >
> > ioctl_sg01.c:81: TINFO: Found SCSI device /dev/sg0
> > ------------[ cut here ]------------
> > [ 36.606841] WARNING: CPU: 0 PID: 8 at drivers/scsi/sg.c:2237
> > sg_remove_sfp_usercontext+0x145/0x150
> > [ 36.609445] Modules linked in:
> > [ 36.610793] CPU: 0 PID: 8 Comm: kworker/0:0 Not tainted 6.6.24-rc1 #1
> > [ 36.611568] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009),
> > BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
> > [ 36.612872] Workqueue: events sg_remove_sfp_usercontext
> > [ 36.613691] RIP: 0010:sg_remove_sfp_usercontext+0x145/0x150
> >
> > <trim>
> >
> > [ 36.621539] Call Trace:
> > [ 36.621953] <TASK>
> > [ 36.622444] ? show_regs+0x69/0x80
> > [ 36.622819] ? __warn+0x8d/0x150
> > [ 36.623078] ? sg_remove_sfp_usercontext+0x145/0x150
> > [ 36.623558] ? report_bug+0x171/0x1a0
> > [ 36.623881] ? handle_bug+0x42/0x80
> > [ 36.624070] ? exc_invalid_op+0x1c/0x70
> > [ 36.624491] ? asm_exc_invalid_op+0x1f/0x30
> > [ 36.624897] ? sg_remove_sfp_usercontext+0x145/0x150
> > [ 36.625408] process_one_work+0x141/0x300
> > [ 36.625769] worker_thread+0x2f6/0x430
> > [ 36.626073] ? __pfx_worker_thread+0x10/0x10
> > [ 36.626529] kthread+0x105/0x140
> > [ 36.626778] ? __pfx_kthread+0x10/0x10
> > [ 36.627059] ret_from_fork+0x41/0x60
> > [ 36.627441] ? __pfx_kthread+0x10/0x10
> > [ 36.627735] ret_from_fork_asm+0x1b/0x30
> > [ 36.628293] </TASK>
> > [ 36.628604] ---[ end trace 0000000000000000 ]---
> > ioctl_sg01.c:122: TPASS: Output buffer is empty, no data leaked
> >
> > Suspecting commit:
> > -----
> > scsi: sg: Avoid sg device teardown race
> > commit 27f58c04a8f438078583041468ec60597841284d upstream.
> >
>
> Correct. The issue is already been worked on.
>
> commit 27f58c04a8f4 ("scsi: sg: Avoid sg device teardown race") fixed a real
> issue. But also added an incorrect WARN_ON_ONCE(). Thus the scary - but
> otherwise harmless - error message.
If you have Reboot on Oops turned on (apparently Android enables this)
then WARN() will reboot the system so it can be pretty annoying.
regards,
dan carpenter
Hi Greg
On Tue, Apr 2, 2024 at 1:36 AM Greg Kroah-Hartman
<[email protected]> wrote:
>
> This is the start of the stable review cycle for the 6.6.24 release.
> There are 396 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Wed, 03 Apr 2024 15:24:46 +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.6.24-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.6.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
6.6.24-rc1 tested.
Build successfully completed.
Boot successfully completed.
No dmesg regressions.
Video output normal.
Sound output normal.
Lenovo ThinkPad X1 Carbon Gen10(Intel i7-1260P(x86_64) arch linux)
[ 0.000000] Linux version 6.6.24-rc1rv
(takeshi@ThinkPadX1Gen10J0764) (gcc (GCC) 13.2.1 20230801, GNU ld (GNU
Binutils) 2.42.0) #1 SMP PREEMPT_DYNAMIC Tue Apr 2 19:48:41 JST 2024
Thanks
Tested-by: Takeshi Ogasawara <[email protected]>
On Tue, Apr 02, 2024 at 01:37:50PM +0300, Dan Carpenter wrote:
> On Mon, Apr 01, 2024 at 09:22:52PM +0200, Alexander Wetzel wrote:
> >
> > > Following kernel warnings have been noticed on qemu-x86_64 while running LTP
> > > cve ioctl_sg01 tests the kernel with stable-rc 6.6.24-rc1, 6.7.12-rc1 and
> > > 6.8.3-rc1.
> > >
> > > We have started bi-secting this issue.
> > > Always reproduced.
> > >
> > > Reported-by: Linux Kernel Functional Testing <[email protected]>
> > >
> > > ioctl_sg01.c:81: TINFO: Found SCSI device /dev/sg0
> > > ------------[ cut here ]------------
> > > [ 36.606841] WARNING: CPU: 0 PID: 8 at drivers/scsi/sg.c:2237
> > > sg_remove_sfp_usercontext+0x145/0x150
> > > [ 36.609445] Modules linked in:
> > > [ 36.610793] CPU: 0 PID: 8 Comm: kworker/0:0 Not tainted 6.6.24-rc1 #1
> > > [ 36.611568] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009),
> > > BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
> > > [ 36.612872] Workqueue: events sg_remove_sfp_usercontext
> > > [ 36.613691] RIP: 0010:sg_remove_sfp_usercontext+0x145/0x150
> > >
> > > <trim>
> > >
> > > [ 36.621539] Call Trace:
> > > [ 36.621953] <TASK>
> > > [ 36.622444] ? show_regs+0x69/0x80
> > > [ 36.622819] ? __warn+0x8d/0x150
> > > [ 36.623078] ? sg_remove_sfp_usercontext+0x145/0x150
> > > [ 36.623558] ? report_bug+0x171/0x1a0
> > > [ 36.623881] ? handle_bug+0x42/0x80
> > > [ 36.624070] ? exc_invalid_op+0x1c/0x70
> > > [ 36.624491] ? asm_exc_invalid_op+0x1f/0x30
> > > [ 36.624897] ? sg_remove_sfp_usercontext+0x145/0x150
> > > [ 36.625408] process_one_work+0x141/0x300
> > > [ 36.625769] worker_thread+0x2f6/0x430
> > > [ 36.626073] ? __pfx_worker_thread+0x10/0x10
> > > [ 36.626529] kthread+0x105/0x140
> > > [ 36.626778] ? __pfx_kthread+0x10/0x10
> > > [ 36.627059] ret_from_fork+0x41/0x60
> > > [ 36.627441] ? __pfx_kthread+0x10/0x10
> > > [ 36.627735] ret_from_fork_asm+0x1b/0x30
> > > [ 36.628293] </TASK>
> > > [ 36.628604] ---[ end trace 0000000000000000 ]---
> > > ioctl_sg01.c:122: TPASS: Output buffer is empty, no data leaked
> > >
> > > Suspecting commit:
> > > -----
> > > scsi: sg: Avoid sg device teardown race
> > > commit 27f58c04a8f438078583041468ec60597841284d upstream.
> > >
> >
> > Correct. The issue is already been worked on.
> >
> > commit 27f58c04a8f4 ("scsi: sg: Avoid sg device teardown race") fixed a real
> > issue. But also added an incorrect WARN_ON_ONCE(). Thus the scary - but
> > otherwise harmless - error message.
>
> If you have Reboot on Oops turned on (apparently Android enables this)
> then WARN() will reboot the system so it can be pretty annoying.
Agreed, I've dropped this stable change for now because of this.
greg k-h
On Mon, Apr 01, 2024 at 05:40:49PM +0200, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 6.6.24 release.
> There are 396 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.
Tested-by: Mark Brown <[email protected]>
On Mon, 01 Apr 2024 17:40:49 +0200, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 6.6.24 release.
> There are 396 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Wed, 03 Apr 2024 15:24:46 +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.6.24-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.6.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
All tests passing for Tegra ...
Test results for stable-v6.6:
10 builds: 10 pass, 0 fail
26 boots: 26 pass, 0 fail
116 tests: 116 pass, 0 fail
Linux version: 6.6.24-rc1-g75a2533b74d0
Boards tested: tegra124-jetson-tk1, tegra186-p2771-0000,
tegra194-p2972-0000, tegra194-p3509-0000+p3668-0000,
tegra20-ventana, tegra210-p2371-2180,
tegra210-p3450-0000, tegra30-cardhu-a04
Tested-by: Jon Hunter <[email protected]>
Jon
On Mon, Apr 01, 2024 at 05:40:49PM +0200, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 6.6.24 release.
> There are 396 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.
Tested-by: Conor Dooley <[email protected]>