2024-04-01 15:50:52

by Greg Kroah-Hartman

[permalink] [raw]
Subject: [PATCH 6.8 000/399] 6.8.3-rc1 review

This is the start of the stable review cycle for the 6.8.3 release.
There are 399 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.8.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.8.y
and the diffstat can be found below.

thanks,

greg k-h

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

Greg Kroah-Hartman <[email protected]>
Linux 6.8.3-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

Sandipan Das <[email protected]>
perf/x86/amd/core: Update and fix stalled-cycles-* events for Zen 2 and later

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

Hamza Mahfooz <[email protected]>
drm/amd/display: fix IPX enablement

Baoquan He <[email protected]>
crash: use macro to add crashk_res into iomem early for specific arch

Borislav Petkov (AMD) <[email protected]>
x86/bugs: Fix the SRSO mitigation on Zen3/4

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

Kyle Tso <[email protected]>
usb: typec: tcpm: Update PD of Type-C port upon pd_set

Kyle Tso <[email protected]>
usb: typec: tcpm: Correct port source pdo array in pd_set callback

Xu Yang <[email protected]>
usb: typec: tcpm: fix double-free issue in tcpm_port_unregister_pd()

Krishna Kurapati <[email protected]>
usb: typec: ucsi: Fix race between typec_switch and role_switch

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

Rafael J. Wysocki <[email protected]>
genirq: Introduce IRQF_COND_ONESHOT and use it in pinctrl-amd

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

Dmitry Baryshkov <[email protected]>
scsi: ufs: qcom: Provide default cycles_in_1us value

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

Filipe Manana <[email protected]>
btrfs: fix extent map leak in unexpected scenario at unpin_extent_cache()

Steven Rostedt (Google) <[email protected]>
ring-buffer: Make wake once of ring_buffer_wait() more robust

Brett Creeley <[email protected]>
vfio/pds: Make sure migration file isn't accessed after reset

Weitao Wang <[email protected]>
USB: UAS: return ENODEV when submit urbs fail with device not attached

Yongzhi Liu <[email protected]>
usb: misc: ljca: Fix double free in error handling path

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

Roman Li <[email protected]>
drm/amd/display: Fix bounds check for dcn35 DcfClocks

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

Ville Syrjälä <[email protected]>
drm/i915: Pre-populate the cursor physical dma address

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/dsb: Fix DSB vblank waits when using VRR

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/vrr: Generate VRR "safe window" for DSB

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/vma: Fix UAF on destroy against retire race

Janusz Krzysztofik <[email protected]>
drm/i915/hwmon: Fix locking inversion in sysfs getter

Xi Liu <[email protected]>
drm/amd/display: Set DCN351 BB and IP the same as DCN35

George Shen <[email protected]>
drm/amd/display: Remove MPC rate control logic from DCN30 and above

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

Chris Bainbridge <[email protected]>
drm/dp: Fix divide-by-zero regression on DP MST unplug with nouveau

Matthew Auld <[email protected]>
drm/xe/query: fix gt_id bounds check

Christian Marangi <[email protected]>
net: phy: qcom: at803x: fix kernel panic with at8031_probe

Herve Codina <[email protected]>
net: wan: framer: Add missing static inline qualifiers

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

Daniel Lezcano <[email protected]>
Revert "thermal: core: Don't update trip points inside the hysteresis range"

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()

Thomas Zimmermann <[email protected]>
fbdev: Select I/O-memory framebuffer ops for SBus

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: mvm: handle debugfs names more carefully

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: fix use-after-free in do_zone_finish()

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()

Anand Jain <[email protected]>
btrfs: validate device maj:min during open

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

Johannes Weiner <[email protected]>
mm: zswap: fix writeback shinker GFP_NOIO/GFP_NOFS recursion

Gergo Koteles <[email protected]>
ALSA: hda/tas2781: add locks to kcontrols

Gergo Koteles <[email protected]>
ALSA: hda/tas2781: remove digital gain kcontrol

Chris Park <[email protected]>
drm/amd/display: Prevent crash when disable stream

Tom Zanussi <[email protected]>
crypto: iaa - Fix nr_cpus < nr_iaa case

Ville Syrjälä <[email protected]>
drm/i915: Suppress old PLL pipe_mask checks for MG/TC/TBT PLLs

Ville Syrjälä <[email protected]>
drm/i915: Include the PLL name in the debug messages

Ville Syrjälä <[email protected]>
drm/i915: Try to preserve the current shared_dpll for fastset on type-c ports

Ville Syrjälä <[email protected]>
drm/i915: Replace a memset() with zero initialization

Aleksandrs Vinarskis <[email protected]>
mfd: intel-lpss: Introduce QUIRK_CLOCK_DIVIDER_UNITY for XPS 9530

Aleksandrs Vinarskis <[email protected]>
mfd: intel-lpss: Switch to generalized quirk table

Anand Jain <[email protected]>
btrfs: do not skip re-registration for the mounted device

Filipe Manana <[email protected]>
btrfs: fix warning messages not printing interval at unpin_extent_range()

David Sterba <[email protected]>
btrfs: handle errors returned from unpin_extent_cache()

Vitaly Chikunov <[email protected]>
selftests/mm: Fix build with _FORTIFY_SOURCE

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()

Biju Das <[email protected]>
irqchip/renesas-rzg2l: Flush posted write in irq_eoi()

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

Bitterblue Smith <[email protected]>
wifi: rtw88: 8821cu: Fix connection failure

Linus Torvalds <[email protected]>
Fix memory leak in posix_clock_open()

Jiawei Wang <[email protected]>
ASoC: amd: yc: Revert "add new YC platform variant (0x63) support"

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

Eric Biggers <[email protected]>
Revert "crypto: pkcs7 - remove sha1 support"

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

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

Wenjing Liu <[email protected]>
drm/amd/display: Revert Remove pixle rate limit for subvp

Alvin Lee <[email protected]>
drm/amd/display: Remove pixle rate limit for subvp

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()

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

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

Qu Wenruo <[email protected]>
btrfs: qgroup: validate btrfs_qgroup_inherit parameter

David Sterba <[email protected]>
btrfs: add helper to get fs_info from struct inode pointer

David Sterba <[email protected]>
btrfs: add helpers to get fs_info from page/folio pointers

David Sterba <[email protected]>
btrfs: add helpers to get inode from page/folio pointers

David Sterba <[email protected]>
btrfs: replace sb::s_blocksize by fs_info::sectorsize

Matthew Wilcox (Oracle) <[email protected]>
btrfs: add set_folio_extent_mapped() helper

Nicholas Kazlauskas <[email protected]>
drm/amd/display: Add more checks for exiting idle in DC

Aric Cyr <[email protected]>
drm/amd/display: Unify optimize_required flags and VRR adjustments

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

Allen Pan <[email protected]>
drm/amd/display: Add a dc_state NULL check in dc_state_release

Rodrigo Siqueira <[email protected]>
drm/amd/display: Return the correct HDCP error code

Wenjing Liu <[email protected]>
drm/amd/display: Implement wait_for_odm_update_pending_complete

Wenjing Liu <[email protected]>
drm/amd/display: Lock all enabled otg pipes even with no planes

ChunTao Tso <[email protected]>
drm/amd/display: Amend coasting vtotal for replay low hz

Nicholas Kazlauskas <[email protected]>
drm/amd/display: Fix idle check for shared firmware state

Wenjing Liu <[email protected]>
drm/amd/display: Update odm when ODM combine is changed on an otg master pipe with no plane

Dillon Varone <[email protected]>
drm/amd/display: Init DPPCLK from SMU on dcn32

Josip Pavic <[email protected]>
drm/amd/display: Allow dirty rects to be sent to dmub when abm is active

Sohaib Nadeem <[email protected]>
drm/amd/display: Override min required DCFCLK in dml1_validate

Ma Jun <[email protected]>
drm/amdgpu/pm: Check the validity of overdiver power limit

Ma Jun <[email protected]>
drm/amdgpu/pm: Fix NULL pointer dereference when get power limit

Philip Yang <[email protected]>
drm/amdgpu: amdgpu_ttm_gart_bind set gtt bound flag

Swapnil Patel <[email protected]>
drm/amd/display: Change default size for dummy plane in DML2

Conrad Kostecki <[email protected]>
ahci: asm1064: asm1166: don't limit 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

Namjae Jeon <[email protected]>
ksmbd: fix potencial out-of-bounds when buffer offset is invalid

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

Namjae Jeon <[email protected]>
ksmbd: fix slab-out-of-bounds in smb_strndup_from_utf16()

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

Jens Axboe <[email protected]>
io_uring/waitid: always remove waitid entry for cancel all

Jens Axboe <[email protected]>
io_uring/futex: always remove futex entry for cancel all

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: Ensure all continuous terms are always in sync

Miquel Raynal <[email protected]>
mtd: rawnand: Add a helper for calculating a page index

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

Shyam Prasad N <[email protected]>
cifs: make sure server interfaces are requested only for SMB3+

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

Paul Moore <[email protected]>
lsm: handle the NULL buffer case in lsm_fill_user_ctx()

Casey Schaufler <[email protected]>
lsm: use 32-bit compatible data types in LSM syscalls

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

Ley Foon Tan <[email protected]>
clocksource/drivers/timer-riscv: Clear timer interrupt on timer initialization

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]>
tracing/ring-buffer: Fix wait_on_pipe() race

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: Do not set shortest_full when full target is hit

Pavel Begunkov <[email protected]>
io_uring: clean rings on NO_MMAP alloc fail

Jens Axboe <[email protected]>
io_uring/rw: return IOU_ISSUE_SKIP_COMPLETE for multishot retry

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

Lino Sanfilippo <[email protected]>
tpm,tpm_tis: Avoid warning splat at shutdown

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/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

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

Johan Hovold <[email protected]>
PCI: qcom: Disable ASPM L0s for sc8280xp, sa8540p and sa8295p

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

Johannes Berg <[email protected]>
debugfs: fix wait/cancellation handling during remove

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

Pavel Begunkov <[email protected]>
io_uring: fix io_queue_proc modifying req->flags

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

Pavel Begunkov <[email protected]>
io_uring: fix mshot read defer taskrun cqe posting

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"

Yu Kuai <[email protected]>
dm-raid456, md/raid456: fix a deadlock for dm-raid456 while io concurrent with reshape

Yu Kuai <[email protected]>
dm-raid: add a new helper prepare_suspend() in md_personality

Yu Kuai <[email protected]>
md/dm-raid: don't call md_reap_sync_thread() directly

Yu Kuai <[email protected]>
dm-raid: really frozen sync_thread during suspend

Yu Kuai <[email protected]>
md: add a new helper reshape_interrupted()

Yu Kuai <[email protected]>
md: export helper md_is_rdwr()

Yu Kuai <[email protected]>
md: export helpers to stop sync_thread

Yu Kuai <[email protected]>
md: don't clear MD_RECOVERY_FROZEN for new dm-raid until resume

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

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

Akira Yokosawa <[email protected]>
docs: Makefile: Add dependency to $(YNL_INDEX) for targets other than htmldocs

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

Johannes Berg <[email protected]>
wifi: mac80211: track capability/opmode NSS separately

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: camcc-sc8280xp: 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

Zhihao Cheng <[email protected]>
ubifs: ubifs_symlink: Fix memleak of inode->i_link in error path

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

Alexander Sverdlin <[email protected]>
mfd: twl: Select MFD_CORE

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

Srinivasan Shanmugam <[email protected]>
drm/amdgpu/display: Address kdoc for 'is_psr_su' in 'fill_dc_dirty_rects'

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

Krzysztof Kozlowski <[email protected]>
pinctrl: qcom: sm8650-lpass-lpi: correct Kconfig name

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

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

Damian Muszynski <[email protected]>
crypto: qat - change SLAs cleanup flow at shutdown

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

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

Li Lingfeng <[email protected]>
md: use RCU lock to protect traversal in md_spares_need_change()

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

Krzysztof Kozlowski <[email protected]>
arm64: dts: qcom: sm8450-hdk: correct AMIC4 and AMIC5 microphones

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


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

Diffstat:

Documentation/Makefile | 4 +-
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/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 +-
arch/arm64/boot/dts/qcom/sm8450-hdk.dts | 4 +-
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/events/amd/core.c | 20 +-
arch/x86/include/asm/asm-prototypes.h | 1 +
arch/x86/include/asm/asm.h | 14 ++
arch/x86/include/asm/coco.h | 8 +-
arch/x86/include/asm/crash_core.h | 2 +
arch/x86/include/asm/mem_encrypt.h | 15 +-
arch/x86/include/asm/nospec-branch.h | 21 +-
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/lapic.c | 5 +-
arch/x86/kvm/xen.c | 2 +-
arch/x86/kvm/xen.h | 18 ++
arch/x86/lib/retpoline.S | 11 +-
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 +-
crypto/asymmetric_keys/mscode_parser.c | 3 +
crypto/asymmetric_keys/pkcs7_parser.c | 4 +
crypto/asymmetric_keys/public_key.c | 3 +-
crypto/asymmetric_keys/signature.c | 2 +-
crypto/asymmetric_keys/x509_cert_parser.c | 8 +
crypto/testmgr.h | 80 +++++++
drivers/accessibility/speakup/synth.c | 4 +-
drivers/acpi/cppc_acpi.c | 31 ++-
drivers/ata/ahci.c | 13 --
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/camcc-sc8280xp.c | 21 ++
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/clocksource/timer-riscv.c | 3 +
drivers/cpufreq/amd-pstate.c | 2 +-
drivers/cpufreq/cpufreq-dt.c | 2 +-
drivers/crypto/intel/iaa/iaa_crypto_main.c | 10 +-
drivers/crypto/intel/qat/qat_common/adf_aer.c | 22 +-
drivers/crypto/intel/qat/qat_common/adf_rl.c | 20 +-
drivers/cxl/core/trace.h | 14 +-
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 | 34 +--
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_psr.c | 8 +-
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_psr.h | 2 +-
.../amd/display/dc/clk_mgr/dcn32/dcn32_clk_mgr.c | 14 ++
.../amd/display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c | 2 +-
drivers/gpu/drm/amd/display/dc/core/dc.c | 127 ++++++++--
drivers/gpu/drm/amd/display/dc/core/dc_state.c | 3 +-
drivers/gpu/drm/amd/display/dc/core/dc_stream.c | 18 ++
drivers/gpu/drm/amd/display/dc/core/dc_surface.c | 2 +
drivers/gpu/drm/amd/display/dc/dc.h | 2 +-
drivers/gpu/drm/amd/display/dc/dc_stream.h | 2 -
drivers/gpu/drm/amd/display/dc/dc_types.h | 4 +-
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_opp.c | 1 +
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_opp.c | 14 ++
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_opp.h | 2 +
drivers/gpu/drm/amd/display/dc/dcn201/dcn201_opp.c | 1 +
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_mpc.c | 54 +++--
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_mpc.h | 14 +-
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_mpc.c | 5 +-
.../amd/display/dc/dcn32/dcn32_resource_helpers.c | 6 +
.../amd/display/dc/dml2/dml2_translation_helper.c | 24 +-
drivers/gpu/drm/amd/display/dc/dml2/dml2_wrapper.c | 28 ++-
drivers/gpu/drm/amd/display/dc/dml2/dml2_wrapper.h | 3 +
.../drm/amd/display/dc/hwss/dce110/dce110_hwseq.c | 3 +-
.../drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c | 2 +-
.../drm/amd/display/dc/hwss/dcn20/dcn20_hwseq.c | 53 ++---
.../drm/amd/display/dc/hwss/dcn30/dcn30_hwseq.c | 12 +-
.../drm/amd/display/dc/hwss/dcn314/dcn314_hwseq.c | 41 ----
.../drm/amd/display/dc/hwss/dcn32/dcn32_hwseq.c | 71 +++---
.../drm/amd/display/dc/hwss/dcn32/dcn32_hwseq.h | 2 +
.../gpu/drm/amd/display/dc/hwss/dcn32/dcn32_init.c | 2 +-
.../drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c | 41 ----
drivers/gpu/drm/amd/display/dc/inc/hw/opp.h | 3 +
.../drm/amd/display/dc/inc/hw/timing_generator.h | 1 +
drivers/gpu/drm/amd/display/dc/inc/link.h | 4 +-
.../dc/link/protocols/link_edp_panel_control.c | 4 +-
.../dc/link/protocols/link_edp_panel_control.h | 4 +-
.../gpu/drm/amd/display/dc/optc/dcn10/dcn10_optc.h | 3 +-
.../gpu/drm/amd/display/dc/optc/dcn32/dcn32_optc.c | 8 +
.../gpu/drm/amd/display/dc/optc/dcn32/dcn32_optc.h | 1 +
.../amd/display/dc/resource/dcn32/dcn32_resource.c | 3 +
.../amd/display/dc/resource/dcn32/dcn32_resource.h | 3 +
.../display/dc/resource/dcn321/dcn321_resource.c | 2 +
drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h | 8 +
.../gpu/drm/amd/display/modules/hdcp/hdcp_psp.c | 3 +
.../amd/display/modules/info_packet/info_packet.c | 13 +-
.../drm/amd/display/modules/power/power_helpers.c | 2 +-
.../drm/amd/display/modules/power/power_helpers.h | 2 +-
drivers/gpu/drm/amd/pm/swsmu/smu11/arcturus_ppt.c | 19 +-
drivers/gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c | 19 +-
.../drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c | 31 +--
.../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 18 +-
.../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 18 +-
drivers/gpu/drm/bridge/lontium-lt8912b.c | 24 +-
drivers/gpu/drm/display/drm_dp_helper.c | 7 +
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 +++-
drivers/gpu/drm/i915/display/intel_cursor.c | 4 +-
drivers/gpu/drm/i915/display/intel_display_trace.h | 6 +-
drivers/gpu/drm/i915/display/intel_display_types.h | 1 +
drivers/gpu/drm/i915/display/intel_dpll_mgr.c | 76 +++---
drivers/gpu/drm/i915/display/intel_dpll_mgr.h | 4 +
drivers/gpu/drm/i915/display/intel_dsb.c | 14 ++
drivers/gpu/drm/i915/display/intel_fb_pin.c | 10 +
drivers/gpu/drm/i915/display/intel_vrr.c | 7 +-
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/i915/i915_reg.h | 2 +-
drivers/gpu/drm/i915/i915_vma.c | 50 +++-
drivers/gpu/drm/imx/ipuv3/parallel-display.c | 4 +-
drivers/gpu/drm/nouveau/nouveau_dmem.c | 12 +-
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/gpu/drm/xe/xe_query.c | 2 +-
drivers/hwmon/amc6821.c | 11 +
drivers/iio/adc/rockchip_saradc.c | 6 +-
drivers/iommu/dma-iommu.c | 9 +
drivers/irqchip/irq-renesas-rzg2l.c | 67 ++++--
drivers/leds/trigger/ledtrig-netdev.c | 4 +-
drivers/md/dm-raid.c | 93 ++++++--
drivers/md/dm-snap.c | 4 +-
drivers/md/md-bitmap.c | 9 +-
drivers/md/md.c | 82 +++++--
drivers/md/md.h | 38 ++-
drivers/md/raid5.c | 58 ++++-
drivers/media/mc/mc-entity.c | 93 ++++++--
.../platform/nxp/imx8-isi/imx8-isi-crossbar.c | 4 +-
drivers/media/tuners/xc4000.c | 4 +-
drivers/mfd/Kconfig | 1 +
drivers/mfd/intel-lpss-pci.c | 28 ++-
drivers/mfd/intel-lpss.c | 9 +-
drivers/mfd/intel-lpss.h | 14 +-
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 | 87 ++++---
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/phy/at803x.c | 4 +-
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 +-
.../net/wireless/intel/iwlwifi/mvm/debugfs-vif.c | 11 +-
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c | 2 +-
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 | 41 +++-
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/pinctrl/pinctrl-amd.c | 2 +-
drivers/pinctrl/qcom/Kconfig | 2 +-
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/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/thermal/thermal_trip.c | 19 +-
drivers/tty/serial/8250/8250_port.c | 6 -
drivers/tty/serial/max310x.c | 7 +-
drivers/tty/serial/serial_core.c | 12 +
drivers/ufs/host/ufs-qcom.c | 6 +-
drivers/usb/class/cdc-wdm.c | 6 +-
drivers/usb/core/hub.c | 23 +-
drivers/usb/core/hub.h | 2 +
drivers/usb/core/port.c | 38 ++-
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/udc/core.c | 4 +-
drivers/usb/gadget/udc/tegra-xudc.c | 39 ++--
drivers/usb/host/xhci.c | 2 +
drivers/usb/misc/usb-ljca.c | 22 +-
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/uas.c | 28 ++-
drivers/usb/typec/class.c | 7 +-
drivers/usb/typec/tcpm/tcpm.c | 6 +-
drivers/usb/typec/ucsi/ucsi.c | 56 ++++-
drivers/usb/typec/ucsi/ucsi.h | 4 +-
drivers/usb/typec/ucsi/ucsi_acpi.c | 71 +++---
drivers/usb/typec/ucsi/ucsi_glink.c | 14 ++
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/video/fbdev/Kconfig | 3 +
drivers/virtio/virtio.c | 4 +-
fs/btrfs/block-group.c | 3 +-
fs/btrfs/compression.c | 8 +-
fs/btrfs/defrag.c | 4 +-
fs/btrfs/disk-io.c | 13 +-
fs/btrfs/export.c | 2 +-
fs/btrfs/extent_io.c | 61 +++--
fs/btrfs/extent_io.h | 1 +
fs/btrfs/extent_map.c | 16 +-
fs/btrfs/file.c | 14 +-
fs/btrfs/free-space-cache.c | 2 +-
fs/btrfs/fs.h | 11 +
fs/btrfs/inode.c | 54 +++--
fs/btrfs/ioctl.c | 58 ++---
fs/btrfs/lzo.c | 4 +-
fs/btrfs/props.c | 2 +-
fs/btrfs/qgroup.c | 61 ++++-
fs/btrfs/qgroup.h | 3 +
fs/btrfs/reflink.c | 12 +-
fs/btrfs/relocation.c | 2 +-
fs/btrfs/scrub.c | 12 +-
fs/btrfs/send.c | 2 +-
fs/btrfs/super.c | 2 +-
fs/btrfs/volumes.c | 69 +++++-
fs/btrfs/zoned.c | 14 +-
fs/debugfs/inode.c | 25 +-
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 | 4 +
fs/smb/client/cifsproto.h | 6 +-
fs/smb/client/connect.c | 6 +-
fs/smb/client/file.c | 8 +-
fs/smb/client/fs_context.c | 27 ++-
fs/smb/client/inode.c | 13 +-
fs/smb/client/readdir.c | 2 +-
fs/smb/client/sess.c | 4 +-
fs/smb/client/smb2ops.c | 2 +
fs/smb/client/smb2pdu.c | 10 +-
fs/smb/server/smb2misc.c | 26 ++-
fs/smb/server/smb2pdu.c | 228 +++++++++++-------
fs/smb/server/smb_common.c | 11 +-
fs/smb/server/vfs.c | 12 +-
fs/ubifs/dir.c | 2 +
fs/ubifs/file.c | 13 +-
include/drm/drm_bridge.h | 33 +++
include/drm/drm_modeset_helper_vtables.h | 3 +-
include/drm/ttm/ttm_tt.h | 9 +-
include/linux/cpufreq.h | 15 +-
include/linux/framer/framer.h | 4 +-
include/linux/intel_rapl.h | 6 +
include/linux/intel_tcc.h | 2 +-
include/linux/interrupt.h | 3 +
include/linux/libata.h | 1 +
include/linux/lsm_hook_defs.h | 4 +-
include/linux/mman.h | 8 +
include/linux/mtd/spinand.h | 2 +-
include/linux/nfs_fs.h | 1 +
include/linux/oid_registry.h | 4 +
include/linux/phy/tegra/xusb.h | 1 +
include/linux/ring_buffer.h | 4 +-
include/linux/security.h | 8 +-
include/linux/serial_core.h | 3 +-
include/linux/skbuff.h | 10 +
include/linux/syscalls.h | 6 +-
include/linux/trace_events.h | 5 +-
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/btrfs.h | 1 +
init/initramfs.c | 2 +-
io_uring/futex.c | 1 +
io_uring/io_uring.c | 5 +-
io_uring/net.c | 5 +-
io_uring/poll.c | 19 +-
io_uring/rw.c | 4 +
io_uring/waitid.c | 7 +-
kernel/bounds.c | 2 +-
kernel/crash_core.c | 8 +
kernel/dma/swiotlb.c | 37 +--
kernel/entry/common.c | 8 +-
kernel/irq/manage.c | 9 +-
kernel/module/Kconfig | 5 +
kernel/power/suspend.c | 1 +
kernel/printk/printk.c | 27 ++-
kernel/sys.c | 7 +-
kernel/time/posix-clock.c | 16 +-
kernel/trace/ring_buffer.c | 161 ++++++++-----
kernel/trace/trace.c | 43 +++-
kernel/workqueue.c | 2 +-
lib/pci_iomap.c | 2 +-
mm/filemap.c | 16 ++
mm/kasan/kasan_test.c | 3 +-
mm/memtest.c | 4 +-
mm/shmem_quota.c | 10 +-
mm/swapfile.c | 13 +-
mm/zswap.c | 8 +
net/bluetooth/hci_core.c | 6 +-
net/bluetooth/hci_sync.c | 5 +-
net/ipv4/esp4.c | 8 +-
net/ipv6/esp6.c | 8 +-
net/mac80211/cfg.c | 7 +-
net/mac80211/ieee80211_i.h | 2 +-
net/mac80211/rate.c | 2 +-
net/mac80211/sta_info.h | 6 +-
net/mac80211/vht.c | 46 ++--
net/mac802154/llsec.c | 18 +-
net/netfilter/nf_tables_api.c | 3 +
net/wireless/wext-core.c | 7 +-
scripts/Makefile.extrawarn | 2 +
security/apparmor/lsm.c | 4 +-
security/landlock/syscalls.c | 18 +-
security/lsm_syscalls.c | 10 +-
security/security.c | 20 +-
security/selinux/hooks.c | 4 +-
security/smack/smack_lsm.c | 16 +-
sound/pci/hda/tas2781_hda_i2c.c | 83 ++++---
sound/sh/aica.c | 17 +-
sound/soc/amd/yc/acp6x-mach.c | 7 -
sound/soc/amd/yc/pci-acp6x.c | 1 -
tools/include/linux/btf_ids.h | 2 +
tools/testing/selftests/lsm/common.h | 6 +-
.../testing/selftests/lsm/lsm_get_self_attr_test.c | 10 +-
.../testing/selftests/lsm/lsm_list_modules_test.c | 8 +-
.../testing/selftests/lsm/lsm_set_self_attr_test.c | 6 +-
tools/testing/selftests/mm/gup_test.c | 2 +-
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 +
.../selftests/wireguard/qemu/arch/riscv32.config | 1 +
.../selftests/wireguard/qemu/arch/riscv64.config | 1 +
virt/kvm/async_pf.c | 31 ++-
482 files changed, 4826 insertions(+), 2566 deletions(-)




2024-04-01 16:01:44

by Greg Kroah-Hartman

[permalink] [raw]
Subject: [PATCH 6.8 225/399] drm/ttm: Make sure the mapped tt pages are decrypted when needed

6.8-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




2024-04-01 16:04:33

by Greg Kroah-Hartman

[permalink] [raw]
Subject: [PATCH 6.8 267/399] efi/libstub: fix efi_random_alloc() to allocate memory at alloc_min or higher address

6.8-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




2024-04-01 17:18:02

by Ronald Warsow

[permalink] [raw]
Subject: Re: [PATCH 6.8 000/399] 6.8.3-rc1 review

Hi Greg

*no* regressions here on x86_64 (RKL, Intel 11th Gen. CPU)

Thanks

Tested-by: Ronald Warsow <[email protected]>


2024-04-01 18:29:57

by SeongJae Park

[permalink] [raw]
Subject: Re: [PATCH 6.8 000/399] 6.8.3-rc1 review

Hello,

On Mon, 1 Apr 2024 17:39:26 +0200 Greg Kroah-Hartman <[email protected]> wrote:

> This is the start of the stable review cycle for the 6.8.3 release.
> There are 399 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.8.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.8.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] bffeaccf18b5 ("Linux 6.8.3-rc1")

Thanks,
SJ

[...]

---

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: sysfs_update_schemes_tried_regions_hang.py
ok 11 selftests: damon: sysfs_update_schemes_tried_regions_wss_estimation.py
ok 12 selftests: damon: reclaim.sh
ok 13 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

2024-04-01 19:04:16

by Naresh Kamboju

[permalink] [raw]
Subject: Re: [PATCH 6.8 000/399] 6.8.3-rc1 review

On Mon, 1 Apr 2024 at 21:20, Greg Kroah-Hartman
<[email protected]> wrote:
>
> This is the start of the stable review cycle for the 6.8.3 release.
> There are 399 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.8.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.8.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

2024-04-01 19:40:41

by Naresh Kamboju

[permalink] [raw]
Subject: Re: [PATCH 6.8 000/399] 6.8.3-rc1 review

On Mon, 1 Apr 2024 at 21:20, Greg Kroah-Hartman
<[email protected]> wrote:
>
> This is the start of the stable review cycle for the 6.8.3 release.
> There are 399 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.8.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.8.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h

The following kernel BUG: unable to handle page fault for address and followed
by Kernel panic - not syncing: Fatal exception in interrupt noticed
on the qemu-i386 running selftests: net: pmtu.sh test case and the kernel
built with kselftest merge net configs with clang.

We are investigating this problem on qemu-i386.

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

# selftests: net: pmtu.sh
# TEST: ipv4: PMTU exceptions [ OK ]
# TEST: ipv4: PMTU exceptions - nexthop objects [ OK ]
# TEST: ipv6: PMTU exceptions [ OK ]
<trim>
# TEST: ipv4: cleanup of cached exceptions [ OK ]
# TEST: ipv4: cleanup of cached exceptions - nexthop objects [ OK ]
# TEST: ipv6: cleanup of cached exceptions [ OK ]
# TEST: ipv6: cleanup of cached exceptions - nexthop objects [ OK ]
<1>[ 577.550133] BUG: unable to handle page fault for address: 26c2e000
<1>[ 577.555420] #PF: supervisor read access in kernel mode
<1>[ 577.555881] #PF: error_code(0x0000) - not-present page
<6>[ 577.556265] *pde = 00000000
<4>[ 577.558166] Oops: 0000 [#1] PREEMPT SMP
<4>[ 577.559142] CPU: 1 PID: 59 Comm: kworker/u4:5 Not tainted 6.8.3-rc1 #1
<4>[ 577.560387] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009),
BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
<4>[ 577.561517] Workqueue: netns cleanup_net
<4>[ 577.563500] EIP: percpu_counter_add_batch+0x38/0xc0

<trim>

<4>[ 577.569244] Call Trace:
<4>[ 577.570414] <SOFTIRQ>
<4>[ 577.571182] ? __die_body+0x56/0xa0
<4>[ 577.571635] ? __die+0x6b/0x80
<4>[ 577.571877] ? page_fault_oops+0x296/0x2e0
<4>[ 577.572169] ? kernelmode_fixup_or_oops+0xa0/0xb0
<4>[ 577.572535] ? __bad_area_nosemaphore+0x43/0x180
<4>[ 577.572856] ? bad_area_nosemaphore+0xd/0x20
<4>[ 577.573186] ? do_user_addr_fault+0x314/0x400
<4>[ 577.573524] ? exc_page_fault+0x49/0xa0
<4>[ 577.573807] ? pvclock_clocksource_read_nowd+0xec/0xec
<4>[ 577.574143] ? dst_release+0x60/0x60
<4>[ 577.574408] ? handle_exception+0x14b/0x14b
<4>[ 577.574706] ? dst_release+0x60/0x60
<4>[ 577.574990] ? pvclock_clocksource_read_nowd+0xec/0xec
<4>[ 577.575340] ? percpu_counter_add_batch+0x38/0xc0
<4>[ 577.575664] ? pvclock_clocksource_read_nowd+0xec/0xec
<4>[ 577.576005] ? percpu_counter_add_batch+0x38/0xc0
<4>[ 577.576333] ? dst_release+0x60/0x60
<4>[ 577.576594] dst_destroy+0x34/0xe0
<4>[ 577.577017] dst_destroy_rcu+0xb/0x10
<4>[ 577.577298] rcu_core+0x3f5/0x920
<4>[ 577.577561] rcu_core_si+0x8/0x10
<4>[ 577.577803] __do_softirq+0xa8/0x23e
<4>[ 577.578088] ? __lock_text_end+0x3/0x3
<4>[ 577.578353] do_softirq_own_stack+0x50/0x60
<4>[ 577.578744] </SOFTIRQ>
<4>[ 577.578974] ? sysvec_call_function_single+0x2c/0x2c
<4>[ 577.579313] irq_exit_rcu+0x3a/0x80
<4>[ 577.579574] sysvec_apic_timer_interrupt+0x1f/0x30
<4>[ 577.579893] handle_exception+0x14b/0x14b
<4>[ 577.580315] EIP: rb_erase+0x1aa/0x270

<trim>

<4>[ 577.581832] ? sysvec_call_function_single+0x2c/0x2c
<4>[ 577.582101] ? sysvec_call_function_single+0x2c/0x2c
<4>[ 577.582361] ? rb_erase+0x1aa/0x270
<4>[ 577.582631] remove_proc_entry+0xce/0x1a0
<4>[ 577.582959] tcp4_proc_exit_net+0x10/0x20
<4>[ 577.583251] cleanup_net+0x1fb/0x350
<4>[ 577.583515] process_scheduled_works+0x1e1/0x3a0
<4>[ 577.583837] worker_thread+0x294/0x3c0
<4>[ 577.584112] kthread+0x13a/0x150
<4>[ 577.584348] ? pr_cont_work+0x180/0x180
<4>[ 577.584624] ? kthread_blkcg+0x30/0x30
<4>[ 577.584892] ? kthread_blkcg+0x30/0x30
<4>[ 577.585175] ret_from_fork+0x2b/0x40
<4>[ 577.585433] ret_from_fork_asm+0x12/0x18
<4>[ 577.585734] entry_INT80_32+0x108/0x108
<4>[ 577.586133] Modules linked in: xfrm_user ipip bridge stp llc
geneve vxlan act_csum act_pedit cls_flower sch_prio xt_mark nft_compat
nf_tables libcrc32c sch_ingress act_mirred cls_basic sch_fq_codel vrf
macvtap macvlan tap ip_tables x_tables [last unloaded:
test_blackhole_dev]
<4>[ 577.588292] CR2: 0000000026c2e000
<4>[ 577.589067] ---[ end trace 0000000000000000 ]---
<4>[ 577.589465] EIP: percpu_counter_add_batch+0x38/0xc0

<trim>

<0>[ 577.592536] Kernel panic - not syncing: Fatal exception in interrupt
<0>[ 577.598118] Kernel Offset: disabled
<0>[ 577.598605] ---[ end Kernel panic - not syncing: Fatal exception
in interrupt ]---

Steps to reproduce:
-----
- https://tuxapi.tuxsuite.com/v1/groups/linaro/projects/lkft/tests/2eVRrC1WkGHyPnNFg2O7ZvT2Vgy/reproducer

Links:
- https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.8.y/build/v6.8.2-400-gbffeaccf18b5/testrun/23255383/suite/log-parser-test/test/check-kernel-bug/log
- https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.8.y/build/v6.8.2-400-gbffeaccf18b5/testrun/23255383/suite/log-parser-test/tests/
- https://tuxapi.tuxsuite.com/v1/groups/linaro/projects/lkft/tests/2eVRrC1WkGHyPnNFg2O7ZvT2Vgy


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

2024-04-01 20:52:20

by Pavel Machek

[permalink] [raw]
Subject: Re: [PATCH 6.8 000/399] 6.8.3-rc1 review

Hi!

> This is the start of the stable review cycle for the 6.8.3 release.
> There are 399 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.

CIP runs testing on 6.8, 6.7 and 6.6. 6.8 and 6.7 tested out okay, 6.6
is still running last test.

Best regards,
Pavel

--
DENX Software Engineering GmbH, Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


Attachments:
(No filename) (527.00 B)
signature.asc (201.00 B)
Download all attachments

2024-04-01 21:02:53

by Florian Fainelli

[permalink] [raw]
Subject: Re: [PATCH 6.8 000/399] 6.8.3-rc1 review

On 4/1/24 08:39, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 6.8.3 release.
> There are 399 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.8.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.8.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h

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

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


2024-04-01 23:22:16

by Shuah Khan

[permalink] [raw]
Subject: Re: [PATCH 6.8 000/399] 6.8.3-rc1 review

On 4/1/24 09:39, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 6.8.3 release.
> There are 399 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.8.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.8.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
>

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

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

thanks,
-- Shuah

2024-04-02 03:54:37

by Jakub Kicinski

[permalink] [raw]
Subject: Re: [PATCH 6.8 000/399] 6.8.3-rc1 review

On Tue, 2 Apr 2024 01:10:11 +0530 Naresh Kamboju wrote:
> The following kernel BUG: unable to handle page fault for address and followed
> by Kernel panic - not syncing: Fatal exception in interrupt noticed
> on the qemu-i386 running selftests: net: pmtu.sh test case and the kernel
> built with kselftest merge net configs with clang.
>
> We are investigating this problem on qemu-i386.

One-off or does it repro?

2024-04-02 05:01:24

by Ron Economos

[permalink] [raw]
Subject: Re: [PATCH 6.8 000/399] 6.8.3-rc1 review

On 4/1/24 8:39 AM, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 6.8.3 release.
> There are 399 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.8.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.8.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]>


2024-04-02 05:01:42

by Naresh Kamboju

[permalink] [raw]
Subject: Re: [PATCH 6.8 000/399] 6.8.3-rc1 review

On Tue, 2 Apr 2024 at 09:21, Jakub Kicinski <[email protected]> wrote:
>
> On Tue, 2 Apr 2024 01:10:11 +0530 Naresh Kamboju wrote:
> > The following kernel BUG: unable to handle page fault for address and followed
> > by Kernel panic - not syncing: Fatal exception in interrupt noticed
> > on the qemu-i386 running selftests: net: pmtu.sh test case and the kernel
> > built with kselftest merge net configs with clang.
> >
> > We are investigating this problem on qemu-i386.
>
> One-off or does it repro?

one-off.
I have tried reproducing this problem and no luck yet.

- Naresh

2024-04-02 08:17:08

by Bagas Sanjaya

[permalink] [raw]
Subject: Re: [PATCH 6.8 000/399] 6.8.3-rc1 review

On Mon, Apr 01, 2024 at 05:39:26PM +0200, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 6.8.3 release.
> There are 399 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.
>

Successfully compiled and installed the kernel on my computer (Acer
Aspire E15, Intel Core i3 Haswell). No noticeable regressions.

Tested-by: Bagas Sanjaya <[email protected]>

--
An old man doll... just what I always wanted! - Clara


Attachments:
(No filename) (557.00 B)
signature.asc (235.00 B)
Download all attachments

2024-04-02 09:10:20

by Naresh Kamboju

[permalink] [raw]
Subject: Re: [PATCH 6.8 000/399] 6.8.3-rc1 review

On Mon, 1 Apr 2024 at 21:20, Greg Kroah-Hartman
<[email protected]> wrote:
>
> This is the start of the stable review cycle for the 6.8.3 release.
> There are 399 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.8.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.8.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.8.y/build/v6.8.2-400-gbffeaccf18b5/testrun/23252337/suite/libgpiod/tests/

## Build
* kernel: 6.8.3-rc1
* git: https://gitlab.com/Linaro/lkft/mirrors/stable/linux-stable-rc
* git branch: linux-6.8.y
* git commit: bffeaccf18b5433577a5f823e5b98bee675d530c
* git describe: v6.8.2-400-gbffeaccf18b5
* test details:
https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.8.y/build/v6.8.2-400-gbffeaccf18b5

## Test Regressions (compared to v6.8.2)
* 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


## Metric Regressions (compared to v6.8.2)

## Test Fixes (compared to v6.8.2)

## Metric Fixes (compared to v6.8.2)

## Test result summary
total: 256232, pass: 222485, fail: 2538, skip: 30869, xfail: 340

## Build Summary
* arc: 5 total, 5 passed, 0 failed
* arm: 130 total, 128 passed, 2 failed
* arm64: 41 total, 40 passed, 1 failed
* i386: 32 total, 32 passed, 0 failed
* mips: 26 total, 26 passed, 0 failed
* parisc: 4 total, 4 passed, 0 failed
* powerpc: 36 total, 36 passed, 0 failed
* riscv: 18 total, 18 passed, 0 failed
* s390: 13 total, 13 passed, 0 failed
* sh: 10 total, 10 passed, 0 failed
* sparc: 8 total, 6 passed, 2 failed
* x86_64: 36 total, 35 passed, 1 failed

## Test suites summary
* boot
* kselftest-arm64
* kselftest-breakpoints
* kselftest-capabilities
* kselftest-cgroup
* kselftest-clone3
* kselftest-core
* kselftest-cpu-hotplug
* kselftest-cpufreq
* kselftest-efivarfs
* kselftest-exec
* kselftest-filesystems
* kselftest-filesystems-binderfs
* kselftest-filesystems-epoll
* kselftest-firmware
* kselftest-fpu
* kselftest-ftrace
* kselftest-futex
* kselftest-gpio
* kselftest-intel_pstate
* kselftest-ipc
* kselftest-kcmp
* kselftest-kvm
* kselftest-livepatch
* kselftest-membarrier
* kselftest-mincore
* kselftest-mqueue
* kselftest-net
* kselftest-net-mptcp
* kselftest-openat2
* kselftest-ptrace
* kselftest-rseq
* kselftest-rtc
* kselftest-seccomp
* kselftest-sigaltstack
* kselftest-size
* kselftest-tc-testing
* kselftest-timers
* kselftest-tmpfs
* kselftest-tpm2
* kselftest-user_events
* kselftest-vDSO
* kselftest-watchdog
* kselftest-x86
* kunit
* libgpiod
* libhugetlbfs
* log-parser-boot
* log-parser-test
* ltp-cap_bounds
* ltp-commands
* ltp-containers
* ltp-controllers
* ltp-cpuhotplug
* ltp-crypto
* ltp-cve
* ltp-dio
* ltp-fcntl-locktests
* ltp-filecaps
* ltp-fs
* ltp-fs_bind
* ltp-fs_perms_simple
* ltp-hugetlb
* ltp-io
* ltp-ipc
* ltp-math
* ltp-mm
* ltp-nptl
* ltp-pty
* ltp-sched
* ltp-securebits
* ltp-smoke
* ltp-smoketest
* ltp-syscalls
* ltp-tracing
* perf
* rcutorture

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

2024-04-02 13:38:10

by Justin Forbes

[permalink] [raw]
Subject: Re: [PATCH 6.8 000/399] 6.8.3-rc1 review

On Mon, Apr 01, 2024 at 05:39:26PM +0200, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 6.8.3 release.
> There are 399 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.8.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.8.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h

Tested rc1 against the Fedora build system (aarch64, ppc64le, s390x,
x86_64), and boot tested x86_64. No regressions noted.

Tested-by: Justin M. Forbes <[email protected]>

2024-04-02 19:18:14

by Mark Brown

[permalink] [raw]
Subject: Re: [PATCH 6.8 000/399] 6.8.3-rc1 review

On Mon, Apr 01, 2024 at 05:39:26PM +0200, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 6.8.3 release.
> There are 399 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]>


Attachments:
(No filename) (351.00 B)
signature.asc (499.00 B)
Download all attachments

2024-04-03 10:45:53

by Jon Hunter

[permalink] [raw]
Subject: Re: [PATCH 6.8 000/399] 6.8.3-rc1 review

Hi Greg,

On 01/04/2024 16:39, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 6.8.3 release.
> There are 399 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.8.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.8.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h


We have two test failures ...

Test results for stable-v6.8:
10 builds: 10 pass, 0 fail
26 boots: 26 pass, 0 fail
116 tests: 114 pass, 2 fail

Linux version: 6.8.3-rc1-gbffeaccf18b5
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

Test failures: tegra186-p2771-0000: pm-system-suspend.sh
tegra194-p2972-0000: boot.py


1. The system suspend regression appears to be a new regression from
v6.8.2 related to some workqueue changes and I have reported this
here [0].
2. The boot.py is a kernel warning that we observed with v6.8 and still
see with v6.9-rc2. There is a fix in the works and I am checking on
this [1]. This is not a regression for v6.8.y but a known issue.

Jon

[0] https://lore.kernel.org/stable/[email protected]/
[1] https://lore.kernel.org/linux-tegra/[email protected]/T/#t

--
nvpublic