Skip to contentSkip to conversation

Linux 6.18.17

DISCUSSION Sasha Levin 3 participants 9 messages Mar 12 – Mar 14

Subsystems (2)
lore
Share & tools
lore

Sasha Levin

author maintainer
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

I'm announcing the release of the 6.18.17 kernel.

All users of the 6.18 kernel series must upgrade.

The updated 6.18.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-6.18.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary

Thanks,
Sasha

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

 Documentation/hwmon/aht10.rst                      |  10 +-
 Documentation/sound/alsa-configuration.rst         |   4 +
 Documentation/virt/kvm/api.rst                     |  28 ++-
 Makefile                                           |   2 +-
 arch/alpha/kernel/vmlinux.lds.S                    |   1 +
 arch/arc/kernel/vmlinux.lds.S                      |   1 +
 arch/arm/boot/compressed/vmlinux.lds.S             |   1 +
 arch/arm/boot/dts/nxp/imx/imx53-usbarmory.dts      |  39 +---
 arch/arm/include/asm/string.h                      |  14 +-
 arch/arm/kernel/vmlinux-xip.lds.S                  |   1 +
 arch/arm/kernel/vmlinux.lds.S                      |   1 +
 arch/arm64/boot/dts/rockchip/rk3568.dtsi           |   4 +-
 arch/arm64/boot/dts/rockchip/rk356x-base.dtsi      |   2 +-
 arch/arm64/boot/dts/rockchip/rk3588-base.dtsi      |   4 +-
 arch/arm64/boot/dts/rockchip/rk3588-extra.dtsi     |   6 +-
 arch/arm64/include/asm/io.h                        |  26 ++-
 arch/arm64/include/asm/pgtable-prot.h              |   3 -
 arch/arm64/kernel/acpi.c                           |   2 +-
 arch/arm64/kernel/vmlinux.lds.S                    |   1 +
 arch/arm64/kvm/hyp/nvhe/pkvm.c                     |  35 ++-
 arch/arm64/kvm/sys_regs.c                          |   3 +
 arch/arm64/mm/ioremap.c                            |   6 +-
 arch/arm64/mm/mmap.c                               |   8 +-
 arch/arm64/net/bpf_jit_comp.c                      |   2 +-
 arch/csky/kernel/vmlinux.lds.S                     |   1 +
 arch/hexagon/kernel/vmlinux.lds.S                  |   1 +
 arch/loongarch/include/asm/setup.h                 |   3 +
 arch/loongarch/kernel/unwind_orc.c                 |  28 ++-
 arch/loongarch/kernel/unwind_prologue.c            |   4 -
 arch/loongarch/kernel/vmlinux.lds.S                |   1 +
 arch/loongarch/mm/tlb.c                            |   1 -
 arch/m68k/kernel/vmlinux-nommu.lds                 |   1 +
 arch/m68k/kernel/vmlinux-std.lds                   |   1 +
 arch/m68k/kernel/vmlinux-sun3.lds                  |   1 +
 arch/mips/kernel/vmlinux.lds.S                     |   1 +
 arch/nios2/kernel/vmlinux.lds.S                    |   1 +
 arch/openrisc/kernel/vmlinux.lds.S                 |   1 +
 arch/parisc/boot/compressed/vmlinux.lds.S          |   1 +
 arch/parisc/kernel/vmlinux.lds.S                   |   1 +
 arch/powerpc/kernel/vmlinux.lds.S                  |   1 +
 arch/riscv/kernel/vmlinux.lds.S                    |   1 +
 arch/s390/include/asm/idle.h                       |   1 +
 arch/s390/kernel/idle.c                            |  13 +-
 arch/s390/kernel/irq.c                             |  10 +-
 arch/s390/kernel/vmlinux.lds.S                     |   1 +
 arch/s390/kernel/vtime.c                           |  18 +-
 arch/sh/kernel/vmlinux.lds.S                       |   1 +
 arch/sparc/kernel/vmlinux.lds.S                    |   1 +
 arch/um/kernel/dyn.lds.S                           |   1 +
 arch/um/kernel/uml.lds.S                           |   1 +
 arch/x86/Kconfig                                   |   1 +
 arch/x86/boot/compressed/Makefile                  |   1 +
 arch/x86/boot/compressed/sev.c                     |   9 +-
 arch/x86/boot/compressed/vmlinux.lds.S             |   2 +-
 arch/x86/boot/startup/sev-shared.c                 |   2 +-
 arch/x86/coco/sev/core.c                           |   1 +
 arch/x86/entry/entry_fred.c                        |   5 +-
 arch/x86/events/core.c                             |  40 ----
 arch/x86/events/intel/uncore_snbep.c               |  28 ++-
 arch/x86/include/asm/cfi.h                         |  12 +-
 arch/x86/include/asm/efi.h                         |   2 +-
 arch/x86/include/asm/kvm_host.h                    |   7 +
 arch/x86/include/asm/linkage.h                     |   4 +-
 arch/x86/include/asm/msr-index.h                   |   5 +-
 arch/x86/include/asm/unwind_user.h                 |  37 ++++
 arch/x86/include/asm/uprobes.h                     |   9 +
 arch/x86/include/uapi/asm/kvm.h                    |   6 +-
 arch/x86/kernel/acpi/boot.c                        |  12 +-
 arch/x86/kernel/alternative.c                      |  29 ++-
 arch/x86/kernel/cpu/topology.c                     |  15 --
 arch/x86/kernel/uprobes.c                          |  56 +++++
 arch/x86/kernel/vmlinux.lds.S                      |   1 +
 arch/x86/kvm/ioapic.c                              |   2 +-
 arch/x86/kvm/lapic.c                               |  76 ++++++-
 arch/x86/kvm/lapic.h                               |   2 +
 arch/x86/kvm/x86.c                                 |  24 ++-
 arch/x86/net/bpf_jit_comp.c                        |  13 +-
 arch/x86/platform/efi/efi.c                        |   2 +-
 arch/x86/platform/efi/quirks.c                     |  55 ++++-
 block/blk-sysfs.c                                  |   8 +-
 block/elevator.c                                   |  12 +-
 drivers/accel/amdxdna/amdxdna_ctx.c                |   5 +-
 drivers/accel/amdxdna/amdxdna_gem.c                |  38 ++--
 drivers/accel/amdxdna/amdxdna_ubuf.c               |   6 +-
 drivers/accel/qaic/mhi_controller.c                |  44 ----
 drivers/accel/rocket/rocket_core.c                 |   7 +-
 drivers/accel/rocket/rocket_drv.c                  |  15 +-
 drivers/acpi/apei/Makefile                         |   5 +
 drivers/acpi/apei/ghes.c                           |  18 +-
 drivers/acpi/apei/ghes_helpers.c                   |  33 +++
 drivers/ata/libata-eh.c                            |   2 +-
 drivers/block/drbd/drbd_actlog.c                   |  53 ++---
 drivers/block/drbd/drbd_interval.h                 |   5 +-
 drivers/block/drbd/drbd_req.c                      |   3 +-
 drivers/block/zloop.c                              |  31 ++-
 drivers/bus/mhi/host/pci_generic.c                 |  20 +-
 drivers/char/ipmi/ipmi_msghandler.c                |  11 +-
 drivers/clk/tegra/clk-tegra124-emc.c               |   2 +-
 drivers/cpufreq/intel_pstate.c                     |  10 +-
 drivers/cxl/core/pmem.c                            |  42 +++-
 drivers/cxl/cxl.h                                  |   7 +
 drivers/cxl/pmem.c                                 |  22 +-
 drivers/firmware/efi/mokvar-table.c                |   2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c            |   1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c         |  21 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_psp_ta.c         |  12 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c    |   8 +-
 drivers/gpu/drm/amd/display/dc/core/dc_stream.c    |   2 +-
 drivers/gpu/drm/drm_client_modeset.c               |   3 +-
 drivers/gpu/drm/drm_syncobj.c                      |   4 +-
 drivers/gpu/drm/i915/display/intel_dp.c            |  48 ++++-
 drivers/gpu/drm/imx/ipuv3/parallel-display.c       |   4 +-
 drivers/gpu/drm/logicvc/logicvc_drm.c              |   4 +-
 drivers/gpu/drm/scheduler/sched_main.c             |   1 +
 drivers/gpu/drm/solomon/ssd130x.c                  |   6 +-
 drivers/gpu/drm/tegra/dsi.c                        |   6 +-
 drivers/gpu/drm/tiny/sharp-memory.c                |   4 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c            |   4 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_page_dirty.c         |   9 +-
 drivers/gpu/drm/xe/regs/xe_engine_regs.h           |   6 +
 drivers/gpu/drm/xe/xe_configfs.c                   |   1 +
 drivers/gpu/drm/xe/xe_gsc_proxy.c                  |  43 +++-
 drivers/gpu/drm/xe/xe_gsc_types.h                  |   2 +
 drivers/gpu/drm/xe/xe_gt.c                         |  66 ++++--
 drivers/gpu/drm/xe/xe_reg_sr.c                     |   4 +-
 drivers/gpu/drm/xe/xe_ring_ops.c                   |   9 +
 drivers/hid/hid-cmedia.c                           |   2 +-
 drivers/hid/hid-creative-sb0540.c                  |   2 +-
 drivers/hid/hid-multitouch.c                       |  43 +++-
 drivers/hid/hid-zydacron.c                         |   2 +-
 drivers/hid/usbhid/hid-pidff.c                     |  11 +-
 drivers/hwmon/Kconfig                              |   6 +-
 drivers/hwmon/aht10.c                              |  21 +-
 drivers/hwmon/it87.c                               |   5 +-
 drivers/hwmon/max16065.c                           |  26 +--
 drivers/hwmon/max6639.c                            |   2 +-
 drivers/i2c/busses/i2c-i801.c                      |  14 +-
 drivers/infiniband/hw/ionic/ionic_controlpath.c    |   2 +-
 drivers/infiniband/hw/irdma/verbs.c                |   2 +-
 drivers/infiniband/hw/mthca/mthca_provider.c       |   5 +-
 drivers/input/mouse/synaptics_i2c.c                |  13 +-
 drivers/iommu/intel/pasid.c                        |   8 +
 drivers/irqchip/irq-sifive-plic.c                  |   7 +-
 drivers/media/dvb-core/dmxdev.c                    |   4 +-
 .../media/platform/qcom/iris/iris_platform_gen2.c  |   2 +
 drivers/media/platform/qcom/iris/iris_vidc.c       |  10 +-
 drivers/memory/mtk-smi.c                           |   3 +
 drivers/net/arcnet/com20020-pci.c                  |  16 +-
 drivers/net/bonding/bond_main.c                    |   9 +-
 drivers/net/bonding/bond_options.c                 |   2 +
 drivers/net/can/spi/mcp251x.c                      |  15 +-
 drivers/net/can/usb/ems_usb.c                      |   7 +-
 drivers/net/can/usb/etas_es58x/es58x_core.c        |   8 +-
 drivers/net/can/usb/f81604.c                       |  45 +++-
 drivers/net/can/usb/ucan.c                         |   2 +-
 drivers/net/dsa/realtek/rtl8365mb.c                |   2 +-
 drivers/net/ethernet/amd/xgbe/xgbe-common.h        |   2 +-
 drivers/net/ethernet/amd/xgbe/xgbe-drv.c           |  10 -
 drivers/net/ethernet/amd/xgbe/xgbe-main.c          |   1 -
 drivers/net/ethernet/amd/xgbe/xgbe.h               |   3 -
 .../net/ethernet/freescale/dpaa2/dpaa2-switch.c    |   3 +-
 drivers/net/ethernet/freescale/enetc/enetc.c       |   2 +-
 drivers/net/ethernet/google/gve/gve_tx_dqo.c       |  56 +++--
 drivers/net/ethernet/intel/e1000e/defines.h        |   1 +
 drivers/net/ethernet/intel/e1000e/ich8lan.c        |   9 +
 drivers/net/ethernet/intel/i40e/i40e_main.c        |  41 ++--
 drivers/net/ethernet/intel/i40e/i40e_trace.h       |   2 +-
 drivers/net/ethernet/intel/i40e/i40e_txrx.c        |   5 +-
 drivers/net/ethernet/intel/iavf/iavf_main.c        |  17 +-
 drivers/net/ethernet/intel/ice/ice.h               |   1 +
 drivers/net/ethernet/intel/ice/ice_common.c        |   2 +-
 drivers/net/ethernet/intel/ice/ice_idc.c           |  44 +++-
 drivers/net/ethernet/intel/ice/ice_main.c          |   7 +-
 drivers/net/ethernet/intel/idpf/idpf_ethtool.c     |   3 -
 drivers/net/ethernet/intel/idpf/idpf_txrx.c        |   8 +-
 drivers/net/ethernet/intel/igb/igb_xsk.c           |  38 +++-
 drivers/net/ethernet/intel/libie/fwlog.c           |   4 +
 .../net/ethernet/marvell/octeon_ep/octep_main.c    |  40 ++--
 drivers/net/ethernet/marvell/octeon_ep/octep_rx.c  |  27 ++-
 .../ethernet/marvell/octeon_ep_vf/octep_vf_main.c  |  38 +++-
 .../ethernet/marvell/octeon_ep_vf/octep_vf_rx.c    |  28 ++-
 drivers/net/ethernet/mediatek/mtk_eth_soc.c        |  15 +-
 drivers/net/ethernet/stmicro/stmmac/common.h       |   1 -
 drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c  |   4 -
 .../net/ethernet/stmicro/stmmac/dwmac-loongson.c   |   7 -
 drivers/net/ethernet/stmicro/stmmac/stmmac.h       |   3 +-
 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c  |  89 ++++----
 .../net/ethernet/stmicro/stmmac/stmmac_platform.c  |   8 -
 drivers/net/ethernet/stmicro/stmmac/stmmac_vlan.c  |  60 +++---
 drivers/net/ethernet/ti/am65-cpsw-nuss.c           |   2 +-
 drivers/net/ethernet/ti/cpsw_ale.c                 |   9 +-
 drivers/net/ethernet/ti/icssg/icssg_prueth.c       |   8 +
 drivers/net/phy/phy_device.c                       |  25 ++-
 drivers/net/usb/kalmia.c                           |   7 +
 drivers/net/usb/kaweth.c                           |  13 ++
 drivers/net/usb/pegasus.c                          |  13 +-
 drivers/net/vxlan/vxlan_core.c                     |   5 +
 drivers/net/wireless/ath/ath11k/mhi.c              |   4 -
 drivers/net/wireless/ath/ath12k/mhi.c              |   4 -
 drivers/net/wireless/marvell/libertas/main.c       |   4 +-
 .../net/wireless/mediatek/mt76/mt76_connac_mac.c   |   1 +
 drivers/net/wireless/mediatek/mt76/mt7925/mac.c    |   1 +
 drivers/net/wireless/mediatek/mt76/mt7996/mac.c    |   1 +
 drivers/net/wireless/rsi/rsi_91x_mac80211.c        |   2 +-
 drivers/net/wireless/st/cw1200/pm.c                |   2 +
 drivers/net/wireless/ti/wlcore/main.c              |   4 +-
 drivers/nfc/pn533/usb.c                            |   1 +
 drivers/nvme/host/core.c                           |   7 +
 drivers/nvme/host/multipath.c                      |  12 +-
 drivers/nvme/host/pr.c                             |  10 +-
 drivers/nvme/target/fcloop.c                       |  15 +-
 drivers/pci/controller/cadence/pci-j721e.c         |  57 +++--
 drivers/pci/controller/cadence/pcie-cadence.c      |   4 +-
 .../pci/controller/dwc/pcie-designware-debugfs.c   |   2 +
 drivers/pci/controller/dwc/pcie-designware-ep.c    |  86 +++-----
 drivers/pci/controller/dwc/pcie-designware-host.c  |   2 +
 drivers/pci/controller/dwc/pcie-designware.c       |  83 ++++++-
 drivers/pci/controller/dwc/pcie-designware.h       |  15 +-
 drivers/pci/controller/dwc/pcie-dw-rockchip.c      | 130 +++++------
 drivers/pci/controller/dwc/pcie-qcom.c             |   2 +
 drivers/pci/controller/dwc/pcie-tegra194.c         |   3 +
 drivers/pci/pci.c                                  |   8 +-
 drivers/pci/pci.h                                  |  23 +-
 drivers/pinctrl/cirrus/pinctrl-cs42l43.c           |   5 +-
 drivers/pinctrl/meson/pinctrl-amlogic-a4.c         |  70 +++++-
 drivers/pinctrl/pinconf-generic.c                  |  69 ------
 drivers/pinctrl/pinctrl-equilibrium.c              |  31 +--
 drivers/pinctrl/qcom/pinctrl-qcs615.c              |   1 +
 drivers/platform/x86/dell/alienware-wmi-wmax.c     |   2 +-
 drivers/platform/x86/dell/dell-wmi-base.c          |   6 +
 .../dell/dell-wmi-sysman/passwordattr-interface.c  |   1 -
 .../platform/x86/hp/hp-bioscfg/enum-attributes.c   |   9 +-
 drivers/platform/x86/lenovo/thinkpad_acpi.c        |   6 +-
 drivers/regulator/bq257xx-regulator.c              |   3 +-
 drivers/scsi/lpfc/lpfc_init.c                      |   2 +
 drivers/scsi/lpfc/lpfc_sli.c                       |  36 +++-
 drivers/scsi/lpfc/lpfc_sli4.h                      |   3 +
 drivers/scsi/pm8001/pm8001_sas.c                   |   5 +-
 drivers/scsi/scsi_scan.c                           |   1 +
 drivers/spi/spi-stm32.c                            |   3 +
 drivers/staging/media/tegra-video/vi.c             |  13 +-
 drivers/target/target_core_configfs.c              |  15 +-
 drivers/ufs/core/ufshcd.c                          |  18 +-
 drivers/usb/gadget/function/f_ncm.c                | 128 ++++++-----
 drivers/usb/gadget/function/u_ether.c              |  45 ++++
 drivers/usb/gadget/function/u_ether.h              |  30 +++
 drivers/usb/gadget/function/u_ether_configfs.h     | 176 +++++++++++++++
 drivers/usb/gadget/function/u_ncm.h                |   4 +-
 drivers/xen/xen-acpi-processor.c                   |   7 +-
 fs/btrfs/delayed-inode.c                           |   2 +-
 fs/btrfs/disk-io.c                                 |   6 +-
 fs/btrfs/inode.c                                   |   2 +-
 fs/btrfs/ioctl.c                                   |   7 +-
 fs/btrfs/misc.h                                    |   7 +
 fs/btrfs/scrub.c                                   |   2 +-
 fs/btrfs/tree-checker.c                            |   4 +-
 fs/btrfs/zoned.c                                   | 194 +++++++++++++++--
 fs/eventpoll.c                                     |   5 +-
 fs/ext4/extents.c                                  |  20 +-
 fs/namespace.c                                     |  20 +-
 fs/netfs/direct_write.c                            | 228 ++++++++++++++++++--
 fs/netfs/internal.h                                |   4 +-
 fs/netfs/write_collect.c                           |  21 --
 fs/netfs/write_issue.c                             |  41 +---
 fs/nfsd/nfsctl.c                                   |   2 +-
 fs/smb/client/connect.c                            |   1 -
 fs/smb/client/smb2inode.c                          |   8 +-
 fs/smb/client/smb2pdu.c                            |  24 +--
 fs/smb/client/transport.c                          |  21 +-
 fs/smb/server/smb2pdu.c                            |   4 +-
 fs/squashfs/cache.c                                |   3 +
 fs/xfs/scrub/orphanage.c                           |   7 +-
 fs/xfs/xfs_notify_failure.c                        |   4 +-
 include/asm-generic/vmlinux.lds.h                  |   4 +-
 include/cxl/event.h                                |  10 +
 include/linux/indirect_call_wrapper.h              |  18 +-
 include/linux/netdevice.h                          |  27 ++-
 include/linux/pinctrl/pinconf-generic.h            |   5 -
 include/linux/pm.h                                 |   2 +-
 include/linux/ring_buffer.h                        |   1 +
 include/linux/sched.h                              |   1 +
 include/linux/stmmac.h                             |   1 -
 include/linux/tnum.h                               |   8 +
 include/linux/unwind_user_types.h                  |   2 +
 include/linux/uprobes.h                            |   1 +
 include/net/bonding.h                              |   1 +
 include/net/inet6_hashtables.h                     |   2 +-
 include/net/inet_hashtables.h                      |   2 +-
 include/net/ip.h                                   |   2 +-
 include/net/ip_fib.h                               |   2 +-
 include/net/netfilter/nf_tables.h                  |  11 +-
 include/net/sch_generic.h                          |  10 +
 include/net/secure_seq.h                           |  45 +++-
 include/net/tc_act/tc_ife.h                        |   4 +-
 include/net/tcp.h                                  |   6 +-
 include/net/xdp_sock_drv.h                         |  16 +-
 include/trace/events/netfs.h                       |   4 +-
 include/uapi/drm/drm_fourcc.h                      |  12 +-
 include/uapi/linux/pci_regs.h                      |   2 +-
 kernel/bpf/cpumap.c                                |  17 +-
 kernel/bpf/devmap.c                                |  47 +++-
 kernel/bpf/tnum.c                                  |  72 +++++++
 kernel/bpf/trampoline.c                            |   4 +-
 kernel/bpf/verifier.c                              | 103 ++++++++-
 kernel/cgroup/cpuset.c                             |   2 +-
 kernel/events/core.c                               |  83 +++++--
 kernel/events/uprobes.c                            |  10 +-
 kernel/module/main.c                               |   6 -
 kernel/rseq.c                                      |   5 +-
 kernel/sched/ext_internal.h                        |   2 +-
 kernel/sched/fair.c                                | 238 +++++++++++++++------
 kernel/sched/sched.h                               |   4 +-
 kernel/time/timekeeping.c                          |   6 +-
 kernel/trace/ring_buffer.c                         |  21 ++
 kernel/trace/trace.c                               |  13 ++
 kernel/trace/trace_events_trigger.c                |   3 +
 kernel/unwind/user.c                               |  59 ++++-
 lib/Kconfig.debug                                  |   1 +
 lib/debugobjects.c                                 |  19 +-
 mm/huge_memory.c                                   |   3 +
 mm/slab.h                                          |   2 -
 mm/slub.c                                          | 133 +++---------
 net/atm/lec.c                                      |  26 ++-
 net/bluetooth/hci_sock.c                           |   1 +
 net/bluetooth/hci_sync.c                           |   2 +-
 net/bluetooth/iso.c                                |   1 +
 net/bluetooth/l2cap_sock.c                         |   1 +
 net/bluetooth/sco.c                                |   1 +
 net/bridge/br_device.c                             |   2 +-
 net/bridge/br_input.c                              |   2 +-
 net/can/bcm.c                                      |   1 +
 net/core/dev.c                                     |   7 +-
 net/core/devmem.c                                  |   6 +-
 net/core/filter.c                                  |   6 +-
 net/core/netpoll.c                                 |   2 +-
 net/core/secure_seq.c                              |  80 +++----
 net/core/skmsg.c                                   |  14 +-
 net/ipv4/inet_hashtables.c                         |   8 +-
 net/ipv4/syncookies.c                              |  11 +-
 net/ipv4/sysctl_net_ipv4.c                         |   5 +-
 net/ipv4/tcp.c                                     |   4 +-
 net/ipv4/tcp_bpf.c                                 |   2 +-
 net/ipv4/tcp_diag.c                                |   2 +-
 net/ipv4/tcp_input.c                               |  38 ++--
 net/ipv4/tcp_ipv4.c                                |  37 ++--
 net/ipv4/tcp_minisocks.c                           |   2 +-
 net/ipv4/udp.c                                     |  27 ++-
 net/ipv4/udp_bpf.c                                 |   2 +-
 net/ipv6/inet6_hashtables.c                        |   3 +-
 net/ipv6/route.c                                   |  11 +-
 net/ipv6/syncookies.c                              |  11 +-
 net/ipv6/tcp_ipv6.c                                |  37 ++--
 net/mac80211/mesh.c                                |   3 +
 net/mac80211/mlme.c                                |   3 +
 net/mptcp/pm.c                                     |  55 +++--
 net/mptcp/pm_kernel.c                              |   9 +
 net/netfilter/nf_tables_api.c                      |  66 +++---
 net/netfilter/nft_set_hash.c                       |   1 +
 net/netfilter/nft_set_pipapo.c                     |  62 +++++-
 net/netfilter/nft_set_pipapo.h                     |   2 +
 net/netfilter/nft_set_rbtree.c                     |  79 ++-----
 net/nfc/nci/core.c                                 |  30 ++-
 net/nfc/nci/data.c                                 |  12 +-
 net/nfc/rawsock.c                                  |  11 +
 net/qrtr/mhi.c                                     |  69 +++++-
 net/rds/tcp.c                                      |  14 +-
 net/sched/act_ife.c                                |  93 ++++----
 net/sched/sch_ets.c                                |  12 +-
 net/sched/sch_fq.c                                 |   1 +
 net/unix/af_unix.c                                 |   8 +-
 net/wireless/core.c                                |   1 +
 net/wireless/radiotap.c                            |   4 +-
 net/xdp/xsk.c                                      |  26 ++-
 rust/kernel/kunit.rs                               |   8 +
 sound/hda/codecs/realtek/alc269.c                  |   5 +-
 sound/hda/codecs/side-codecs/cs35l56_hda.c         |   2 +-
 sound/hda/controllers/intel.c                      |   2 +
 sound/soc/fsl/fsl_xcvr.c                           |  89 ++++----
 sound/soc/sdca/sdca_interrupts.c                   |   4 +-
 sound/usb/endpoint.c                               |   9 +-
 sound/usb/mixer_scarlett2.c                        |  10 +-
 sound/usb/qcom/qc_audio_offload.c                  |   2 +-
 sound/usb/quirks.c                                 |   3 +-
 sound/usb/stream.c                                 |   3 +
 sound/usb/usbaudio.h                               |   6 +
 sound/usb/validate.c                               |   2 +-
 tools/testing/kunit/kunit_kernel.py                |   6 +-
 tools/testing/kunit/kunit_tool_test.py             |  26 +++
 tools/testing/selftests/arm64/abi/hwcap.c          |   4 +-
 .../testing/selftests/bpf/prog_tests/reg_bounds.c  |   2 +-
 tools/testing/selftests/bpf/progs/dmabuf_iter.c    |   2 +-
 .../selftests/bpf/progs/exceptions_assert.c        |  34 +--
 .../selftests/bpf/progs/verifier_scalar_ids.c      |  56 +++--
 tools/testing/selftests/bpf/verifier/precise.c     |   8 +-
 tools/testing/selftests/kselftest_harness.h        |  15 +-
 tools/testing/selftests/net/mptcp/mptcp_join.sh    |  49 +++++
 tools/testing/selftests/net/mptcp/simult_flows.sh  |  11 +-
 397 files changed, 4407 insertions(+), 2109 deletions(-)

Aaron Ma (1):
ice: recap the VSI and QoS info after rebuild

Akhilesh Patil (1):
hwmon: (aht10) Add support for dht20

Aksh Garg (1):
PCI: dwc: ep: Fix resizable BAR support for multi-PF configurations

Alain Volmat (1):
spi: stm32: fix missing pointer assignment in case of dma chaining

Alban Bedel (1):
can: mcp251x: fix deadlock in error path of mcp251x_open

Alexander Stein (2):
ASoC: fsl_xcvr: use dev_err_probe() replacing dev_err() + return
ASoC: fsl_xcvr: provide regmap names

Alexandre Courbot (1):
rust: kunit: fix warning when !CONFIG_PRINTK

Allison Henderson (1):
net/rds: Fix circular locking dependency in rds_tcp_tune

Anand Moon (1):
PCI: j721e: Use devm_clk_get_optional_enabled() to get and enable the clock

Andrew Cooper (1):
x86/fred: Correct speculative safety in fred_extint()

Andrew Lunn (1):
net: phy: register phy led_triggers during probe to avoid AB-BA deadlock

Ankit Garg (1):
gve: fix incorrect buffer cleanup in gve_tx_clean_pending_packets for QPL

Ariel Silver (1):
wifi: mac80211: bounds-check link_id in ieee80211_ml_reconfiguration

Bart Van Assche (5):
drm/amdgpu: Unlock a mutex before destroying it drm/amdgpu: Fix locking bugs in error paths
hwmon: (it87) Check the it87_lock() return value
wifi: cw1200: Fix locking in error paths
wifi: wlcore: Fix a locking bug

Bence Csókás (1):
ARM: dts: imx53-usbarmory: Replace license text comment with SPDX identifier

Bjorn Helgaas (2):
PCI: Correct PCI_CAP_EXP_ENDPOINT_SIZEOF_V2 value
PCI: dwc: Advertise L1 PM Substates only if driver requests it

Bobby Eshleman (1):

      net: devmem: use READ_ONCE/WRITE_ONCE on binding->dev

Brad Spengler (1):
drm/vmwgfx: Fix invalid kref_put callback in vmw_bo_dirty_release

Brian Vazquez (1):
idpf: change IRQ naming to match netdev and ethtool queue numbering

Catalin Marinas (1):
arm64: gcs: Do not set PTE_SHARED on GCS mappings if FEAT_LPA2 is enabled

Charles Haithcock (1):
i2c: i801: Revert "i2c: i801: replace acpi_lock with I2C bus lock"

Chen Ni (1):
drm/imx: parallel-display: check return value of devm_drm_bridge_add() in imx_pd_probe()

Chintan Vankar (1):
net: ethernet: ti: am65-cpsw-nuss/cpsw-ale: Fix multicast entry handling in ALE table

Christian Brauner (1):
namespace: fix proc mount iteration

Christoph Böhmwalder (1):
drbd: fix null-pointer dereference on local read error

Christoph Hellwig (2):
zloop: advertise a volatile write cache
zloop: check for spurious options passed to remove

Conor Dooley (1):
pinctrl: generic: move function to amlogic-am4 driver

Corey Minyard (1):
ipmi: Fix use-after-free and list corruption on sender error

Daniel Hodges (1):
wifi: libertas: fix use-after-free in lbs_free_adapter()

Daniil Dulov (1):
wifi: cfg80211: cancel rfkill_block work in wiphy_unregister()

Darrick J. Wong (1):
xfs: fix xfs_group release bug in xfs_dax_notify_dev_failure

Dave Jiang (2):
cxl: Move devm_cxl_add_nvdimm_bridge() to cxl_pmem.ko
cxl: Fix race of nvdimm_bus object when creating nvdimm objects

David Carlier (1):
sched_ext: Fix SCX_EFLAG_INITIALIZED being a no-op flag

David Howells (1):
netfs: Fix unbuffered/DIO writes to dispatch subrequests in strict sequence

David Thomson (1):
xen/acpi-processor: fix _CST detection using undersized evaluation buffer

Davide Caratti (1):
net/sched: ets: fix divide by zero in the offload path

Deepanshu Kartikey (1):
mm: thp: deny THP for files on anonymous inodes

Dikshita Agarwal (2):
media: iris: remove v4l2_m2m_ioctl_{de,en}coder_cmd API usage during STOP handling
media: iris: Add missing platform data entries for SM8750

Eduard Zingerman (1):
bpf: collect only live registers in linked regs

Eric Dumazet (5):

      net: annotate data-races around sk->sk_{data_ready,write_space}
      inet: annotate data-races around isk->inet_num
      indirect_call_wrapper: do not reevaluate function pointer
      tcp: secure_seq: add back ports to TS offset
      net_sched: sch_fq: clear q->band_pkt_count[] in fq_reset()

Ethan Nelson-Moore (1):
net: arcnet: com20020-pci: fix support for 2.5Mbit cards

Ethan Tidmore (2):
drm/tiny: sharp-memory: fix pointer error dereference
xfs: Fix error pointer dereference

Fabio M. De Francesco (1):
ACPI: APEI: GHES: Add helper for CPER CXL protocol errors checks

Fedor Pchelkin (1):
ksmbd: call ksmbd_vfs_kern_path_end_removing() on some error paths

Felix Gu (4):
drm/logicvc: Fix device node reference leak in logicvc_drm_config_parse()
regulator: bq257xx: Fix device node reference leak in bq257xx_reg_dt_parse_gpio()
pinctrl: meson: amlogic-a4: Fix device node reference leak in aml_dt_node_to_map_pinmux()
pinctrl: cirrus: cs42l43: Fix double-put in cs42l43_pin_probe()

Fernando Fernandez Mancera (2):
net: bridge: fix nd_tbl NULL dereference when IPv6 is disabled
net: vxlan: fix nd_tbl NULL dereference when IPv6 is disabled

Florian Eckert (2):
pinctrl: equilibrium: rename irq_chip function callbacks
pinctrl: equilibrium: fix warning trace on load

Florian Westphal (1):
netfilter: nft_set_pipapo: split gc into unlink and reclaim phase

Francesco Lavra (1):
drm/solomon: Fix page start when updating rectangle in page addressing mode

Fuad Tabba (3):
KVM: arm64: Hide S1POE from guests when not supported by the host
KVM: arm64: Fix ID register initialization for non-protected pKVM guests bpf, arm64: Force 8-byte alignment for JIT buffer to prevent atomic tearing

Geoffrey D. Bennett (3):
ALSA: scarlett2: Fix DSP filter control array handling
ALSA: usb-audio: Remove VALIDATE_RATES quirk for Focusrite devices
ALSA: usb-audio: Add QUIRK_FLAG_SKIP_IFACE_SETUP

Greg Kroah-Hartman (12):
nfc: pn533: properly drop the usb interface reference on disconnect
net: usb: kaweth: validate USB endpoints
net: usb: kalmia: validate USB endpoints
net: usb: pegasus: validate USB endpoints
can: ems_usb: ems_usb_read_bulk_callback(): check the proper length of a message
can: usb: f81604: correctly anchor the urb in the read bulk callback
can: ucan: Fix infinite loop from zero-length messages
can: usb: etas_es58x: correctly anchor the urb in the read bulk callback
can: usb: f81604: handle short interrupt urb messages properly
can: usb: f81604: handle bulk write errors properly
HID: Add HID_CLAIMED_INPUT guards in raw_event callbacks missing them Revert "netfilter: nft_set_rbtree: validate open interval overlap"

Guenter Roeck (3):
dpaa2-switch: Fix interrupt storm after receiving bad if_id in IRQ handler
ata: libata-eh: Fix detection of deferred qc timeouts
tracing: Add NULL pointer check to trigger_data_free()

Gui-Dong Han (1):
hwmon: (max16065) Use READ/WRITE_ONCE to avoid compiler optimization induced race

Hao Yu (1):
hwmon: (aht10) Fix initialization commands for AHT20

Haocheng Yu (1):
perf/core: Fix refcount bug and potential UAF in perf_mmap

Harishankar Vishwanathan (1):
bpf: Introduce tnum_step to step through tnum's members

Harry Yoo (1):
mm/slab: use prandom if !allow_spin

Heiko Carstens (2):
s390/idle: Fix cpu idle exit cpu time accounting s390/vtime: Fix virtual timer forwarding

Heitor Alves de Siqueira (1):
Bluetooth: purge error queues in socket destructors

Henrique Carvalho (1):
smb: client: fix cifs_pick_channel when channels are equally loaded

Ian Forbes (1):
drm/vmwgfx: Return the correct value in vmw_translate_ptr functions

Ian Ray (2):
HID: multitouch: new class MT_CLS_EGALAX_P80H84
net: nfc: nci: Fix zero-length proprietary notifications

Imre Deak (2):
drm/i915/dp: Fail state computation for invalid DSC source input BPP values drm/i915/dp: Fix pipe BPP clamping due to HDR

Ingo Molnar (3):
sched/fair: Rename cfs_rq::avg_load to cfs_rq::sum_weight
sched/fair: Rename cfs_rq::avg_vruntime to ::sum_w_vruntime, and helper functions sched/fair: Introduce and use the vruntime_cmp() and vruntime_op() wrappers for wrapped-signed aritmetics

Jakub Kicinski (6):
tcp: give up on stronger sk_rcvbuf checks (for now)
ipv6: fix NULL pointer deref in ip6_rt_get_dev_rcu()
nfc: nci: free skb on nci_transceive early error paths
nfc: nci: complete pending data exchange on device close
nfc: nci: clear NCI_DATA_EXCHANGE before calling completion callback
nfc: rawsock: cancel tx_work before socket teardown

Jamal Hadi Salim (1):
net/sched: act_ife: Fix metalist update behavior

Jan Stancek (1):
x86/boot: Handle relative CONFIG_EFI_SBAT_FILE file paths

Jann Horn (1):
eventpoll: Fix integer overflow in ep_loop_check_proc()

Jason Gunthorpe (3):
IB/mthca: Add missed mthca_unmap_user_db() for mthca_create_srq() RDMA/irdma: Fix kernel stack leak in irdma_create_user_ah() RDMA/ionic: Fix kernel stack leak in ionic_create_cq()

Jens Axboe (1):
media: dvb-core: fix wrong reinitialization of ringbuffer on reopen

Jiayuan Chen (5):
bpf: Fix race in cpumap on PREEMPT_RT
bpf: Fix race in devmap on PREEMPT_RT
atm: lec: fix null-ptr-deref in lec_arp_clear_vccs bpf/bonding: reject vlan+srcmac xmit_hash_policy change when XDP is loaded
net: ipv6: fix panic when IPv4 route references loopback IPv6 nexthop

Jinhui Guo (1):
iommu/vt-d: Skip dev-iotlb flush for inaccessible PCIe device without scalable mode

Johan Hovold (4):
memory: mtk-smi: fix device leaks on common probe
memory: mtk-smi: fix device leak on larb probe drm/tegra: dsi: fix device leak on probe
clk: tegra: tegra124-emc: fix device leak on set_rate()

Johannes Berg (1):
wifi: radiotap: reject radiotap with unknown bits

Jonathan Cavitt (1):
drm/client: Do not destroy NULL modes

Jonathan Teh (1):
platform/x86: thinkpad_acpi: Fix errors reading battery thresholds

Josh Poimboeuf (1):
unwind_user/x86: Enable frame pointer unwinding on x86

Juhyung Park (2):
ALSA: hda/realtek: fix model name typo for Samsung Galaxy Book Flex (NT950QCG-X716)
ALSA: hda/realtek: add quirk for Samsung Galaxy Book Flex (NT950QCT-A38A)

Julian Orth (1):

      drm/syncobj: Fix handle <-> fd ioctls with dirty stack

Jun Seo (1):
ALSA: usb-audio: Use correct version for UAC3 header validation

Junxiao Bi (1):
scsi: core: Fix refcount leak for tagset_refcnt

Justin Tee (1):
nvmet-fcloop: Check remoteport port_state before calling done callback

Keith Busch (1):
nvme-multipath: fix leak on try_module_get failure

Khushit Shah (1):
KVM: x86: Add x2APIC "features" to control EOI broadcast suppression

Kim Phillips (1):
x86/sev: Allow IBPB-on-Entry feature for SNP guests

Kohei Enju (2):
bpf: Fix stack-out-of-bounds write in devmap
iavf: fix netdev->max_mtu to respect actual hardware limit

Koichiro Den (1):
net: sched: avoid qdisc_reset_all_tx_gt() vs dequeue race for lockless qdiscs

Kuen-Han Tsai (3):
usb: gadget: u_ether: add gether_opts for config caching
usb: gadget: u_ether: Add auto-cleanup helper for freeing net_device
usb: gadget: f_ncm: align net_device lifecycle with bind/unbind

Kuniyuki Iwashima (2):
nfsd: Fix cred ref leak in nfsd_nl_threads_set_doit().
udp: Unhash auto-bound connected sk from 4-tuple hash table when disconnected.

Kurt Borja (2):
platform/x86: alienware-wmi-wmax: Add G-Mode support to m18 laptops platform/x86: dell-wmi: Add audio/mic mute key codes

Lang Xu (1):
bpf: Fix a UAF issue in bpf_trampoline_link_cgroup_shim

Lars Ellenberg (1):
drbd: fix "LOGIC BUG" in drbd_al_begin_io_nonblock()

Larysa Zaremba (7):
ice: fix adding AQ LLDP filter for VF
xdp: use modulo operation to calculate XDP frag tailroom
xsk: introduce helper to determine rxq->frag_size
i40e: fix registering XDP RxQ info
i40e: use xdp.frame_sz as XDP RxQ info frag_size
net: enetc: use truesize as XDP RxQ info frag_size
xdp: produce a warning when calculated tailroom is negative

Li Li (1):
idpf: increment completion queue next_to_clean in sw marker wait routine

Lijo Lazar (1):
drm/amdgpu: Fix error handling in slot reset

Lizhi Hou (3):
accel/amdxdna: Remove buffer size check when creating command BO accel/amdxdna: Prevent ubuf size overflow accel/amdxdna: Validate command buffer payload count

Lorenzo Bianconi (4):

      wifi: mt76: mt7996: Fix possible oob access in mt7996_mac_write_txwi_80211()
      wifi: mt76: mt7925: Fix possible oob access in mt7925_mac_write_txwi_80211()
      wifi: mt76: Fix possible oob access in mt76_connac2_mac_write_txwi_80211()
      net: ethernet: mtk_eth_soc: Reset prog ptr to old_prog in case of error in mtk_xdp_setup()

MD Danish Anwar (1):
net: ti: icssg-prueth: Fix ping failure after offload mode setup when link speed is not 1G

Manivannan Sadhasivam (1):
net: qrtr: Drop the MHI auto_queue feature for IPCR DL channels

Marco Crivellari (1):
Input: synaptics_i2c - replace use of system_wq with system_dfl_wq

Mario Limonciello (2):
drm/amd: Fix hang on amdgpu unload by using pci_dev_is_disconnected() platform/x86: hp-bioscfg: Support allocations of larger data

Mariusz Skamra (1):
Bluetooth: Fix CIS host feature condition

Mark Harmstone (6):
btrfs: fix error message order of parameters in btrfs_delete_delayed_dir_index()
btrfs: fix incorrect key offset in error message in check_dev_extent_item()
btrfs: fix objectid value in error message in check_extent_data_ref()
btrfs: fix warning in scrub_verify_one_metadata()
btrfs: print correct subvol num if active swapfile prevents deletion
btrfs: fix compat mask in error messages in btrfs_check_features()

Mathias Krause (1):
scsi: lpfc: Properly set WC for DPP mapping

Mathieu Desnoyers (1):
rseq: Clarify rseq registration rseq_size bound check comment

Matt Roper (1):
drm/xe/wa: Steer RMW of MCR registers while building default LRC

Matthew Brost (1):
drm/xe: Do not preempt fence signaling CS instructions

Matthieu Baerts (NGI0) (4):
mptcp: pm: avoid sending RM_ADDR over same subflow
mptcp: pm: in-kernel: always mark signal+subflow endp as used
selftests: mptcp: join: check RM_ADDR not sent over same subflow
selftests: mptcp: join: check removing signal+subflow endp

Maulik Shah (1):
pinctrl: qcom: qcs615: Add missing dual edge GPIO IRQ errata flag

Michal Swiatkowski (1):
libie: don't unroll if fwlog isn't supported

Mieczyslaw Nalewaj (1):
net: dsa: realtek: rtl8365mb: fix rtl8365mb_phy_ocp_write return value

Mike Rapoport (Microsoft) (1):
x86/efi: defer freeing of boot services memory

Ming Lei (2):
nvme: fix admin queue leak on controller reset
block: use trylock to avoid lockdep circular dependency in sysfs

Minseong Kim (1):
Input: synaptics_i2c - guard polling restart in resume

Miquel Sabaté Solà (2):
btrfs: free pages on error in btrfs_uring_read_extent()
btrfs: define the AUTO_KFREE/AUTO_KVFREE helper macros

Miroslav Lichvar (1):
timekeeping: Fix timex status validation for auxiliary clocks

Nam Cao (1):
irqchip/sifive-plic: Fix frozen interrupt due to affinity setting

Namhyung Kim (1):
perf/core: Fix invalid wait context in ctx_sched_in()

Naohiro Aota (1):
btrfs: zoned: fixup last alloc pointer after extent removal for RAID0/10

Natalie Vock (1):
drm/amd/display: Use GFP_ATOMIC in dc_create_stream_for_sink

Nathan Chancellor (2):
ACPI: APEI: GHES: Disable KASAN instrumentation when compile testing with clang < 18
kbuild: Split .modinfo out from ELF_DETAILS

Nikhil P. Rao (2):
xsk: Fix fragment node deletion to prevent buffer leak
xsk: Fix zero-copy AF_XDP fragment drop

Niklas Cassel (2):
PCI: dwc: ep: Flush MSI-X write before unmapping its ATU entry Revert "PCI: dw-rockchip: Enumerate endpoints based on dll_link_up IRQ"

Oleg Nesterov (1):
x86/uprobes: Fix XOL allocation failure for 32-bit tasks

Oliver Hartkopp (1):
can: bcm: fix locking for bcm_op runtime updates

Olivier Sobrie (1):
hwmon: (max6639) fix inverted polarity

Ovidiu Panait (4):
net: stmmac: Fix error handling in VLAN add and delete paths
net: stmmac: Improve double VLAN handling
net: stmmac: Fix VLAN HW state restore
net: stmmac: Defer VLAN HW configuration when interface is down

Pablo Neira Ayuso (2):
netfilter: nf_tables: unconditionally bump set->nelems before insertion
netfilter: nf_tables: clone set on flush only

Panagiotis Foliadis (2):
ALSA: hda/intel: increase default bdl_pos_adj for Nvidia controllers
ALSA: hda/realtek: Add quirk for Acer Aspire V3-572G

Paolo Abeni (1):
selftests: mptcp: more stable simult_flows tests

Paul Chaignon (2):
bpf: Improve bounds when tnum has a single possible value selftests/bpf: Avoid simplification of crafted bounds test

Paulo Alcantara (2):
smb: client: fix broken multichannel with krb5+signing
smb: client: fix oops due to uninitialised var in smb2_unlink()

Peter Wang (1):
scsi: ufs: core: Move link recovery for hibern8 exit failure to wl_resume

Peter Zijlstra (8):
x86/cfi: Fix CFI rewrite for odd alignments
sched/fair: Fix zero_vruntime tracking
sched/fair: Only set slice protection at pick time sched/fair: Fix lag clamp
perf: Fix __perf_event_overflow() vs perf_remove_from_context() race
unwind: Simplify unwind_user_next_fp() alignment check
unwind: Implement compat fp unwind
unwind_user/x86: Teach FP unwind about start of function

Petr Pavlu (1):
module: Remove duplicate freeing of lockdep classes

Phillip Lougher (1):
Squashfs: check metadata block offset is within range

Prithvi Tambewagh (1):
scsi: target: Fix recursive locking in __configfs_open_file()

Qiang Yu (3):
PCI: Add preceding capability position support in PCI_FIND_NEXT_*_CAP macros
PCI: dwc: Add new APIs to remove standard and extended Capability
PCI: dwc: Remove duplicate dw_pcie_ep_hide_ext_capability() function

Qing Wang (1):
tracing: Fix WARN_ON in tracing_buffers_mmap_close

Quentin Schulz (2):
accel/rocket: fix unwinding in error path in rocket_core_init accel/rocket: fix unwinding in error path in rocket_probe

Raju Rangoju (2):
amd-xgbe: fix MAC_TCR_SS register width for 2.5G and 10M speeds
amd-xgbe: fix sleep while atomic on suspend/resume

Richard Fitzgerald (1):
ALSA: hda: cs35l56: Fix signedness error in cs35l56_hda_posture_put()

Rong Zhang (1):
ALSA: doc: usb-audio: Add doc for QUIRK_FLAG_SKIP_IFACE_SETUP

Russell King (Oracle) (1):
net: stmmac: remove support for lpi_intr_o

Salomon Dushimirimana (1):

      scsi: pm8001: Fix use-after-free in pm8001_queue_command()

Sasha Levin (1):

      Linux 6.18.17

Sean Christopherson (1):
KVM: x86: Ignore -EBUSY when checking nested events from vcpu_block()

Sebastian Andrzej Siewior (1):
net: Provide a PREEMPT_RT specific check for netdev_queue::_xmit_lock

Sebastian Krzyszkowiak (1):
wifi: rsi: Don't default to -EOPNOTSUPP in rsi_mac80211_config

Shawn Lin (5):
PCI: dw-rockchip: Configure L1SS support
PCI: dwc: Add L1 Substates context to ltssm_status of debugfs
PCI: dw-rockchip: Change get_ltssm() to provide L1 Substates info
arm64: dts: rockchip: Fix rk356x PCIe range mappings
arm64: dts: rockchip: Fix rk3588 PCIe range mappings

Shuicheng Lin (2):
drm/xe/configfs: Free ctx_restore_mid_bb in release drm/xe/reg_sr: Fix leak on xa_store failure

Shuvam Pandey (1):
kunit: tool: copy caller args in run_kernel to prevent mutation

Siddharth Vadapalli (1):
PCI: j721e: Add config guards for Cadence Host and Endpoint library APIs

Simon Ser (1):
drm/fourcc: fix plane order for 10/12/16-bit YCbCr formats

Sreedevi Joshi (1):
idpf: Fix flow rule delete failure due to invalid validation

Srinivas Pandruvada (1):
cpufreq: intel_pstate: Fix crash during turbo disable

Stefan Hajnoczi (1):
nvme: reject invalid pr_read_keys() num_keys values

Sun Jian (1):
selftests/harness: order TEST_F and XFAIL_ADD constructors

Sungwoo Kim (1):
nvme: fix memory allocation in nvme_pr_read_keys()

T.J. Mercier (1):
selftests/bpf: Fix OOB read in dmabuf_collector

Takashi Iwai (4):
ALSA: usb-audio: Cap the packet size pre-calculations
ALSA: usb-audio: Use inclusive terms
ALSA: usb: qcom: Correct parameter comment for uaudio_transfer_buffer_setup()
ASoC: SDCA: Fix comments for sdca_irq_request()

Thomas Gleixner (2):
debugobject: Make it work with deferred page initialization - again
i40e: Fix preempt count leak in napi poll tracepoint

Thomas Weißschuh (1):
ARM: clean up the memset64() C wrapper

Thorsten Blum (2):
platform/x86: dell-wmi-sysman: Don't hex dump plaintext password data
smb: client: Don't log plaintext credentials in cifs_set_cifscreds

Tianci Cao (1):
bpf: Add bitwise tracking for BPF_END

Tiezhu Yang (3):
LoongArch: Remove unnecessary checks for ORC unwinder
LoongArch: Handle percpu handler address for ORC unwinder
LoongArch: Remove some extern variables in source files

Tom Lendacky (1):
x86/boot/sev: Move SEV decompressor variables into the .data section

Tomasz Pakuła (1):
HID: pidff: Fix condition effect bit clearing

Tvrtko Ursulin (1):
drm/amdgpu/userq: Do not allow userspace to trivially triger kernel warnings

Vahagn Vardanian (1):
wifi: mac80211: fix NULL pointer dereference in mesh_rx_csa_frame()

Vimlesh Kumar (4):
octeon_ep: Relocate counter updates before NAPI
octeon_ep: avoid compiler and IQ/OQ reordering
octeon_ep_vf: Relocate counter updates before NAPI
octeon_ep_vf: avoid compiler and IQ/OQ reordering

Vitaly Lifshits (1):
e1000e: clear DPG_EN after reset to avoid autonomous power-gating

Vivek Behera (1):
igb: Fix trigger of incorrect irq in igb_xsk_wakeup

Vlastimil Babka (1):
slub: remove CONFIG_SLUB_TINY specific code paths

Waiman Long (1):
cgroup/cpuset: Fix incorrect use of cpuset_update_tasks_cpumask() in update_cpumasks_hier()

Wake Liu (1):
kselftest/harness: Use helper to avoid zero-size memset warning

Wang Tao (1):

      sched/eevdf: Update se->vprot in reweight_entity()

Werner Sembach (1):
HID: multitouch: Keep latency normal on deactivate for reactivation gesture

Will Deacon (2):
arm64: io: Rename ioremap_prot() to __ioremap_prot()
arm64: io: Extract user memory type in ioremap_prot()

Xuewen Yan (1):
PM: sleep: core: Avoid bit field races related to work_in_progress

Yang Erkun (1):
ext4: correct the comments place for EXT4_EXT_MAY_ZEROOUT

Yazen Ghannam (1):
x86/acpi/boot: Correct acpi_is_processor_usable() check again

Yifan Wu (1):
selftest/arm64: Fix sve2p1_sigill() to hwcap test

Yujie Liu (1):
drm/sched: Fix kernel-doc warning for drm_sched_job_done()

Yung Chih Su (1):
net: ipv4: fix ARM64 alignment fault in multipath hash seed

Zhang Heng (1):
ALSA: hda/realtek: Add quirk for HP Pavilion 15-eh1xxx to enable mute LED

Zhang Yi (1):
ext4: don't set EXT4_GET_BLOCKS_CONVERT when splitting before submitting I/O

ZhangGuoDong (2):
smb/client: fix buffer size for smb311_posix_qinfo in smb2_compound_op() smb/client: fix buffer size for smb311_posix_qinfo in SMB311_posix_query_info()

Zhanjun Dong (1):
drm/xe/gsc: Fix GSC proxy cleanup on early initialization failure

Zide Chen (1):
perf/x86/intel/uncore: Add per-scheduler IMC CAS count events

Zilin Guan (1):
media: tegra-video: Fix memory leak in __tegra_channel_try_format()

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE4n5dijQDou9mhzu83qZv95d3LNwFAmmyonwACgkQ3qZv95d3 LNwApQ//YLkSPbSveOSGEblUvnBDGzQkE9CAKllSrv1GZR2jX/L70w1ebyqcUfrG FR/y4PU+jIYgPXVqkKASw8DhYQbBv4YyDyhsveQWzXhIHms5hgp2Zks1QYHJO6Dg asI2h8B3+tLGeDmuhsCXvzo2JPO0M+VQPPYMPYgYRAXtkSWOWAI0KAhnfI6XSTk1 dP5VSD1N3FVqyZOUiVR9Hr5xJJfVVj1FC5h0SHESOTf1q3S132QAeKv3+gZL/HtW sZJQcGEpN+674GgKn3TfYGcBK6xNUKVFBCFPQRlsCA/cHXpG0lYDb7H1zHXmN4Xu Eq11DLq4ZFvyVpe7jo3d61ncZgKa+3Dkax2AP2gTLAzSsWvfQ6ivMcED9HYT0pbL uDi0V3moYwu7Xy2fDl8vCtUJhApXExImChjVUKukR2WvTNoaZ5dvksHx/gol/wah d6yXNwEj/hvUqAS5Pugt2iZfQCvq5dN1pT6xgyhesbeMTb5vxO5E1Zt4JmEtXtLv oO0aphnzkotk4pJpnki5fPsPFbp0LVzxzlXdrLrxu9+tNV2ezlt4FdgwdrayhVcx jBn+dUUIUF1D6j1S5/mrMcNQS+nVCpmJXs7VERll6i1tRtkMAuz4uC5HTdp9GSXX NzjQPrJQngxeQx0wcIX5LAfdhdX7f+qE0JqyHZAyohvzUaallEM= =a3lZ
-----END PGP SIGNATURE-----

author maintainer
#1 lore raw
Documentation/hwmon/aht10.rst +9 -1
index 213644b4ecba6..7903b6434326d 100644
@@ -20,6 +20,14 @@ Supported chips:
 
       English: http://www.aosong.com/userfiles/files/media/Data%20Sheet%20AHT20.pdf
 
+  * Aosong DHT20
+
+    Prefix: 'dht20'
+
+    Addresses scanned: None
+
+    Datasheet: https://www.digikey.co.nz/en/htmldatasheets/production/9184855/0/0/1/101020932
+
 Author: Johannes Cornelis Draaijer <[email protected]>
 
 
@@ -33,7 +41,7 @@ The address of this i2c device may only be 0x38
 Special Features
 ----------------
 
-AHT20 has additional CRC8 support which is sent as the last byte of the sensor
+AHT20, DHT20 has additional CRC8 support which is sent as the last byte of the sensor
 values.
 
 Usage Notes
Documentation/sound/alsa-configuration.rst +4 -0
index 0a4eaa7d66ddd..55b845d382368 100644
@@ -2372,6 +2372,10 @@ quirk_flags
           audible volume
         * bit 25: ``mixer_capture_min_mute``
           Similar to bit 24 but for capture streams
+        * bit 26: ``skip_iface_setup``
+          Skip the probe-time interface setup (usb_set_interface,
+          init_pitch, init_sample_rate); redundant with
+          snd_usb_endpoint_prepare() at stream-open time
 
 This module supports multiple devices, autoprobe and hotplugging.
 
Documentation/virt/kvm/api.rst +26 -2
index 57061fa29e6a0..ae8b02eb776a5 100644
@@ -7800,8 +7800,10 @@ Will return -EBUSY if a VCPU has already been created.
 
 Valid feature flags in args[0] are::
 
-  #define KVM_X2APIC_API_USE_32BIT_IDS            (1ULL << 0)
-  #define KVM_X2APIC_API_DISABLE_BROADCAST_QUIRK  (1ULL << 1)
+  #define KVM_X2APIC_API_USE_32BIT_IDS                          (1ULL << 0)
+  #define KVM_X2APIC_API_DISABLE_BROADCAST_QUIRK                (1ULL << 1)
+  #define KVM_X2APIC_ENABLE_SUPPRESS_EOI_BROADCAST              (1ULL << 2)
+  #define KVM_X2APIC_DISABLE_SUPPRESS_EOI_BROADCAST             (1ULL << 3)
 
 Enabling KVM_X2APIC_API_USE_32BIT_IDS changes the behavior of
 KVM_SET_GSI_ROUTING, KVM_SIGNAL_MSI, KVM_SET_LAPIC, and KVM_GET_LAPIC,
@@ -7814,6 +7816,28 @@ as a broadcast even in x2APIC mode in order to support physical x2APIC
 without interrupt remapping.  This is undesirable in logical mode,
 where 0xff represents CPUs 0-7 in cluster 0.
 
+Setting KVM_X2APIC_ENABLE_SUPPRESS_EOI_BROADCAST instructs KVM to enable
+Suppress EOI Broadcasts.  KVM will advertise support for Suppress EOI
+Broadcast to the guest and suppress LAPIC EOI broadcasts when the guest
+sets the Suppress EOI Broadcast bit in the SPIV register.  This flag is
+supported only when using a split IRQCHIP.
+
+Setting KVM_X2APIC_DISABLE_SUPPRESS_EOI_BROADCAST disables support for
+Suppress EOI Broadcasts entirely, i.e. instructs KVM to NOT advertise
+support to the guest.
+
+Modern VMMs should either enable KVM_X2APIC_ENABLE_SUPPRESS_EOI_BROADCAST
+or KVM_X2APIC_DISABLE_SUPPRESS_EOI_BROADCAST.  If not, legacy quirky
+behavior will be used by KVM: in split IRQCHIP mode, KVM will advertise
+support for Suppress EOI Broadcasts but not actually suppress EOI
+broadcasts; for in-kernel IRQCHIP mode, KVM will not advertise support for
+Suppress EOI Broadcasts.
+
+Setting both KVM_X2APIC_ENABLE_SUPPRESS_EOI_BROADCAST and
+KVM_X2APIC_DISABLE_SUPPRESS_EOI_BROADCAST will fail with an EINVAL error,
+as will setting KVM_X2APIC_ENABLE_SUPPRESS_EOI_BROADCAST without a split
+IRCHIP.
+
 7.8 KVM_CAP_S390_USER_INSTR0
 ----------------------------
 
Makefile +1 -1
index 35c1fcb095717..8cffe2446616c 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 6
 PATCHLEVEL = 18
-SUBLEVEL = 16
+SUBLEVEL = 17
 EXTRAVERSION =
 NAME = Baby Opossum Posse
 
arch/alpha/kernel/vmlinux.lds.S +1 -0
index 2efa7dfc798a9..2d136c63db161 100644
@@ -71,6 +71,7 @@ SECTIONS
 
 	STABS_DEBUG
 	DWARF_DEBUG
+	MODINFO
 	ELF_DETAILS
 
 	DISCARDS
arch/arc/kernel/vmlinux.lds.S +1 -0
index 61a1b2b96e1d8..6af63084ff285 100644
@@ -123,6 +123,7 @@ SECTIONS
 	_end = . ;
 
 	STABS_DEBUG
+	MODINFO
 	ELF_DETAILS
 	DISCARDS
 
arch/arm/boot/compressed/vmlinux.lds.S +1 -0
index d411abd4310ea..2d916647df03c 100644
@@ -21,6 +21,7 @@ SECTIONS
     COMMON_DISCARDS
     *(.ARM.exidx*)
     *(.ARM.extab*)
+    *(.modinfo)
     *(.note.*)
     *(.rel.*)
     *(.printk_index)
arch/arm/boot/dts/nxp/imx/imx53-usbarmory.dts +1 -38
index acc44010d5106..3ad9db4b14425 100644
@@ -1,47 +1,10 @@
+// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
 /*
  * USB armory MkI device tree file
  * https://inversepath.com/usbarmory
  *
  * Copyright (C) 2015, Inverse Path
  * Andrej Rosano <[email protected]>
- *
- * This file is dual-licensed: you can use it either under the terms
- * of the GPL or the X11 license, at your option. Note that this dual
- * licensing only applies to this file, and not this project as a
- * whole.
- *
- *  a) This file is free software; you can redistribute it and/or
- *     modify it under the terms of the GNU General Public License as
- *     published by the Free Software Foundation; either version 2 of the
- *     License, or (at your option) any later version.
- *
- *     This file is distributed in the hope that it will be useful,
- *     but WITHOUT ANY WARRANTY; without even the implied warranty of
- *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *     GNU General Public License for more details.
- *
- * Or, alternatively,
- *
- *  b) Permission is hereby granted, free of charge, to any person
- *     obtaining a copy of this software and associated documentation
- *     files (the "Software"), to deal in the Software without
- *     restriction, including without limitation the rights to use,
- *     copy, modify, merge, publish, distribute, sublicense, and/or
- *     sell copies of the Software, and to permit persons to whom the
- *     Software is furnished to do so, subject to the following
- *     conditions:
- *
- *     The above copyright notice and this permission notice shall be
- *     included in all copies or substantial portions of the Software.
- *
- *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
- *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
- *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- *     OTHER DEALINGS IN THE SOFTWARE.
  */
 
 /dts-v1/;
arch/arm/include/asm/string.h +9 -5
index c35250c4991bc..96fc6cf460ecb 100644
@@ -39,13 +39,17 @@ static inline void *memset32(uint32_t *p, uint32_t v, __kernel_size_t n)
 }
 
 #define __HAVE_ARCH_MEMSET64
-extern void *__memset64(uint64_t *, uint32_t low, __kernel_size_t, uint32_t hi);
+extern void *__memset64(uint64_t *, uint32_t first, __kernel_size_t, uint32_t second);
 static inline void *memset64(uint64_t *p, uint64_t v, __kernel_size_t n)
 {
-	if (IS_ENABLED(CONFIG_CPU_LITTLE_ENDIAN))
-		return __memset64(p, v, n * 8, v >> 32);
-	else
-		return __memset64(p, v >> 32, n * 8, v);
+	union {
+		uint64_t val;
+		struct {
+			uint32_t first, second;
+		};
+	} word = { .val = v };
+
+	return __memset64(p, word.first, n * 8, word.second);
 }
 
 /*
arch/arm/kernel/vmlinux-xip.lds.S +1 -0
index f2e8d4fac0687..5afb725998ec0 100644
@@ -154,6 +154,7 @@ SECTIONS
 
 	STABS_DEBUG
 	DWARF_DEBUG
+	MODINFO
 	ARM_DETAILS
 
 	ARM_ASSERTS
arch/arm/kernel/vmlinux.lds.S +1 -0
index d592a203f9c6b..c07843c3c53d3 100644
@@ -153,6 +153,7 @@ SECTIONS
 
 	STABS_DEBUG
 	DWARF_DEBUG
+	MODINFO
 	ARM_DETAILS
 
 	ARM_ASSERTS
arch/arm64/boot/dts/rockchip/rk3568.dtsi +2 -2
index e719a3df126c5..658097ed69714 100644
@@ -185,7 +185,7 @@ pcie3x1: pcie@fe270000 {
 		      <0x0 0xf2000000 0x0 0x00100000>;
 		ranges = <0x01000000 0x0 0xf2100000 0x0 0xf2100000 0x0 0x00100000>,
 			 <0x02000000 0x0 0xf2200000 0x0 0xf2200000 0x0 0x01e00000>,
-			 <0x03000000 0x0 0x40000000 0x3 0x40000000 0x0 0x40000000>;
+			 <0x03000000 0x3 0x40000000 0x3 0x40000000 0x0 0x40000000>;
 		reg-names = "dbi", "apb", "config";
 		resets = <&cru SRST_PCIE30X1_POWERUP>;
 		reset-names = "pipe";
@@ -238,7 +238,7 @@ pcie3x2: pcie@fe280000 {
 		      <0x0 0xf0000000 0x0 0x00100000>;
 		ranges = <0x01000000 0x0 0xf0100000 0x0 0xf0100000 0x0 0x00100000>,
 			 <0x02000000 0x0 0xf0200000 0x0 0xf0200000 0x0 0x01e00000>,
-			 <0x03000000 0x0 0x40000000 0x3 0x80000000 0x0 0x40000000>;
+			 <0x03000000 0x3 0x80000000 0x3 0x80000000 0x0 0x40000000>;
 		reg-names = "dbi", "apb", "config";
 		resets = <&cru SRST_PCIE30X2_POWERUP>;
 		reset-names = "pipe";
arch/arm64/boot/dts/rockchip/rk356x-base.dtsi +1 -1
index fd2214b6fad40..d654f98460ec0 100644
@@ -975,7 +975,7 @@ pcie2x1: pcie@fe260000 {
 		power-domains = <&power RK3568_PD_PIPE>;
 		ranges = <0x01000000 0x0 0xf4100000 0x0 0xf4100000 0x0 0x00100000>,
 			 <0x02000000 0x0 0xf4200000 0x0 0xf4200000 0x0 0x01e00000>,
-			 <0x03000000 0x0 0x40000000 0x3 0x00000000 0x0 0x40000000>;
+			 <0x03000000 0x3 0x00000000 0x3 0x00000000 0x0 0x40000000>;
 		resets = <&cru SRST_PCIE20_POWERUP>;
 		reset-names = "pipe";
 		#address-cells = <3>;
arch/arm64/boot/dts/rockchip/rk3588-base.dtsi +2 -2
index 2973f6bae1716..7e74e04057cfd 100644
@@ -1955,7 +1955,7 @@ pcie2x1l1: pcie@fe180000 {
 		power-domains = <&power RK3588_PD_PCIE>;
 		ranges = <0x01000000 0x0 0xf3100000 0x0 0xf3100000 0x0 0x00100000>,
 			 <0x02000000 0x0 0xf3200000 0x0 0xf3200000 0x0 0x00e00000>,
-			 <0x03000000 0x0 0x40000000 0x9 0xc0000000 0x0 0x40000000>;
+			 <0x03000000 0x9 0xc0000000 0x9 0xc0000000 0x0 0x40000000>;
 		reg = <0xa 0x40c00000 0x0 0x00400000>,
 		      <0x0 0xfe180000 0x0 0x00010000>,
 		      <0x0 0xf3000000 0x0 0x00100000>;
@@ -2007,7 +2007,7 @@ pcie2x1l2: pcie@fe190000 {
 		power-domains = <&power RK3588_PD_PCIE>;
 		ranges = <0x01000000 0x0 0xf4100000 0x0 0xf4100000 0x0 0x00100000>,
 			 <0x02000000 0x0 0xf4200000 0x0 0xf4200000 0x0 0x00e00000>,
-			 <0x03000000 0x0 0x40000000 0xa 0x00000000 0x0 0x40000000>;
+			 <0x03000000 0xa 0x00000000 0xa 0x00000000 0x0 0x40000000>;
 		reg = <0xa 0x41000000 0x0 0x00400000>,
 		      <0x0 0xfe190000 0x0 0x00010000>,
 		      <0x0 0xf4000000 0x0 0x00100000>;
arch/arm64/boot/dts/rockchip/rk3588-extra.dtsi +3 -3
index 6e5a58428bbab..a2640014ee042 100644
@@ -375,7 +375,7 @@ pcie3x4: pcie@fe150000 {
 		power-domains = <&power RK3588_PD_PCIE>;
 		ranges = <0x01000000 0x0 0xf0100000 0x0 0xf0100000 0x0 0x00100000>,
 			 <0x02000000 0x0 0xf0200000 0x0 0xf0200000 0x0 0x00e00000>,
-			 <0x03000000 0x0 0x40000000 0x9 0x00000000 0x0 0x40000000>;
+			 <0x03000000 0x9 0x00000000 0x9 0x00000000 0x0 0x40000000>;
 		reg = <0xa 0x40000000 0x0 0x00400000>,
 		      <0x0 0xfe150000 0x0 0x00010000>,
 		      <0x0 0xf0000000 0x0 0x00100000>;
@@ -462,7 +462,7 @@ pcie3x2: pcie@fe160000 {
 		power-domains = <&power RK3588_PD_PCIE>;
 		ranges = <0x01000000 0x0 0xf1100000 0x0 0xf1100000 0x0 0x00100000>,
 			 <0x02000000 0x0 0xf1200000 0x0 0xf1200000 0x0 0x00e00000>,
-			 <0x03000000 0x0 0x40000000 0x9 0x40000000 0x0 0x40000000>;
+			 <0x03000000 0x9 0x40000000 0x9 0x40000000 0x0 0x40000000>;
 		reg = <0xa 0x40400000 0x0 0x00400000>,
 		      <0x0 0xfe160000 0x0 0x00010000>,
 		      <0x0 0xf1000000 0x0 0x00100000>;
@@ -512,7 +512,7 @@ pcie2x1l0: pcie@fe170000 {
 		power-domains = <&power RK3588_PD_PCIE>;
 		ranges = <0x01000000 0x0 0xf2100000 0x0 0xf2100000 0x0 0x00100000>,
 			 <0x02000000 0x0 0xf2200000 0x0 0xf2200000 0x0 0x00e00000>,
-			 <0x03000000 0x0 0x40000000 0x9 0x80000000 0x0 0x40000000>;
+			 <0x03000000 0x9 0x80000000 0x9 0x80000000 0x0 0x40000000>;
 		reg = <0xa 0x40800000 0x0 0x00400000>,
 		      <0x0 0xfe170000 0x0 0x00010000>,
 		      <0x0 0xf2000000 0x0 0x00100000>;
arch/arm64/include/asm/io.h +20 -6
index 83e03abbb2ca9..8cbd1e96fd50b 100644
@@ -264,19 +264,33 @@ __iowrite64_copy(void __iomem *to, const void *from, size_t count)
 typedef int (*ioremap_prot_hook_t)(phys_addr_t phys_addr, size_t size,
 				   pgprot_t *prot);
 int arm64_ioremap_prot_hook_register(const ioremap_prot_hook_t hook);
+void __iomem *__ioremap_prot(phys_addr_t phys, size_t size, pgprot_t prot);
 
-#define ioremap_prot ioremap_prot
+static inline void __iomem *ioremap_prot(phys_addr_t phys, size_t size,
+					 pgprot_t user_prot)
+{
+	pgprot_t prot;
+	ptdesc_t user_prot_val = pgprot_val(user_prot);
+
+	if (WARN_ON_ONCE(!(user_prot_val & PTE_USER)))
+		return NULL;
 
-#define _PAGE_IOREMAP PROT_DEVICE_nGnRE
+	prot = __pgprot_modify(PAGE_KERNEL, PTE_ATTRINDX_MASK,
+			       user_prot_val & PTE_ATTRINDX_MASK);
+	return __ioremap_prot(phys, size, prot);
+}
+#define ioremap_prot ioremap_prot
 
+#define ioremap(addr, size)	\
+	__ioremap_prot((addr), (size), __pgprot(PROT_DEVICE_nGnRE))
 #define ioremap_wc(addr, size)	\
-	ioremap_prot((addr), (size), __pgprot(PROT_NORMAL_NC))
+	__ioremap_prot((addr), (size), __pgprot(PROT_NORMAL_NC))
 #define ioremap_np(addr, size)	\
-	ioremap_prot((addr), (size), __pgprot(PROT_DEVICE_nGnRnE))
+	__ioremap_prot((addr), (size), __pgprot(PROT_DEVICE_nGnRnE))
 
 
 #define ioremap_encrypted(addr, size)	\
-	ioremap_prot((addr), (size), PAGE_KERNEL)
+	__ioremap_prot((addr), (size), PAGE_KERNEL)
 
 /*
  * io{read,write}{16,32,64}be() macros
@@ -297,7 +311,7 @@ static inline void __iomem *ioremap_cache(phys_addr_t addr, size_t size)
 	if (pfn_is_map_memory(__phys_to_pfn(addr)))
 		return (void __iomem *)__phys_to_virt(addr);
 
-	return ioremap_prot(addr, size, __pgprot(PROT_NORMAL));
+	return __ioremap_prot(addr, size, __pgprot(PROT_NORMAL));
 }
 
 /*
arch/arm64/include/asm/pgtable-prot.h +0 -3
index 85dceb1c66f45..a64a26aaceba4 100644
@@ -164,9 +164,6 @@ static inline bool __pure lpa2_is_enabled(void)
 #define _PAGE_GCS	(_PAGE_DEFAULT | PTE_NG | PTE_UXN | PTE_WRITE | PTE_USER)
 #define _PAGE_GCS_RO	(_PAGE_DEFAULT | PTE_NG | PTE_UXN | PTE_USER)
 
-#define PAGE_GCS	__pgprot(_PAGE_GCS)
-#define PAGE_GCS_RO	__pgprot(_PAGE_GCS_RO)
-
 #define PIE_E0	( \
 	PIRx_ELx_PERM_PREP(pte_pi_index(_PAGE_GCS),           PIE_GCS)  | \
 	PIRx_ELx_PERM_PREP(pte_pi_index(_PAGE_GCS_RO),        PIE_R)   | \
arch/arm64/kernel/acpi.c +1 -1
index f1cb2447afc9c..b285e174f4f51 100644
@@ -377,7 +377,7 @@ void __iomem *acpi_os_ioremap(acpi_physical_address phys, acpi_size size)
 				prot = __acpi_get_writethrough_mem_attribute();
 		}
 	}
-	return ioremap_prot(phys, size, prot);
+	return __ioremap_prot(phys, size, prot);
 }
 
 /*
arch/arm64/kernel/vmlinux.lds.S +1 -0
index ad6133b89e7a4..2964aad0362e4 100644
@@ -349,6 +349,7 @@ SECTIONS
 
 	STABS_DEBUG
 	DWARF_DEBUG
+	MODINFO
 	ELF_DETAILS
 
 	HEAD_SYMBOLS
arch/arm64/kvm/hyp/nvhe/pkvm.c +33 -2
index 43bde061b65de..d866f6ba19b5f 100644
@@ -343,6 +343,7 @@ static void pkvm_init_features_from_host(struct pkvm_hyp_vm *hyp_vm, const struc
 	/* No restrictions for non-protected VMs. */
 	if (!kvm_vm_is_protected(kvm)) {
 		hyp_vm->kvm.arch.flags = host_arch_flags;
+		hyp_vm->kvm.arch.flags &= ~BIT_ULL(KVM_ARCH_FLAG_ID_REGS_INITIALIZED);
 
 		bitmap_copy(kvm->arch.vcpu_features,
 			    host_kvm->arch.vcpu_features,
@@ -469,6 +470,35 @@ static int pkvm_vcpu_init_sve(struct pkvm_hyp_vcpu *hyp_vcpu, struct kvm_vcpu *h
 	return ret;
 }
 
+static int vm_copy_id_regs(struct pkvm_hyp_vcpu *hyp_vcpu)
+{
+	struct pkvm_hyp_vm *hyp_vm = pkvm_hyp_vcpu_to_hyp_vm(hyp_vcpu);
+	const struct kvm *host_kvm = hyp_vm->host_kvm;
+	struct kvm *kvm = &hyp_vm->kvm;
+
+	if (!test_bit(KVM_ARCH_FLAG_ID_REGS_INITIALIZED, &host_kvm->arch.flags))
+		return -EINVAL;
+
+	if (test_and_set_bit(KVM_ARCH_FLAG_ID_REGS_INITIALIZED, &kvm->arch.flags))
+		return 0;
+
+	memcpy(kvm->arch.id_regs, host_kvm->arch.id_regs, sizeof(kvm->arch.id_regs));
+
+	return 0;
+}
+
+static int pkvm_vcpu_init_sysregs(struct pkvm_hyp_vcpu *hyp_vcpu)
+{
+	int ret = 0;
+
+	if (pkvm_hyp_vcpu_is_protected(hyp_vcpu))
+		kvm_init_pvm_id_regs(&hyp_vcpu->vcpu);
+	else
+		ret = vm_copy_id_regs(hyp_vcpu);
+
+	return ret;
+}
+
 static int init_pkvm_hyp_vcpu(struct pkvm_hyp_vcpu *hyp_vcpu,
 			      struct pkvm_hyp_vm *hyp_vm,
 			      struct kvm_vcpu *host_vcpu)
@@ -488,8 +518,9 @@ static int init_pkvm_hyp_vcpu(struct pkvm_hyp_vcpu *hyp_vcpu,
 	hyp_vcpu->vcpu.arch.cflags = READ_ONCE(host_vcpu->arch.cflags);
 	hyp_vcpu->vcpu.arch.mp_state.mp_state = KVM_MP_STATE_STOPPED;
 
-	if (pkvm_hyp_vcpu_is_protected(hyp_vcpu))
-		kvm_init_pvm_id_regs(&hyp_vcpu->vcpu);
+	ret = pkvm_vcpu_init_sysregs(hyp_vcpu);
+	if (ret)
+		goto done;
 
 	ret = pkvm_vcpu_init_traps(hyp_vcpu);
 	if (ret)
arch/arm64/kvm/sys_regs.c +3 -0
index ec3fbe0b8d525..7b7f3c932dcd5 100644
@@ -1801,6 +1801,9 @@ static u64 __kvm_read_sanitised_id_reg(const struct kvm_vcpu *vcpu,
 		       ID_AA64MMFR3_EL1_SCTLRX |
 		       ID_AA64MMFR3_EL1_S1POE |
 		       ID_AA64MMFR3_EL1_S1PIE;
+
+		if (!system_supports_poe())
+			val &= ~ID_AA64MMFR3_EL1_S1POE;
 		break;
 	case SYS_ID_MMFR4_EL1:
 		val &= ~ID_MMFR4_EL1_CCIDX;
arch/arm64/mm/ioremap.c +3 -3
index 10e246f112710..1e4794a2af7d6 100644
@@ -14,8 +14,8 @@ int arm64_ioremap_prot_hook_register(ioremap_prot_hook_t hook)
 	return 0;
 }
 
-void __iomem *ioremap_prot(phys_addr_t phys_addr, size_t size,
-			   pgprot_t pgprot)
+void __iomem *__ioremap_prot(phys_addr_t phys_addr, size_t size,
+			     pgprot_t pgprot)
 {
 	unsigned long last_addr = phys_addr + size - 1;
 
@@ -38,7 +38,7 @@ void __iomem *ioremap_prot(phys_addr_t phys_addr, size_t size,
 
 	return generic_ioremap_prot(phys_addr, size, pgprot);
 }
-EXPORT_SYMBOL(ioremap_prot);
+EXPORT_SYMBOL(__ioremap_prot);
 
 /*
  * Must be called after early_fixmap_init
arch/arm64/mm/mmap.c +6 -2
index 08ee177432c2f..75f343009b4b1 100644
@@ -34,6 +34,8 @@ static pgprot_t protection_map[16] __ro_after_init = {
 	[VM_SHARED | VM_EXEC | VM_WRITE | VM_READ]	= PAGE_SHARED_EXEC
 };
 
+static ptdesc_t gcs_page_prot __ro_after_init = _PAGE_GCS_RO;
+
 /*
  * You really shouldn't be using read() or write() on /dev/mem.  This might go
  * away in the future.
@@ -73,9 +75,11 @@ static int __init adjust_protection_map(void)
 		protection_map[VM_EXEC | VM_SHARED] = PAGE_EXECONLY;
 	}
 
-	if (lpa2_is_enabled())
+	if (lpa2_is_enabled()) {
 		for (int i = 0; i < ARRAY_SIZE(protection_map); i++)
 			pgprot_val(protection_map[i]) &= ~PTE_SHARED;
+		gcs_page_prot &= ~PTE_SHARED;
+	}
 
 	return 0;
 }
@@ -87,7 +91,7 @@ pgprot_t vm_get_page_prot(vm_flags_t vm_flags)
 
 	/* Short circuit GCS to avoid bloating the table. */
 	if (system_supports_gcs() && (vm_flags & VM_SHADOW_STACK)) {
-		prot = _PAGE_GCS_RO;
+		prot = gcs_page_prot;
 	} else {
 		prot = pgprot_val(protection_map[vm_flags &
 				   (VM_READ|VM_WRITE|VM_EXEC|VM_SHARED)]);
arch/arm64/net/bpf_jit_comp.c +1 -1
index 83a6ca613f9c2..107eb71b533a0 100644
@@ -2122,7 +2122,7 @@ struct bpf_prog *bpf_int_jit_compile(struct bpf_prog *prog)
 	extable_offset = round_up(prog_size + PLT_TARGET_SIZE, extable_align);
 	image_size = extable_offset + extable_size;
 	ro_header = bpf_jit_binary_pack_alloc(image_size, &ro_image_ptr,
-					      sizeof(u32), &header, &image_ptr,
+					      sizeof(u64), &header, &image_ptr,
 					      jit_fill_hole);
 	if (!ro_header) {
 		prog = orig_prog;
arch/csky/kernel/vmlinux.lds.S +1 -0
index d718961786d24..81943981b3af4 100644
@@ -109,6 +109,7 @@ SECTIONS
 
 	STABS_DEBUG
 	DWARF_DEBUG
+	MODINFO
 	ELF_DETAILS
 
 	DISCARDS
arch/hexagon/kernel/vmlinux.lds.S +1 -0
index 1150b77fa281c..aae22283b5e00 100644
@@ -62,6 +62,7 @@ SECTIONS
 
 	STABS_DEBUG
 	DWARF_DEBUG
+	MODINFO
 	ELF_DETAILS
 	.hexagon.attributes 0 : { *(.hexagon.attributes) }
 
arch/loongarch/include/asm/setup.h +3 -0
index 3c2fb16b11b64..f81375e5e89c0 100644
@@ -7,6 +7,7 @@
 #define _LOONGARCH_SETUP_H
 
 #include <linux/types.h>
+#include <linux/threads.h>
 #include <asm/sections.h>
 #include <uapi/asm/setup.h>
 
@@ -14,6 +15,8 @@
 
 extern unsigned long eentry;
 extern unsigned long tlbrentry;
+extern unsigned long pcpu_handlers[NR_CPUS];
+extern long exception_handlers[VECSIZE * 128 / sizeof(long)];
 extern char init_command_line[COMMAND_LINE_SIZE];
 extern void tlb_init(int cpu);
 extern void cpu_cache_init(void);
arch/loongarch/kernel/unwind_orc.c +18 -10
index e410048489c66..85c2fcb76930c 100644
@@ -358,13 +358,21 @@ static bool is_entry_func(unsigned long addr)
 
 static inline unsigned long bt_address(unsigned long ra)
 {
-	extern unsigned long eentry;
+#if defined(CONFIG_NUMA) && !defined(CONFIG_PREEMPT_RT)
+	int cpu;
+	int vec_sz = sizeof(exception_handlers);
 
-	if (__kernel_text_address(ra))
-		return ra;
+	for_each_possible_cpu(cpu) {
+		if (!pcpu_handlers[cpu])
+			continue;
 
-	if (__module_text_address(ra))
-		return ra;
+		if (ra >= pcpu_handlers[cpu] &&
+		    ra < pcpu_handlers[cpu] + vec_sz) {
+			ra = ra + eentry - pcpu_handlers[cpu];
+			break;
+		}
+	}
+#endif
 
 	if (ra >= eentry && ra < eentry +  EXCCODE_INT_END * VECSIZE) {
 		unsigned long func;
@@ -383,10 +391,13 @@ static inline unsigned long bt_address(unsigned long ra)
 			break;
 		}
 
-		return func + offset;
+		ra = func + offset;
 	}
 
-	return ra;
+	if (__kernel_text_address(ra))
+		return ra;
+
+	return 0;
 }
 
 bool unwind_next_frame(struct unwind_state *state)
@@ -512,9 +523,6 @@ bool unwind_next_frame(struct unwind_state *state)
 		goto err;
 	}
 
-	if (!__kernel_text_address(state->pc))
-		goto err;
-
 	return true;
 
 err:
arch/loongarch/kernel/unwind_prologue.c +0 -4
index ee1c29686ab05..da07acad7973a 100644
@@ -23,10 +23,6 @@ extern const int unwind_hint_lasx;
 extern const int unwind_hint_lbt;
 extern const int unwind_hint_ri;
 extern const int unwind_hint_watch;
-extern unsigned long eentry;
-#ifdef CONFIG_NUMA
-extern unsigned long pcpu_handlers[NR_CPUS];
-#endif
 
 static inline bool scan_handlers(unsigned long entry_offset)
 {
arch/loongarch/kernel/vmlinux.lds.S +1 -0
index 08ea921cdec16..d0e1377a041d6 100644
@@ -147,6 +147,7 @@ SECTIONS
 
 	STABS_DEBUG
 	DWARF_DEBUG
+	MODINFO
 	ELF_DETAILS
 
 #ifdef CONFIG_EFI_STUB
arch/loongarch/mm/tlb.c +0 -1
index f46c15d6e7eae..24add95ecb65e 100644
@@ -260,7 +260,6 @@ static void output_pgtable_bits_defines(void)
 #ifdef CONFIG_NUMA
 unsigned long pcpu_handlers[NR_CPUS];
 #endif
-extern long exception_handlers[VECSIZE * 128 / sizeof(long)];
 
 static void setup_tlb_handler(int cpu)
 {
arch/m68k/kernel/vmlinux-nommu.lds +1 -0
index 2624fc18c131f..45d7f4b0177b4 100644
@@ -85,6 +85,7 @@ SECTIONS {
 	_end = .;
 
 	STABS_DEBUG
+	MODINFO
 	ELF_DETAILS
 
 	/* Sections to be discarded */
arch/m68k/kernel/vmlinux-std.lds +1 -0
index 1ccdd04ae4624..7326586afe15f 100644
@@ -58,6 +58,7 @@ SECTIONS
   _end = . ;
 
   STABS_DEBUG
+  MODINFO
   ELF_DETAILS
 
   /* Sections to be discarded */
arch/m68k/kernel/vmlinux-sun3.lds +1 -0
index f13ddcc2af5c2..1b19fef201fba 100644
@@ -51,6 +51,7 @@ __init_begin = .;
   _end = . ;
 
   STABS_DEBUG
+  MODINFO
   ELF_DETAILS
 
   /* Sections to be discarded */
arch/mips/kernel/vmlinux.lds.S +1 -0
index 2b708fac8d2c1..579b2cc1995ae 100644
@@ -217,6 +217,7 @@ SECTIONS
 
 	STABS_DEBUG
 	DWARF_DEBUG
+	MODINFO
 	ELF_DETAILS
 
 	/* These must appear regardless of  .  */
arch/nios2/kernel/vmlinux.lds.S +1 -0
index 37b9580550646..206f92445bfad 100644
@@ -57,6 +57,7 @@ SECTIONS
 
 	STABS_DEBUG
 	DWARF_DEBUG
+	MODINFO
 	ELF_DETAILS
 
 	DISCARDS
arch/openrisc/kernel/vmlinux.lds.S +1 -0
index 049bff45f6126..9b29c3211774c 100644
@@ -101,6 +101,7 @@ SECTIONS
 	/* Throw in the debugging sections */
 	STABS_DEBUG
 	DWARF_DEBUG
+	MODINFO
 	ELF_DETAILS
 
         /* Sections to be discarded -- must be last */
arch/parisc/boot/compressed/vmlinux.lds.S +1 -0
index ab7b439908578..87d24cc824b66 100644
@@ -90,6 +90,7 @@ SECTIONS
 	/* Sections to be discarded */
 	DISCARDS
 	/DISCARD/ : {
+		*(.modinfo)
 #ifdef CONFIG_64BIT
 		/* temporary hack until binutils is fixed to not emit these
 		 * for static binaries
arch/parisc/kernel/vmlinux.lds.S +1 -0
index b445e47903cfd..0ca93d6d72354 100644
@@ -165,6 +165,7 @@ SECTIONS
 	_end = . ;
 
 	STABS_DEBUG
+	MODINFO
 	ELF_DETAILS
 	.note 0 : { *(.note) }
 
arch/powerpc/kernel/vmlinux.lds.S +1 -0
index de6ee7d35cff0..5589af3e40844 100644
@@ -398,6 +398,7 @@ SECTIONS
 	_end = . ;
 
 	DWARF_DEBUG
+	MODINFO
 	ELF_DETAILS
 
 	DISCARDS
arch/riscv/kernel/vmlinux.lds.S +1 -0
index 61bd5ba6680a7..997f9eb3b22b1 100644
@@ -170,6 +170,7 @@ SECTIONS
 
 	STABS_DEBUG
 	DWARF_DEBUG
+	MODINFO
 	ELF_DETAILS
 	.riscv.attributes 0 : { *(.riscv.attributes) }
 
arch/s390/include/asm/idle.h +1 -0
index 09f763b9eb40a..133059d9a949c 100644
@@ -23,5 +23,6 @@ extern struct device_attribute dev_attr_idle_count;
 extern struct device_attribute dev_attr_idle_time_us;
 
 void psw_idle(struct s390_idle_data *data, unsigned long psw_mask);
+void update_timer_idle(void);
 
 #endif /* _S390_IDLE_H */
arch/s390/kernel/idle.c +9 -4
index 39cb8d0ae3480..0f9e53f0a0686 100644
@@ -21,11 +21,10 @@
 
 static DEFINE_PER_CPU(struct s390_idle_data, s390_idle);
 
-void account_idle_time_irq(void)
+void update_timer_idle(void)
 {
 	struct s390_idle_data *idle = this_cpu_ptr(&s390_idle);
 	struct lowcore *lc = get_lowcore();
-	unsigned long idle_time;
 	u64 cycles_new[8];
 	int i;
 
@@ -35,13 +34,19 @@ void account_idle_time_irq(void)
 			this_cpu_add(mt_cycles[i], cycles_new[i] - idle->mt_cycles_enter[i]);
 	}
 
-	idle_time = lc->int_clock - idle->clock_idle_enter;
-
 	lc->steal_timer += idle->clock_idle_enter - lc->last_update_clock;
 	lc->last_update_clock = lc->int_clock;
 
 	lc->system_timer += lc->last_update_timer - idle->timer_idle_enter;
 	lc->last_update_timer = lc->sys_enter_timer;
+}
+
+void account_idle_time_irq(void)
+{
+	struct s390_idle_data *idle = this_cpu_ptr(&s390_idle);
+	unsigned long idle_time;
+
+	idle_time = get_lowcore()->int_clock - idle->clock_idle_enter;
 
 	/* Account time spent with enabled wait psw loaded as idle time. */
 	WRITE_ONCE(idle->idle_time, READ_ONCE(idle->idle_time) + idle_time);
arch/s390/kernel/irq.c +8 -2
index bdf9c7cb5685b..080e9285b3379 100644
@@ -146,6 +146,10 @@ void noinstr do_io_irq(struct pt_regs *regs)
 	struct pt_regs *old_regs = set_irq_regs(regs);
 	bool from_idle;
 
+	from_idle = test_and_clear_cpu_flag(CIF_ENABLED_WAIT);
+	if (from_idle)
+		update_timer_idle();
+
 	irq_enter_rcu();
 
 	if (user_mode(regs)) {
@@ -154,7 +158,6 @@ void noinstr do_io_irq(struct pt_regs *regs)
 			current->thread.last_break = regs->last_break;
 	}
 
-	from_idle = test_and_clear_cpu_flag(CIF_ENABLED_WAIT);
 	if (from_idle)
 		account_idle_time_irq();
 
@@ -182,6 +185,10 @@ void noinstr do_ext_irq(struct pt_regs *regs)
 	struct pt_regs *old_regs = set_irq_regs(regs);
 	bool from_idle;
 
+	from_idle = test_and_clear_cpu_flag(CIF_ENABLED_WAIT);
+	if (from_idle)
+		update_timer_idle();
+
 	irq_enter_rcu();
 
 	if (user_mode(regs)) {
@@ -194,7 +201,6 @@ void noinstr do_ext_irq(struct pt_regs *regs)
 	regs->int_parm = get_lowcore()->ext_params;
 	regs->int_parm_long = get_lowcore()->ext_params2;
 
-	from_idle = test_and_clear_cpu_flag(CIF_ENABLED_WAIT);
 	if (from_idle)
 		account_idle_time_irq();
 
arch/s390/kernel/vmlinux.lds.S +1 -0
index d74d4c52ccd05..9289e9e535c70 100644
@@ -212,6 +212,7 @@ SECTIONS
 	/* Debugging sections.	*/
 	STABS_DEBUG
 	DWARF_DEBUG
+	MODINFO
 	ELF_DETAILS
 
 	/*
arch/s390/kernel/vtime.c +2 -16
index 234a0ba305108..122d30b104401 100644
@@ -225,10 +225,6 @@ static u64 vtime_delta(void)
 	return timer - lc->last_update_timer;
 }
 
-/*
- * Update process times based on virtual cpu times stored by entry.S
- * to the lowcore fields user_timer, system_timer & steal_clock.
- */
 void vtime_account_kernel(struct task_struct *tsk)
 {
 	struct lowcore *lc = get_lowcore();
@@ -238,27 +234,17 @@ void vtime_account_kernel(struct task_struct *tsk)
 		lc->guest_timer += delta;
 	else
 		lc->system_timer += delta;
-
-	virt_timer_forward(delta);
 }
 EXPORT_SYMBOL_GPL(vtime_account_kernel);
 
 void vtime_account_softirq(struct task_struct *tsk)
 {
-	u64 delta = vtime_delta();
-
-	get_lowcore()->softirq_timer += delta;
-
-	virt_timer_forward(delta);
+	get_lowcore()->softirq_timer += vtime_delta();
 }
 
 void vtime_account_hardirq(struct task_struct *tsk)
 {
-	u64 delta = vtime_delta();
-
-	get_lowcore()->hardirq_timer += delta;
-
-	virt_timer_forward(delta);
+	get_lowcore()->hardirq_timer += vtime_delta();
 }
 
 /*
arch/sh/kernel/vmlinux.lds.S +1 -0
index 008c30289eaa6..169c63fb3c1dc 100644
@@ -89,6 +89,7 @@ SECTIONS
 
 	STABS_DEBUG
 	DWARF_DEBUG
+	MODINFO
 	ELF_DETAILS
 
 	DISCARDS
arch/sparc/kernel/vmlinux.lds.S +1 -0
index f1b86eb303404..7ea510d9b42f2 100644
@@ -191,6 +191,7 @@ SECTIONS
 
 	STABS_DEBUG
 	DWARF_DEBUG
+	MODINFO
 	ELF_DETAILS
 
 	DISCARDS
arch/um/kernel/dyn.lds.S +1 -0
index a36b7918a011a..ad3cefeff2acb 100644
@@ -172,6 +172,7 @@ SECTIONS
 
   STABS_DEBUG
   DWARF_DEBUG
+  MODINFO
   ELF_DETAILS
 
   DISCARDS
arch/um/kernel/uml.lds.S +1 -0
index a409d4b66114f..30aa24348d60c 100644
@@ -113,6 +113,7 @@ SECTIONS
 
   STABS_DEBUG
   DWARF_DEBUG
+  MODINFO
   ELF_DETAILS
 
   DISCARDS
arch/x86/Kconfig +1 -0
index a3700766a8c08..ee41af778a9dc 100644
@@ -298,6 +298,7 @@ config X86
 	select HAVE_SYSCALL_TRACEPOINTS
 	select HAVE_UACCESS_VALIDATION		if HAVE_OBJTOOL
 	select HAVE_UNSTABLE_SCHED_CLOCK
+	select HAVE_UNWIND_USER_FP		if X86_64
 	select HAVE_USER_RETURN_NOTIFIER
 	select HAVE_GENERIC_VDSO
 	select VDSO_GETRANDOM			if X86_64
arch/x86/boot/compressed/Makefile +1 -0
index 74657589264df..2013840d6318f 100644
@@ -110,6 +110,7 @@ vmlinux-objs-$(CONFIG_EFI_SBAT) += $(obj)/sbat.o
 
 ifdef CONFIG_EFI_SBAT
 $(obj)/sbat.o: $(CONFIG_EFI_SBAT_FILE)
+AFLAGS_sbat.o += -I $(srctree)
 endif
 
 $(obj)/vmlinux: $(vmlinux-objs-y) $(vmlinux-libs-y) FORCE
arch/x86/boot/compressed/sev.c +5 -4
index 6e5c32a53d034..b688303666052 100644
@@ -27,17 +27,17 @@
 #include "sev.h"
 
 static struct ghcb boot_ghcb_page __aligned(PAGE_SIZE);
-struct ghcb *boot_ghcb;
+struct ghcb *boot_ghcb __section(".data");
 
 #undef __init
 #define __init
 
 #define __BOOT_COMPRESSED
 
-u8 snp_vmpl;
-u16 ghcb_version;
+u8 snp_vmpl __section(".data");
+u16 ghcb_version __section(".data");
 
-u64 boot_svsm_caa_pa;
+u64 boot_svsm_caa_pa __section(".data");
 
 /* Include code for early handlers */
 #include "../../boot/startup/sev-shared.c"
@@ -187,6 +187,7 @@ bool sev_es_check_ghcb_fault(unsigned long address)
 				 MSR_AMD64_SNP_RESERVED_BIT13 |		\
 				 MSR_AMD64_SNP_RESERVED_BIT15 |		\
 				 MSR_AMD64_SNP_SECURE_AVIC |		\
+				 MSR_AMD64_SNP_RESERVED_BITS19_22 |	\
 				 MSR_AMD64_SNP_RESERVED_MASK)
 
 #ifdef CONFIG_AMD_SECURE_AVIC
arch/x86/boot/compressed/vmlinux.lds.S +1 -1
index 587ce3e7c5048..e0b152715d9c6 100644
@@ -88,7 +88,7 @@ SECTIONS
 	/DISCARD/ : {
 		*(.dynamic) *(.dynsym) *(.dynstr) *(.dynbss)
 		*(.hash) *(.gnu.hash)
-		*(.note.*)
+		*(.note.*) *(.modinfo)
 	}
 
 	.got.plt (INFO) : {
arch/x86/boot/startup/sev-shared.c +1 -1
index 4e22ffd735168..e52e886ad313d 100644
@@ -31,7 +31,7 @@ static u32 cpuid_std_range_max __ro_after_init;
 static u32 cpuid_hyp_range_max __ro_after_init;
 static u32 cpuid_ext_range_max __ro_after_init;
 
-bool sev_snp_needs_sfw;
+bool sev_snp_needs_sfw __section(".data");
 
 void __noreturn
 sev_es_terminate(unsigned int set, unsigned int reason)
arch/x86/coco/sev/core.c +1 -0
index c8ddb9febe3d9..d20e9cc065a87 100644
@@ -122,6 +122,7 @@ static const char * const sev_status_feat_names[] = {
 	[MSR_AMD64_SNP_VMSA_REG_PROT_BIT]	= "VMSARegProt",
 	[MSR_AMD64_SNP_SMT_PROT_BIT]		= "SMTProt",
 	[MSR_AMD64_SNP_SECURE_AVIC_BIT]		= "SecureAVIC",
+	[MSR_AMD64_SNP_IBPB_ON_ENTRY_BIT]	= "IBPBOnEntry",
 };
 
 /*
arch/x86/entry/entry_fred.c +2 -3
index f004a4dc74c2d..563e439b743f2 100644
@@ -159,8 +159,6 @@ void __init fred_complete_exception_setup(void)
 static noinstr void fred_extint(struct pt_regs *regs)
 {
 	unsigned int vector = regs->fred_ss.vector;
-	unsigned int index = array_index_nospec(vector - FIRST_SYSTEM_VECTOR,
-						NR_SYSTEM_VECTORS);
 
 	if (WARN_ON_ONCE(vector < FIRST_EXTERNAL_VECTOR))
 		return;
@@ -169,7 +167,8 @@ static noinstr void fred_extint(struct pt_regs *regs)
 		irqentry_state_t state = irqentry_enter(regs);
 
 		instrumentation_begin();
-		sysvec_table[index](regs);
+		sysvec_table[array_index_nospec(vector - FIRST_SYSTEM_VECTOR,
+						NR_SYSTEM_VECTORS)](regs);
 		instrumentation_end();
 		irqentry_exit(regs, state);
 	} else {
arch/x86/events/core.c +0 -40
index 56df4855f38e9..64e2bf2d4a615 100644
@@ -2846,46 +2846,6 @@ static unsigned long get_segment_base(unsigned int segment)
 	return get_desc_base(desc);
 }
 
-#ifdef CONFIG_UPROBES
-/*
- * Heuristic-based check if uprobe is installed at the function entry.
- *
- * Under assumption of user code being compiled with frame pointers,
- * `push %rbp/%ebp` is a good indicator that we indeed are.
- *
- * Similarly, `endbr64` (assuming 64-bit mode) is also a common pattern.
- * If we get this wrong, captured stack trace might have one extra bogus
- * entry, but the rest of stack trace will still be meaningful.
- */
-static bool is_uprobe_at_func_entry(struct pt_regs *regs)
-{
-	struct arch_uprobe *auprobe;
-
-	if (!current->utask)
-		return false;
-
-	auprobe = current->utask->auprobe;
-	if (!auprobe)
-		return false;
-
-	/* push %rbp/%ebp */
-	if (auprobe->insn[0] == 0x55)
-		return true;
-
-	/* endbr64 (64-bit only) */
-	if (user_64bit_mode(regs) && is_endbr((u32 *)auprobe->insn))
-		return true;
-
-	return false;
-}
-
-#else
-static bool is_uprobe_at_func_entry(struct pt_regs *regs)
-{
-	return false;
-}
-#endif /* CONFIG_UPROBES */
-
 #ifdef CONFIG_IA32_EMULATION
 
 #include <linux/compat.h>
arch/x86/events/intel/uncore_snbep.c +27 -1
index e1f370b8d065f..a338ee01bb242 100644
@@ -6610,6 +6610,32 @@ static struct intel_uncore_type gnr_uncore_ubox = {
 	.attr_update		= uncore_alias_groups,
 };
 
+static struct uncore_event_desc gnr_uncore_imc_events[] = {
+	INTEL_UNCORE_EVENT_DESC(clockticks,      "event=0x01,umask=0x00"),
+	INTEL_UNCORE_EVENT_DESC(cas_count_read_sch0,  "event=0x05,umask=0xcf"),
+	INTEL_UNCORE_EVENT_DESC(cas_count_read_sch0.scale, "6.103515625e-5"),
+	INTEL_UNCORE_EVENT_DESC(cas_count_read_sch0.unit, "MiB"),
+	INTEL_UNCORE_EVENT_DESC(cas_count_read_sch1,  "event=0x06,umask=0xcf"),
+	INTEL_UNCORE_EVENT_DESC(cas_count_read_sch1.scale, "6.103515625e-5"),
+	INTEL_UNCORE_EVENT_DESC(cas_count_read_sch1.unit, "MiB"),
+	INTEL_UNCORE_EVENT_DESC(cas_count_write_sch0, "event=0x05,umask=0xf0"),
+	INTEL_UNCORE_EVENT_DESC(cas_count_write_sch0.scale, "6.103515625e-5"),
+	INTEL_UNCORE_EVENT_DESC(cas_count_write_sch0.unit, "MiB"),
+	INTEL_UNCORE_EVENT_DESC(cas_count_write_sch1, "event=0x06,umask=0xf0"),
+	INTEL_UNCORE_EVENT_DESC(cas_count_write_sch1.scale, "6.103515625e-5"),
+	INTEL_UNCORE_EVENT_DESC(cas_count_write_sch1.unit, "MiB"),
+	{ /* end: all zeroes */ },
+};
+
+static struct intel_uncore_type gnr_uncore_imc = {
+	SPR_UNCORE_MMIO_COMMON_FORMAT(),
+	.name			= "imc",
+	.fixed_ctr_bits		= 48,
+	.fixed_ctr		= SNR_IMC_MMIO_PMON_FIXED_CTR,
+	.fixed_ctl		= SNR_IMC_MMIO_PMON_FIXED_CTL,
+	.event_descs		= gnr_uncore_imc_events,
+};
+
 static struct intel_uncore_type gnr_uncore_pciex8 = {
 	SPR_UNCORE_PCI_COMMON_FORMAT(),
 	.name			= "pciex8",
@@ -6657,7 +6683,7 @@ static struct intel_uncore_type *gnr_uncores[UNCORE_GNR_NUM_UNCORE_TYPES] = {
 	NULL,
 	&spr_uncore_pcu,
 	&gnr_uncore_ubox,
-	&spr_uncore_imc,
+	&gnr_uncore_imc,
 	NULL,
 	&gnr_uncore_upi,
 	NULL,
arch/x86/include/asm/cfi.h +8 -4
index c40b9ebc1fb40..ab3fbbd947ed9 100644
@@ -111,6 +111,12 @@ extern bhi_thunk __bhi_args_end[];
 
 struct pt_regs;
 
+#ifdef CONFIG_CALL_PADDING
+#define CFI_OFFSET (CONFIG_FUNCTION_PADDING_CFI+5)
+#else
+#define CFI_OFFSET 5
+#endif
+
 #ifdef CONFIG_CFI
 enum bug_trap_type handle_cfi_failure(struct pt_regs *regs);
 #define __bpfcall
@@ -119,11 +125,9 @@ static inline int cfi_get_offset(void)
 {
 	switch (cfi_mode) {
 	case CFI_FINEIBT:
-		return 16;
+		return /* fineibt_prefix_size */ 16;
 	case CFI_KCFI:
-		if (IS_ENABLED(CONFIG_CALL_PADDING))
-			return 16;
-		return 5;
+		return CFI_OFFSET;
 	default:
 		return 0;
 	}
arch/x86/include/asm/efi.h +1 -1
index f227a70ac91f0..51b4cdbea061a 100644
@@ -138,7 +138,7 @@ extern void __init efi_apply_memmap_quirks(void);
 extern int __init efi_reuse_config(u64 tables, int nr_tables);
 extern void efi_delete_dummy_variable(void);
 extern void efi_crash_gracefully_on_page_fault(unsigned long phys_addr);
-extern void efi_free_boot_services(void);
+extern void efi_unmap_boot_services(void);
 
 void arch_efi_call_virt_setup(void);
 void arch_efi_call_virt_teardown(void);
arch/x86/include/asm/kvm_host.h +7 -0
index b74ae7183f3ae..0f2f9f1552a4f 100644
@@ -1229,6 +1229,12 @@ enum kvm_irqchip_mode {
 	KVM_IRQCHIP_SPLIT,        /* created with KVM_CAP_SPLIT_IRQCHIP */
 };
 
+enum kvm_suppress_eoi_broadcast_mode {
+	KVM_SUPPRESS_EOI_BROADCAST_QUIRKED, /* Legacy behavior */
+	KVM_SUPPRESS_EOI_BROADCAST_ENABLED, /* Enable Suppress EOI broadcast */
+	KVM_SUPPRESS_EOI_BROADCAST_DISABLED /* Disable Suppress EOI broadcast */
+};
+
 struct kvm_x86_msr_filter {
 	u8 count;
 	bool default_allow:1;
@@ -1480,6 +1486,7 @@ struct kvm_arch {
 
 	bool x2apic_format;
 	bool x2apic_broadcast_quirk_disabled;
+	enum kvm_suppress_eoi_broadcast_mode suppress_eoi_broadcast_mode;
 
 	bool has_mapped_host_mmio;
 	bool guest_can_read_msr_platform_info;
arch/x86/include/asm/linkage.h +2 -2
index 9d38ae744a2e4..a7294656ad908 100644
@@ -68,7 +68,7 @@
  * Depending on -fpatchable-function-entry=N,N usage (CONFIG_CALL_PADDING) the
  * CFI symbol layout changes.
  *
- * Without CALL_THUNKS:
+ * Without CALL_PADDING:
  *
  * 	.align	FUNCTION_ALIGNMENT
  * __cfi_##name:
@@ -77,7 +77,7 @@
  * 	.long	__kcfi_typeid_##name
  * name:
  *
- * With CALL_THUNKS:
+ * With CALL_PADDING:
  *
  * 	.align FUNCTION_ALIGNMENT
  * __cfi_##name:
arch/x86/include/asm/msr-index.h +4 -1
index 9e1720d73244f..d9e03c6d1d5c1 100644
@@ -711,7 +711,10 @@
 #define MSR_AMD64_SNP_SMT_PROT		BIT_ULL(MSR_AMD64_SNP_SMT_PROT_BIT)
 #define MSR_AMD64_SNP_SECURE_AVIC_BIT	18
 #define MSR_AMD64_SNP_SECURE_AVIC	BIT_ULL(MSR_AMD64_SNP_SECURE_AVIC_BIT)
-#define MSR_AMD64_SNP_RESV_BIT		19
+#define MSR_AMD64_SNP_RESERVED_BITS19_22 GENMASK_ULL(22, 19)
+#define MSR_AMD64_SNP_IBPB_ON_ENTRY_BIT	23
+#define MSR_AMD64_SNP_IBPB_ON_ENTRY	BIT_ULL(MSR_AMD64_SNP_IBPB_ON_ENTRY_BIT)
+#define MSR_AMD64_SNP_RESV_BIT		24
 #define MSR_AMD64_SNP_RESERVED_MASK	GENMASK_ULL(63, MSR_AMD64_SNP_RESV_BIT)
 #define MSR_AMD64_SAVIC_CONTROL		0xc0010138
 #define MSR_AMD64_SAVIC_EN_BIT		0
arch/x86/include/asm/unwind_user.h new file +37 -0
new file mode 100644
index 0000000000000..c4f1ff8874d67
@@ -0,0 +1,37 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef _ASM_X86_UNWIND_USER_H
+#define _ASM_X86_UNWIND_USER_H
+
+#include <asm/ptrace.h>
+#include <asm/uprobes.h>
+
+#define ARCH_INIT_USER_FP_FRAME(ws)			\
+	.cfa_off	=  2*(ws),			\
+	.ra_off		= -1*(ws),			\
+	.fp_off		= -2*(ws),			\
+	.use_fp		= true,
+
+#define ARCH_INIT_USER_FP_ENTRY_FRAME(ws)		\
+	.cfa_off	=  1*(ws),			\
+	.ra_off		= -1*(ws),			\
+	.fp_off		= 0,				\
+	.use_fp		= false,
+
+static inline int unwind_user_word_size(struct pt_regs *regs)
+{
+	/* We can't unwind VM86 stacks */
+	if (regs->flags & X86_VM_MASK)
+		return 0;
+#ifdef CONFIG_X86_64
+	if (!user_64bit_mode(regs))
+		return sizeof(int);
+#endif
+	return sizeof(long);
+}
+
+static inline bool unwind_user_at_function_start(struct pt_regs *regs)
+{
+	return is_uprobe_at_func_entry(regs);
+}
+
+#endif /* _ASM_X86_UNWIND_USER_H */
arch/x86/include/asm/uprobes.h +9 -0
index 1ee2e5115955c..362210c799987 100644
@@ -62,4 +62,13 @@ struct arch_uprobe_task {
 	unsigned int			saved_tf;
 };
 
+#ifdef CONFIG_UPROBES
+extern bool is_uprobe_at_func_entry(struct pt_regs *regs);
+#else
+static bool is_uprobe_at_func_entry(struct pt_regs *regs)
+{
+	return false;
+}
+#endif /* CONFIG_UPROBES */
+
 #endif	/* _ASM_UPROBES_H */
arch/x86/include/uapi/asm/kvm.h +4 -2
index d420c9c066d48..1584926cd1f4f 100644
@@ -913,8 +913,10 @@ struct kvm_sev_snp_launch_finish {
 	__u64 pad1[4];
 };
 
-#define KVM_X2APIC_API_USE_32BIT_IDS            (1ULL << 0)
-#define KVM_X2APIC_API_DISABLE_BROADCAST_QUIRK  (1ULL << 1)
+#define KVM_X2APIC_API_USE_32BIT_IDS			_BITULL(0)
+#define KVM_X2APIC_API_DISABLE_BROADCAST_QUIRK		_BITULL(1)
+#define KVM_X2APIC_ENABLE_SUPPRESS_EOI_BROADCAST	_BITULL(2)
+#define KVM_X2APIC_DISABLE_SUPPRESS_EOI_BROADCAST	_BITULL(3)
 
 struct kvm_hyperv_eventfd {
 	__u32 conn_id;
arch/x86/kernel/acpi/boot.c +8 -4
index 9fa321a95eb33..d6138b2b633a3 100644
@@ -35,6 +35,7 @@
 #include <asm/smp.h>
 #include <asm/i8259.h>
 #include <asm/setup.h>
+#include <asm/hypervisor.h>
 
 #include "sleep.h" /* To include x86_acpi_suspend_lowlevel */
 static int __initdata acpi_force = 0;
@@ -164,11 +165,14 @@ static bool __init acpi_is_processor_usable(u32 lapic_flags)
 	if (lapic_flags & ACPI_MADT_ENABLED)
 		return true;
 
-	if (!acpi_support_online_capable ||
-	    (lapic_flags & ACPI_MADT_ONLINE_CAPABLE))
-		return true;
+	if (acpi_support_online_capable)
+		return lapic_flags & ACPI_MADT_ONLINE_CAPABLE;
 
-	return false;
+	/*
+	 * QEMU expects legacy "Enabled=0" LAPIC entries to be counted as usable
+	 * in order to support CPU hotplug in guests.
+	 */
+	return !hypervisor_is_type(X86_HYPER_NATIVE);
 }
 
 static int __init
arch/x86/kernel/alternative.c +22 -7
index 8ee5ff547357a..bd16e9f40d51a 100644
@@ -1168,7 +1168,7 @@ void __init_or_module noinline apply_seal_endbr(s32 *start, s32 *end)
 
 		poison_endbr(addr);
 		if (IS_ENABLED(CONFIG_FINEIBT))
-			poison_cfi(addr - 16);
+			poison_cfi(addr - CFI_OFFSET);
 	}
 }
 
@@ -1375,6 +1375,8 @@ extern u8 fineibt_preamble_end[];
 #define fineibt_preamble_ud   0x13
 #define fineibt_preamble_hash 5
 
+#define fineibt_prefix_size (fineibt_preamble_size - ENDBR_INSN_SIZE)
+
 /*
  * <fineibt_caller_start>:
  *  0:   b8 78 56 34 12          mov    $0x12345678, %eax
@@ -1620,7 +1622,7 @@ static int cfi_rewrite_preamble(s32 *start, s32 *end)
 		 * have determined there are no indirect calls to it and we
 		 * don't need no CFI either.
 		 */
-		if (!is_endbr(addr + 16))
+		if (!is_endbr(addr + CFI_OFFSET))
 			continue;
 
 		hash = decode_preamble_hash(addr, &arity);
@@ -1628,6 +1630,15 @@ static int cfi_rewrite_preamble(s32 *start, s32 *end)
 			 addr, addr, 5, addr))
 			return -EINVAL;
 
+		/*
+		 * FineIBT relies on being at func-16, so if the preamble is
+		 * actually larger than that, place it the tail end.
+		 *
+		 * NOTE: this is possible with things like DEBUG_CALL_THUNKS
+		 * and DEBUG_FORCE_FUNCTION_ALIGN_64B.
+		 */
+		addr += CFI_OFFSET - fineibt_prefix_size;
+
 		text_poke_early(addr, fineibt_preamble_start, fineibt_preamble_size);
 		WARN_ON(*(u32 *)(addr + fineibt_preamble_hash) != 0x12345678);
 		text_poke_early(addr + fineibt_preamble_hash, &hash, 4);
@@ -1650,10 +1661,10 @@ static void cfi_rewrite_endbr(s32 *start, s32 *end)
 	for (s = start; s < end; s++) {
 		void *addr = (void *)s + *s;
 
-		if (!exact_endbr(addr + 16))
+		if (!exact_endbr(addr + CFI_OFFSET))
 			continue;
 
-		poison_endbr(addr + 16);
+		poison_endbr(addr + CFI_OFFSET);
 	}
 }
 
@@ -1758,7 +1769,8 @@ static void __apply_fineibt(s32 *start_retpoline, s32 *end_retpoline,
 	if (FINEIBT_WARN(fineibt_preamble_size, 20)			||
 	    FINEIBT_WARN(fineibt_preamble_bhi + fineibt_bhi1_size, 20)	||
 	    FINEIBT_WARN(fineibt_caller_size, 14)			||
-	    FINEIBT_WARN(fineibt_paranoid_size, 20))
+	    FINEIBT_WARN(fineibt_paranoid_size, 20)			||
+	    WARN_ON_ONCE(CFI_OFFSET < fineibt_prefix_size))
 		return;
 
 	if (cfi_mode == CFI_AUTO) {
@@ -1871,6 +1883,11 @@ static void poison_cfi(void *addr)
 	 */
 	switch (cfi_mode) {
 	case CFI_FINEIBT:
+		/*
+		 * FineIBT preamble is at func-16.
+		 */
+		addr += CFI_OFFSET - fineibt_prefix_size;
+
 		/*
 		 * FineIBT prefix should start with an ENDBR.
 		 */
@@ -1909,8 +1926,6 @@ static void poison_cfi(void *addr)
 	}
 }
 
-#define fineibt_prefix_size (fineibt_preamble_size - ENDBR_INSN_SIZE)
-
 /*
  * When regs->ip points to a 0xD6 byte in the FineIBT preamble,
  * return true and fill out target and type.
arch/x86/kernel/cpu/topology.c +0 -15
index 6073a16628f9e..425404e7b7b42 100644
@@ -27,7 +27,6 @@
 #include <xen/xen.h>
 
 #include <asm/apic.h>
-#include <asm/hypervisor.h>
 #include <asm/io_apic.h>
 #include <asm/mpspec.h>
 #include <asm/msr.h>
@@ -240,20 +239,6 @@ static __init void topo_register_apic(u32 apic_id, u32 acpi_id, bool present)
 		cpuid_to_apicid[cpu] = apic_id;
 		topo_set_cpuids(cpu, apic_id, acpi_id);
 	} else {
-		u32 pkgid = topo_apicid(apic_id, TOPO_PKG_DOMAIN);
-
-		/*
-		 * Check for present APICs in the same package when running
-		 * on bare metal. Allow the bogosity in a guest.
-		 */
-		if (hypervisor_is_type(X86_HYPER_NATIVE) &&
-		    topo_unit_count(pkgid, TOPO_PKG_DOMAIN, phys_cpu_present_map)) {
-			pr_info_once("Ignoring hot-pluggable APIC ID %x in present package.\n",
-				     apic_id);
-			topo_info.nr_rejected_cpus++;
-			return;
-		}
-
 		topo_info.nr_disabled_cpus++;
 	}
 
arch/x86/kernel/uprobes.c +56 -0

59 lines not on this page · raw message

arch/x86/kernel/vmlinux.lds.S +1 -0
index d7af4a64c211b..4ed82b1fe173b 100644
@@ -424,6 +424,7 @@ SECTIONS
 	.llvm_bb_addr_map : { *(.llvm_bb_addr_map) }
 #endif
 
+	MODINFO
 	ELF_DETAILS
 
 	DISCARDS
arch/x86/kvm/ioapic.c +1 -1
index 2c2783296aedb..a26fa4222f292 100644
@@ -561,7 +561,7 @@ static void kvm_ioapic_update_eoi_one(struct kvm_vcpu *vcpu,
 	spin_lock(&ioapic->lock);
 
 	if (trigger_mode != IOAPIC_LEVEL_TRIG ||
-	    kvm_lapic_get_reg(apic, APIC_SPIV) & APIC_SPIV_DIRECTED_EOI)
+	    kvm_lapic_suppress_eoi_broadcast(apic))
 		return;
 
 	ASSERT(ent->fields.trig_mode == IOAPIC_LEVEL_TRIG);
arch/x86/kvm/lapic.c +68 -8

95 lines not on this page · raw message

arch/x86/kvm/lapic.h +2 -0
index 282b9b7da98cd..e5f5a222eced0 100644
@@ -231,6 +231,8 @@ static inline int kvm_lapic_latched_init(struct kvm_vcpu *vcpu)
 
 bool kvm_apic_pending_eoi(struct kvm_vcpu *vcpu, int vector);
 
+bool kvm_lapic_suppress_eoi_broadcast(struct kvm_lapic *apic);
+
 void kvm_wait_lapic_expire(struct kvm_vcpu *vcpu);
 
 void kvm_bitmap_or_dest_vcpus(struct kvm *kvm, struct kvm_lapic_irq *irq,
arch/x86/kvm/x86.c +20 -4
index aeb7f902b3c7f..d15bd078a2d98 100644
@@ -121,8 +121,10 @@ static u64 __read_mostly efer_reserved_bits = ~((u64)EFER_SCE);
 
 #define KVM_CAP_PMU_VALID_MASK KVM_PMU_CAP_DISABLE
 
-#define KVM_X2APIC_API_VALID_FLAGS (KVM_X2APIC_API_USE_32BIT_IDS | \
-                                    KVM_X2APIC_API_DISABLE_BROADCAST_QUIRK)
+#define KVM_X2APIC_API_VALID_FLAGS (KVM_X2APIC_API_USE_32BIT_IDS		| \
+				    KVM_X2APIC_API_DISABLE_BROADCAST_QUIRK	| \
+				    KVM_X2APIC_ENABLE_SUPPRESS_EOI_BROADCAST	| \
+				    KVM_X2APIC_DISABLE_SUPPRESS_EOI_BROADCAST)
 
 static void update_cr8_intercept(struct kvm_vcpu *vcpu);
 static void process_nmi(struct kvm_vcpu *vcpu);
@@ -4966,6 +4968,8 @@ int kvm_vm_ioctl_check_extension(struct kvm *kvm, long ext)
 		break;
 	case KVM_CAP_X2APIC_API:
 		r = KVM_X2APIC_API_VALID_FLAGS;
+		if (kvm && !irqchip_split(kvm))
+			r &= ~KVM_X2APIC_ENABLE_SUPPRESS_EOI_BROADCAST;
 		break;
 	case KVM_CAP_NESTED_STATE:
 		r = kvm_x86_ops.nested_ops->get_state ?
@@ -6783,11 +6787,24 @@ int kvm_vm_ioctl_enable_cap(struct kvm *kvm,
 		if (cap->args[0] & ~KVM_X2APIC_API_VALID_FLAGS)
 			break;
 
+		if ((cap->args[0] & KVM_X2APIC_ENABLE_SUPPRESS_EOI_BROADCAST) &&
+		    (cap->args[0] & KVM_X2APIC_DISABLE_SUPPRESS_EOI_BROADCAST))
+			break;
+
+		if ((cap->args[0] & KVM_X2APIC_ENABLE_SUPPRESS_EOI_BROADCAST) &&
+		    !irqchip_split(kvm))
+			break;
+
 		if (cap->args[0] & KVM_X2APIC_API_USE_32BIT_IDS)
 			kvm->arch.x2apic_format = true;
 		if (cap->args[0] & KVM_X2APIC_API_DISABLE_BROADCAST_QUIRK)
 			kvm->arch.x2apic_broadcast_quirk_disabled = true;
 
+		if (cap->args[0] & KVM_X2APIC_ENABLE_SUPPRESS_EOI_BROADCAST)
+			kvm->arch.suppress_eoi_broadcast_mode = KVM_SUPPRESS_EOI_BROADCAST_ENABLED;
+		if (cap->args[0] & KVM_X2APIC_DISABLE_SUPPRESS_EOI_BROADCAST)
+			kvm->arch.suppress_eoi_broadcast_mode = KVM_SUPPRESS_EOI_BROADCAST_DISABLED;
+
 		r = 0;
 		break;
 	case KVM_CAP_X86_DISABLE_EXITS:
@@ -11598,8 +11615,7 @@ static inline int vcpu_block(struct kvm_vcpu *vcpu)
 	if (is_guest_mode(vcpu)) {
 		int r = kvm_check_nested_events(vcpu);
 
-		WARN_ON_ONCE(r == -EBUSY);
-		if (r < 0)
+		if (r < 0 && r != -EBUSY)
 			return 0;
 	}
 
arch/x86/net/bpf_jit_comp.c +2 -11
index de5083cb1d374..788671a32d8ee 100644
@@ -438,17 +438,8 @@ static void emit_kcfi(u8 **pprog, u32 hash)
 
 	EMIT1_off32(0xb8, hash);			/* movl $hash, %eax	*/
 #ifdef CONFIG_CALL_PADDING
-	EMIT1(0x90);
-	EMIT1(0x90);
-	EMIT1(0x90);
-	EMIT1(0x90);
-	EMIT1(0x90);
-	EMIT1(0x90);
-	EMIT1(0x90);
-	EMIT1(0x90);
-	EMIT1(0x90);
-	EMIT1(0x90);
-	EMIT1(0x90);
+	for (int i = 0; i < CONFIG_FUNCTION_PADDING_CFI; i++)
+		EMIT1(0x90);
 #endif
 	EMIT_ENDBR();
 
arch/x86/platform/efi/efi.c +1 -1
index 463b784499a8f..791c52c8393f4 100644
@@ -837,7 +837,7 @@ static void __init __efi_enter_virtual_mode(void)
 	}
 
 	efi_check_for_embedded_firmwares();
-	efi_free_boot_services();
+	efi_unmap_boot_services();
 
 	if (!efi_is_mixed())
 		efi_native_runtime_setup();
arch/x86/platform/efi/quirks.c +52 -3

89 lines not on this page · raw message

block/blk-sysfs.c +7 -1
index e0a70d26972b3..af12526d866a9 100644
@@ -78,8 +78,14 @@ queue_requests_store(struct gendisk *disk, const char *page, size_t count)
 	/*
 	 * Serialize updating nr_requests with concurrent queue_requests_store()
 	 * and switching elevator.
+	 *
+	 * Use trylock to avoid circular lock dependency with kernfs active
+	 * reference during concurrent disk deletion:
+	 *   update_nr_hwq_lock -> kn->active (via del_gendisk -> kobject_del)
+	 *   kn->active -> update_nr_hwq_lock (via this sysfs write path)
 	 */
-	down_write(&set->update_nr_hwq_lock);
+	if (!down_write_trylock(&set->update_nr_hwq_lock))
+		return -EBUSY;
 
 	if (nr == q->nr_requests)
 		goto unlock;
block/elevator.c +11 -1
index a2f8b2251dc6e..7a97998cd8bd7 100644
@@ -806,7 +806,16 @@ ssize_t elv_iosched_store(struct gendisk *disk, const char *buf,
 	elv_iosched_load_module(ctx.name);
 	ctx.type = elevator_find_get(ctx.name);
 
-	down_read(&set->update_nr_hwq_lock);
+	/*
+	 * Use trylock to avoid circular lock dependency with kernfs active
+	 * reference during concurrent disk deletion:
+	 *   update_nr_hwq_lock -> kn->active (via del_gendisk -> kobject_del)
+	 *   kn->active -> update_nr_hwq_lock (via this sysfs write path)
+	 */
+	if (!down_read_trylock(&set->update_nr_hwq_lock)) {
+		ret = -EBUSY;
+		goto out;
+	}
 	if (!blk_queue_no_elv_switch(q)) {
 		ret = elevator_change(q, &ctx);
 		if (!ret)
@@ -816,6 +825,7 @@ ssize_t elv_iosched_store(struct gendisk *disk, const char *buf,
 	}
 	up_read(&set->update_nr_hwq_lock);
 
+out:
 	if (ctx.type)
 		elevator_put(ctx.type);
 	return ret;
drivers/accel/amdxdna/amdxdna_ctx.c +4 -1
index 856fb25086f12..cfee89681ff3c 100644
@@ -104,7 +104,10 @@ void *amdxdna_cmd_get_payload(struct amdxdna_gem_obj *abo, u32 *size)
 
 	if (size) {
 		count = FIELD_GET(AMDXDNA_CMD_COUNT, cmd->header);
-		if (unlikely(count <= num_masks)) {
+		if (unlikely(count <= num_masks ||
+			     count * sizeof(u32) +
+			     offsetof(struct amdxdna_cmd, data[0]) >
+			     abo->mem.size)) {
 			*size = 0;
 			return NULL;
 		}
drivers/accel/amdxdna/amdxdna_gem.c +19 -19
index 7f91863c3f24c..a1c9cc4a2b9d8 100644
@@ -20,8 +20,6 @@
 #include "amdxdna_pci_drv.h"
 #include "amdxdna_ubuf.h"
 
-#define XDNA_MAX_CMD_BO_SIZE	SZ_32K
-
 MODULE_IMPORT_NS("DMA_BUF");
 
 static int
@@ -745,12 +743,6 @@ amdxdna_drm_create_cmd_bo(struct drm_device *dev,
 {
 	struct amdxdna_dev *xdna = to_xdna_dev(dev);
 	struct amdxdna_gem_obj *abo;
-	int ret;
-
-	if (args->size > XDNA_MAX_CMD_BO_SIZE) {
-		XDNA_ERR(xdna, "Command bo size 0x%llx too large", args->size);
-		return ERR_PTR(-EINVAL);
-	}
 
 	if (args->size < sizeof(struct amdxdna_cmd)) {
 		XDNA_DBG(xdna, "Command BO size 0x%llx too small", args->size);
@@ -764,17 +756,7 @@ amdxdna_drm_create_cmd_bo(struct drm_device *dev,
 	abo->type = AMDXDNA_BO_CMD;
 	abo->client = filp->driver_priv;
 
-	ret = amdxdna_gem_obj_vmap(abo, &abo->mem.kva);
-	if (ret) {
-		XDNA_ERR(xdna, "Vmap cmd bo failed, ret %d", ret);
-		goto release_obj;
-	}
-
 	return abo;
-
-release_obj:
-	drm_gem_object_put(to_gobj(abo));
-	return ERR_PTR(ret);
 }
 
 int amdxdna_drm_create_bo_ioctl(struct drm_device *dev, void *data, struct drm_file *filp)
@@ -871,6 +853,7 @@ struct amdxdna_gem_obj *amdxdna_gem_get_obj(struct amdxdna_client *client,
 	struct amdxdna_dev *xdna = client->xdna;
 	struct amdxdna_gem_obj *abo;
 	struct drm_gem_object *gobj;
+	int ret;
 
 	gobj = drm_gem_object_lookup(client->filp, bo_hdl);
 	if (!gobj) {
@@ -879,9 +862,26 @@ struct amdxdna_gem_obj *amdxdna_gem_get_obj(struct amdxdna_client *client,
 	}
 
 	abo = to_xdna_obj(gobj);
-	if (bo_type == AMDXDNA_BO_INVALID || abo->type == bo_type)
+	if (bo_type != AMDXDNA_BO_INVALID && abo->type != bo_type)
+		goto put_obj;
+
+	if (bo_type != AMDXDNA_BO_CMD || abo->mem.kva)
 		return abo;
 
+	if (abo->mem.size > SZ_32K) {
+		XDNA_ERR(xdna, "Cmd bo is too big %ld", abo->mem.size);
+		goto put_obj;
+	}
+
+	ret = amdxdna_gem_obj_vmap(abo, &abo->mem.kva);
+	if (ret) {
+		XDNA_ERR(xdna, "Vmap cmd bo failed, ret %d", ret);
+		goto put_obj;
+	}
+
+	return abo;
+
+put_obj:
 	drm_gem_object_put(gobj);
 	return NULL;
 }
drivers/accel/amdxdna/amdxdna_ubuf.c +5 -1
index 9e3b3b055caa8..62a478f6b45fb 100644
@@ -7,6 +7,7 @@
 #include <drm/drm_device.h>
 #include <drm/drm_print.h>
 #include <linux/dma-buf.h>
+#include <linux/overflow.h>
 #include <linux/pagemap.h>
 #include <linux/vmalloc.h>
 
@@ -176,7 +177,10 @@ struct dma_buf *amdxdna_get_ubuf(struct drm_device *dev,
 			goto free_ent;
 		}
 
-		exp_info.size += va_ent[i].len;
+		if (check_add_overflow(exp_info.size, va_ent[i].len, &exp_info.size)) {
+			ret = -EINVAL;
+			goto free_ent;
+		}
 	}
 
 	ubuf->nr_pages = exp_info.size >> PAGE_SHIFT;
drivers/accel/qaic/mhi_controller.c +0 -44

308 lines not on this page · raw message

drivers/accel/rocket/rocket_core.c +5 -2
index abe7719c1db46..b3b2fa9ba645a 100644
@@ -59,8 +59,11 @@ int rocket_core_init(struct rocket_core *core)
 	core->iommu_group = iommu_group_get(dev);
 
 	err = rocket_job_init(core);
-	if (err)
+	if (err) {
+		iommu_group_put(core->iommu_group);
+		core->iommu_group = NULL;
 		return err;
+	}
 
 	pm_runtime_use_autosuspend(dev);
 
@@ -76,7 +79,7 @@ int rocket_core_init(struct rocket_core *core)
 
 	err = pm_runtime_resume_and_get(dev);
 	if (err) {
-		rocket_job_fini(core);
+		rocket_core_fini(core);
 		return err;
 	}
 
drivers/accel/rocket/rocket_drv.c +14 -1
index 5c0b63f0a8f00..f6ef4c7aeef11 100644
@@ -13,6 +13,7 @@
 #include <linux/platform_device.h>
 #include <linux/pm_runtime.h>
 
+#include "rocket_device.h"
 #include "rocket_drv.h"
 #include "rocket_gem.h"
 #include "rocket_job.h"
@@ -158,6 +159,8 @@ static const struct drm_driver rocket_drm_driver = {
 
 static int rocket_probe(struct platform_device *pdev)
 {
+	int ret;
+
 	if (rdev == NULL) {
 		/* First core probing, initialize DRM device. */
 		rdev = rocket_device_init(drm_dev, &rocket_drm_driver);
@@ -177,7 +180,17 @@ static int rocket_probe(struct platform_device *pdev)
 
 	rdev->num_cores++;
 
-	return rocket_core_init(&rdev->cores[core]);
+	ret = rocket_core_init(&rdev->cores[core]);
+	if (ret) {
+		rdev->num_cores--;
+
+		if (rdev->num_cores == 0) {
+			rocket_device_fini(rdev);
+			rdev = NULL;
+		}
+	}
+
+	return ret;
 }
 
 static void rocket_remove(struct platform_device *pdev)
drivers/acpi/apei/Makefile +5 -0
index 2c474e6477e12..1a0b85923cd42 100644
@@ -1,6 +1,11 @@
 # SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_ACPI_APEI)		+= apei.o
 obj-$(CONFIG_ACPI_APEI_GHES)	+= ghes.o
+# clang versions prior to 18 may blow out the stack with KASAN
+ifeq ($(CONFIG_COMPILE_TEST)_$(CONFIG_CC_IS_CLANG)_$(call clang-min-version, 180000),y_y_)
+KASAN_SANITIZE_ghes.o := n
+endif
+obj-$(CONFIG_ACPI_APEI_PCIEAER)	+= ghes_helpers.o
 obj-$(CONFIG_ACPI_APEI_EINJ)	+= einj.o
 einj-y				:= einj-core.o
 einj-$(CONFIG_ACPI_APEI_EINJ_CXL) += einj-cxl.o
drivers/acpi/apei/ghes.c +1 -17
index 42872fdc36bfc..fc96a5e234f06 100644
@@ -746,24 +746,8 @@ static void cxl_cper_post_prot_err(struct cxl_cper_sec_prot_err *prot_err,
 	struct cxl_cper_prot_err_work_data wd;
 	u8 *dvsec_start, *cap_start;
 
-	if (!(prot_err->valid_bits & PROT_ERR_VALID_AGENT_ADDRESS)) {
-		pr_err_ratelimited("CXL CPER invalid agent type\n");
+	if (cxl_cper_sec_prot_err_valid(prot_err))
 		return;
-	}
-
-	if (!(prot_err->valid_bits & PROT_ERR_VALID_ERROR_LOG)) {
-		pr_err_ratelimited("CXL CPER invalid protocol error log\n");
-		return;
-	}
-
-	if (prot_err->err_len != sizeof(struct cxl_ras_capability_regs)) {
-		pr_err_ratelimited("CXL CPER invalid RAS Cap size (%u)\n",
-				   prot_err->err_len);
-		return;
-	}
-
-	if (!(prot_err->valid_bits & PROT_ERR_VALID_SERIAL_NUMBER))
-		pr_warn(FW_WARN "CXL CPER no device serial number\n");
 
 	guard(spinlock_irqsave)(&cxl_cper_prot_err_work_lock);
 
drivers/acpi/apei/ghes_helpers.c new file +33 -0
new file mode 100644
index 0000000000000..f3d162139a974
@@ -0,0 +1,33 @@
+// SPDX-License-Identifier: GPL-2.0-only
+// Copyright(c) 2025 Intel Corporation. All rights reserved
+
+#include <linux/printk.h>
+#include <cxl/event.h>
+
+int cxl_cper_sec_prot_err_valid(struct cxl_cper_sec_prot_err *prot_err)
+{
+	if (!(prot_err->valid_bits & PROT_ERR_VALID_AGENT_ADDRESS)) {
+		pr_err_ratelimited("CXL CPER invalid agent type\n");
+		return -EINVAL;
+	}
+
+	if (!(prot_err->valid_bits & PROT_ERR_VALID_ERROR_LOG)) {
+		pr_err_ratelimited("CXL CPER invalid protocol error log\n");
+		return -EINVAL;
+	}
+
+	if (prot_err->err_len != sizeof(struct cxl_ras_capability_regs)) {
+		pr_err_ratelimited("CXL CPER invalid RAS Cap size (%u)\n",
+				   prot_err->err_len);
+		return -EINVAL;
+	}
+
+	if ((prot_err->agent_type == RCD || prot_err->agent_type == DEVICE ||
+	     prot_err->agent_type == LD || prot_err->agent_type == FMLD) &&
+	    !(prot_err->valid_bits & PROT_ERR_VALID_SERIAL_NUMBER))
+		pr_warn_ratelimited(FW_WARN
+				    "CXL CPER no device serial number\n");
+
+	return 0;
+}
+EXPORT_SYMBOL_GPL(cxl_cper_sec_prot_err_valid);
drivers/ata/libata-eh.c +1 -1
index b373cceb95d23..44fddfbb76296 100644
@@ -647,7 +647,7 @@ void ata_scsi_cmd_error_handler(struct Scsi_Host *host, struct ata_port *ap,
 				break;
 		}
 
-		if (qc == ap->deferred_qc) {
+		if (i < ATA_MAX_QUEUE && qc == ap->deferred_qc) {
 			/*
 			 * This is a deferred command that timed out while
 			 * waiting for the command queue to drain. Since the qc
drivers/block/drbd/drbd_actlog.c +23 -30

82 lines not on this page · raw message

drivers/block/drbd/drbd_interval.h +4 -1
index 366489b72fe97..5d3213b81eede 100644
@@ -8,12 +8,15 @@
 struct drbd_interval {
 	struct rb_node rb;
 	sector_t sector;		/* start sector of the interval */
-	unsigned int size;		/* size in bytes */
 	sector_t end;			/* highest interval end in subtree */
+	unsigned int size;		/* size in bytes */
 	unsigned int local:1		/* local or remote request? */;
 	unsigned int waiting:1;		/* someone is waiting for completion */
 	unsigned int completed:1;	/* this has been completed already;
 					 * ignore for conflict detection */
+
+	/* to resume a partially successful drbd_al_begin_io_nonblock(); */
+	unsigned int partially_in_al_next_enr;
 };
 
 static inline void drbd_clear_interval(struct drbd_interval *i)
drivers/block/drbd/drbd_req.c +2 -1
index d15826f6ee81d..70f75ef079457 100644
@@ -621,7 +621,8 @@ int __req_mod(struct drbd_request *req, enum drbd_req_event what,
 		break;
 
 	case READ_COMPLETED_WITH_ERROR:
-		drbd_set_out_of_sync(peer_device, req->i.sector, req->i.size);
+		drbd_set_out_of_sync(first_peer_device(device),
+				req->i.sector, req->i.size);
 		drbd_report_io_error(device, req);
 		__drbd_chk_io_error(device, DRBD_READ_ERROR);
 		fallthrough;
drivers/block/zloop.c +24 -7
index 39a425db670c8..26364e43aeb34 100644
@@ -499,6 +499,21 @@ static void zloop_rw(struct zloop_cmd *cmd)
 	zloop_put_cmd(cmd);
 }
 
+/*
+ * Sync the entire FS containing the zone files instead of walking all files.
+ */
+static int zloop_flush(struct zloop_device *zlo)
+{
+	struct super_block *sb = file_inode(zlo->data_dir)->i_sb;
+	int ret;
+
+	down_read(&sb->s_umount);
+	ret = sync_filesystem(sb);
+	up_read(&sb->s_umount);
+
+	return ret;
+}
+
 static void zloop_handle_cmd(struct zloop_cmd *cmd)
 {
 	struct request *rq = blk_mq_rq_from_pdu(cmd);
@@ -515,11 +530,7 @@ static void zloop_handle_cmd(struct zloop_cmd *cmd)
 		zloop_rw(cmd);
 		return;
 	case REQ_OP_FLUSH:
-		/*
-		 * Sync the entire FS containing the zone files instead of
-		 * walking all files
-		 */
-		cmd->ret = sync_filesystem(file_inode(zlo->data_dir)->i_sb);
+		cmd->ret = zloop_flush(zlo);
 		break;
 	case REQ_OP_ZONE_RESET:
 		cmd->ret = zloop_reset_zone(zlo, rq_zone_no(rq));
@@ -892,7 +903,8 @@ static int zloop_ctl_add(struct zloop_options *opts)
 		.max_hw_sectors		= SZ_1M >> SECTOR_SHIFT,
 		.max_hw_zone_append_sectors = SZ_1M >> SECTOR_SHIFT,
 		.chunk_sectors		= opts->zone_size,
-		.features		= BLK_FEAT_ZONED,
+		.features		= BLK_FEAT_ZONED | BLK_FEAT_WRITE_CACHE,
+
 	};
 	unsigned int nr_zones, i, j;
 	struct zloop_device *zlo;
@@ -1064,7 +1076,12 @@ static int zloop_ctl_remove(struct zloop_options *opts)
 	int ret;
 
 	if (!(opts->mask & ZLOOP_OPT_ID)) {
-		pr_err("No ID specified\n");
+		pr_err("No ID specified for remove\n");
+		return -EINVAL;
+	}
+
+	if (opts->mask & ~ZLOOP_OPT_ID) {
+		pr_err("Invalid option specified for remove\n");
 		return -EINVAL;
 	}
 
drivers/bus/mhi/host/pci_generic.c +2 -18
index 3d8c9729fcfc5..21f0522d9ff29 100644
@@ -94,22 +94,6 @@ struct mhi_pci_dev_info {
 		.doorbell_mode_switch = false,		\
 	}
 
-#define MHI_CHANNEL_CONFIG_DL_AUTOQUEUE(ch_num, ch_name, el_count, ev_ring) \
-	{						\
-		.num = ch_num,				\
-		.name = ch_name,			\
-		.num_elements = el_count,		\
-		.event_ring = ev_ring,			\
-		.dir = DMA_FROM_DEVICE,			\
-		.ee_mask = BIT(MHI_EE_AMSS),		\
-		.pollcfg = 0,				\
-		.doorbell = MHI_DB_BRST_DISABLE,	\
-		.lpm_notify = false,			\
-		.offload_channel = false,		\
-		.doorbell_mode_switch = false,		\
-		.auto_queue = true,			\
-	}
-
 #define MHI_EVENT_CONFIG_CTRL(ev_ring, el_count) \
 	{					\
 		.num_elements = el_count,	\
@@ -329,7 +313,7 @@ static const struct mhi_channel_config modem_qcom_v1_mhi_channels[] = {
 	MHI_CHANNEL_CONFIG_UL(14, "QMI", 4, 0),
 	MHI_CHANNEL_CONFIG_DL(15, "QMI", 4, 0),
 	MHI_CHANNEL_CONFIG_UL(20, "IPCR", 8, 0),
-	MHI_CHANNEL_CONFIG_DL_AUTOQUEUE(21, "IPCR", 8, 0),
+	MHI_CHANNEL_CONFIG_DL(21, "IPCR", 8, 0),
 	MHI_CHANNEL_CONFIG_UL_FP(34, "FIREHOSE", 32, 0),
 	MHI_CHANNEL_CONFIG_DL_FP(35, "FIREHOSE", 32, 0),
 	MHI_CHANNEL_CONFIG_UL(46, "IP_SW0", 64, 2),
@@ -751,7 +735,7 @@ static const struct mhi_channel_config mhi_telit_fn980_hw_v1_channels[] = {
 	MHI_CHANNEL_CONFIG_UL(14, "QMI", 32, 0),
 	MHI_CHANNEL_CONFIG_DL(15, "QMI", 32, 0),
 	MHI_CHANNEL_CONFIG_UL(20, "IPCR", 16, 0),
-	MHI_CHANNEL_CONFIG_DL_AUTOQUEUE(21, "IPCR", 16, 0),
+	MHI_CHANNEL_CONFIG_DL(21, "IPCR", 16, 0),
 	MHI_CHANNEL_CONFIG_HW_UL(100, "IP_HW0", 128, 1),
 	MHI_CHANNEL_CONFIG_HW_DL(101, "IP_HW0", 128, 2),
 };
drivers/char/ipmi/ipmi_msghandler.c +9 -2
index 0a886399f9daf..5ed8e95589fb7 100644
@@ -4848,8 +4848,15 @@ static void smi_work(struct work_struct *t)
 			if (newmsg->recv_msg)
 				deliver_err_response(intf,
 						     newmsg->recv_msg, cc);
-			else
-				ipmi_free_smi_msg(newmsg);
+			if (!run_to_completion)
+				spin_lock_irqsave(&intf->xmit_msgs_lock,
+						  flags);
+			intf->curr_msg = NULL;
+			if (!run_to_completion)
+				spin_unlock_irqrestore(&intf->xmit_msgs_lock,
+						       flags);
+			ipmi_free_smi_msg(newmsg);
+			newmsg = NULL;
 			goto restart;
 		}
 	}
drivers/clk/tegra/clk-tegra124-emc.c +1 -1
index 0f6fb776b2298..5f1af6dfe7154 100644
@@ -197,8 +197,8 @@ static struct tegra_emc *emc_ensure_emc_driver(struct tegra_clk_emc *tegra)
 	tegra->emc_node = NULL;
 
 	tegra->emc = platform_get_drvdata(pdev);
+	put_device(&pdev->dev);
 	if (!tegra->emc) {
-		put_device(&pdev->dev);
 		pr_err("%s: cannot find EMC driver\n", __func__);
 		return NULL;
 	}
drivers/cpufreq/intel_pstate.c +5 -5
index 38333f7da40db..00b87f8ee70bc 100644
@@ -1467,13 +1467,13 @@ static void __intel_pstate_update_max_freq(struct cpufreq_policy *policy,
 	refresh_frequency_limits(policy);
 }
 
-static bool intel_pstate_update_max_freq(struct cpudata *cpudata)
+static bool intel_pstate_update_max_freq(int cpu)
 {
-	struct cpufreq_policy *policy __free(put_cpufreq_policy) = cpufreq_cpu_get(cpudata->cpu);
+	struct cpufreq_policy *policy __free(put_cpufreq_policy) = cpufreq_cpu_get(cpu);
 	if (!policy)
 		return false;
 
-	__intel_pstate_update_max_freq(policy, cpudata);
+	__intel_pstate_update_max_freq(policy, all_cpu_data[cpu]);
 
 	return true;
 }
@@ -1492,7 +1492,7 @@ static void intel_pstate_update_limits_for_all(void)
 	int cpu;
 
 	for_each_possible_cpu(cpu)
-		intel_pstate_update_max_freq(all_cpu_data[cpu]);
+		intel_pstate_update_max_freq(cpu);
 
 	mutex_lock(&hybrid_capacity_lock);
 
@@ -1932,7 +1932,7 @@ static void intel_pstate_notify_work(struct work_struct *work)
 	struct cpudata *cpudata =
 		container_of(to_delayed_work(work), struct cpudata, hwp_notify_work);
 
-	if (intel_pstate_update_max_freq(cpudata)) {
+	if (intel_pstate_update_max_freq(cpudata->cpu)) {
 		/*
 		 * The driver will not be unregistered while this function is
 		 * running, so update the capacity without acquiring the driver
drivers/cxl/core/pmem.c +32 -10

66 lines not on this page · raw message

drivers/cxl/cxl.h +7 -0
index 231ddccf89773..3a794278cc7fe 100644
@@ -555,11 +555,16 @@ struct cxl_nvdimm_bridge {
 
 #define CXL_DEV_ID_LEN 19
 
+enum {
+	CXL_NVD_F_INVALIDATED = 0,
+};
+
 struct cxl_nvdimm {
 	struct device dev;
 	struct cxl_memdev *cxlmd;
 	u8 dev_id[CXL_DEV_ID_LEN]; /* for nvdimm, string of 'serial' */
 	u64 dirty_shutdowns;
+	unsigned long flags;
 };
 
 struct cxl_pmem_region_mapping {
@@ -866,6 +871,8 @@ void cxl_driver_unregister(struct cxl_driver *cxl_drv);
 struct cxl_nvdimm_bridge *to_cxl_nvdimm_bridge(struct device *dev);
 struct cxl_nvdimm_bridge *devm_cxl_add_nvdimm_bridge(struct device *host,
 						     struct cxl_port *port);
+struct cxl_nvdimm_bridge *__devm_cxl_add_nvdimm_bridge(struct device *host,
+						       struct cxl_port *port);
 struct cxl_nvdimm *to_cxl_nvdimm(struct device *dev);
 bool is_cxl_nvdimm(struct device *dev);
 int devm_cxl_add_nvdimm(struct cxl_port *parent_port, struct cxl_memdev *cxlmd);
drivers/cxl/pmem.c +21 -1
index e197883690efc..c00b84b960761 100644
@@ -13,6 +13,20 @@
 
 static __read_mostly DECLARE_BITMAP(exclusive_cmds, CXL_MEM_COMMAND_ID_MAX);
 
+/**
+ * devm_cxl_add_nvdimm_bridge() - add the root of a LIBNVDIMM topology
+ * @host: platform firmware root device
+ * @port: CXL port at the root of a CXL topology
+ *
+ * Return: bridge device that can host cxl_nvdimm objects
+ */
+struct cxl_nvdimm_bridge *devm_cxl_add_nvdimm_bridge(struct device *host,
+						     struct cxl_port *port)
+{
+	return __devm_cxl_add_nvdimm_bridge(host, port);
+}
+EXPORT_SYMBOL_NS_GPL(devm_cxl_add_nvdimm_bridge, "CXL");
+
 static void clear_exclusive(void *mds)
 {
 	clear_exclusive_cxl_commands(mds, exclusive_cmds);
@@ -129,6 +143,9 @@ static int cxl_nvdimm_probe(struct device *dev)
 	struct nvdimm *nvdimm;
 	int rc;
 
+	if (test_bit(CXL_NVD_F_INVALIDATED, &cxl_nvd->flags))
+		return -EBUSY;
+
 	set_exclusive_cxl_commands(mds, exclusive_cmds);
 	rc = devm_add_action_or_reset(dev, clear_exclusive, mds);
 	if (rc)
@@ -309,8 +326,10 @@ static int detach_nvdimm(struct device *dev, void *data)
 	scoped_guard(device, dev) {
 		if (dev->driver) {
 			cxl_nvd = to_cxl_nvdimm(dev);
-			if (cxl_nvd->cxlmd && cxl_nvd->cxlmd->cxl_nvb == data)
+			if (cxl_nvd->cxlmd && cxl_nvd->cxlmd->cxl_nvb == data) {
 				release = true;
+				set_bit(CXL_NVD_F_INVALIDATED, &cxl_nvd->flags);
+			}
 		}
 	}
 	if (release)
@@ -353,6 +372,7 @@ static struct cxl_driver cxl_nvdimm_bridge_driver = {
 	.probe = cxl_nvdimm_bridge_probe,
 	.id = CXL_DEVICE_NVDIMM_BRIDGE,
 	.drv = {
+		.probe_type = PROBE_FORCE_SYNCHRONOUS,
 		.suppress_bind_attrs = true,
 	},
 };
drivers/firmware/efi/mokvar-table.c +1 -1
index aedbbd627706a..741674a0a70c5 100644
@@ -85,7 +85,7 @@ static struct kobject *mokvar_kobj;
  * as an alternative to ordinary EFI variables, due to platform-dependent
  * limitations. The memory occupied by this table is marked as reserved.
  *
- * This routine must be called before efi_free_boot_services() in order
+ * This routine must be called before efi_unmap_boot_services() in order
  * to guarantee that it can mark the table as reserved.
  *
  * Implicit inputs:
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c +1 -0
index 9b31804491500..3f9b094e93a29 100644
@@ -641,6 +641,7 @@ static void aca_error_fini(struct aca_error *aerr)
 		aca_bank_error_remove(aerr, bank_error);
 
 out_unlock:
+	mutex_unlock(&aerr->lock);
 	mutex_destroy(&aerr->lock);
 }
 
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +12 -9
index b28ebb44c695d..dbcd55611a37d 100644
@@ -4991,7 +4991,7 @@ void amdgpu_device_fini_hw(struct amdgpu_device *adev)
 	 * before ip_fini_early to prevent kfd locking refcount issues by calling
 	 * amdgpu_amdkfd_suspend()
 	 */
-	if (drm_dev_is_unplugged(adev_to_drm(adev)))
+	if (pci_dev_is_disconnected(adev->pdev))
 		amdgpu_amdkfd_device_fini_sw(adev);
 
 	amdgpu_device_ip_fini_early(adev);
@@ -5003,7 +5003,7 @@ void amdgpu_device_fini_hw(struct amdgpu_device *adev)
 
 	amdgpu_gart_dummy_page_fini(adev);
 
-	if (drm_dev_is_unplugged(adev_to_drm(adev)))
+	if (pci_dev_is_disconnected(adev->pdev))
 		amdgpu_device_unmap_mmio(adev);
 
 }
@@ -7062,6 +7062,15 @@ pci_ers_result_t amdgpu_pci_slot_reset(struct pci_dev *pdev)
 	dev_info(adev->dev, "PCI error: slot reset callback!!\n");
 
 	memset(&reset_context, 0, sizeof(reset_context));
+	INIT_LIST_HEAD(&device_list);
+	hive = amdgpu_get_xgmi_hive(adev);
+	if (hive) {
+		mutex_lock(&hive->hive_lock);
+		list_for_each_entry(tmp_adev, &hive->device_list, gmc.xgmi.head)
+			list_add_tail(&tmp_adev->reset_list, &device_list);
+	} else {
+		list_add_tail(&adev->reset_list, &device_list);
+	}
 
 	if (adev->pcie_reset_ctx.swus)
 		link_dev = adev->pcie_reset_ctx.swus;
@@ -7102,19 +7111,13 @@ pci_ers_result_t amdgpu_pci_slot_reset(struct pci_dev *pdev)
 	reset_context.reset_req_dev = adev;
 	set_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags);
 	set_bit(AMDGPU_SKIP_COREDUMP, &reset_context.flags);
-	INIT_LIST_HEAD(&device_list);
 
-	hive = amdgpu_get_xgmi_hive(adev);
 	if (hive) {
-		mutex_lock(&hive->hive_lock);
 		reset_context.hive = hive;
-		list_for_each_entry(tmp_adev, &hive->device_list, gmc.xgmi.head) {
+		list_for_each_entry(tmp_adev, &hive->device_list, gmc.xgmi.head)
 			tmp_adev->pcie_reset_ctx.in_link_reset = true;
-			list_add_tail(&tmp_adev->reset_list, &device_list);
-		}
 	} else {
 		set_bit(AMDGPU_SKIP_HW_RESET, &reset_context.flags);
-		list_add_tail(&adev->reset_list, &device_list);
 	}
 
 	r = amdgpu_device_asic_reset(adev, &device_list, &reset_context);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp_ta.c +7 -5
index 6e8aad91bcd30..0d3c18f04ac36 100644
@@ -332,13 +332,13 @@ static ssize_t ta_if_invoke_debugfs_write(struct file *fp, const char *buf, size
 	if (!context || !context->initialized) {
 		dev_err(adev->dev, "TA is not initialized\n");
 		ret = -EINVAL;
-		goto err_free_shared_buf;
+		goto free_shared_buf;
 	}
 
 	if (!psp->ta_funcs || !psp->ta_funcs->fn_ta_invoke) {
 		dev_err(adev->dev, "Unsupported function to invoke TA\n");
 		ret = -EOPNOTSUPP;
-		goto err_free_shared_buf;
+		goto free_shared_buf;
 	}
 
 	context->session_id = ta_id;
@@ -346,7 +346,7 @@ static ssize_t ta_if_invoke_debugfs_write(struct file *fp, const char *buf, size
 	mutex_lock(&psp->ras_context.mutex);
 	ret = prep_ta_mem_context(&context->mem_context, shared_buf, shared_buf_len);
 	if (ret)
-		goto err_free_shared_buf;
+		goto unlock;
 
 	ret = psp_fn_ta_invoke(psp, cmd_id);
 	if (ret || context->resp_status) {
@@ -354,15 +354,17 @@ static ssize_t ta_if_invoke_debugfs_write(struct file *fp, const char *buf, size
 			ret, context->resp_status);
 		if (!ret) {
 			ret = -EINVAL;
-			goto err_free_shared_buf;
+			goto unlock;
 		}
 	}
 
 	if (copy_to_user((char *)&buf[copy_pos], context->mem_context.shared_buf, shared_buf_len))
 		ret = -EFAULT;
 
-err_free_shared_buf:
+unlock:
 	mutex_unlock(&psp->ras_context.mutex);
+
+free_shared_buf:
 	kfree(shared_buf);
 
 	return ret;
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c +4 -4
index 5c181ac75d548..ead1538974454 100644
@@ -829,7 +829,7 @@ int amdgpu_userq_wait_ioctl(struct drm_device *dev, void *data,
 
 			dma_resv_for_each_fence(&resv_cursor, gobj_read[i]->resv,
 						DMA_RESV_USAGE_READ, fence) {
-				if (WARN_ON_ONCE(num_fences >= wait_info->num_fences)) {
+				if (num_fences >= wait_info->num_fences) {
 					r = -EINVAL;
 					goto free_fences;
 				}
@@ -846,7 +846,7 @@ int amdgpu_userq_wait_ioctl(struct drm_device *dev, void *data,
 
 			dma_resv_for_each_fence(&resv_cursor, gobj_write[i]->resv,
 						DMA_RESV_USAGE_WRITE, fence) {
-				if (WARN_ON_ONCE(num_fences >= wait_info->num_fences)) {
+				if (num_fences >= wait_info->num_fences) {
 					r = -EINVAL;
 					goto free_fences;
 				}
@@ -870,7 +870,7 @@ int amdgpu_userq_wait_ioctl(struct drm_device *dev, void *data,
 					goto free_fences;
 
 				dma_fence_unwrap_for_each(f, &iter, fence) {
-					if (WARN_ON_ONCE(num_fences >= wait_info->num_fences)) {
+					if (num_fences >= wait_info->num_fences) {
 						r = -EINVAL;
 						goto free_fences;
 					}
@@ -894,7 +894,7 @@ int amdgpu_userq_wait_ioctl(struct drm_device *dev, void *data,
 			if (r)
 				goto free_fences;
 
-			if (WARN_ON_ONCE(num_fences >= wait_info->num_fences)) {
+			if (num_fences >= wait_info->num_fences) {
 				r = -EINVAL;
 				goto free_fences;
 			}
drivers/gpu/drm/amd/display/dc/core/dc_stream.c +1 -1
index 0a46e834357a1..0886bef32a5de 100644
@@ -169,7 +169,7 @@ struct dc_stream_state *dc_create_stream_for_sink(
 	if (sink == NULL)
 		return NULL;
 
-	stream = kzalloc(sizeof(struct dc_stream_state), GFP_KERNEL);
+	stream = kzalloc(sizeof(struct dc_stream_state), GFP_ATOMIC);
 	if (stream == NULL)
 		goto alloc_fail;
 
drivers/gpu/drm/drm_client_modeset.c +2 -1
index 9c2c3b0c8c470..eaf71c9ecf136 100644
@@ -930,7 +930,8 @@ int drm_client_modeset_probe(struct drm_client_dev *client, unsigned int width,
 	mutex_unlock(&client->modeset_mutex);
 out:
 	kfree(crtcs);
-	modes_destroy(dev, modes, connector_count);
+	if (modes)
+		modes_destroy(dev, modes, connector_count);
 	kfree(modes);
 	kfree(offsets);
 	kfree(enabled);
drivers/gpu/drm/drm_syncobj.c +2 -2
index e1b0fa4000cdd..7eb2cdbc574a0 100644
@@ -900,7 +900,7 @@ drm_syncobj_handle_to_fd_ioctl(struct drm_device *dev, void *data,
 		return drm_syncobj_export_sync_file(file_private, args->handle,
 						    point, &args->fd);
 
-	if (args->point)
+	if (point)
 		return -EINVAL;
 
 	return drm_syncobj_handle_to_fd(file_private, args->handle,
@@ -934,7 +934,7 @@ drm_syncobj_fd_to_handle_ioctl(struct drm_device *dev, void *data,
 							  args->handle,
 							  point);
 
-	if (args->point)
+	if (point)
 		return -EINVAL;
 
 	return drm_syncobj_fd_to_handle(file_private, args->fd,
drivers/gpu/drm/i915/display/intel_dp.c +38 -10

86 lines not on this page · raw message

drivers/gpu/drm/imx/ipuv3/parallel-display.c +3 -1
index 7fc6af7033078..d5f2ee41c03fe 100644
@@ -256,7 +256,9 @@ static int imx_pd_probe(struct platform_device *pdev)
 
 	platform_set_drvdata(pdev, imxpd);
 
-	devm_drm_bridge_add(dev, &imxpd->bridge);
+	ret = devm_drm_bridge_add(dev, &imxpd->bridge);
+	if (ret)
+		return ret;
 
 	return component_add(dev, &imx_pd_ops);
 }
drivers/gpu/drm/logicvc/logicvc_drm.c +2 -2
index 204b0fee55d0b..bbebf4fc7f51a 100644
@@ -92,7 +92,6 @@ static int logicvc_drm_config_parse(struct logicvc_drm *logicvc)
 	struct device *dev = drm_dev->dev;
 	struct device_node *of_node = dev->of_node;
 	struct logicvc_drm_config *config = &logicvc->config;
-	struct device_node *layers_node;
 	int ret;
 
 	logicvc_of_property_parse_bool(of_node, LOGICVC_OF_PROPERTY_DITHERING,
@@ -128,7 +127,8 @@ static int logicvc_drm_config_parse(struct logicvc_drm *logicvc)
 	if (ret)
 		return ret;
 
-	layers_node = of_get_child_by_name(of_node, "layers");
+	struct device_node *layers_node __free(device_node) =
+		of_get_child_by_name(of_node, "layers");
 	if (!layers_node) {
 		drm_err(drm_dev, "Missing non-optional layers node\n");
 		return -EINVAL;
drivers/gpu/drm/scheduler/sched_main.c +1 -0
index c39f0245e3a97..3f138776d35fb 100644
@@ -361,6 +361,7 @@ static void drm_sched_run_free_queue(struct drm_gpu_scheduler *sched)
 /**
  * drm_sched_job_done - complete a job
  * @s_job: pointer to the job which is done
+ * @result: 0 on success, -ERRNO on error
  *
  * Finish the job's fence and resubmit the work items.
  */
drivers/gpu/drm/solomon/ssd130x.c +2 -4
index eec43d1a55951..18d2294c526de 100644
@@ -736,6 +736,7 @@ static int ssd130x_update_rect(struct ssd130x_device *ssd130x,
 	unsigned int height = drm_rect_height(rect);
 	unsigned int line_length = DIV_ROUND_UP(width, 8);
 	unsigned int page_height = SSD130X_PAGE_HEIGHT;
+	u8 page_start = ssd130x->page_offset + y / page_height;
 	unsigned int pages = DIV_ROUND_UP(height, page_height);
 	struct drm_device *drm = &ssd130x->drm;
 	u32 array_idx = 0;
@@ -773,14 +774,11 @@ static int ssd130x_update_rect(struct ssd130x_device *ssd130x,
 	 */
 
 	if (!ssd130x->page_address_mode) {
-		u8 page_start;
-
 		/* Set address range for horizontal addressing mode */
 		ret = ssd130x_set_col_range(ssd130x, ssd130x->col_offset + x, width);
 		if (ret < 0)
 			return ret;
 
-		page_start = ssd130x->page_offset + y / page_height;
 		ret = ssd130x_set_page_range(ssd130x, page_start, pages);
 		if (ret < 0)
 			return ret;
@@ -812,7 +810,7 @@ static int ssd130x_update_rect(struct ssd130x_device *ssd130x,
 		 */
 		if (ssd130x->page_address_mode) {
 			ret = ssd130x_set_page_pos(ssd130x,
-						   ssd130x->page_offset + i,
+						   page_start + i,
 						   ssd130x->col_offset + x);
 			if (ret < 0)
 				return ret;
drivers/gpu/drm/tegra/dsi.c +2 -4
index ddfb2858acbf1..5aa78b902adac 100644
@@ -1540,11 +1540,9 @@ static int tegra_dsi_ganged_probe(struct tegra_dsi *dsi)
 			return -EPROBE_DEFER;
 
 		dsi->slave = platform_get_drvdata(gangster);
-
-		if (!dsi->slave) {
-			put_device(&gangster->dev);
+		put_device(&gangster->dev);
+		if (!dsi->slave)
 			return -EPROBE_DEFER;
-		}
 
 		dsi->slave->master = dsi;
 	}
drivers/gpu/drm/tiny/sharp-memory.c +2 -2
index 64272cd0f6e22..cbf69460ebf32 100644
@@ -541,8 +541,8 @@ static int sharp_memory_probe(struct spi_device *spi)
 
 	smd = devm_drm_dev_alloc(dev, &sharp_memory_drm_driver,
 				 struct sharp_memory_device, drm);
-	if (!smd)
-		return -ENOMEM;
+	if (IS_ERR(smd))
+		return PTR_ERR(smd);
 
 	spi_set_drvdata(spi, smd);
 
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c +2 -2
index 3057f8baa7d25..e1f18020170ab 100644
@@ -1143,7 +1143,7 @@ static int vmw_translate_mob_ptr(struct vmw_private *dev_priv,
 	ret = vmw_user_bo_lookup(sw_context->filp, handle, &vmw_bo);
 	if (ret != 0) {
 		drm_dbg(&dev_priv->drm, "Could not find or use MOB buffer.\n");
-		return PTR_ERR(vmw_bo);
+		return ret;
 	}
 	vmw_bo_placement_set(vmw_bo, VMW_BO_DOMAIN_MOB, VMW_BO_DOMAIN_MOB);
 	ret = vmw_validation_add_bo(sw_context->ctx, vmw_bo);
@@ -1199,7 +1199,7 @@ static int vmw_translate_guest_ptr(struct vmw_private *dev_priv,
 	ret = vmw_user_bo_lookup(sw_context->filp, handle, &vmw_bo);
 	if (ret != 0) {
 		drm_dbg(&dev_priv->drm, "Could not find or use GMR region.\n");
-		return PTR_ERR(vmw_bo);
+		return ret;
 	}
 	vmw_bo_placement_set(vmw_bo, VMW_BO_DOMAIN_GMR | VMW_BO_DOMAIN_VRAM,
 			     VMW_BO_DOMAIN_GMR | VMW_BO_DOMAIN_VRAM);
drivers/gpu/drm/vmwgfx/vmwgfx_page_dirty.c +8 -1
index fd4e76486f2d1..45561bc1c9eff 100644
@@ -260,6 +260,13 @@ int vmw_bo_dirty_add(struct vmw_bo *vbo)
 	return ret;
 }
 
+static void vmw_bo_dirty_free(struct kref *kref)
+{
+	struct vmw_bo_dirty *dirty = container_of(kref, struct vmw_bo_dirty, ref_count);
+
+	kvfree(dirty);
+}
+
 /**
  * vmw_bo_dirty_release - Release a dirty-tracking user from a buffer object
  * @vbo: The buffer object
@@ -274,7 +281,7 @@ void vmw_bo_dirty_release(struct vmw_bo *vbo)
 {
 	struct vmw_bo_dirty *dirty = vbo->dirty;
 
-	if (dirty && kref_put(&dirty->ref_count, (void *)kvfree))
+	if (dirty && kref_put(&dirty->ref_count, vmw_bo_dirty_free))
 		vbo->dirty = NULL;
 }
 
drivers/gpu/drm/xe/regs/xe_engine_regs.h +6 -0
index f4c3e1187a00a..27fba92301c4e 100644
@@ -96,6 +96,12 @@
 #define   ENABLE_SEMAPHORE_POLL_BIT		REG_BIT(13)
 
 #define RING_CMD_CCTL(base)			XE_REG((base) + 0xc4, XE_REG_OPTION_MASKED)
+
+#define CS_MMIO_GROUP_INSTANCE_SELECT(base)	XE_REG((base) + 0xcc)
+#define   SELECTIVE_READ_ADDRESSING		REG_BIT(30)
+#define   SELECTIVE_READ_GROUP			REG_GENMASK(29, 23)
+#define   SELECTIVE_READ_INSTANCE		REG_GENMASK(22, 16)
+
 /*
  * CMD_CCTL read/write fields take a MOCS value and _not_ a table index.
  * The lsb of each can be considered a separate enabling bit for encryption.
drivers/gpu/drm/xe/xe_configfs.c +1 -0
index 6688b2954d20b..08f379cb5321f 100644
@@ -688,6 +688,7 @@ static void xe_config_device_release(struct config_item *item)
 
 	mutex_destroy(&dev->lock);
 
+	kfree(dev->config.ctx_restore_mid_bb[0].cs);
 	kfree(dev->config.ctx_restore_post_bb[0].cs);
 	kfree(dev);
 }
drivers/gpu/drm/xe/xe_gsc_proxy.c +35 -8

75 lines not on this page · raw message

drivers/gpu/drm/xe/xe_gsc_types.h +2 -0
index 97c056656df05..5aaa2a75861fd 100644
@@ -58,6 +58,8 @@ struct xe_gsc {
 		struct mutex mutex;
 		/** @proxy.component_added: whether the component has been added */
 		bool component_added;
+		/** @proxy.started: whether the proxy has been started */
+		bool started;
 		/** @proxy.bo: object to store message to and from the GSC */
 		struct xe_bo *bo;
 		/** @proxy.to_gsc: map of the memory used to send messages to the GSC */
drivers/gpu/drm/xe/xe_gt.c +54 -12

4 lines not on this page · raw message

drivers/gpu/drm/xe/xe_reg_sr.c +3 -1
index fc8447a838c4f..6b9edc7ca4115 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/xe/xe_ring_ops.c +9 -0
index d71837773d6c6..e0082b55e2162 100644

Lines of this file are not shown. View the raw message.

drivers/hid/hid-cmedia.c +1 -1
index 528d7f3612157..8bf5649b0c793 100644

Lines of this file are not shown. View the raw message.

drivers/hid/hid-creative-sb0540.c +1 -1
index b4c8e7a5d3e02..dfd6add353d19 100644

Lines of this file are not shown. View the raw message.

drivers/hid/hid-multitouch.c +38 -5

43 lines not on this page · raw message

drivers/hid/hid-zydacron.c +1 -1
index 3bdb26f455925..1aae80f848f50 100644

Lines of this file are not shown. View the raw message.

drivers/hid/usbhid/hid-pidff.c +7 -4
index a4e700b40ba9b..56d6af39ba81e 100644

Lines of this file are not shown. View the raw message.

drivers/hwmon/Kconfig +3 -3
index 2760feb9f83b5..2a71b6e834b08 100644

Lines of this file are not shown. View the raw message.

drivers/hwmon/aht10.c +18 -3
index d1c55e2eb4799..7ba00bafb57d6 100644

Lines of this file are not shown. View the raw message.

drivers/hwmon/it87.c +4 -1
index e233aafa8856c..5cfb98a0512f0 100644

Lines of this file are not shown. View the raw message.

drivers/hwmon/max16065.c +13 -13
index 4c9e7892a73c1..43fbb9b26b102 100644

Lines of this file are not shown. View the raw message.

drivers/hwmon/max6639.c +1 -1
index a06346496e1d9..1fc12e1463b58 100644

Lines of this file are not shown. View the raw message.

drivers/i2c/busses/i2c-i801.c +10 -4
index 57fbec1259bea..506d69b156f7c 100644

Lines of this file are not shown. View the raw message.

drivers/infiniband/hw/ionic/ionic_controlpath.c +1 -1
index ea12d9b8e125f..83573721af2c0 100644

Lines of this file are not shown. View the raw message.

drivers/infiniband/hw/irdma/verbs.c +1 -1
index b8655504da290..5d027c04dba6f 100644

Lines of this file are not shown. View the raw message.

drivers/infiniband/hw/mthca/mthca_provider.c +3 -2
index dd572d76866c2..e095873b381b6 100644

Lines of this file are not shown. View the raw message.

drivers/input/mouse/synaptics_i2c.c +8 -5
index a0d707e47d932..29da66af36d74 100644

Lines of this file are not shown. View the raw message.

drivers/iommu/intel/pasid.c +8 -0
index 6782ba5f5e57f..7a64a55fb5887 100644

Lines of this file are not shown. View the raw message.

drivers/irqchip/irq-sifive-plic.c +6 -1
index cbd7697bc1481..0799c15c745d4 100644

Lines of this file are not shown. View the raw message.

drivers/media/dvb-core/dmxdev.c +3 -1
index 8a9cca6da3e0e..ab34be22cd1aa 100644

Lines of this file are not shown. View the raw message.

drivers/media/platform/qcom/iris/iris_platform_gen2.c +2 -0
index 36d69cc73986b..85beb80476de8 100644

Lines of this file are not shown. View the raw message.

drivers/media/platform/qcom/iris/iris_vidc.c +6 -4
index d38d0f6961cd5..07682400de690 100644

Lines of this file are not shown. View the raw message.

drivers/memory/mtk-smi.c +3 -0
index 733e22f695ab7..3609bfd3c64be 100644

Lines of this file are not shown. View the raw message.

drivers/net/arcnet/com20020-pci.c +15 -1
index 0472bcdff1307..b5729d6c0b47c 100644

Lines of this file are not shown. View the raw message.

drivers/net/bonding/bond_main.c +7 -2
index dba8f68690947..55f98d6254af8 100644

Lines of this file are not shown. View the raw message.

drivers/net/bonding/bond_options.c +2 -0
index f1c6e9d8f6167..adc216df43459 100644

Lines of this file are not shown. View the raw message.

drivers/net/can/spi/mcp251x.c +14 -1
index b797e08499d70..b46262e791301 100644

Lines of this file are not shown. View the raw message.

drivers/net/can/usb/ems_usb.c +6 -1
index fac8ac79df59f..d8c881130e900 100644

Lines of this file are not shown. View the raw message.

drivers/net/can/usb/etas_es58x/es58x_core.c +7 -1
index 6eeba9baa1317..1e44bd1dfee9b 100644

Lines of this file are not shown. View the raw message.

drivers/net/can/usb/f81604.c +40 -5

45 lines not on this page · raw message

drivers/net/can/usb/ucan.c +1 -1
index 07406daf7c88e..6c90b4a7d955a 100644

Lines of this file are not shown. View the raw message.

drivers/net/dsa/realtek/rtl8365mb.c +1 -1
index 964a56ee16cc9..d06b384d47643 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/amd/xgbe/xgbe-common.h +1 -1
index 62b01de93db49..826c5caa70d71 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/amd/xgbe/xgbe-drv.c +0 -10
index ba5e728ae6308..89ece3dbd773a 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/amd/xgbe/xgbe-main.c +0 -1
index d1f0419edb234..7d45ea22a02e2 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/amd/xgbe/xgbe.h +0 -3
index e8bbb68059013..6fec51a065e22 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c +2 -1
index 78e21b46a5ba8..e212a014c8d41 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/freescale/enetc/enetc.c +1 -1
index b6e3fb0401619..d97a76718dd89 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/google/gve/gve_tx_dqo.c +25 -31

56 lines not on this page · raw message

drivers/net/ethernet/intel/e1000e/defines.h +1 -0
index ba331899d1861..d4a1041e456dc 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/e1000e/ich8lan.c +9 -0
index df4e7d781cb1c..f9328caefe44b 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/i40e/i40e_main.c +24 -17

41 lines not on this page · raw message

drivers/net/ethernet/intel/i40e/i40e_trace.h +1 -1
index 759f3d1c4c8f0..dde0ccd789ed1 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/i40e/i40e_txrx.c +3 -2
index cc0b9efc2637a..816179c7e2712 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/iavf/iavf_main.c +16 -1
index 4b0fc8f354bc9..53a0366fbf998 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/ice/ice.h +1 -0
index a23ccd4ba08d2..6886188043764 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/ice/ice_common.c +1 -1
index eb148c8d9e083..95160c8dc1bba 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/ice/ice_idc.c +34 -10

44 lines not on this page · raw message

drivers/net/ethernet/intel/ice/ice_main.c +6 -1
index f2b91f7f87861..a4ae032f2161b 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/idpf/idpf_ethtool.c +0 -3
index 3e191cf528b69..6c0a9296eccc8 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/idpf/idpf_txrx.c +4 -4
index a48088eb9b822..c859665b2dc89 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/igb/igb_xsk.c +30 -8
index 30ce5fbb5b776..ce4a7b58cad2f 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/libie/fwlog.c +4 -0
index f39cc11cb7c56..5d890d9d3c4d5 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/marvell/octeon_ep/octep_main.c +28 -12
index 57db7ea2f5be9..16f52d4b11e91 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/marvell/octeon_ep/octep_rx.c +19 -8
index f2a7c6a76c742..74de19166488f 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_main.c +28 -10
index 1d9760b4b8f47..a3c359124887e 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_rx.c +20 -8
index 6f865dbbba6c6..b579d5b545c46 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/mediatek/mtk_eth_soc.c +12 -3
index e68997a29191b..8d3e15bc867d2 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/stmicro/stmmac/common.h +0 -1
index 23ec3a59ca8f1..9e012720a69fa 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c +0 -4
index b2194e414ec1f..47fda982d6b15 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/stmicro/stmmac/dwmac-loongson.c +0 -7
index 47bc3aeee857d..ab431bf9b25f2 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/stmicro/stmmac/stmmac.h +1 -2
index 7ca5477be390b..865531d6cd3b8 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/stmicro/stmmac/stmmac_main.c +47 -42

89 lines not on this page · raw message

drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c +0 -8
index fbb92cc6ab598..0cb51935c4056 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/stmicro/stmmac/stmmac_vlan.c +31 -29

60 lines not on this page · raw message

drivers/net/ethernet/ti/am65-cpsw-nuss.c +1 -1
index 110eb2da8dbc1..77c2cf61c1fb4 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/ti/cpsw_ale.c +4 -5
index fbe35af615a6f..9632ad3741de1 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/ti/icssg/icssg_prueth.c +8 -0
index e42d0fdefee12..07489564270b2 100644

Lines of this file are not shown. View the raw message.

drivers/net/phy/phy_device.c +17 -8
index 7a67c900e79a5..2353d6eced68d 100644

Lines of this file are not shown. View the raw message.

drivers/net/usb/kalmia.c +7 -0
index 613fc6910f148..ee9c48f7f68f9 100644

Lines of this file are not shown. View the raw message.

drivers/net/usb/kaweth.c +13 -0
index e01d14f6c3667..cb2472b59e104 100644

Lines of this file are not shown. View the raw message.

drivers/net/usb/pegasus.c +12 -1
index 0f16a133c75d1..475b066081c7f 100644

Lines of this file are not shown. View the raw message.

drivers/net/vxlan/vxlan_core.c +5 -0
index e957aa12a8a44..2a140be86bafc 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/ath/ath11k/mhi.c +0 -4
index acd76e9392d31..d2c44f7f9b622 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/ath/ath12k/mhi.c +0 -4
index 08f44baf182a5..2dbdb95ae7bea 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/marvell/libertas/main.c +2 -2
index d44e02c6fe385..dd97f1b61f4d1 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/mediatek/mt76/mt76_connac_mac.c +1 -0
index 0db00efe88b0b..837bd0f136fa1 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/mediatek/mt76/mt7925/mac.c +1 -0
index 1e44e96f034e9..e880f3820a1ad 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/mediatek/mt76/mt7996/mac.c +1 -0
index 502136691a69e..0958961d2758e 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/rsi/rsi_91x_mac80211.c +1 -1
index 8c8e074a3a705..c7ae8031436ae 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/st/cw1200/pm.c +2 -0
index 2002e3f9fe45b..b656afe65db07 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/ti/wlcore/main.c +2 -2
index 6116a8522d960..bdb06584d7e45 100644

Lines of this file are not shown. View the raw message.

drivers/nfc/pn533/usb.c +1 -0
index 018a80674f06e..0f12f86ebb023 100644

Lines of this file are not shown. View the raw message.

drivers/nvme/host/core.c +7 -0
index f1f719351f3f2..2ba7244fdaf1c 100644

Lines of this file are not shown. View the raw message.

drivers/nvme/host/multipath.c +5 -7
index e35eccacee8c8..81ccdd91f7790 100644

Lines of this file are not shown. View the raw message.

drivers/nvme/host/pr.c +7 -3
index ca6a74607b139..fe7dbe2648158 100644

Lines of this file are not shown. View the raw message.

drivers/nvme/target/fcloop.c +11 -4
index 5dffcc5becae8..305ab7ee6e760 100644

Lines of this file are not shown. View the raw message.

drivers/pci/controller/cadence/pci-j721e.c +28 -29

57 lines not on this page · raw message

drivers/pci/controller/cadence/pcie-cadence.c +2 -2
index bd683d0fecb22..d614452861f77 100644

Lines of this file are not shown. View the raw message.

drivers/pci/controller/dwc/pcie-designware-debugfs.c +2 -0
index 0fbf86c0b97e0..df98fee69892b 100644

Lines of this file are not shown. View the raw message.

drivers/pci/controller/dwc/pcie-designware-ep.c +33 -53

86 lines not on this page · raw message

drivers/pci/controller/dwc/pcie-designware-host.c +2 -0
index 925d5f818f12b..894bf23529df5 100644

Lines of this file are not shown. View the raw message.

drivers/pci/controller/dwc/pcie-designware.c +80 -3

83 lines not on this page · raw message

drivers/pci/controller/dwc/pcie-designware.h +8 -7
index 96e89046614da..d32ee1fa3cf85 100644

Lines of this file are not shown. View the raw message.

drivers/pci/controller/dwc/pcie-dw-rockchip.c +68 -62

130 lines not on this page · raw message

drivers/pci/controller/dwc/pcie-qcom.c +2 -0
index 5311cd5d96372..789cc0e3c10da 100644

Lines of this file are not shown. View the raw message.

drivers/pci/controller/dwc/pcie-tegra194.c +3 -0
index 10e74458e667b..3934757baa30c 100644

Lines of this file are not shown. View the raw message.

drivers/pci/pci.c +4 -4
index d4e70570d09f2..e128696d5b761 100644

Lines of this file are not shown. View the raw message.

drivers/pci/pci.h +19 -4
index 36cf1ffb2023c..5510c103be2d3 100644

Lines of this file are not shown. View the raw message.

drivers/pinctrl/cirrus/pinctrl-cs42l43.c +2 -3
index a8f82104a3842..227c37c360e19 100644

Lines of this file are not shown. View the raw message.

drivers/pinctrl/meson/pinctrl-amlogic-a4.c +69 -1

70 lines not on this page · raw message

drivers/pinctrl/pinconf-generic.c +0 -69

69 lines not on this page · raw message

drivers/pinctrl/pinctrl-equilibrium.c +19 -12
index 48b55c5bf8d4f..ba1c867b7b891 100644

Lines of this file are not shown. View the raw message.

drivers/pinctrl/qcom/pinctrl-qcs615.c +1 -0
index 4dfa820d4e77c..f1c827ddbfbfa 100644

Lines of this file are not shown. View the raw message.

drivers/platform/x86/dell/alienware-wmi-wmax.c +1 -1
index 01af6dde9057f..fdae40689f178 100644

Lines of this file are not shown. View the raw message.

drivers/platform/x86/dell/dell-wmi-base.c +6 -0
index 28076929d6af5..907f1da01c8db 100644

Lines of this file are not shown. View the raw message.

drivers/platform/x86/dell/dell-wmi-sysman/passwordattr-interface.c +0 -1
index 86ec962aace9b..e586f7957946b 100644

Lines of this file are not shown. View the raw message.

drivers/platform/x86/hp/hp-bioscfg/enum-attributes.c +6 -3
index f346aad8e9d89..af4d1920d4880 100644

Lines of this file are not shown. View the raw message.

drivers/platform/x86/lenovo/thinkpad_acpi.c +4 -2
index cc19fe520ea96..075543cd0e77e 100644

Lines of this file are not shown. View the raw message.

drivers/regulator/bq257xx-regulator.c +1 -2
index fc1ccede44688..dab8f1ab44503 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/lpfc/lpfc_init.c +2 -0
index 065eb91de9c0f..adc0beaf5468f 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/lpfc/lpfc_sli.c +30 -6
index 7ea7c4245c691..7b765719f4f6b 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/lpfc/lpfc_sli4.h +3 -0
index fd6dab1578872..40f313e2769fc 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/pm8001/pm8001_sas.c +3 -2
index 6a8d35aea93a5..645524f3fe2d0 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/scsi_scan.c +1 -0
index 3c6e089e80c38..f405ef9c0e1e8 100644

Lines of this file are not shown. View the raw message.

drivers/spi/spi-stm32.c +3 -0
index 80986bd251d29..7a6ee93be9bd4 100644

Lines of this file are not shown. View the raw message.

drivers/staging/media/tegra-video/vi.c +8 -5
index c9276ff76157f..14b327afe045e 100644

Lines of this file are not shown. View the raw message.

drivers/target/target_core_configfs.c +6 -9
index 1bd28482e7cb3..a2bd2e81d2c68 100644

Lines of this file are not shown. View the raw message.

drivers/ufs/core/ufshcd.c +9 -9
index 755aa9c0017df..dae23ec4fcea8 100644

Lines of this file are not shown. View the raw message.

drivers/usb/gadget/function/f_ncm.c +63 -65

128 lines not on this page · raw message

drivers/usb/gadget/function/u_ether.c +45 -0

45 lines not on this page · raw message

drivers/usb/gadget/function/u_ether.h +30 -0
index 34be220cef77c..a212a8ec5eb1b 100644

Lines of this file are not shown. View the raw message.

drivers/usb/gadget/function/u_ether_configfs.h +176 -0

176 lines not on this page · raw message

drivers/usb/gadget/function/u_ncm.h +3 -1
index 49ec095cdb4b6..d99330fe31e88 100644

Lines of this file are not shown. View the raw message.

drivers/xen/xen-acpi-processor.c +2 -5
index 2967039398463..520756159d3d3 100644

Lines of this file are not shown. View the raw message.

fs/btrfs/delayed-inode.c +1 -1
index 59b489d7e4b58..ea48706a3d810 100644

Lines of this file are not shown. View the raw message.

fs/btrfs/disk-io.c +3 -3
index 3fd5d6a27d4c0..9c3a944cbc24a 100644

Lines of this file are not shown. View the raw message.

fs/btrfs/inode.c +1 -1
index 47e762856521d..2799b10592d5a 100644

Lines of this file are not shown. View the raw message.

fs/btrfs/ioctl.c +6 -1
index 9a34d6530658e..736a1b3170700 100644

Lines of this file are not shown. View the raw message.

fs/btrfs/misc.h +7 -0
index 60f9b000d644b..a82032c66ccd3 100644

Lines of this file are not shown. View the raw message.

fs/btrfs/scrub.c +1 -1
index 747e2c748376a..16936d17166ee 100644

Lines of this file are not shown. View the raw message.

fs/btrfs/tree-checker.c +2 -2
index c10b4c242acfc..420c0f0e17c85 100644

Lines of this file are not shown. View the raw message.

fs/btrfs/zoned.c +179 -15

194 lines not on this page · raw message

fs/eventpoll.c +3 -2
index ee7c4b683ec3d..bcc7dcbefc419 100644

Lines of this file are not shown. View the raw message.

fs/ext4/extents.c +12 -8
index 88187fddc6424..3ff8dcdd80ce9 100644

Lines of this file are not shown. View the raw message.

fs/namespace.c +15 -5
index b312905c2be5b..8531b8deee416 100644

Lines of this file are not shown. View the raw message.

fs/netfs/direct_write.c +212 -16

228 lines not on this page · raw message

fs/netfs/internal.h +3 -1
index 4319611f53544..d436e20d34185 100644

Lines of this file are not shown. View the raw message.

fs/netfs/write_collect.c +0 -21
index 61eab34ea67ef..83eb3dc1adf8a 100644

Lines of this file are not shown. View the raw message.

fs/netfs/write_issue.c +3 -38

41 lines not on this page · raw message

fs/nfsd/nfsctl.c +1 -1
index 8cbfb9dc3abb7..5b00b7a863b94 100644

Lines of this file are not shown. View the raw message.

fs/smb/client/connect.c +0 -1
index d96d23a8f4903..dd7f48f530979 100644

Lines of this file are not shown. View the raw message.

fs/smb/client/smb2inode.c +5 -3
index 69cb81fa0d3ab..a5f9f73ac91b9 100644

Lines of this file are not shown. View the raw message.

fs/smb/client/smb2pdu.c +11 -13
index 1ef82408ecad6..309e2fcabc087 100644

Lines of this file are not shown. View the raw message.

fs/smb/client/transport.c +10 -11
index 915cedde5d664..2d7140767dc43 100644

Lines of this file are not shown. View the raw message.

fs/smb/server/smb2pdu.c +2 -2
index bf8c480594367..e52b9136abbff 100644

Lines of this file are not shown. View the raw message.

fs/squashfs/cache.c +3 -0
index 181260e72680c..92fb857d2c761 100644

Lines of this file are not shown. View the raw message.

fs/xfs/scrub/orphanage.c +6 -1
index 9c12cb8442311..3c4f3b542c20f 100644

Lines of this file are not shown. View the raw message.

fs/xfs/xfs_notify_failure.c +2 -2
index b176728899420..0700a723f38e7 100644

Lines of this file are not shown. View the raw message.

include/asm-generic/vmlinux.lds.h +3 -1
index e04d56a5332e6..6640e06ef2f13 100644

Lines of this file are not shown. View the raw message.

include/cxl/event.h +10 -0
index 6fd90f9cc2034..4d7d1036ea9cb 100644

Lines of this file are not shown. View the raw message.

include/linux/indirect_call_wrapper.h +11 -7
index 35227d47cfc98..dc272b514a01b 100644

Lines of this file are not shown. View the raw message.

include/linux/netdevice.h +22 -5
index 3d9f21274dc32..8bb7b0e2c5438 100644

Lines of this file are not shown. View the raw message.

include/linux/pinctrl/pinconf-generic.h +0 -5
index d9245ecec71dc..4e22aa44bcd4c 100644

Lines of this file are not shown. View the raw message.

include/linux/pm.h +1 -1
index cc7b2dc28574c..12782f775a17e 100644

Lines of this file are not shown. View the raw message.

include/linux/ring_buffer.h +1 -0
index 876358cfe1b12..d862fa610270b 100644

Lines of this file are not shown. View the raw message.

include/linux/sched.h +1 -0
index 6ad294330c0b6..3e2005e9e2f0b 100644

Lines of this file are not shown. View the raw message.

include/linux/stmmac.h +0 -1
index 151c81c560c8c..7e989d0edead2 100644

Lines of this file are not shown. View the raw message.

include/linux/tnum.h +8 -0
index c52b862dad45b..ca2cfec8de08a 100644

Lines of this file are not shown. View the raw message.

include/linux/unwind_user_types.h +2 -0
index a449f15be8902..412729a269bcc 100644

Lines of this file are not shown. View the raw message.

include/linux/uprobes.h +1 -0
index ee3d36eda45dd..f548fea2adec8 100644

Lines of this file are not shown. View the raw message.

include/net/bonding.h +1 -0
index 4620784035570..99c1bdadcd11a 100644

Lines of this file are not shown. View the raw message.

include/net/inet6_hashtables.h +1 -1
index 282e29237d936..c16de5b7963fd 100644

Lines of this file are not shown. View the raw message.

include/net/inet_hashtables.h +1 -1
index ac05a52d9e138..5a979dcab5383 100644

Lines of this file are not shown. View the raw message.

include/net/ip.h +1 -1
index 380afb691c419..1ce79e62a76fb 100644

Lines of this file are not shown. View the raw message.

include/net/ip_fib.h +1 -1
index b4495c38e0a01..318593743b6e1 100644

Lines of this file are not shown. View the raw message.

include/net/netfilter/nf_tables.h +7 -4
index 05f57ba622447..c18cffafc9696 100644

Lines of this file are not shown. View the raw message.

include/net/sch_generic.h +10 -0
index 738cd5b13c62f..1518454c906e1 100644

Lines of this file are not shown. View the raw message.

include/net/secure_seq.h +38 -7

45 lines not on this page · raw message

include/net/tc_act/tc_ife.h +1 -3
index c7f24a2da1cad..24d4d5a62b3c2 100644

Lines of this file are not shown. View the raw message.

include/net/tcp.h +4 -2
index aa4d24c42a270..7647ed5c732c1 100644

Lines of this file are not shown. View the raw message.

include/net/xdp_sock_drv.h +13 -3
index 4f2d3268a6769..33e072768de9d 100644

Lines of this file are not shown. View the raw message.

include/trace/events/netfs.h +3 -1
index 64a382fbc31a8..2d366be46a1c3 100644

Lines of this file are not shown. View the raw message.

include/uapi/drm/drm_fourcc.h +6 -6
index e527b24bd824b..c89aede3cb120 100644

Lines of this file are not shown. View the raw message.

include/uapi/linux/pci_regs.h +1 -1
index 07e06aafec502..1172bda87abff 100644

Lines of this file are not shown. View the raw message.

kernel/bpf/cpumap.c +15 -2
index 703e5df1f4ef9..306bf98378041 100644

Lines of this file are not shown. View the raw message.

kernel/bpf/devmap.c +38 -9

47 lines not on this page · raw message

kernel/bpf/tnum.c +72 -0

72 lines not on this page · raw message

kernel/bpf/trampoline.c +1 -3
index 04104397c432e..40f19147f227e 100644

Lines of this file are not shown. View the raw message.

kernel/bpf/verifier.c +97 -6

103 lines not on this page · raw message

kernel/cgroup/cpuset.c +1 -1
index abaa54037918a..08b0c264bd268 100644

Lines of this file are not shown. View the raw message.

kernel/events/core.c +62 -21

83 lines not on this page · raw message

kernel/events/uprobes.c +7 -3
index 4f42e7af575f5..725c5772429dc 100644

Lines of this file are not shown. View the raw message.

kernel/module/main.c +0 -6
index c66b261849362..a2c798d06e3f5 100644

Lines of this file are not shown. View the raw message.

kernel/rseq.c +3 -2
index 2452b7366b00e..07b0b46ec640f 100644

Lines of this file are not shown. View the raw message.

kernel/sched/ext_internal.h +1 -1
index 601cfae8cc765..8039a750490f8 100644

Lines of this file are not shown. View the raw message.

kernel/sched/fair.c +174 -64

238 lines not on this page · raw message

kernel/sched/sched.h +2 -2
index 2f8b06b12a98f..ed37ab9209e59 100644

Lines of this file are not shown. View the raw message.

kernel/time/timekeeping.c +4 -2
index 340fef20bdcd0..c7dcccc5f3d6b 100644

Lines of this file are not shown. View the raw message.

kernel/trace/ring_buffer.c +21 -0
index 54d70bd0a3cb9..98ca4beabf023 100644

Lines of this file are not shown. View the raw message.

kernel/trace/trace.c +13 -0
index d2eabc162205c..38fab063c3687 100644

Lines of this file are not shown. View the raw message.

kernel/trace/trace_events_trigger.c +3 -0
index cbfc306c0159a..98b8d5df15c79 100644

Lines of this file are not shown. View the raw message.

kernel/unwind/user.c +48 -11

59 lines not on this page · raw message

lib/Kconfig.debug +1 -0
index 88fa610e83840..21cd68084e468 100644

Lines of this file are not shown. View the raw message.

lib/debugobjects.c +18 -1
index 7f50c4480a4e3..b3151679d0d30 100644

Lines of this file are not shown. View the raw message.

mm/huge_memory.c +3 -0
index 8ad170b9855a5..35ec12c4d7766 100644

Lines of this file are not shown. View the raw message.

mm/slab.h +0 -2
index bf9d8940b8f21..36893299fa67c 100644

Lines of this file are not shown. View the raw message.

mm/slub.c +27 -106

133 lines not on this page · raw message

net/atm/lec.c +15 -11
index afb8d3eb21850..c39dc5d367979 100644

Lines of this file are not shown. View the raw message.

net/bluetooth/hci_sock.c +1 -0
index ad19022ae127a..5295ff001e38c 100644

Lines of this file are not shown. View the raw message.

net/bluetooth/hci_sync.c +1 -1
index cc1d340a32c62..9f01837250a5e 100644

Lines of this file are not shown. View the raw message.

net/bluetooth/iso.c +1 -0
index 616c2fef91d24..46ebd69026fe2 100644

Lines of this file are not shown. View the raw message.

net/bluetooth/l2cap_sock.c +1 -0
index c877fe5aed07d..ab86aeef98d18 100644

Lines of this file are not shown. View the raw message.

net/bluetooth/sco.c +1 -0
index 298c2a9ab4df8..49a47eaa674da 100644

Lines of this file are not shown. View the raw message.

net/bridge/br_device.c +1 -1
index a818fdc22da9a..525d4eccd194a 100644

Lines of this file are not shown. View the raw message.

net/bridge/br_input.c +1 -1
index 1405f1061a549..2cbae0f9ae1f0 100644

Lines of this file are not shown. View the raw message.

net/can/bcm.c +1 -0
index 5e690a2377e48..756acfd20c6c2 100644

Lines of this file are not shown. View the raw message.

net/core/dev.c +2 -5
index 9b57a5b63919c..c8e49eef45198 100644

Lines of this file are not shown. View the raw message.

net/core/devmem.c +4 -2
index 1d04754bc756d..448f6582ac1ae 100644

Lines of this file are not shown. View the raw message.

net/core/filter.c +4 -2
index d93f7dea828e5..3d4bf4d2a1a4b 100644

Lines of this file are not shown. View the raw message.

net/core/netpoll.c +1 -1
index 09f72f10813cc..5af14f14a3623 100644

Lines of this file are not shown. View the raw message.

net/core/secure_seq.c +29 -51

80 lines not on this page · raw message

net/core/skmsg.c +7 -7
index ddde93dd8bc6d..12fbb0545c712 100644

Lines of this file are not shown. View the raw message.

net/ipv4/inet_hashtables.c +4 -4
index b7024e3d9ac3d..a57e33ff92d77 100644

Lines of this file are not shown. View the raw message.

net/ipv4/syncookies.c +8 -3
index 061751aabc8e1..fc3affd9c8014 100644

Lines of this file are not shown. View the raw message.

net/ipv4/sysctl_net_ipv4.c +3 -2
index 24dbc603cc44d..0f1dd75dbf37b 100644

Lines of this file are not shown. View the raw message.

net/ipv4/tcp.c +2 -2
index e35825656e6ea..f665c87edc0f7 100644

Lines of this file are not shown. View the raw message.

net/ipv4/tcp_bpf.c +1 -1
index ca8a5cb8e569d..d3d6a47af5270 100644

Lines of this file are not shown. View the raw message.

net/ipv4/tcp_diag.c +1 -1
index d83efd91f461c..7935702e394b2 100644

Lines of this file are not shown. View the raw message.

net/ipv4/tcp_input.c +15 -23
index abd0d5c5a5e3f..96486eea26724 100644

Lines of this file are not shown. View the raw message.

net/ipv4/tcp_ipv4.c +17 -20
index 0fbf13dcf3c2b..75a11d7feb260 100644

Lines of this file are not shown. View the raw message.

net/ipv4/tcp_minisocks.c +1 -1
index 95c30b6ec44cd..c70c29a3a0905 100644

Lines of this file are not shown. View the raw message.

net/ipv4/udp.c +16 -11
index 860bd61ff047f..024cb4f5978c1 100644

Lines of this file are not shown. View the raw message.

net/ipv4/udp_bpf.c +1 -1
index 91233e37cd97a..779a3a03762f1 100644

Lines of this file are not shown. View the raw message.

net/ipv6/inet6_hashtables.c +2 -1
index 5e1da088d8e11..182d38e6d6d8d 100644

Lines of this file are not shown. View the raw message.

net/ipv6/route.c +5 -6
index cd229974b7974..e01331d965313 100644

Lines of this file are not shown. View the raw message.

net/ipv6/syncookies.c +8 -3
index 7e007f013ec82..4f6f0d751d6c5 100644

Lines of this file are not shown. View the raw message.

net/ipv6/tcp_ipv6.c +17 -20
index 5faa46f4cf9a2..90afe81bc8e5d 100644

Lines of this file are not shown. View the raw message.

net/mac80211/mesh.c +3 -0
index f37068a533f4e..e235ab7a5651c 100644

Lines of this file are not shown. View the raw message.

net/mac80211/mlme.c +3 -0
index 8ba199cd38c0f..f119149bcc1c1 100644

Lines of this file are not shown. View the raw message.

net/mptcp/pm.c +43 -12

55 lines not on this page · raw message

net/mptcp/pm_kernel.c +9 -0
index f47c91141631f..6fd393f451bf4 100644

Lines of this file are not shown. View the raw message.

net/netfilter/nf_tables_api.c +29 -37

66 lines not on this page · raw message

net/netfilter/nft_set_hash.c +1 -0
index 739b992bde591..b0e571c8e3f38 100644

Lines of this file are not shown. View the raw message.

net/netfilter/nft_set_pipapo.c +52 -10

62 lines not on this page · raw message

net/netfilter/nft_set_pipapo.h +2 -0
index eaab422aa56ab..9aee9a9eaeb75 100644

Lines of this file are not shown. View the raw message.

net/netfilter/nft_set_rbtree.c +15 -64

79 lines not on this page · raw message

net/nfc/nci/core.c +27 -3
index e419e020a70a3..d334b7aa8c172 100644

Lines of this file are not shown. View the raw message.

net/nfc/nci/data.c +8 -4
index 78f4131af3cf3..5f98c73db5afd 100644

Lines of this file are not shown. View the raw message.

net/nfc/rawsock.c +11 -0
index 5125392bb68eb..028b4daafaf83 100644

Lines of this file are not shown. View the raw message.

net/qrtr/mhi.c +58 -11

69 lines not on this page · raw message

net/rds/tcp.c +10 -4
index 3cc2f303bf786..b66dfcc3efaa0 100644

Lines of this file are not shown. View the raw message.

net/sched/act_ife.c +44 -49

93 lines not on this page · raw message

net/sched/sch_ets.c +8 -4
index 306e046276d46..a4b07b661b775 100644

Lines of this file are not shown. View the raw message.

net/sched/sch_fq.c +1 -0
index fee922da2f99c..5e41930079948 100644

Lines of this file are not shown. View the raw message.

net/unix/af_unix.c +4 -4
index 9dad3af700af3..79943fb348064 100644

Lines of this file are not shown. View the raw message.

net/wireless/core.c +1 -0
index 2ce6e39926d05..6b204ca91a140 100644

Lines of this file are not shown. View the raw message.

net/wireless/radiotap.c +2 -2
index 326faea38ca38..c85eaa583a466 100644

Lines of this file are not shown. View the raw message.

net/xdp/xsk.c +16 -10
index 69bbcca8ac753..a78cdc3356937 100644

Lines of this file are not shown. View the raw message.

rust/kernel/kunit.rs +8 -0
index 79436509dd73d..8907b6f89ece5 100644

Lines of this file are not shown. View the raw message.

sound/hda/codecs/realtek/alc269.c +4 -1
index 6d3d464f1f6c6..f40e00a578d99 100644

Lines of this file are not shown. View the raw message.

sound/hda/codecs/side-codecs/cs35l56_hda.c +1 -1
index 5bb1c4ebeaf3c..acbacd0766064 100644

Lines of this file are not shown. View the raw message.

sound/hda/controllers/intel.c +2 -0
index a19258c95886c..9306e7a31f02b 100644

Lines of this file are not shown. View the raw message.

sound/soc/fsl/fsl_xcvr.c +37 -52

89 lines not on this page · raw message

sound/soc/sdca/sdca_interrupts.c +2 -2
index 79bf3042f57d4..f83413587da5a 100644

Lines of this file are not shown. View the raw message.

sound/usb/endpoint.c +6 -3
index 3ac1fbec6327e..eff3329d86b7e 100644

Lines of this file are not shown. View the raw message.

sound/usb/mixer_scarlett2.c +3 -7
index bef8c9e544dd3..380beb7ed4cf8 100644

Lines of this file are not shown. View the raw message.

sound/usb/qcom/qc_audio_offload.c +1 -1
index cfb30a195364a..297490f0f5874 100644

Lines of this file are not shown. View the raw message.

sound/usb/quirks.c +2 -1
index 6860b5bd55f1e..c411005cd4d87 100644

Lines of this file are not shown. View the raw message.

sound/usb/stream.c +3 -0
index 5c235a5ba7e1b..3b2526964e4b4 100644

Lines of this file are not shown. View the raw message.

sound/usb/usbaudio.h +6 -0
index 79978cae9799c..085530cf62d92 100644

Lines of this file are not shown. View the raw message.

sound/usb/validate.c +1 -1
index 4bb4893f6e74f..f62b7cc041dc9 100644

Lines of this file are not shown. View the raw message.

tools/testing/kunit/kunit_kernel.py +4 -2
index 260d8d9aa1db4..2998e1bc088b2 100644

Lines of this file are not shown. View the raw message.

tools/testing/kunit/kunit_tool_test.py +26 -0
index bbba921e0eacb..ed45bac1548d9 100755

Lines of this file are not shown. View the raw message.

tools/testing/selftests/arm64/abi/hwcap.c +2 -2
index 3b96d090c5ebe..09a326f375e91 100644

Lines of this file are not shown. View the raw message.

tools/testing/selftests/bpf/prog_tests/reg_bounds.c +1 -1
index d93a0c7b1786f..0322f817d07be 100644

Lines of this file are not shown. View the raw message.

tools/testing/selftests/bpf/progs/dmabuf_iter.c +1 -1
index 13cdb11fdeb2b..9cbb7442646e5 100644

Lines of this file are not shown. View the raw message.

tools/testing/selftests/bpf/progs/exceptions_assert.c +17 -17
index a01c2736890f9..858af5988a38a 100644

Lines of this file are not shown. View the raw message.

tools/testing/selftests/bpf/progs/verifier_scalar_ids.c +42 -14

56 lines not on this page · raw message

tools/testing/selftests/bpf/verifier/precise.c +4 -4
index 59a020c356474..ef3ec56672c22 100644

Lines of this file are not shown. View the raw message.

tools/testing/selftests/kselftest_harness.h +12 -3
index 3f66e862e83eb..fe162cbfc0912 100644

Lines of this file are not shown. View the raw message.

tools/testing/selftests/net/mptcp/mptcp_join.sh +49 -0

49 lines not on this page · raw message

tools/testing/selftests/net/mptcp/simult_flows.sh +7 -4
index 1903e8e84a315..76730e511f92e 100755

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Part of the diff is not shown here. View the raw message.

#2 lore raw

Re: Linux 6.18.17 -- build regression

In reply to Sasha Levin
Quoted 4 lines · Sasha Levin

I'm announcing the release of the 6.18.17 kernel.

All users of the 6.18 kernel series must upgrade.

Hi,

This release breaks my build with the following output:

LD .tmp_vmlinux1
ld: drivers/cxl/acpi.o: in function `add_root_nvdimm_bridge':
acpi.c:(.text+0x16f): undefined reference to `devm_cxl_add_nvdimm_bridge' make[2]: *** [scripts/Makefile.vmlinux:72: vmlinux.unstripped] Error 1 make[1]: *** [/home/cal/linux/kernel/build/linux-6.18.17/Makefile:1242: vmlinux] Error 2
make: *** [Makefile:248: __sub-make] Error 2

I've attached my gzipped config. Commit af9bf9889663 looks possibly guilty, but I don't have time at the moment to fully verify.

Please let me know if I can provide anything else.

Signature · 1 line
Cal Peake
author maintainer
#3 lore raw

Re: Linux 6.18.17 -- build regression

Quoted 18 lines · Cal Peake
Quoted 4 lines · Sasha Levin

I'm announcing the release of the 6.18.17 kernel.

All users of the 6.18 kernel series must upgrade.

Hi,

This release breaks my build with the following output:

LD .tmp_vmlinux1
ld: drivers/cxl/acpi.o: in function `add_root_nvdimm_bridge':
acpi.c:(.text+0x16f): undefined reference to `devm_cxl_add_nvdimm_bridge' make[2]: *** [scripts/Makefile.vmlinux:72: vmlinux.unstripped] Error 1 make[1]: *** [/home/cal/linux/kernel/build/linux-6.18.17/Makefile:1242: vmlinux] Error 2
make: *** [Makefile:248: __sub-make] Error 2

Quoted 4 lines

I've attached my gzipped config. Commit af9bf9889663 looks possibly guilty, but I don't have time at the moment to fully verify.

Please let me know if I can provide anything else.

Hey,

Thanks for the report!

Could you please confirm that cherry-picking 93d0fcdddc9e ("cxl/acpi: Fix CXL_ACPI and CXL_PMEM Kconfig tristate mismatch") fixes the issue you're seeing?

Signature · 2 lines
Thanks,
Sasha
#4 lore raw

Re: Linux 6.18.17 -- build regression

Quoted 25 lines · Sasha Levin
Quoted 19 lines · Cal Peake
Quoted 4 lines · Sasha Levin

I'm announcing the release of the 6.18.17 kernel.

All users of the 6.18 kernel series must upgrade.

Hi,

This release breaks my build with the following output:

LD .tmp_vmlinux1
ld: drivers/cxl/acpi.o: in function `add_root_nvdimm_bridge':
acpi.c:(.text+0x16f): undefined reference to `devm_cxl_add_nvdimm_bridge' make[2]: *** [scripts/Makefile.vmlinux:72: vmlinux.unstripped] Error 1 make[1]: *** [/home/cal/linux/kernel/build/linux-6.18.17/Makefile:1242:
vmlinux] Error 2
make: *** [Makefile:248: __sub-make] Error 2

Quoted 4 lines

I've attached my gzipped config. Commit af9bf9889663 looks possibly guilty, but I don't have time at the moment to fully verify.

Please let me know if I can provide anything else.

Quoted 8 lines

Hey,

Thanks for the report!

Could you please confirm that cherry-picking 93d0fcdddc9e ("cxl/acpi: Fix CXL_ACPI and CXL_PMEM Kconfig tristate mismatch") fixes the issue you're seeing?

Hello Sasha,

Patrick Volkerding found a patch that worked for me:

https://lore.kernel.org/lkml/[email protected]/

In drivers/cxl/acpi.c
static int cxl_acpi_probe(struct platform_device *pdev) it changes IS_ENABLED(CONFIG_CXL_PMEM)
to IS_REACHABLE(CONFIG_CXL_PMEM)

Richard Narron

#5 lore raw

Re: Linux 6.18.17 -- build regression

Quoted 8 lines · Richard Narron
Quoted 4 lines · Sasha Levin

Could you please confirm that cherry-picking 93d0fcdddc9e ("cxl/acpi: Fix CXL_ACPI and CXL_PMEM Kconfig tristate mismatch") fixes the issue you're seeing?

Hello Sasha,

Quoted 9 lines

Patrick Volkerding found a patch that worked for me:

https://lore.kernel.org/lkml/[email protected]/

In drivers/cxl/acpi.c
static int cxl_acpi_probe(struct platform_device *pdev) it changes IS_ENABLED(CONFIG_CXL_PMEM)
to IS_REACHABLE(CONFIG_CXL_PMEM)

Hi Richard, Pat,

Below is the commit that Sasha pointed me to that fixes the issue for me if you'd like to have a look.

Signature · 34 lines
Cal Peake

From 93d0fcdddc9e7be9d4f42acbe57bc90dbb0fe75d Mon Sep 17 00:00:00 2001
From: Keith Busch <[email protected]>
Date: Thu, 5 Mar 2026 12:40:56 -0800
Subject: cxl/acpi: Fix CXL_ACPI and CXL_PMEM Kconfig tristate mismatch

Commit e7e222ad73d9 ("cxl: Move devm_cxl_add_nvdimm_bridge() to
cxl_pmem.ko") moves devm_cxl_add_nvdimm_bridge() into the cxl_pmem file,
which has independent config compile options for built-in or module. The
call from cxl_acpi_probe() is guarded by IS_ENABLED(CONFIG_CXL_PMEM),
which evaluates to true for both =y and =m.

When CONFIG_CXL_PMEM=m, a built-in cxl_acpi attempts to reference a
symbol exported by a module, which fails to link. CXL_PMEM cannot simply
be promoted to =y in this configuration because it depends on LIBNVDIMM,
which may itself be =m.

Add a Kconfig dependency to prevent CXL_ACPI from being built-in when
CXL_PMEM is a module. This contrains CXL_ACPI to =m when CXL_PMEM=m,
while still allowing CXL_ACPI to be freely configured when CXL_PMEM is
either built-in or disabled.

[ dj: Fix up commit reference formatting. ]

Fixes: e7e222ad73d9 ("cxl: Move devm_cxl_add_nvdimm_bridge() to cxl_pmem.ko")
Signed-off-by: Keith Busch <[email protected]>
Reviewed-by: Jonathan Cameron <[email protected]>
Reviewed-by: Dan Williams <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Dave Jiang <[email protected]>
---
 drivers/cxl/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/cxl/Kconfig +1 -0
index 4589bf11d3fe00..80aeb0d556bd76 100644
@@ -59,6 +59,7 @@ config CXL_ACPI
 	tristate "CXL ACPI: Platform Support"
 	depends on ACPI
 	depends on ACPI_NUMA
+	depends on CXL_PMEM || !CXL_PMEM
 	default CXL_BUS
 	select ACPI_TABLE_LIB
 	select ACPI_HMAT
Signature · 1 line
cgit 1.2.3-korg
#6 lore raw

Re: Linux 6.18.17 -- build regression

Quoted 74 lines · Cal Peake
Quoted 8 lines · Richard Narron
Quoted 4 lines · Sasha Levin

Could you please confirm that cherry-picking 93d0fcdddc9e ("cxl/acpi: Fix CXL_ACPI and CXL_PMEM Kconfig tristate mismatch") fixes the issue you're seeing?

Hello Sasha,

Quoted 9 lines

Patrick Volkerding found a patch that worked for me:

https://lore.kernel.org/lkml/[email protected]/

In drivers/cxl/acpi.c
static int cxl_acpi_probe(struct platform_device *pdev) it changes IS_ENABLED(CONFIG_CXL_PMEM)
to IS_REACHABLE(CONFIG_CXL_PMEM)

Hi Richard, Pat,

Below is the commit that Sasha pointed me to that fixes the issue for me if you'd like to have a look.

--
Cal Peake

Quoted 1 line

From 93d0fcdddc9e7be9d4f42acbe57bc90dbb0fe75d Mon Sep 17 00:00:00 2001

From: Keith Busch <[email protected]>
Date: Thu, 5 Mar 2026 12:40:56 -0800
Subject: cxl/acpi: Fix CXL_ACPI and CXL_PMEM Kconfig tristate mismatch

Commit e7e222ad73d9 ("cxl: Move devm_cxl_add_nvdimm_bridge() to cxl_pmem.ko") moves devm_cxl_add_nvdimm_bridge() into the cxl_pmem file, which has independent config compile options for built-in or module. The call from cxl_acpi_probe() is guarded by IS_ENABLED(CONFIG_CXL_PMEM), which evaluates to true for both =y and =m.

When CONFIG_CXL_PMEM=m, a built-in cxl_acpi attempts to reference a symbol exported by a module, which fails to link. CXL_PMEM cannot simply be promoted to =y in this configuration because it depends on LIBNVDIMM, which may itself be =m.

Add a Kconfig dependency to prevent CXL_ACPI from being built-in when CXL_PMEM is a module. This contrains CXL_ACPI to =m when CXL_PMEM=m, while still allowing CXL_ACPI to be freely configured when CXL_PMEM is either built-in or disabled.

[ dj: Fix up commit reference formatting. ]

Fixes e7e222ad73d9 ("cxl: Move devm_cxl_add_nvdimm_bridge() to cxl_pmem.ko")
---
 drivers/cxl/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/cxl/Kconfig +1 -1
index 4589bf11d3fe00..80aeb0d556bd76 100644
@@ -59,6 +59,7 @@ config CXL_ACPI
 	tristate "CXL ACPI: Platform Support"
 	depends on ACPI
 	depends on ACPI_NUMA
+	depends on CXL_PMEM || !CXL_PMEM
 	default CXL_BUS
 	select ACPI_TABLE_LIB
 	select ACPI_HMAT
--
Quoted 3 lines

cgit 1.2.3-korg

Hi Cal and Sasha,

I tested the patch and it gave me a clean build.

Patrick found a "no-patch" configuration solution:

Change CXL_ACPI=y to CXL_ACPI=m

which I also tested and it also gave me a clean build.

#7 lore raw

Re: Linux 6.18.17 -- build regression

In reply to Sasha Levin
Quoted 8 lines · Sasha Levin

Hey,

Thanks for the report!

Could you please confirm that cherry-picking 93d0fcdddc9e ("cxl/acpi: Fix CXL_ACPI and CXL_PMEM Kconfig tristate mismatch") fixes the issue you're seeing?

Hey Sasha, thank you for the reply.

Took me a minute to find that commit :) but, yep, it fixes my build error.

Signature · 1 line
Cal Peake
author maintainer
#8 lore raw

Re: Linux 6.18.17 -- build regression

Quoted 6 lines · Cal Peake
Quoted 4 lines · Sasha Levin

Hey,

Thanks for the report!

Quoted 8 lines
Quoted 4 lines

Could you please confirm that cherry-picking 93d0fcdddc9e ("cxl/acpi: Fix CXL_ACPI and CXL_PMEM Kconfig tristate mismatch") fixes the issue you're seeing?

Hey Sasha, thank you for the reply.

Took me a minute to find that commit :) but, yep, it fixes my build error.

Yes, sorry, I should have pointed to it better since it's not upstream. I dug it up from -next.

Signature · 2 lines
Thanks,
Sasha