This is the start of the stable review cycle for the 6.12.19 release. There are 269 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, 12 Mar 2025 17:04:00 +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.12.19-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.12.y and the diffstat can be found below. thanks, greg k-h ------------- Pseudo-Shortlog of commits: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Linux 6.12.19-rc1 Xi Ruoyao <xry111@xxxxxxxxxxx> x86/mm: Don't disable PCID when INVLPG has been fixed by microcode Kumar Kartikeya Dwivedi <memxor@xxxxxxxxx> selftests/bpf: Clean up open-coded gettid syscall invocations Jiri Olsa <jolsa@xxxxxxxxxx> uprobes: Fix race in uprobe_free_utask Paolo Bonzini <pbonzini@xxxxxxxxxx> KVM: e500: always restore irqs Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Revert "KVM: PPC: e500: Mark "struct page" dirty in kvmppc_e500_shadow_map()" Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Revert "KVM: PPC: e500: Mark "struct page" pfn accessed before dropping mmu_lock" Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Revert "KVM: PPC: e500: Use __kvm_faultin_pfn() to handle page faults" Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Revert "KVM: e500: always restore irqs" Miguel Ojeda <ojeda@xxxxxxxxxx> docs: rust: remove spurious item in `expect` list Maurizio Lombardi <mlombard@xxxxxxxxxx> nvme-tcp: Fix a C2HTermReq error message Arnd Bergmann <arnd@xxxxxxxx> ALSA: hda: realtek: fix incorrect IS_REACHABLE() usage Arnd Bergmann <arnd@xxxxxxxx> kbuild: hdrcheck: fix cross build with clang Max Kellermann <max.kellermann@xxxxxxxxx> fs/netfs/read_collect: fix crash due to uninitialized `prev` variable Max Kellermann <max.kellermann@xxxxxxxxx> fs/netfs/read_pgpriv2: skip folio queues without `marks3` Ryan Roberts <ryan.roberts@xxxxxxx> arm64: hugetlb: Fix huge_ptep_get_and_clear() for non-present ptes Ryan Roberts <ryan.roberts@xxxxxxx> mm: hugetlb: Add huge page size param to huge_ptep_get_and_clear() Nayab Sayed <nayabbasha.sayed@xxxxxxxxxxxxx> iio: adc: at91-sama5d2_adc: fix sama7g5 realbits value Markus Burri <markus.burri@xxxxxx> iio: adc: ad7192: fix channel select Angelo Dureghello <adureghello@xxxxxxxxxxxx> iio: dac: ad3552r: clear reset status flag Javier Carrasco <javier.carrasco.cruz@xxxxxxxxx> iio: light: apds9306: fix max_scale_nano values Sam Winchenbach <swinchenbach@xxxxxxxx> iio: filter: admv8818: Force initialization of SDO Haoyu Li <lihaoyu499@xxxxxxxxx> drivers: virt: acrn: hsm: Use kzalloc to avoid info leak in pmcmd_ioctl Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> eeprom: digsy_mtc: Make GPIO lookup table match the device Manivannan Sadhasivam <manivannan.sadhasivam@xxxxxxxxxx> bus: mhi: host: pci_generic: Use pci_try_reset_function() to avoid deadlock Visweswara Tanuku <quic_vtanuku@xxxxxxxxxxx> slimbus: messaging: Free transaction ID in delayed interrupt scenario Luca Ceresoli <luca.ceresoli@xxxxxxxxxxx> drivers: core: fix device leak in __fw_devlink_relax_cycles() Thadeu Lima de Souza Cascardo <cascardo@xxxxxxxxxx> char: misc: deallocate static minor in error path Alexander Shishkin <alexander.shishkin@xxxxxxxxxxxxxxx> intel_th: pci: Add Panther Lake-P/U support Alexander Shishkin <alexander.shishkin@xxxxxxxxxxxxxxx> intel_th: pci: Add Panther Lake-H support Pawel Chmielewski <pawel.chmielewski@xxxxxxxxx> intel_th: pci: Add Arrow Lake support Hans de Goede <hdegoede@xxxxxxxxxx> mei: vsc: Use "wakeuphostint" when getting the host wakeup GPIO Alexander Usyskin <alexander.usyskin@xxxxxxxxx> mei: me: add panther lake P DID Qiu-ji Chen <chenqiuji666@xxxxxxxxx> cdx: Fix possible UAF error in driver_override_show() Xiaoyao Li <xiaoyao.li@xxxxxxxxx> KVM: x86: Explicitly zero EAX and EBX when PERFMON_V2 isn't supported by KVM Sean Christopherson <seanjc@xxxxxxxxxx> KVM: x86: Snapshot the host's DEBUGCTL after disabling IRQs Sean Christopherson <seanjc@xxxxxxxxxx> KVM: SVM: Manually context switch DEBUGCTL if LBR virtualization is disabled Sean Christopherson <seanjc@xxxxxxxxxx> KVM: x86: Snapshot the host's DEBUGCTL in common x86 Sean Christopherson <seanjc@xxxxxxxxxx> KVM: SVM: Suppress DEBUGCTL.BTF on AMD Sean Christopherson <seanjc@xxxxxxxxxx> KVM: SVM: Drop DEBUGCTL[5:2] from guest's effective value Sean Christopherson <seanjc@xxxxxxxxxx> KVM: SVM: Save host DR masks on CPUs with DebugSwap Sean Christopherson <seanjc@xxxxxxxxxx> KVM: SVM: Set RFLAGS.IF=1 in C code, to get VMRUN out of the STI shadow Michal Pecio <michal.pecio@xxxxxxxxx> usb: xhci: Enable the TRB overfetch quirk on VIA VL805 Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> xhci: pci: Fix indentation in the PCI device ID definitions Gary Guo <gary@xxxxxxxxxxx> rust: map `long` to `isize` and `char` to `u8` Miguel Ojeda <ojeda@xxxxxxxxxx> rust: finish using custom FFI integer types Christian A. Ehrhardt <lk@xxxxxxx> acpi: typec: ucsi: Introduce a ->poll_cci method Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx> kbuild: userprogs: use correct lld when linking through clang Prashanth K <prashanth.k@xxxxxxxxxxxxxxxx> usb: gadget: Check bmAttributes only if configuration is valid Marek Szyprowski <m.szyprowski@xxxxxxxxxxx> usb: gadget: Fix setting self-powered state on suspend Prashanth K <prashanth.k@xxxxxxxxxxxxxxxx> usb: gadget: Set self-powered based on MaxPower and bmAttributes AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx> usb: typec: tcpci_rt1711h: Unmask alert interrupts to fix functionality Fedor Pchelkin <boddah8794@xxxxxxxxx> usb: typec: ucsi: increase timeout for PPM reset operations Badhri Jagan Sridharan <badhri@xxxxxxxxxx> usb: dwc3: gadget: Prevent irq storm when TH re-executes Thinh Nguyen <Thinh.Nguyen@xxxxxxxxxxxx> usb: dwc3: Set SUSPENDENABLE soon after phy init Nikita Zhandarovich <n.zhandarovich@xxxxxxxxxx> usb: atm: cxacru: fix a flaw in existing endpoint checks Prashanth K <prashanth.k@xxxxxxxxxxxxxxxx> usb: gadget: u_ether: Set is_suspend flag if remote wakeup fails Claudiu Beznea <claudiu.beznea.uj@xxxxxxxxxxxxxx> usb: renesas_usbhs: Flush the notify_hotplug_work Andrei Kuchynski <akuchynski@xxxxxxxxxxxx> usb: typec: ucsi: Fix NULL pointer access Miao Li <limiao@xxxxxxxxxx> usb: quirks: Add DELAY_INIT and NO_LPM for Prolific Mass Storage Card Reader Pawel Laszczak <pawell@xxxxxxxxxxx> usb: hub: lack of clearing xHC resources Claudiu Beznea <claudiu.beznea.uj@xxxxxxxxxxxxxx> usb: renesas_usbhs: Use devm_usb_get_phy() Marc Zyngier <maz@xxxxxxxxxx> xhci: Restrict USB4 tunnel detection for USB3 devices to Intel hosts Claudiu Beznea <claudiu.beznea.uj@xxxxxxxxxxxxxx> usb: renesas_usbhs: Call clk_put() Christian Heusel <christian@xxxxxxxxx> Revert "drivers/card_reader/rtsx_usb: Restore interrupt based detection" Fabrizio Castro <fabrizio.castro.jz@xxxxxxxxxxx> gpio: rcar: Fix missing of_node_put() call Justin Iurman <justin.iurman@xxxxxxxxx> net: ipv6: fix missing dst ref drop in ila lwtunnel Justin Iurman <justin.iurman@xxxxxxxxx> net: ipv6: fix dst ref loop in ila lwtunnel Matt Johnston <matt@xxxxxxxxxxxxxxxxxxxx> mctp i3c: handle NULL header address Lorenzo Bianconi <lorenzo@xxxxxxxxxx> net: dsa: mt7530: Fix traffic flooding for MMIO devices Dan Carpenter <dan.carpenter@xxxxxxxxxx> nvme-tcp: fix signedness bug in nvme_tcp_init_connection() Zecheng Li <zecheng@xxxxxxxxxx> sched/fair: Fix potential memory corruption in child_cfs_rq_on_list Uday Shankar <ushankar@xxxxxxxxxxxxxxx> ublk: set_params: properly check if parameters can be applied Jason Xing <kerneljasonxing@xxxxxxxxx> net-timestamp: support TCP GSO case for a few missing flags Eric Sandeen <sandeen@xxxxxxxxxx> exfat: short-circuit zero-byte writes in exfat_file_write_iter Namjae Jeon <linkinjeon@xxxxxxxxxx> exfat: fix soft lockup in exfat_clear_bitmap Yuezhang Mo <Yuezhang.Mo@xxxxxxxx> exfat: fix just enough dentries but allocate a new cluster to dir Jarkko Sakkinen <jarkko@xxxxxxxxxx> x86/sgx: Fix size overflows in sgx_encl_create() Oscar Maes <oscmaes92@xxxxxxxxx> vlan: enforce underlying device type Maxime Chevallier <maxime.chevallier@xxxxxxxxxxx> net: ethtool: netlink: Allow NULL nlattrs when getting a phy_device Jakub Kicinski <kuba@xxxxxxxxxx> net: ethtool: plumb PHY stats to PHY drivers Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx> ethtool: linkstate: migrate linkstate functions to support multi-PHY setups Jiayuan Chen <jiayuan.chen@xxxxxxxxx> ppp: Fix KMSAN uninit-value warning with bpf Luca Weiss <luca.weiss@xxxxxxxxxxxxx> net: ipa: Enable checksum for IPA_ENDPOINT_AP_MODEM_{RX,TX} for v4.7 Luca Weiss <luca.weiss@xxxxxxxxxxxxx> net: ipa: Fix QSB data for v4.7 Luca Weiss <luca.weiss@xxxxxxxxxxxxx> net: ipa: Fix v4.7 resource group names Vicki Pfau <vi@xxxxxxxxxxx> HID: hid-steam: Fix use-after-free when detaching device Maarten Lankhorst <dev@xxxxxxxxxxxx> drm/xe: Remove double pageflip Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> drm/i915: Plumb 'dsb' all way to the plane hooks Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> drm/i915/color: Extract intel_color_modeset() Peiyang Wang <wangpeiyang1@xxxxxxxxxx> net: hns3: make sure ptp clock is unregister and freed if hclge_ptp_get_cycle returns an error Nikolay Aleksandrov <razor@xxxxxxxxxxxxx> be2net: fix sleeping while atomic bugs in be_ndo_bridge_getlink Philipp Stanner <phasta@xxxxxxxxxx> drm/sched: Fix preprocessor guard Xinghuo Chen <xinghuo.chen@xxxxxxxxxxx> hwmon: fix a NULL vs IS_ERR_OR_NULL() check in xgene_hwmon_probe() Eric Dumazet <edumazet@xxxxxxxxxx> llc: do not use skb_get() before dev_queue_xmit() Murad Masimov <m.masimov@xxxxxxxxxxxxxxxxx> ALSA: usx2y: validate nrpacks module parameter on probe Alessio Belle <alessio.belle@xxxxxxxxxx> drm/imagination: Fix timestamps in firmware traces Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx> tracing: probe-events: Remove unused MAX_ARG_BUF_LEN macro Erik Schumacher <erik.schumacher@xxxxxxxxxxxxxxxx> hwmon: (ad7314) Validate leading zero bits and return error Maud Spierings <maudspierings@xxxxxxxxxxxxxx> hwmon: (ntc_thermistor) Fix the ncpXXxh103 sensor table Titus Rwantare <titusr@xxxxxxxxxx> hwmon: (pmbus) Initialise page count in pmbus_identify() Peter Zijlstra <peterz@xxxxxxxxxxxxx> perf/core: Fix pmus_lock vs. pmus_srcu ordering Vitaliy Shevtsov <v.shevtsov@xxxxxxxxxxxxxxxxx> caif_virtio: fix wrong pointer check in cfv_probe() Antoine Tenart <atenart@xxxxxxxxxx> net: gso: fix ownership in __udp_gso_segment Antheas Kapenekakis <lkml@xxxxxxxxxxx> ALSA: hda/realtek: Remove (revert) duplicate Ally X config Meir Elisha <meir.elisha@xxxxxxxxxxx> nvmet-tcp: Fix a possible sporadic response drops in weakly ordered arch Maurizio Lombardi <mlombard@xxxxxxxxxx> nvme-tcp: fix potential memory corruption in nvme_tcp_recv_pdu() Maurizio Lombardi <mlombard@xxxxxxxxxx> nvme-tcp: add basic support for the C2HTermReq PDU Salah Triki <salah.triki@xxxxxxxxx> bluetooth: btusb: Initialize .owner field of force_poll_sync_fops Dave Airlie <airlied@xxxxxxxxxx> drm/nouveau: select FW caching Thomas Zimmermann <tzimmermann@xxxxxxx> drm/nouveau: Run DRM default client setup Thomas Zimmermann <tzimmermann@xxxxxxx> drm/fbdev-ttm: Support struct drm_driver.fbdev_probe Thomas Zimmermann <tzimmermann@xxxxxxx> drm: Add client-agnostic setup helper Thomas Zimmermann <tzimmermann@xxxxxxx> drm/fbdev: Add memory-agnostic fbdev client Thomas Zimmermann <tzimmermann@xxxxxxx> drm/fbdev-helper: Move color-mode lookup into 4CC format helper Johannes Berg <johannes.berg@xxxxxxxxx> wifi: mac80211: fix vendor-specific inheritance Johannes Berg <johannes.berg@xxxxxxxxx> wifi: mac80211: fix MLE non-inheritance parsing Ilan Peer <ilan.peer@xxxxxxxxx> wifi: mac80211: Support parsing EPCS ML element Keith Busch <kbusch@xxxxxxxxxx> nvme-ioctl: fix leaked requests on mapping error Keith Busch <kbusch@xxxxxxxxxx> nvme-pci: use sgls for all user requests if possible Keith Busch <kbusch@xxxxxxxxxx> nvme-pci: add support for sgl metadata Kees Cook <kees@xxxxxxxxxx> coredump: Only sort VMAs when core_sort_vma sysctl is set Zhang Lixu <lixu.zhang@xxxxxxxxx> HID: intel-ish-hid: Fix use-after-free issue in ishtp_hid_remove() Zhang Lixu <lixu.zhang@xxxxxxxxx> HID: intel-ish-hid: Fix use-after-free issue in hid_ishtp_cl_remove() Yu-Chun Lin <eleanor15x@xxxxxxxxx> HID: google: fix unused variable warning under !CONFIG_ACPI Ilan Peer <ilan.peer@xxxxxxxxx> wifi: iwlwifi: Fix A-MSDU TSO preparation Ilan Peer <ilan.peer@xxxxxxxxx> wifi: iwlwifi: Free pages allocated when failing to build A-MSDU Johannes Berg <johannes.berg@xxxxxxxxx> wifi: iwlwifi: limit printed string from FW file Emmanuel Grumbach <emmanuel.grumbach@xxxxxxxxx> wifi: iwlwifi: mvm: don't try to talk to a dead firmware Johannes Berg <johannes.berg@xxxxxxxxx> wifi: iwlwifi: mvm: clean up ROC on failure Ma Wupeng <mawupeng1@xxxxxxxxxx> mm: memory-hotplug: check folio ref count first in do_migrate_range Ma Wupeng <mawupeng1@xxxxxxxxxx> hwpoison, memory_hotplug: lock folio before unmap hwpoisoned folio Brian Geffon <bgeffon@xxxxxxxxxx> mm: fix finish_fault() handling for large folios Ryan Roberts <ryan.roberts@xxxxxxx> mm: don't skip arch_sync_kernel_mappings() in error paths Ma Wupeng <mawupeng1@xxxxxxxxxx> mm: memory-failure: update ttu flag inside unmap_poisoned_folio Lorenzo Stoakes <lorenzo.stoakes@xxxxxxxxxx> mm: abort vma_modify() on merge out of memory failure Hao Zhang <zhanghao1@xxxxxxxxxx> mm/page_alloc: fix uninitialized variable Olivier Gayot <olivier.gayot@xxxxxxxxxxxxx> block: fix conversion of GPT partition name to 7-bit Suren Baghdasaryan <surenb@xxxxxxxxxx> userfaultfd: do not block on locking a large folio with raised refcount Mike Snitzer <snitzer@xxxxxxxxxx> NFS: fix nfs_release_folio() to not deadlock via kcompactd writeback Heiko Carstens <hca@xxxxxxxxxxxxx> s390/traps: Fix test_monitor_call() inline assembly Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx> dma: kmsan: export kmsan_handle_dma() for modules Haoxiang Li <haoxiang_li2024@xxxxxxx> rapidio: fix an API misues when rio_add_net() fails Haoxiang Li <haoxiang_li2024@xxxxxxx> rapidio: add check for rio_add_net() in rio_scan_alloc_net() SeongJae Park <sj@xxxxxxxxxx> selftests/damon/damon_nr_regions: sort collected regiosn before checking with min/max boundaries SeongJae Park <sj@xxxxxxxxxx> selftests/damon/damon_nr_regions: set ops update for merge results check to 100ms SeongJae Park <sj@xxxxxxxxxx> selftests/damon/damos_quota: make real expectation of quota exceeds SeongJae Park <sj@xxxxxxxxxx> selftests/damon/damos_quota_goal: handle minimum quota that cannot be further reduced Vitaliy Shevtsov <v.shevtsov@xxxxxxxxxxxxxxxxx> wifi: nl80211: reject cooked mode if it is set along with other flags Nikita Zhandarovich <n.zhandarovich@xxxxxxxxxx> wifi: cfg80211: regulatory: improve invalid hints checking Haoxiang Li <haoxiang_li2024@xxxxxxx> Bluetooth: Add check for mgmt_alloc_skb() in mgmt_device_connected() Haoxiang Li <haoxiang_li2024@xxxxxxx> Bluetooth: Add check for mgmt_alloc_skb() in mgmt_remote_name() Thomas Hellström <thomas.hellstrom@xxxxxxxxxxxxxxx> drm/xe/userptr: Unmap userptrs in the mmu notifier Matthew Auld <matthew.auld@xxxxxxxxx> drm/xe/userptr: properly setup pfn_flags_mask Thomas Hellström <thomas.hellstrom@xxxxxxxxxxxxxxx> drm/xe: Fix fault mode invalidation with unbind Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxxx> drm/xe: Fix GT "for each engine" workarounds Krister Johansen <kjlx@xxxxxxxxxxxxxxxxxx> mptcp: fix 'scheduling while atomic' in mptcp_pm_nl_append_new_local_addr Thomas Hellström <thomas.hellstrom@xxxxxxxxxxxxxxx> drm/xe/vm: Validate userptr during gpu vma prefetching Thomas Hellström <thomas.hellstrom@xxxxxxxxxxxxxxx> drm/xe/vm: Fix a misplaced #endif Thomas Hellström <thomas.hellstrom@xxxxxxxxxxxxxxx> drm/xe/hmm: Don't dereference struct page pointers without notifier lock Thomas Hellström <thomas.hellstrom@xxxxxxxxxxxxxxx> drm/xe/hmm: Style- and include fixes Matthew Brost <matthew.brost@xxxxxxxxx> drm/xe: Add staging tree for VM binds Ahmed S. Darwish <darwi@xxxxxxxxxxxxx> x86/cpu: Properly parse CPUID leaf 0x2 TLB descriptor 0x63 Ahmed S. Darwish <darwi@xxxxxxxxxxxxx> x86/cpu: Validate CPUID leaf 0x2 EDX output Ahmed S. Darwish <darwi@xxxxxxxxxxxxx> x86/cacheinfo: Validate CPUID leaf 0x2 EDX output Ard Biesheuvel <ardb@xxxxxxxxxx> x86/boot: Sanitize boot params before parsing command line Mingcong Bai <jeffbai@xxxxxxx> platform/x86: thinkpad_acpi: Add battery quirk for ThinkPad X131e John Hubbard <jhubbard@xxxxxxxxxx> Revert "selftests/mm: remove local __NR_* definitions" Gabriel Krisman Bertazi <krisman@xxxxxxx> Revert "mm/page_alloc.c: don't show protection in zone's ->lowmem_reserve[] for empty zone" Richard Thier <u9vata@xxxxxxxxx> drm/radeon: Fix rs400_gpu_init for ATI mobility radeon Xpress 200M Brendan King <Brendan.King@xxxxxxxxxx> drm/imagination: only init job done fences once Brendan King <Brendan.King@xxxxxxxxxx> drm/imagination: Hold drm_gem_gpuva lock for unmap Brendan King <Brendan.King@xxxxxxxxxx> drm/imagination: avoid deadlock on fence release Kenneth Feng <kenneth.feng@xxxxxxx> drm/amd/pm: always allow ih interrupt from fw Andrew Martin <Andrew.Martin@xxxxxxx> drm/amdkfd: Fix NULL Pointer Dereference in KFD queue Ma Ke <make24@xxxxxxxxxxx> drm/amd/display: Fix null check for pipe_ctx->plane_state in resource_build_scaling_params Paul Fertser <fercerpav@xxxxxxxxx> hwmon: (peci/dimmtemp) Do not provide fake thresholds data Haoxiang Li <haoxiang_li2024@xxxxxxx> btrfs: fix a leaked chunk map issue in read_one_chunk() Kailang Yang <kailang@xxxxxxxxxxx> ALSA: hda/realtek: update ALC222 depop optimize Kailang Yang <kailang@xxxxxxxxxxx> ALSA: hda/realtek - add supported Mic Mute LED for Lenovo platform Hoku Ishibe <me@xxxxxxxxxxx> ALSA: hda: intel: Add Dell ALC3271 to power_save denylist Takashi Iwai <tiwai@xxxxxxx> ALSA: seq: Avoid module auto-load handling at event delivery Koichiro Den <koichiro.den@xxxxxxxxxxxxx> gpio: aggregator: protect driver attr handlers against module unload Niklas Söderlund <niklas.soderlund+renesas@xxxxxxxxxxxx> gpio: rcar: Use raw_spinlock to protect register access Namjae Jeon <linkinjeon@xxxxxxxxxx> ksmbd: fix bug on trap in smb2_lock Namjae Jeon <linkinjeon@xxxxxxxxxx> ksmbd: fix use-after-free in smb2_lock Namjae Jeon <linkinjeon@xxxxxxxxxx> ksmbd: fix out-of-bounds in parse_sec_desc() Namjae Jeon <linkinjeon@xxxxxxxxxx> ksmbd: fix type confusion via race condition when using ipc_msg_send_request Daniil Dulov <d.dulov@xxxxxxxxxx> HID: appleir: Fix potential NULL dereference at raw event handle Bibo Mao <maobibo@xxxxxxxxxxx> LoongArch: KVM: Fix GPA size issue about VM Bibo Mao <maobibo@xxxxxxxxxxx> LoongArch: KVM: Reload guest CSR registers after sleep Bibo Mao <maobibo@xxxxxxxxxxx> LoongArch: KVM: Add interrupt checking for AVEC Bibo Mao <maobibo@xxxxxxxxxxx> LoongArch: Set max_pfn with the PFN of the last page Huacai Chen <chenhuacai@xxxxxxxxxx> LoongArch: Use polling play_dead() when resuming from hibernation Tiezhu Yang <yangtiezhu@xxxxxxxxxxx> LoongArch: Convert unreachable() to BUG() Philipp Stanner <phasta@xxxxxxxxxx> stmmac: loongson: Pass correct arg to PCI function Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx> tracing: tprobe-events: Reject invalid tracepoint name Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx> tracing: tprobe-events: Fix a memory leak when tprobe with $retval Rob Herring (Arm) <robh@xxxxxxxxxx> Revert "of: reserved-memory: Fix using wrong number of cells to get property 'alignment'" Asahi Lina <lina@xxxxxxxxxxxxx> rust: alloc: Fix `ArrayLayout` allocations Gary Guo <gary@xxxxxxxxxxx> rust: use custom FFI integer types Gary Guo <gary@xxxxxxxxxxx> rust: map `__kernel_size_t` and friends also to usize/isize Gary Guo <gary@xxxxxxxxxxx> rust: fix size_t in bindgen prototypes of C builtins Ethan D. Twardy <ethan.twardy@xxxxxxxxx> rust: kbuild: expand rusttest target for macros Thomas Böhler <witcher@xxxxxxxxxxxxx> drm/panic: allow verbose version check Thomas Böhler <witcher@xxxxxxxxxxxxx> drm/panic: allow verbose boolean for clarity Thomas Böhler <witcher@xxxxxxxxxxxxx> drm/panic: correctly indent continuation of line in list item Thomas Böhler <witcher@xxxxxxxxxxxxx> drm/panic: remove redundant field when assigning value Thomas Böhler <witcher@xxxxxxxxxxxxx> drm/panic: prefer eliding lifetimes Thomas Böhler <witcher@xxxxxxxxxxxxx> drm/panic: remove unnecessary borrow in alignment_pattern Thomas Böhler <witcher@xxxxxxxxxxxxx> drm/panic: avoid reimplementing Iterator::find Danilo Krummrich <dakr@xxxxxxxxxx> MAINTAINERS: add entry for the Rust `alloc` module Danilo Krummrich <dakr@xxxxxxxxxx> kbuild: rust: remove the `alloc` crate and `GlobalAlloc` Danilo Krummrich <dakr@xxxxxxxxxx> rust: alloc: update module comment of alloc.rs Danilo Krummrich <dakr@xxxxxxxxxx> rust: str: test: replace `alloc::format` Danilo Krummrich <dakr@xxxxxxxxxx> rust: alloc: implement `Cmalloc` in module allocator_test Danilo Krummrich <dakr@xxxxxxxxxx> rust: alloc: implement `contains` for `Flags` Danilo Krummrich <dakr@xxxxxxxxxx> rust: error: check for config `test` in `Error::name` Danilo Krummrich <dakr@xxxxxxxxxx> rust: error: use `core::alloc::LayoutError` Danilo Krummrich <dakr@xxxxxxxxxx> rust: alloc: add `Vec` to prelude Danilo Krummrich <dakr@xxxxxxxxxx> rust: alloc: remove `VecExt` extension Danilo Krummrich <dakr@xxxxxxxxxx> rust: treewide: switch to the kernel `Vec` type Danilo Krummrich <dakr@xxxxxxxxxx> rust: alloc: implement `collect` for `IntoIter` Danilo Krummrich <dakr@xxxxxxxxxx> rust: alloc: implement `IntoIterator` for `Vec` Danilo Krummrich <dakr@xxxxxxxxxx> rust: alloc: implement kernel `Vec` type Benno Lossin <benno.lossin@xxxxxxxxx> rust: alloc: introduce `ArrayLayout` Danilo Krummrich <dakr@xxxxxxxxxx> rust: alloc: add `Box` to prelude Danilo Krummrich <dakr@xxxxxxxxxx> rust: alloc: remove extension of std's `Box` Danilo Krummrich <dakr@xxxxxxxxxx> rust: treewide: switch to our kernel `Box` type Danilo Krummrich <dakr@xxxxxxxxxx> rust: alloc: implement kernel `Box` Danilo Krummrich <dakr@xxxxxxxxxx> rust: alloc: add __GFP_NOWARN to `Flags` Danilo Krummrich <dakr@xxxxxxxxxx> rust: alloc: implement `KVmalloc` allocator Danilo Krummrich <dakr@xxxxxxxxxx> rust: alloc: implement `Vmalloc` allocator Danilo Krummrich <dakr@xxxxxxxxxx> rust: alloc: add module `allocator_test` Danilo Krummrich <dakr@xxxxxxxxxx> rust: alloc: implement `Allocator` for `Kmalloc` Danilo Krummrich <dakr@xxxxxxxxxx> rust: alloc: make `allocator` module public Danilo Krummrich <dakr@xxxxxxxxxx> rust: alloc: implement `ReallocFunc` Danilo Krummrich <dakr@xxxxxxxxxx> rust: alloc: rename `KernelAllocator` to `Kmalloc` Danilo Krummrich <dakr@xxxxxxxxxx> rust: alloc: separate `aligned_size` from `krealloc_aligned` Danilo Krummrich <dakr@xxxxxxxxxx> rust: alloc: add `Allocator` trait Filipe Xavier <felipe_life@xxxxxxxx> rust: error: optimize error type to use nonzero Filipe Xavier <felipe_life@xxxxxxxx> rust: error: make conversion functions public Miguel Ojeda <ojeda@xxxxxxxxxx> Documentation: rust: discuss `#[expect(...)]` in the guidelines Miguel Ojeda <ojeda@xxxxxxxxxx> rust: start using the `#[expect(...)]` attribute Miguel Ojeda <ojeda@xxxxxxxxxx> Documentation: rust: add coding guidelines on lints Miguel Ojeda <ojeda@xxxxxxxxxx> rust: enable Clippy's `check-private-items` Miguel Ojeda <ojeda@xxxxxxxxxx> rust: provide proper code documentation titles Miguel Ojeda <ojeda@xxxxxxxxxx> rust: replace `clippy::dbg_macro` with `disallowed_macros` Miguel Ojeda <ojeda@xxxxxxxxxx> rust: introduce `.clippy.toml` Miguel Ojeda <ojeda@xxxxxxxxxx> rust: sync: remove unneeded `#[allow(clippy::non_send_fields_in_send_ty)]` Miguel Ojeda <ojeda@xxxxxxxxxx> rust: init: remove unneeded `#[allow(clippy::disallowed_names)]` Miguel Ojeda <ojeda@xxxxxxxxxx> rust: enable `rustdoc::unescaped_backticks` lint Miguel Ojeda <ojeda@xxxxxxxxxx> rust: enable `clippy::ignored_unit_patterns` lint Miguel Ojeda <ojeda@xxxxxxxxxx> rust: enable `clippy::unnecessary_safety_doc` lint Miguel Ojeda <ojeda@xxxxxxxxxx> rust: enable `clippy::unnecessary_safety_comment` lint Miguel Ojeda <ojeda@xxxxxxxxxx> rust: enable `clippy::undocumented_unsafe_blocks` lint Miguel Ojeda <ojeda@xxxxxxxxxx> rust: types: avoid repetition in `{As,From}Bytes` impls Miguel Ojeda <ojeda@xxxxxxxxxx> rust: sort global Rust flags Miguel Ojeda <ojeda@xxxxxxxxxx> rust: workqueue: remove unneeded ``#[allow(clippy::new_ret_no_self)]` Peter Zijlstra <peterz@xxxxxxxxxxxxx> loongarch: Use ASM_REACHABLE Borislav Petkov (AMD) <bp@xxxxxxxxx> x86/microcode/AMD: Add some forgotten models to the SHA check Qu Wenruo <wqu@xxxxxxxx> btrfs: fix data overwriting bug during buffered write when block size < page size Steve French <stfrench@xxxxxxxxxxxxx> smb311: failure to open files of length 1040 when mounting with SMB3.1.1 POSIX extensions Pali Rohár <pali@xxxxxxxxxx> cifs: Remove symlink member from cifs_open_info_data union Johan Korsnes <johan.korsnes@xxxxxxxxxxxxx> gpio: vf610: add locking to gpio direction functions Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx> gpio: vf610: use generic device_get_match_data() Imre Deak <imre.deak@xxxxxxxxx> drm/i915/dsi: Use TRANS_DDI_FUNC_CTL's own port width macro Jani Nikula <jani.nikula@xxxxxxxxx> drm/i915/dsi: convert to struct intel_display Yutaro Ohno <yutaro.ono.418@xxxxxxxxx> rust: block: fix formatting in GenDisk doc Andrew Cooper <andrew.cooper3@xxxxxxxxxx> x86/amd_nb: Use rdmsr_safe() in amd_get_mmconfig_range() ------------- Diffstat: .clippy.toml | 9 + .gitignore | 1 + Documentation/admin-guide/sysctl/kernel.rst | 11 + Documentation/rust/coding-guidelines.rst | 146 ++++ MAINTAINERS | 8 + Makefile | 24 +- arch/arm64/include/asm/hugetlb.h | 4 +- arch/arm64/mm/hugetlbpage.c | 59 +- arch/loongarch/include/asm/bug.h | 13 +- arch/loongarch/include/asm/hugetlb.h | 6 +- arch/loongarch/kernel/machine_kexec.c | 4 +- arch/loongarch/kernel/setup.c | 3 + arch/loongarch/kernel/smp.c | 47 +- arch/loongarch/kvm/exit.c | 6 + arch/loongarch/kvm/main.c | 7 + arch/loongarch/kvm/vcpu.c | 2 +- arch/loongarch/kvm/vm.c | 6 +- arch/mips/include/asm/hugetlb.h | 6 +- arch/parisc/include/asm/hugetlb.h | 2 +- arch/parisc/mm/hugetlbpage.c | 2 +- arch/powerpc/include/asm/hugetlb.h | 6 +- arch/powerpc/kvm/e500_mmu_host.c | 19 +- arch/riscv/include/asm/hugetlb.h | 3 +- arch/riscv/mm/hugetlbpage.c | 2 +- arch/s390/include/asm/hugetlb.h | 17 +- arch/s390/kernel/traps.c | 6 +- arch/s390/mm/hugetlbpage.c | 4 +- arch/sparc/include/asm/hugetlb.h | 2 +- arch/sparc/mm/hugetlbpage.c | 2 +- arch/x86/boot/compressed/pgtable_64.c | 2 + arch/x86/include/asm/kvm_host.h | 1 + arch/x86/kernel/amd_nb.c | 9 +- arch/x86/kernel/cpu/cacheinfo.c | 2 +- arch/x86/kernel/cpu/intel.c | 52 +- arch/x86/kernel/cpu/microcode/amd.c | 6 + arch/x86/kernel/cpu/sgx/ioctl.c | 7 + arch/x86/kvm/cpuid.c | 2 +- arch/x86/kvm/svm/sev.c | 13 +- arch/x86/kvm/svm/svm.c | 49 ++ arch/x86/kvm/svm/svm.h | 2 +- arch/x86/kvm/svm/vmenter.S | 10 +- arch/x86/kvm/vmx/vmx.c | 8 +- arch/x86/kvm/vmx/vmx.h | 2 - arch/x86/kvm/x86.c | 2 + arch/x86/mm/init.c | 23 +- block/partitions/efi.c | 2 +- drivers/base/core.c | 1 + drivers/block/rnull.rs | 4 +- drivers/block/ublk_drv.c | 7 +- drivers/bluetooth/btusb.c | 1 + drivers/bus/mhi/host/pci_generic.c | 5 +- drivers/cdx/cdx.c | 6 +- drivers/char/misc.c | 2 +- drivers/gpio/gpio-aggregator.c | 20 +- drivers/gpio/gpio-rcar.c | 31 +- drivers/gpio/gpio-vf610.c | 11 +- drivers/gpu/drm/Kconfig | 12 + drivers/gpu/drm/Makefile | 6 +- drivers/gpu/drm/amd/amdkfd/kfd_queue.c | 4 +- drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 3 +- drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0.c | 12 +- drivers/gpu/drm/drm_client_setup.c | 66 ++ drivers/gpu/drm/drm_fb_helper.c | 85 +- drivers/gpu/drm/drm_fbdev_client.c | 141 ++++ drivers/gpu/drm/drm_fbdev_ttm.c | 142 ++-- drivers/gpu/drm/drm_fourcc.c | 30 +- drivers/gpu/drm/drm_panic_qr.rs | 25 +- drivers/gpu/drm/i915/display/i9xx_plane.c | 22 +- drivers/gpu/drm/i915/display/icl_dsi.c | 448 +++++----- drivers/gpu/drm/i915/display/icl_dsi.h | 4 +- drivers/gpu/drm/i915/display/intel_atomic_plane.c | 49 +- drivers/gpu/drm/i915/display/intel_atomic_plane.h | 19 +- drivers/gpu/drm/i915/display/intel_color.c | 17 + drivers/gpu/drm/i915/display/intel_color.h | 1 + drivers/gpu/drm/i915/display/intel_cursor.c | 101 +-- drivers/gpu/drm/i915/display/intel_ddi.c | 2 +- drivers/gpu/drm/i915/display/intel_de.h | 11 + drivers/gpu/drm/i915/display/intel_display.c | 58 +- drivers/gpu/drm/i915/display/intel_display_types.h | 16 +- drivers/gpu/drm/i915/display/intel_sprite.c | 27 +- drivers/gpu/drm/i915/display/skl_universal_plane.c | 305 +++---- drivers/gpu/drm/imagination/pvr_fw_meta.c | 6 +- drivers/gpu/drm/imagination/pvr_fw_trace.c | 4 +- drivers/gpu/drm/imagination/pvr_queue.c | 18 +- drivers/gpu/drm/imagination/pvr_queue.h | 4 + drivers/gpu/drm/imagination/pvr_vm.c | 134 ++- drivers/gpu/drm/imagination/pvr_vm.h | 3 + drivers/gpu/drm/nouveau/Kconfig | 2 + drivers/gpu/drm/nouveau/nouveau_drm.c | 10 +- drivers/gpu/drm/radeon/r300.c | 3 +- drivers/gpu/drm/radeon/radeon_asic.h | 1 + drivers/gpu/drm/radeon/rs400.c | 18 +- drivers/gpu/drm/scheduler/gpu_scheduler_trace.h | 4 +- drivers/gpu/drm/xe/display/xe_plane_initial.c | 10 - drivers/gpu/drm/xe/xe_gt.c | 4 +- drivers/gpu/drm/xe/xe_hmm.c | 194 +++-- drivers/gpu/drm/xe/xe_hmm.h | 7 + drivers/gpu/drm/xe/xe_pt.c | 96 +-- drivers/gpu/drm/xe/xe_pt_walk.c | 3 +- drivers/gpu/drm/xe/xe_pt_walk.h | 4 + drivers/gpu/drm/xe/xe_vm.c | 100 ++- drivers/gpu/drm/xe/xe_vm.h | 10 +- drivers/gpu/drm/xe/xe_vm_types.h | 8 +- drivers/hid/hid-appleir.c | 2 +- drivers/hid/hid-google-hammer.c | 2 + drivers/hid/hid-steam.c | 2 +- drivers/hid/intel-ish-hid/ishtp-hid-client.c | 2 +- drivers/hid/intel-ish-hid/ishtp-hid.c | 4 +- drivers/hwmon/ad7314.c | 10 + drivers/hwmon/ntc_thermistor.c | 66 +- drivers/hwmon/peci/dimmtemp.c | 10 +- drivers/hwmon/pmbus/pmbus.c | 2 + drivers/hwmon/xgene-hwmon.c | 2 +- drivers/hwtracing/intel_th/pci.c | 15 + drivers/iio/adc/ad7192.c | 2 +- drivers/iio/adc/at91-sama5d2_adc.c | 68 +- drivers/iio/dac/ad3552r.c | 6 + drivers/iio/filter/admv8818.c | 14 +- drivers/iio/light/apds9306.c | 4 +- drivers/misc/cardreader/rtsx_usb.c | 15 - drivers/misc/eeprom/digsy_mtc_eeprom.c | 2 +- drivers/misc/mei/hw-me-regs.h | 2 + drivers/misc/mei/pci-me.c | 2 + drivers/misc/mei/vsc-tp.c | 2 +- drivers/net/caif/caif_virtio.c | 2 +- drivers/net/dsa/mt7530.c | 8 +- drivers/net/ethernet/emulex/benet/be.h | 2 +- drivers/net/ethernet/emulex/benet/be_cmds.c | 197 +++-- drivers/net/ethernet/emulex/benet/be_main.c | 2 +- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_ptp.c | 2 +- .../net/ethernet/stmicro/stmmac/dwmac-loongson.c | 6 +- drivers/net/ipa/data/ipa_data-v4.7.c | 18 +- drivers/net/mctp/mctp-i3c.c | 3 + drivers/net/phy/phy.c | 43 + drivers/net/phy/phy_device.c | 2 + drivers/net/ppp/ppp_generic.c | 28 +- drivers/net/wireless/intel/iwlwifi/iwl-drv.c | 2 +- drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c | 7 + .../net/wireless/intel/iwlwifi/mvm/time-event.c | 2 + drivers/net/wireless/intel/iwlwifi/pcie/internal.h | 5 +- drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c | 6 +- drivers/net/wireless/intel/iwlwifi/pcie/tx.c | 20 +- drivers/nvme/host/ioctl.c | 20 +- drivers/nvme/host/nvme.h | 7 + drivers/nvme/host/pci.c | 147 +++- drivers/nvme/host/tcp.c | 81 +- drivers/nvme/target/tcp.c | 15 +- drivers/of/of_reserved_mem.c | 4 +- drivers/platform/x86/thinkpad_acpi.c | 1 + drivers/rapidio/devices/rio_mport_cdev.c | 3 +- drivers/rapidio/rio-scan.c | 5 +- drivers/slimbus/messaging.c | 5 +- drivers/usb/atm/cxacru.c | 13 +- drivers/usb/core/hub.c | 33 + drivers/usb/core/quirks.c | 4 + drivers/usb/dwc3/core.c | 85 +- drivers/usb/dwc3/core.h | 2 +- drivers/usb/dwc3/drd.c | 4 +- drivers/usb/dwc3/gadget.c | 10 +- drivers/usb/gadget/composite.c | 17 +- drivers/usb/gadget/function/u_ether.c | 4 +- drivers/usb/host/xhci-hub.c | 8 + drivers/usb/host/xhci-mem.c | 3 +- drivers/usb/host/xhci-pci.c | 18 +- drivers/usb/host/xhci.h | 2 +- drivers/usb/renesas_usbhs/common.c | 6 +- drivers/usb/renesas_usbhs/mod_gadget.c | 2 +- drivers/usb/typec/tcpm/tcpci_rt1711h.c | 11 + drivers/usb/typec/ucsi/ucsi.c | 25 +- drivers/usb/typec/ucsi/ucsi.h | 2 + drivers/usb/typec/ucsi/ucsi_acpi.c | 21 +- drivers/usb/typec/ucsi/ucsi_ccg.c | 1 + drivers/usb/typec/ucsi/ucsi_glink.c | 1 + drivers/usb/typec/ucsi/ucsi_stm32g0.c | 1 + drivers/usb/typec/ucsi/ucsi_yoga_c630.c | 1 + drivers/virt/acrn/hsm.c | 6 +- fs/btrfs/file.c | 9 +- fs/btrfs/volumes.c | 1 + fs/coredump.c | 15 +- fs/exfat/balloc.c | 10 +- fs/exfat/exfat_fs.h | 2 +- fs/exfat/fatent.c | 11 +- fs/exfat/file.c | 2 +- fs/exfat/namei.c | 2 +- fs/netfs/read_collect.c | 21 +- fs/netfs/read_pgpriv2.c | 5 +- fs/nfs/file.c | 3 +- fs/smb/client/cifsglob.h | 6 +- fs/smb/client/inode.c | 2 +- fs/smb/client/reparse.h | 28 +- fs/smb/client/smb1ops.c | 4 +- fs/smb/client/smb2inode.c | 4 + fs/smb/client/smb2ops.c | 3 +- fs/smb/server/smb2pdu.c | 8 +- fs/smb/server/smbacl.c | 16 + fs/smb/server/transport_ipc.c | 1 + include/asm-generic/hugetlb.h | 2 +- include/drm/drm_client_setup.h | 26 + include/drm/drm_drv.h | 18 + include/drm/drm_fbdev_client.h | 19 + include/drm/drm_fbdev_ttm.h | 13 + include/drm/drm_fourcc.h | 1 + include/linux/compaction.h | 5 + include/linux/ethtool.h | 23 + include/linux/hugetlb.h | 4 +- include/linux/nvme-tcp.h | 2 + include/linux/nvme.h | 1 + include/linux/phy.h | 36 + include/linux/phylib_stubs.h | 42 + include/linux/sched.h | 2 +- kernel/events/core.c | 4 +- kernel/events/uprobes.c | 2 +- kernel/sched/fair.c | 6 +- kernel/trace/trace_fprobe.c | 15 + kernel/trace/trace_probe.h | 2 +- mm/compaction.c | 3 + mm/hugetlb.c | 4 +- mm/internal.h | 5 +- mm/kasan/kasan_test_rust.rs | 3 +- mm/kmsan/hooks.c | 1 + mm/memory-failure.c | 63 +- mm/memory.c | 21 +- mm/memory_hotplug.c | 28 +- mm/page_alloc.c | 4 +- mm/userfaultfd.c | 17 +- mm/vma.c | 12 +- mm/vmalloc.c | 4 +- net/8021q/vlan.c | 3 +- net/bluetooth/mgmt.c | 5 + net/ethtool/cabletest.c | 8 +- net/ethtool/linkstate.c | 26 +- net/ethtool/netlink.c | 6 +- net/ethtool/netlink.h | 5 +- net/ethtool/phy.c | 2 +- net/ethtool/plca.c | 6 +- net/ethtool/pse-pd.c | 4 +- net/ethtool/stats.c | 18 + net/ethtool/strset.c | 2 +- net/ipv4/tcp_offload.c | 11 +- net/ipv4/udp_offload.c | 8 +- net/ipv6/ila/ila_lwt.c | 4 +- net/llc/llc_s_ac.c | 49 +- net/mac80211/ieee80211_i.h | 2 + net/mac80211/mlme.c | 1 + net/mac80211/parse.c | 164 +++- net/mptcp/pm_netlink.c | 18 +- net/wireless/nl80211.c | 5 + net/wireless/reg.c | 3 +- rust/Makefile | 94 ++- rust/bindgen_parameters | 5 + rust/bindings/bindings_helper.h | 1 + rust/bindings/lib.rs | 6 + rust/exports.c | 1 - rust/ffi.rs | 48 ++ rust/helpers/helpers.c | 1 + rust/helpers/slab.c | 6 + rust/helpers/vmalloc.c | 9 + rust/kernel/alloc.rs | 150 +++- rust/kernel/alloc/allocator.rs | 214 +++-- rust/kernel/alloc/allocator_test.rs | 95 +++ rust/kernel/alloc/box_ext.rs | 89 -- rust/kernel/alloc/kbox.rs | 456 ++++++++++ rust/kernel/alloc/kvec.rs | 913 +++++++++++++++++++++ rust/kernel/alloc/layout.rs | 91 ++ rust/kernel/alloc/vec_ext.rs | 185 ----- rust/kernel/block/mq/gen_disk.rs | 6 +- rust/kernel/block/mq/operations.rs | 18 +- rust/kernel/block/mq/raw_writer.rs | 2 +- rust/kernel/block/mq/tag_set.rs | 2 +- rust/kernel/error.rs | 82 +- rust/kernel/firmware.rs | 2 +- rust/kernel/init.rs | 127 +-- rust/kernel/init/__internal.rs | 13 +- rust/kernel/init/macros.rs | 18 +- rust/kernel/ioctl.rs | 2 +- rust/kernel/lib.rs | 5 +- rust/kernel/list.rs | 1 + rust/kernel/list/arc_field.rs | 2 +- rust/kernel/net/phy.rs | 16 +- rust/kernel/prelude.rs | 5 +- rust/kernel/print.rs | 5 +- rust/kernel/rbtree.rs | 49 +- rust/kernel/std_vendor.rs | 12 +- rust/kernel/str.rs | 46 +- rust/kernel/sync/arc.rs | 25 +- rust/kernel/sync/arc/std_vendor.rs | 2 + rust/kernel/sync/condvar.rs | 7 +- rust/kernel/sync/lock.rs | 8 +- rust/kernel/sync/lock/mutex.rs | 4 +- rust/kernel/sync/lock/spinlock.rs | 4 +- rust/kernel/sync/locked_by.rs | 2 +- rust/kernel/task.rs | 8 +- rust/kernel/time.rs | 4 +- rust/kernel/types.rs | 140 ++-- rust/kernel/uaccess.rs | 48 +- rust/kernel/workqueue.rs | 29 +- rust/macros/lib.rs | 14 +- rust/macros/module.rs | 8 +- rust/uapi/lib.rs | 6 + samples/rust/rust_minimal.rs | 4 +- samples/rust/rust_print.rs | 1 + scripts/Makefile.build | 4 +- scripts/generate_rust_analyzer.py | 11 +- sound/core/seq/seq_clientmgr.c | 46 +- sound/pci/hda/Kconfig | 1 + sound/pci/hda/hda_intel.c | 2 + sound/pci/hda/patch_realtek.c | 107 ++- sound/usb/usx2y/usbusx2y.c | 11 + sound/usb/usx2y/usbusx2y.h | 26 + sound/usb/usx2y/usbusx2yaudio.c | 27 - tools/testing/selftests/bpf/benchs/bench_trigger.c | 3 +- tools/testing/selftests/bpf/bpf_util.h | 9 + .../selftests/bpf/map_tests/task_storage_map.c | 3 +- .../testing/selftests/bpf/prog_tests/bpf_cookie.c | 2 +- tools/testing/selftests/bpf/prog_tests/bpf_iter.c | 6 +- .../selftests/bpf/prog_tests/cgrp_local_storage.c | 10 +- .../testing/selftests/bpf/prog_tests/core_reloc.c | 2 +- .../selftests/bpf/prog_tests/linked_funcs.c | 2 +- .../selftests/bpf/prog_tests/ns_current_pid_tgid.c | 2 +- .../selftests/bpf/prog_tests/rcu_read_lock.c | 4 +- .../selftests/bpf/prog_tests/task_local_storage.c | 8 +- .../selftests/bpf/prog_tests/uprobe_multi_test.c | 2 +- tools/testing/selftests/damon/damon_nr_regions.py | 2 + tools/testing/selftests/damon/damos_quota.py | 9 +- tools/testing/selftests/damon/damos_quota_goal.py | 3 + tools/testing/selftests/mm/hugepage-mremap.c | 2 +- tools/testing/selftests/mm/ksm_functional_tests.c | 8 +- tools/testing/selftests/mm/memfd_secret.c | 14 +- tools/testing/selftests/mm/mkdirty.c | 8 +- tools/testing/selftests/mm/mlock2.h | 1 - tools/testing/selftests/mm/protection_keys.c | 2 +- tools/testing/selftests/mm/uffd-common.c | 4 + tools/testing/selftests/mm/uffd-stress.c | 15 +- tools/testing/selftests/mm/uffd-unit-tests.c | 14 +- usr/include/Makefile | 2 +- 335 files changed, 6013 insertions(+), 2454 deletions(-)