Linux 6.18.17
Subsystems (2)
Sasha Levin
maintainer-----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-----
Sasha Levin
maintainerDocumentation/hwmon/aht10.rst +9 -1
@@ -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
@@ -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
@@ -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
@@ -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
@@ -71,6 +71,7 @@ SECTIONS STABS_DEBUG DWARF_DEBUG + MODINFO ELF_DETAILS DISCARDS
arch/arc/kernel/vmlinux.lds.S +1 -0
@@ -123,6 +123,7 @@ SECTIONS _end = . ; STABS_DEBUG + MODINFO ELF_DETAILS DISCARDS
arch/arm/boot/compressed/vmlinux.lds.S +1 -0
@@ -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
@@ -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
@@ -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
@@ -154,6 +154,7 @@ SECTIONS STABS_DEBUG DWARF_DEBUG + MODINFO ARM_DETAILS ARM_ASSERTS
arch/arm/kernel/vmlinux.lds.S +1 -0
@@ -153,6 +153,7 @@ SECTIONS STABS_DEBUG DWARF_DEBUG + MODINFO ARM_DETAILS ARM_ASSERTS
arch/arm64/boot/dts/rockchip/rk3568.dtsi +2 -2
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -349,6 +349,7 @@ SECTIONS STABS_DEBUG DWARF_DEBUG + MODINFO ELF_DETAILS HEAD_SYMBOLS
arch/arm64/kvm/hyp/nvhe/pkvm.c +33 -2
@@ -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 *hreturn 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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -109,6 +109,7 @@ SECTIONS STABS_DEBUG DWARF_DEBUG + MODINFO ELF_DETAILS DISCARDS
arch/hexagon/kernel/vmlinux.lds.S +1 -0
@@ -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
@@ -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
@@ -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
@@ -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
@@ -147,6 +147,7 @@ SECTIONS STABS_DEBUG DWARF_DEBUG + MODINFO ELF_DETAILS #ifdef CONFIG_EFI_STUB
arch/loongarch/mm/tlb.c +0 -1
@@ -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
@@ -85,6 +85,7 @@ SECTIONS { _end = .; STABS_DEBUG + MODINFO ELF_DETAILS /* Sections to be discarded */
arch/m68k/kernel/vmlinux-std.lds +1 -0
@@ -58,6 +58,7 @@ SECTIONS _end = . ; STABS_DEBUG + MODINFO ELF_DETAILS /* Sections to be discarded */
arch/m68k/kernel/vmlinux-sun3.lds +1 -0
@@ -51,6 +51,7 @@ __init_begin = .; _end = . ; STABS_DEBUG + MODINFO ELF_DETAILS /* Sections to be discarded */
arch/mips/kernel/vmlinux.lds.S +1 -0
@@ -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
@@ -57,6 +57,7 @@ SECTIONS STABS_DEBUG DWARF_DEBUG + MODINFO ELF_DETAILS DISCARDS
arch/openrisc/kernel/vmlinux.lds.S +1 -0
@@ -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
@@ -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
@@ -165,6 +165,7 @@ SECTIONS _end = . ; STABS_DEBUG + MODINFO ELF_DETAILS .note 0 : { *(.note) }
arch/powerpc/kernel/vmlinux.lds.S +1 -0
@@ -398,6 +398,7 @@ SECTIONS _end = . ; DWARF_DEBUG + MODINFO ELF_DETAILS DISCARDS
arch/riscv/kernel/vmlinux.lds.S +1 -0
@@ -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
@@ -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
@@ -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
@@ -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
@@ -212,6 +212,7 @@ SECTIONS /* Debugging sections. */ STABS_DEBUG DWARF_DEBUG + MODINFO ELF_DETAILS /*
arch/s390/kernel/vtime.c +2 -16
@@ -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
@@ -89,6 +89,7 @@ SECTIONS STABS_DEBUG DWARF_DEBUG + MODINFO ELF_DETAILS DISCARDS
arch/sparc/kernel/vmlinux.lds.S +1 -0
@@ -191,6 +191,7 @@ SECTIONS STABS_DEBUG DWARF_DEBUG + MODINFO ELF_DETAILS DISCARDS
arch/um/kernel/dyn.lds.S +1 -0
@@ -172,6 +172,7 @@ SECTIONS STABS_DEBUG DWARF_DEBUG + MODINFO ELF_DETAILS DISCARDS
arch/um/kernel/uml.lds.S +1 -0
@@ -113,6 +113,7 @@ SECTIONS STABS_DEBUG DWARF_DEBUG + MODINFO ELF_DETAILS DISCARDS
arch/x86/Kconfig +1 -0
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -332,13 +332,13 @@ static ssize_t ta_if_invoke_debugfs_write(struct file *fp, const char *buf, sizeif (!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, sizemutex_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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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/hid/hid-multitouch.c +38 -5
43 lines not on this page · raw message
drivers/infiniband/hw/ionic/ionic_controlpath.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/mthca/mthca_provider.c +3 -2
Lines of this file are not shown. View the raw message.
drivers/media/platform/qcom/iris/iris_platform_gen2.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/media/platform/qcom/iris/iris_vidc.c +6 -4
Lines of this file are not shown. View the raw message.
drivers/net/can/usb/etas_es58x/es58x_core.c +7 -1
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/ethernet/amd/xgbe/xgbe-common.h +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/amd/xgbe/xgbe-drv.c +0 -10
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/amd/xgbe/xgbe-main.c +0 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/freescale/enetc/enetc.c +1 -1
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
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/e1000e/ich8lan.c +9 -0
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
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/i40e/i40e_txrx.c +3 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/iavf/iavf_main.c +16 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/ice/ice_common.c +1 -1
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
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/idpf/idpf_ethtool.c +0 -3
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/idpf/idpf_txrx.c +4 -4
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/igb/igb_xsk.c +30 -8
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/libie/fwlog.c +4 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/marvell/octeon_ep/octep_main.c +28 -12
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/marvell/octeon_ep/octep_rx.c +19 -8
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_main.c +28 -10
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_rx.c +20 -8
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mediatek/mtk_eth_soc.c +12 -3
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/stmicro/stmmac/common.h +0 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c +0 -4
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/stmicro/stmmac/dwmac-loongson.c +0 -7
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/stmicro/stmmac/stmmac.h +1 -2
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
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
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/ti/icssg/icssg_prueth.c +8 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/marvell/libertas/main.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mediatek/mt76/mt76_connac_mac.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mediatek/mt76/mt7925/mac.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mediatek/mt76/mt7996/mac.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/rsi/rsi_91x_mac80211.c +1 -1
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
Lines of this file are not shown. View the raw message.
drivers/pci/controller/dwc/pcie-designware-debugfs.c +2 -0
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
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
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-tegra194.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/pinctrl/cirrus/pinctrl-cs42l43.c +2 -3
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
Lines of this file are not shown. View the raw message.
drivers/platform/x86/dell/alienware-wmi-wmax.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/platform/x86/dell/dell-wmi-base.c +6 -0
Lines of this file are not shown. View the raw message.
drivers/platform/x86/dell/dell-wmi-sysman/passwordattr-interface.c +0 -1
Lines of this file are not shown. View the raw message.
drivers/platform/x86/hp/hp-bioscfg/enum-attributes.c +6 -3
Lines of this file are not shown. View the raw message.
drivers/platform/x86/lenovo/thinkpad_acpi.c +4 -2
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_configfs.h +176 -0
176 lines not on this page · raw message
fs/btrfs/zoned.c +179 -15
194 lines not on this page · raw message
fs/netfs/direct_write.c +212 -16
228 lines not on this page · raw message
fs/netfs/write_issue.c +3 -38
41 lines not on this page · raw message
include/linux/pinctrl/pinconf-generic.h +0 -5
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
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/verifier.c +97 -6
103 lines not on this page · raw message
kernel/events/core.c +62 -21
83 lines not on this page · raw message
kernel/sched/fair.c +174 -64
238 lines not on this page · raw message
kernel/unwind/user.c +48 -11
59 lines not on this page · raw message
mm/slub.c +27 -106
133 lines not on this page · raw message
net/core/secure_seq.c +29 -51
80 lines not on this page · raw message
net/mptcp/pm.c +43 -12
55 lines not on this page · raw message
net/netfilter/nf_tables_api.c +29 -37
66 lines not on this page · raw message
net/netfilter/nft_set_pipapo.c +52 -10
62 lines not on this page · raw message
net/netfilter/nft_set_rbtree.c +15 -64
79 lines not on this page · raw message
net/qrtr/mhi.c +58 -11
69 lines not on this page · raw message
net/sched/act_ife.c +44 -49
93 lines not on this page · raw message
sound/hda/codecs/side-codecs/cs35l56_hda.c +1 -1
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
tools/testing/kunit/kunit_tool_test.py +26 -0
Lines of this file are not shown. View the raw message.
tools/testing/selftests/arm64/abi/hwcap.c +2 -2
Lines of this file are not shown. View the raw message.
tools/testing/selftests/bpf/prog_tests/reg_bounds.c +1 -1
Lines of this file are not shown. View the raw message.
tools/testing/selftests/bpf/progs/dmabuf_iter.c +1 -1
Lines of this file are not shown. View the raw message.
tools/testing/selftests/bpf/progs/exceptions_assert.c +17 -17
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
Lines of this file are not shown. View the raw message.
tools/testing/selftests/kselftest_harness.h +12 -3
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
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.
Re: Linux 6.18.17 -- build regression
In reply to Sasha LevinQuoted 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
Sasha Levin
maintainerRe: 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
af9bf9889663looks 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
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 2Quoted 4 lines
I've attached my gzipped config. Commit
af9bf9889663looks 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: FixCXL_ACPIandCXL_PMEMKconfigtristate 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
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: FixCXL_ACPIandCXL_PMEMKconfigtristate 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 intcxl_acpi_probe(struct platform_device *pdev)it changesIS_ENABLED(CONFIG_CXL_PMEM)
toIS_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
@@ -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
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: FixCXL_ACPIandCXL_PMEMKconfigtristate 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 intcxl_acpi_probe(struct platform_device *pdev)it changesIS_ENABLED(CONFIG_CXL_PMEM)
toIS_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 PeakeQuoted 1 line
From
93d0fcdddc9e7be9d4f42acbe57bc90dbb0fe75dMon Sep 17 00:00:00 2001From: Keith Busch <[email protected]>
Date: Thu, 5 Mar 2026 12:40:56 -0800
Subject: cxl/acpi: FixCXL_ACPIandCXL_PMEMKconfigtristate mismatchCommit
e7e222ad73d9("cxl: Movedevm_cxl_add_nvdimm_bridge()to cxl_pmem.ko") movesdevm_cxl_add_nvdimm_bridge()into thecxl_pmemfile, which has independent config compile options for built-in or module. The call fromcxl_acpi_probe()is guarded byIS_ENABLED(CONFIG_CXL_PMEM), which evaluates to true for both =y and =m.When
CONFIG_CXL_PMEM=m, a built-incxl_acpiattempts to reference a symbol exported by a module, which fails to link.CXL_PMEMcannot simply be promoted to =y in this configuration because it depends on LIBNVDIMM, which may itself be =m.Add a
Kconfigdependency to preventCXL_ACPIfrom being built-in whenCXL_PMEMis a module. This contrainsCXL_ACPIto =m when CXL_PMEM=m, while still allowingCXL_ACPIto be freely configured whenCXL_PMEMis 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]>Signed-off-by Dave Jiang <[email protected]>--- drivers/cxl/Kconfig | 1 + 1 file changed, 1 insertion(+)drivers/cxl/Kconfig +1
-1@@ -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.
Re: Linux 6.18.17 -- build regression
In reply to Sasha LevinQuoted 8 lines · Sasha Levin
Hey,
Thanks for the report!
Could you please confirm that cherry-picking
93d0fcdddc9e("cxl/acpi: FixCXL_ACPIandCXL_PMEMKconfigtristate 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
Sasha Levin
maintainerRe: 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: FixCXL_ACPIandCXL_PMEMKconfigtristate 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