Skip to contentSkip to conversation

Linux 6.14.4

DISCUSSION Greg Kroah-Hartman 1 participant 2 messages Apr 25, 2025 Stable branch

lore
Share & tools
lore

Greg Kroah-Hartman

author maintainer
#0 lore raw

I'm announcing the release of the 6.14.4 kernel.

All users of the 6.14 kernel series must upgrade.

The updated 6.14.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-6.14.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,

greg k-h

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

 Documentation/arch/arm64/booting.rst                             |   22 +
 Documentation/devicetree/bindings/soc/fsl/fsl,ls1028a-reset.yaml |    2 
 Documentation/netlink/specs/ovs_vport.yaml                       |    4 
 Documentation/netlink/specs/rt_link.yaml                         |   20 -
 Documentation/netlink/specs/rt_neigh.yaml                        |   14 
 Documentation/wmi/devices/msi-wmi-platform.rst                   |    4 
 Makefile                                                         |    3 
 arch/arm64/include/asm/el2_setup.h                               |   25 +
 arch/arm64/tools/sysreg                                          |  103 ++++++
 arch/mips/dec/prom/init.c                                        |    2 
 arch/mips/include/asm/ds1287.h                                   |    2 
 arch/mips/kernel/cevt-ds1287.c                                   |    1 
 arch/riscv/include/asm/kgdb.h                                    |    9 
 arch/riscv/include/asm/syscall.h                                 |    7 
 arch/riscv/kernel/kgdb.c                                         |    6 
 arch/riscv/kernel/module-sections.c                              |   13 
 arch/riscv/kernel/module.c                                       |   11 
 arch/riscv/kernel/setup.c                                        |   36 ++
 arch/x86/boot/compressed/mem.c                                   |    5 
 arch/x86/boot/compressed/sev.c                                   |   67 ----
 arch/x86/boot/compressed/sev.h                                   |    2 
 arch/x86/events/intel/ds.c                                       |    8 
 arch/x86/events/intel/uncore_snbep.c                             |  107 ------
 arch/x86/kernel/cpu/amd.c                                        |   19 -
 arch/x86/kernel/cpu/microcode/amd.c                              |    9 
 arch/x86/xen/multicalls.c                                        |   26 -
 arch/x86/xen/smp_pv.c                                            |    1 
 arch/x86/xen/xen-ops.h                                           |    3 
 block/bio-integrity.c                                            |   17 -
 block/blk-sysfs.c                                                |    2 
 drivers/accel/ivpu/ivpu_drv.c                                    |    4 
 drivers/accel/ivpu/ivpu_fw.c                                     |    3 
 drivers/accel/ivpu/ivpu_hw.h                                     |   11 
 drivers/accel/ivpu/ivpu_hw_btrs.c                                |  126 +++-----
 drivers/accel/ivpu/ivpu_hw_btrs.h                                |    6 
 drivers/ata/libata-sata.c                                        |   15 
 drivers/block/loop.c                                             |  121 +------
 drivers/bluetooth/btqca.c                                        |    2 
 drivers/bluetooth/btrtl.c                                        |    2 
 drivers/bluetooth/hci_vhci.c                                     |   10 
 drivers/cpufreq/cpufreq.c                                        |    8 
 drivers/crypto/caam/qi.c                                         |    6 
 drivers/crypto/tegra/tegra-se-aes.c                              |    5 
 drivers/dma-buf/sw_sync.c                                        |   19 -
 drivers/firmware/cirrus/test/cs_dsp_mock_mem_maps.c              |   30 -
 drivers/firmware/cirrus/test/cs_dsp_test_bin.c                   |    2 
 drivers/firmware/cirrus/test/cs_dsp_test_bin_error.c             |    2 
 drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c                         |   34 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c                       |    2 
 drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c                      |    2 
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c                          |   44 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c                       |    4 
 drivers/gpu/drm/amd/amdgpu/mes_v11_0.c                           |    4 
 drivers/gpu/drm/amd/amdgpu/mes_v12_0.c                           |   21 -
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c                |   64 +++-
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c           |    6 
 drivers/gpu/drm/amd/display/dc/dml2/dml21/dml21_wrapper.c        |   28 +
 drivers/gpu/drm/amd/display/dc/dml2/dml2_wrapper.c               |   15 
 drivers/gpu/drm/amd/display/dc/hwss/dcn20/dcn20_hwseq.c          |    6 
 drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c        |    7 
 drivers/gpu/drm/amd/display/dc/resource/dcn31/dcn31_resource.c   |    2 
 drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_thermal.c            |    4 
 drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega10_thermal.c          |    4 
 drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_thermal.c          |    2 
 drivers/gpu/drm/amd/pm/swsmu/smu11/arcturus_ppt.c                |    3 
 drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c                   |    2 
 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c                   |    2 
 drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0_2_ppt.c             |   55 +++
 drivers/gpu/drm/ast/ast_dp.c                                     |    6 
 drivers/gpu/drm/i915/display/intel_bw.c                          |   14 
 drivers/gpu/drm/i915/display/intel_display.c                     |    4 
 drivers/gpu/drm/i915/display/intel_display_device.h              |    1 
 drivers/gpu/drm/i915/display/intel_dp.c                          |   56 ++-
 drivers/gpu/drm/i915/display/intel_vblank.c                      |    4 
 drivers/gpu/drm/i915/gvt/opregion.c                              |    7 
 drivers/gpu/drm/i915/i915_drv.h                                  |    1 
 drivers/gpu/drm/i915/soc/intel_dram.c                            |    4 
 drivers/gpu/drm/imagination/pvr_fw.c                             |   27 +
 drivers/gpu/drm/imagination/pvr_job.c                            |    7 
 drivers/gpu/drm/imagination/pvr_queue.c                          |    4 
 drivers/gpu/drm/mgag200/mgag200_mode.c                           |    2 
 drivers/gpu/drm/msm/adreno/a6xx_gmu.c                            |   72 ++--
 drivers/gpu/drm/msm/adreno/a6xx_gpu.c                            |    8 
 drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_1_14_msm8937.h         |    2 
 drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_1_15_msm8917.h         |    1 
 drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_1_16_msm8953.h         |    3 
 drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_1_7_msm8996.h          |    4 
 drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_3_2_sdm660.h           |    3 
 drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_3_3_sdm630.h           |    2 
 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c                        |    3 
 drivers/gpu/drm/msm/dsi/dsi_host.c                               |    9 
 drivers/gpu/drm/msm/registers/adreno/adreno_pm4.xml              |    7 
 drivers/gpu/drm/nouveau/nouveau_bo.c                             |    3 
 drivers/gpu/drm/nouveau/nouveau_gem.c                            |    3 
 drivers/gpu/drm/sti/Makefile                                     |    2 
 drivers/gpu/drm/tiny/repaper.c                                   |    4 
 drivers/gpu/drm/v3d/v3d_sched.c                                  |   16 -
 drivers/gpu/drm/virtio/virtgpu_gem.c                             |   11 
 drivers/gpu/drm/virtio/virtgpu_plane.c                           |   20 -
 drivers/gpu/drm/xe/xe_device_types.h                             |    1 
 drivers/gpu/drm/xe/xe_dma_buf.c                                  |    5 
 drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c                      |   12 
 drivers/gpu/drm/xe/xe_guc_ads.c                                  |   75 ++--
 drivers/gpu/drm/xe/xe_hmm.c                                      |   24 -
 drivers/gpu/drm/xe/xe_migrate.c                                  |    2 
 drivers/i2c/busses/i2c-cros-ec-tunnel.c                          |    3 
 drivers/i2c/i2c-atr.c                                            |    2 
 drivers/infiniband/core/cma.c                                    |    4 
 drivers/infiniband/core/umem_odp.c                               |    6 
 drivers/infiniband/hw/bnxt_re/ib_verbs.c                         |   10 
 drivers/infiniband/hw/hns/hns_roce_main.c                        |    2 
 drivers/infiniband/hw/usnic/usnic_ib_main.c                      |   14 
 drivers/md/md-bitmap.c                                           |    5 
 drivers/md/raid10.c                                              |    1 
 drivers/net/can/rockchip/rockchip_canfd-core.c                   |    7 
 drivers/net/dsa/b53/b53_common.c                                 |   10 
 drivers/net/dsa/mv88e6xxx/chip.c                                 |   13 
 drivers/net/dsa/mv88e6xxx/devlink.c                              |    3 
 drivers/net/ethernet/amd/pds_core/debugfs.c                      |    5 
 drivers/net/ethernet/broadcom/bnxt/bnxt.c                        |    4 
 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c               |    1 
 drivers/net/ethernet/hisilicon/hibmcge/hbg_err.c                 |    3 
 drivers/net/ethernet/hisilicon/hibmcge/hbg_hw.c                  |    7 
 drivers/net/ethernet/hisilicon/hibmcge/hbg_main.c                |    6 
 drivers/net/ethernet/hisilicon/hibmcge/hbg_reg.h                 |    3 
 drivers/net/ethernet/intel/igc/igc.h                             |    1 
 drivers/net/ethernet/intel/igc/igc_defines.h                     |    6 
 drivers/net/ethernet/intel/igc/igc_main.c                        |    1 
 drivers/net/ethernet/intel/igc/igc_ptp.c                         |  113 ++++---
 drivers/net/ethernet/marvell/octeontx2/nic/rep.c                 |    2 
 drivers/net/ethernet/mediatek/mtk_eth_soc.c                      |   49 +--
 drivers/net/ethernet/mediatek/mtk_eth_soc.h                      |    1 
 drivers/net/ethernet/ti/am65-cpsw-nuss.c                         |   15 
 drivers/net/ethernet/ti/icssg/icss_iep.c                         |  154 ++++++----
 drivers/net/ethernet/wangxun/ngbe/ngbe_main.c                    |    3 
 drivers/net/ethernet/wangxun/txgbe/txgbe_main.c                  |    3 
 drivers/net/wireless/ath/ath12k/dp_mon.c                         |    4 
 drivers/net/wireless/atmel/at76c50x-usb.c                        |    2 
 drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c        |    4 
 drivers/net/wireless/intel/iwlwifi/pcie/trans-gen2.c             |    8 
 drivers/net/wireless/ti/wl1251/tx.c                              |    4 
 drivers/nvme/target/fc.c                                         |   14 
 drivers/nvme/target/pci-epf.c                                    |   74 +++-
 drivers/pci/pci.c                                                |    4 
 drivers/platform/mellanox/mlxbf-bootctl.c                        |    4 
 drivers/platform/x86/amd/pmf/auto-mode.c                         |    4 
 drivers/platform/x86/amd/pmf/cnqf.c                              |    8 
 drivers/platform/x86/amd/pmf/core.c                              |   14 
 drivers/platform/x86/amd/pmf/pmf.h                               |    1 
 drivers/platform/x86/amd/pmf/sps.c                               |   12 
 drivers/platform/x86/amd/pmf/tee-if.c                            |    6 
 drivers/platform/x86/asus-laptop.c                               |    9 
 drivers/platform/x86/dell/alienware-wmi.c                        |   56 +++
 drivers/platform/x86/msi-wmi-platform.c                          |   99 ++++--
 drivers/ptp/ptp_ocp.c                                            |    1 
 drivers/ras/amd/atl/internal.h                                   |    3 
 drivers/ras/amd/atl/umc.c                                        |   19 +
 drivers/ras/amd/fmpm.c                                           |    9 
 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c                           |    9 
 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c                           |   14 
 drivers/scsi/megaraid/megaraid_sas_base.c                        |    9 
 drivers/scsi/megaraid/megaraid_sas_fusion.c                      |    5 
 drivers/scsi/scsi_transport_iscsi.c                              |    7 
 drivers/scsi/smartpqi/smartpqi_init.c                            |   13 
 drivers/thermal/intel/int340x_thermal/processor_thermal_rfim.c   |   33 +-
 drivers/ufs/host/ufs-exynos.c                                    |   41 ++
 drivers/ufs/host/ufs-exynos.h                                    |    5 
 fs/Kconfig                                                       |    1 
 fs/btrfs/ioctl.c                                                 |    2 
 fs/btrfs/super.c                                                 |    3 
 fs/eventpoll.c                                                   |   38 +-
 fs/fuse/virtio_fs.c                                              |    3 
 fs/hfs/bnode.c                                                   |    6 
 fs/hfsplus/bnode.c                                               |    6 
 fs/isofs/export.c                                                |    2 
 fs/nfs/Kconfig                                                   |    2 
 fs/nfs/internal.h                                                |    7 
 fs/nfs/nfs4session.h                                             |    4 
 fs/nfsd/Kconfig                                                  |    1 
 fs/nfsd/nfs4state.c                                              |    2 
 fs/nfsd/nfsfh.h                                                  |    7 
 fs/overlayfs/overlayfs.h                                         |    2 
 fs/overlayfs/super.c                                             |    5 
 fs/smb/client/cifsproto.h                                        |    2 
 fs/smb/client/connect.c                                          |   34 --
 fs/smb/client/file.c                                             |   28 +
 fs/smb/server/connection.c                                       |    4 
 fs/smb/server/oplock.c                                           |   29 -
 fs/smb/server/oplock.h                                           |    1 
 fs/smb/server/smb2pdu.c                                          |    4 
 fs/smb/server/transport_ipc.c                                    |    7 
 fs/smb/server/transport_tcp.c                                    |   14 
 fs/smb/server/transport_tcp.h                                    |    1 
 fs/smb/server/vfs.c                                              |    3 
 include/drm/intel/pciids.h                                       |    1 
 include/linux/backing-dev.h                                      |    1 
 include/linux/firmware/cirrus/cs_dsp_test_utils.h                |    1 
 include/linux/nfs.h                                              |    7 
 include/uapi/drm/ivpu_accel.h                                    |    4 
 io_uring/rsrc.c                                                  |   17 +
 kernel/sched/cpufreq_schedutil.c                                 |   46 ++
 kernel/trace/ftrace.c                                            |    7 
 kernel/trace/trace_events_filter.c                               |    4 
 lib/alloc_tag.c                                                  |   15 
 lib/iov_iter.c                                                   |    2 
 lib/string.c                                                     |   13 
 mm/compaction.c                                                  |    6 
 mm/filemap.c                                                     |    1 
 mm/gup.c                                                         |    4 
 mm/memory.c                                                      |    4 
 mm/slub.c                                                        |   10 
 mm/userfaultfd.c                                                 |   13 
 mm/vma.c                                                         |   38 ++
 mm/vma.h                                                         |    9 
 net/bluetooth/hci_event.c                                        |    5 
 net/bluetooth/l2cap_core.c                                       |   21 +
 net/bridge/br_vlan.c                                             |    4 
 net/dsa/dsa.c                                                    |   59 +++
 net/dsa/tag_8021q.c                                              |    2 
 net/ethtool/cmis_cdb.c                                           |    2 
 net/ipv6/route.c                                                 |    1 
 net/mac80211/iface.c                                             |    3 
 net/mctp/af_mctp.c                                               |    3 
 net/netfilter/nf_flow_table_core.c                               |   10 
 net/openvswitch/flow_netlink.c                                   |    3 
 net/smc/af_smc.c                                                 |    5 
 rust/Makefile                                                    |    2 
 rust/helpers/io.c                                                |   34 +-
 scripts/Makefile.compiler                                        |    4 
 scripts/generate_rust_analyzer.py                                |   12 
 sound/pci/hda/Kconfig                                            |    4 
 sound/pci/hda/patch_realtek.c                                    |   23 -
 sound/soc/codecs/cs42l43-jack.c                                  |    3 
 sound/soc/codecs/lpass-wsa-macro.c                               |  117 +++++--
 sound/soc/dwc/dwc-i2s.c                                          |   13 
 sound/soc/fsl/fsl_qmc_audio.c                                    |    3 
 sound/soc/intel/avs/pcm.c                                        |    3 
 sound/soc/intel/boards/sof_sdw.c                                 |    1 
 sound/soc/qcom/lpass.h                                           |    3 
 tools/objtool/check.c                                            |    1 
 tools/perf/util/evsel.c                                          |   22 -
 tools/testing/kunit/qemu_configs/sh.py                           |    4 
 tools/testing/selftests/mincore/mincore_selftest.c               |   16 -
 tools/testing/selftests/mm/charge_reserved_hugetlb.sh            |    4 
 tools/testing/selftests/mm/hugetlb_reparenting_test.sh           |    2 
 tools/testing/shared/linux.c                                     |    4 
 246 files changed, 2157 insertions(+), 1271 deletions(-)

Abdun Nihaal (7):
wifi: at76c50x: fix use after free access in at76_disconnect
wifi: brcmfmac: fix memory leak in brcmf_get_module_param
wifi: wl1251: fix memory leak in wl1251_tx_work
pds_core: fix memory leak in pdsc_debugfs_add_qcq()
net: ngbe: fix memory leak in ngbe_probe() error path
cxgb4: fix memory leak in cxgb4_init_ethtool_filters() error path
net: txgbe: fix memory leak in txgbe_probe() error path

Akhil P Oommen (1):
drm/msm/a6xx: Fix stale rpmh votes from GPU

Akhil R (1):
crypto: tegra - Fix IV usage for AES ECB

Alex Deucher (3):
drm/amdgpu/mes12: optimize MES pipe FW version fetching drm/amdgpu/mes11: optimize MES pipe FW version fetching drm/amd/display/dml2: use vzalloc rather than kzalloc

Alex Williamson (1):
Revert "PCI: Avoid reset when disabled via sysfs"

Alexander Tsoy (1):
Revert "wifi: ath12k: Fix invalid entry fetch in ath12k_dp_mon_srng_process"

Andreas Gruenbacher (1):
writeback: fix false warning in inode_to_wb()

Andrzej Kacprowski (1):
accel/ivpu: Fix the NPU's DPU frequency calculation

Andy Shevchenko (1):
i2c: atr: Fix wrong include

Ankit Nautiyal (3):
drm/i915/vrr: Add vrr.vsync_{start, end} in vrr_params_changed drm/i915/display: Add macro for checking 3 DSC engines drm/i915/dp: Check for HAS_DSC_3ENGINES while configuring DSC slices

Anshuman Khandual (7):
arm64/sysreg: Update register fields for ID_AA64MMFR0_EL1 arm64/sysreg: Add register fields for HDFGRTR2_EL2 arm64/sysreg: Add register fields for HDFGWTR2_EL2 arm64/sysreg: Add register fields for HFGITR2_EL2 arm64/sysreg: Add register fields for HFGRTR2_EL2 arm64/sysreg: Add register fields for HFGWTR2_EL2 arm64/boot: Enable EL2 requirements for FEAT_PMUv3p9

Ard Biesheuvel (1):
x86/boot/sev: Avoid shared GHCB page for early memory acceptance

Armin Wolf (2):
platform/x86: msi-wmi-platform: Rename "data" variable platform/x86: msi-wmi-platform: Workaround a ACPI firmware bug

Aurabindo Pillai (1):
drm/amd/display: Temporarily disable hostvm on DCN31

Baolin Wang (1):
selftests: mincore: fix tmpfs mincore test failure

Baoquan He (1):
mm/gup: fix wrongly calculated returned value in fault_in_safe_writeable()

Björn Töpel (1):
riscv: Properly export reserved regions in /proc/iomem

Bo-Cun Chen (3):
net: ethernet: mtk_eth_soc: reapply mdc divider on reset
net: ethernet: mtk_eth_soc: correct the max weight of the queue limit for 100Mbps
net: ethernet: mtk_eth_soc: revise QDMA packet scheduler settings

Borislav Petkov (AMD) (1):
x86/microcode/AMD: Extend the SHA check to Zen5, block loading of any unreleased standalone Zen5 microcode patches

Brady Norander (1):
ASoC: dwc: always enable/disable i2s irqs

Brendan King (2):
drm/imagination: fix firmware memory leaks
drm/imagination: take paired job reference

Brendan Tam (1):
drm/amd/display: prevent hang on link training fail

Chandrakanth Patil (1):
scsi: megaraid_sas: Block zero-length ATA VPD inquiry

Charles Keepax (1):
ASoC: cs42l43: Reset clamp override on jack removal

Chengchang Tang (1):
RDMA/hns: Fix wrong maximum DMA segment size

Chenyuan Yang (2):
octeontx2-pf: handle otx2_mbox_get_rsp errors drm/msm/dpu: Fix error pointers in dpu_plane_virtual_atomic_check

Chris Bainbridge (1):
drm/nouveau: prime: fix ttm_bo_delayed_delete oops

Christian König (1):
drm/amdgpu: immediately use GTT for new allocations

Christoph Hellwig (1):
loop: stop using vfs_iter_{read,write} for buffered I/O

Christopher S M Hall (6):
igc: fix PTM cycle trigger logic
igc: increase wait time before retrying PTM
igc: move ktime snapshot into PTM retry loop
igc: handle the IGC_PTP_ENABLED flag correctly
igc: cleanup PTP module if probe fails
igc: add lock preventing multiple simultaneous PTM transactions

Chunjie Zhu (1):
smb3 client: fix open hardlink on deferred close file error

Damien Le Moal (2):
nvmet: pci-epf: always fully initialize completion entries
nvmet: pci-epf: clear CC and CSTS when disabling the controller

Damodharam Ammepalli (1):
ethtool: cmis_cdb: use correct rpl size in ethtool_cmis_module_poll()

Dan Carpenter (2):
Bluetooth: btrtl: Prevent potential NULL dereference dma-buf/sw_sync: Decrement refcount on error in sw_sync_ioctl_get_deadline()

Dapeng Mi (1):
perf/x86/intel: Allow to update user space GPRs from PEBS records

David Thompson (1):
mlxbf-bootctl: use sysfs_emit_at() in secure_boot_fuse_state_show()

Denis Arefev (8):
asus-laptop: Fix an uninitialized variable
ksmbd: Prevent integer overflow in calculation of deadtime drm/amd/pm: Prevent division by zero drm/amd/pm/powerplay: Prevent division by zero drm/amd/pm/smu11: Prevent division by zero drm/amd/pm/powerplay/hwmgr/smu7_thermal: Prevent division by zero drm/amd/pm/swsmu/smu13/smu_v13_0: Prevent division by zero drm/amd/pm/powerplay/hwmgr/vega20_thermal: Prevent division by zero

Dmitry Baryshkov (2):
Bluetooth: qca: fix NV variant for one of WCN3950 SoCs drm/msm/dpu: drop rogue intr_tear_rd_ptr values

Dmitry Osipenko (2):
drm/virtio: Don't attach GEM to a non-created context in gem_object_open() drm/virtio: Fix missed dmabuf unpinning in error path of prepare_fb()

Edward Adam Davis (1):
isofs: Prevent the use of too small fid

Eric Biggers (1):
nfs: add missing selections of CONFIG_CRC32

Evgeny Pimenov (1):
ASoC: qcom: Fix sc7280 lpass potential buffer overflow

FUJITA Tomonori (1):
rust: helpers: Remove volatile qualifier from io helpers

Florian Westphal (1):
netfilter: conntrack: fix erronous removal of offload bit

Frédéric Danis (2):
Bluetooth: l2cap: Check encryption key size on incoming connection
Bluetooth: l2cap: Process valid commands in too long frame

Geert Uytterhoeven (1):
dt-bindings: soc: fsl: fsl,ls1028a-reset: Fix maintainer entry

Giuseppe Scrivano (1):
ovl: remove unused forward declaration

Greg Kroah-Hartman (1):

      Linux 6.14.4

Haoxiang Li (1):
drm/msm/dsi: Add check for devm_kstrdup()

Henry Martin (1):
ASoC: Intel: avs: Fix null-ptr-deref in avs_component_probe()

Herbert Xu (1):
crypto: caam/qi - Fix drv_ctx refcount bug

Herve Codina (1):
ASoC: fsl: fsl_qmc_audio: Reset audio data pointers on TRIGGER_START event

Huacai Chen (3):
drm/amd/display: Protect FPU in dml2_validate()/dml21_validate() drm/amd/display: Protect FPU in dml21_copy() drm/amd/display: Protect FPU in dml2_init()/dml21_init()

Ilya Maximets (1):
net: openvswitch: fix nested key length validation in the set() action

Jakub Kicinski (6):
netlink: specs: ovs_vport: align with C codegen capabilities
eth: bnxt: fix missing ring index trim on error path
netlink: specs: rt-link: add an attr layer around alt-ifname
netlink: specs: rtnetlink: attribute naming corrections
netlink: specs: rt-link: adjust mctp attribute naming
netlink: specs: rt-neigh: prefix struct nfmsg members with ndm

Jani Nikula (1):
drm/i915/gvt: fix unterminated-string-initialization warning

Jens Axboe (1):
eventpoll: abstract out ep_try_send_events() helper

Jijie Shao (4):
net: hibmcge: fix incorrect pause frame statistics issue
net: hibmcge: fix incorrect multicast filtering issue
net: hibmcge: fix wrong mtu log issue
net: hibmcge: fix not restore rx pause mac addr after reset issue

Jocelyn Falempe (1):
drm/ast: Fix ast_dp connection status

Joe Damato (1):
eventpoll: Set epoll timeout if it's in the future

Johannes Berg (2):
wifi: iwlwifi: pcie: set state to no-FW before reset handshake Revert "wifi: mac80211: Update skb's control block key in ieee80211_tx_dequeue()"

Johannes Kimmel (1):
btrfs: correctly escape subvol in btrfs_show_options()

Jonas Gorski (2):
net: b53: enable BPDU reception for management port
net: bridge: switchdev: do not notify new brentries as changed

Juergen Gross (1):
xen: fix multicall debug feature

Kailang Yang (1):
ALSA: hda/realtek - Fixed ASUS platform headset Mic issue

Kan Liang (3):
perf/x86/intel/uncore: Fix the scale of IIO free running counters on SNR perf/x86/intel/uncore: Fix the scale of IIO free running counters on ICX perf/x86/intel/uncore: Fix the scale of IIO free running counters on SPR

Kashyap Desai (1):
RDMA/bnxt_re: Fix budget handling of notification queue

Kees Cook (1):
Bluetooth: vhci: Avoid needless snprintf() calls

Kirill A. Shutemov (1):
mm: fix apply_to_existing_page_range()

Kuniyuki Iwashima (3):
smc: Fix lockdep false-positive for IPPROTO_SMC.
Revert "smb: client: Fix netns refcount imbalance causing leaks and use-after-free" Revert "smb: client: fix TCP timers deadlock after rmmod"

Kurt Borja (2):
platform/x86: alienware-wmi-wmax: Add G-Mode support to Alienware m16 R1 platform/x86: alienware-wmi-wmax: Extend support to more laptops

Leo Li (2):
drm/amd/display: Actually do immediate vblank disable drm/amd/display: Increase vblank offdelay for PSR panels

Leon Romanovsky (1):
RDMA/bnxt_re: Remove unusable nq variable

Li Lingfeng (1):
nfsd: decrease sc_count directly if fail to queue dl_recall

Lijo Lazar (1):
drm/amdgpu: Prefer shadow rom when available

Lorenzo Stoakes (1):
mm/vma: add give_up_on_oom option on modify/merge, use in uffd release

Lucas De Marchi (1):
drm/xe: Set LRC addresses before guc load

Luiz Augusto von Dentz (1):
Bluetooth: hci_event: Fix sending MGMT_EV_DEVICE_FOUND for invalid address

Lukas Fischer (1):
scripts: generate_rust_analyzer: Add ffi crate

Mario Limonciello (4):
platform/x86: amd: pmf: Fix STT limits
drm/amd: Handle being compiled without SI or CIK support better drm/amd/display: Add HP Elitebook 645 to the quirk list for eDP on DP1 drm/amd/display: Add HP Probook 445 and 465 to the quirk list for eDP on DP1

Mark Brown (1):
selftests/mm: generate a temporary mountpoint for cgroup filesystem

Martin K. Petersen (1):
block: integrity: Do not call set_page_dirty_lock()

Martin Wilck (1):
scsi: smartpqi: Use is_kdump_kernel() to check for kdump

Matt Johnston (1):
net: mctp: Set SOCK_RCU_FREE

Matt Roper (1):
drm/xe/bmg: Add one additional PCI ID

Matthew Auld (3):
drm/amdgpu/dma_buf: fix page_link check drm/xe/dma_buf: stop relying on placement in unmap drm/xe/userptr: fix notifier vs folio deadlock

Matthew Brost (1):
drm/xe: Use local fence in error path of xe_migrate_clear

Matthew Wilcox (Oracle) (1):
test suite: use %zu to print size_t

Maíra Canal (1):
drm/v3d: Fix Indirect Dispatch configuration for V3D 7.1.6 and later

Meghana Malladi (3):
net: ti: icss-iep: Add pwidth configuration for perout signal
net: ti: icss-iep: Add phase offset configuration for perout signal
net: ti: icss-iep: Fix possible NULL pointer dereference for perout request

Menglong Dong (1):
ftrace: fix incorrect hash size in register_ftrace_direct()

Miaoqian Lin (1):
scsi: iscsi: Fix missing scsi_host_put() in error path

Michael Walle (1):
net: ethernet: ti: am65-cpsw: fix port_np reference counting

Miguel Ojeda (4):
objtool/rust: add one more noreturn Rust function for Rust 1.86.0
rust: kasan/kbuild: fix missing flags on first build
rust: disable clippy::needless_continue
rust: kbuild: use pound to support GNU Make < 4.3

Miklos Szeredi (1):
ovl: don't allow datadir only

Namhyung Kim (1):
perf tools: Remove evsel__handle_error_quirks()

Namjae Jeon (3):
ksmbd: fix use-after-free in __smb2_lease_break_noti()
ksmbd: fix use-after-free in smb_break_all_levII_oplock()
ksmbd: fix the warning from __kernel_write_iter

Nathan Chancellor (1):
riscv: Avoid fortify warning in syscall_get_arguments()

Nikita Zhandarovich (1):
drm/repaper: fix integer overflows in repeat functions

Niklas Cassel (1):
ata: libata-sata: Save all fields from sense data descriptor

P Praneesh (1):
wifi: ath12k: Fix invalid entry fetch in ath12k_dp_mon_srng_process

Pavel Begunkov (1):
io_uring: don't post tag CQEs on file/buffer registration failure

Peter Collingbourne (1):
string: Add load_unaligned_zeropad() code path to sized_strscpy()

Peter Griffin (3):
scsi: ufs: exynos: Move UFS shareability value to drvdata
scsi: ufs: exynos: Disable iocc if dma-coherent property isn't set
scsi: ufs: exynos: Ensure consistent phy reference counts

Peter Ujfalusi (1):
ASoC: Intel: sof_sdw: Add quirk for Asus Zenbook S16

Rafael J. Wysocki (3):
cpufreq/sched: Fix the usage of CPUFREQ_NEED_UPDATE_LIMITS cpufreq/sched: Explicitly synchronize limits_changed flag handling
cpufreq: Reference count policy in cpufreq_update_limits()

Remi Pommarel (2):
wifi: mac80211: Update skb's control block key in ieee80211_tx_dequeue()
wifi: mac80211: Purge vif txq in ieee80211_do_stop()

Richard Fitzgerald (2):
ALSA: hda/cirrus_scodec_test: Don't select dependencies
firmware: cs_dsp: test_bin_error: Fix uninitialized data used as fw version

Rob Clark (1):
drm/msm/a6xx+: Don't let IB_SIZE overflow

Rolf Eike Beer (1):
drm/sti: remove duplicate object names

Sagi Maimon (1):
ptp: ocp: fix start time alignment in ptp_ocp_signal_set

Sami Tolvanen (1):
rust: kbuild: Don't export __pfx symbols

Samuel Holland (2):
riscv: module: Fix out-of-bounds relocation access
riscv: module: Allocate PLT entries for R_RISCV_PLT32

Sandipan Das (1):
x86/cpu/amd: Fix workaround for erratum 1054

Sean Heelan (1):
ksmbd: Fix dangling pointer in krb_authenticate

Sharath Srinivasan (1):
RDMA/cma: Fix workqueue crash in cma_netevent_work_handler

Shay Drory (1):
RDMA/core: Silence oversized kvmalloc() warning

Sheng Yong (1):
lib/iov_iter: fix to increase non slab folio refcount

Sidong Yang (1):
btrfs: ioctl: don't free iov when btrfs_encoded_read() returns -EAGAIN

Srinivas Kandagatla (2):
ASoC: codecs:lpass-wsa-macro: Fix vi feedback rate
ASoC: codecs:lpass-wsa-macro: Fix logic of enabling vi channels

Srinivas Pandruvada (1):

      thermal: intel: int340x: Fix Panther Lake DLVR support

Steven Rostedt (1):
tracing: Fix filter string testing

Suren Baghdasaryan (1):

      slab: ensure slab->obj_exts is clear in a newly allocated slab page

T.J. Mercier (1):
alloc_tag: handle incomplete bulk allocations in vm_module_tags_populate

Thadeu Lima de Souza Cascardo (1):
i2c: cros-ec-tunnel: defer probe if parent EC is not present

Thomas Hellström (1):
drm/xe: Fix an out-of-bounds shift when invalidating TLB

Thomas Weißschuh (3):
kunit: qemu_configs: SH: Respect kunit cmdline
loop: properly send KOBJ_CHANGED uevent for disk device
loop: LOOP_SET_FD: send uevents for partitions

Thomas Zimmermann (1):
drm/mgag200: Fix value in <VBLKSTR> register

Tom Chung (1):
drm/amd/display: Do not enable Replay and PSR while VRR is on in amdgpu_dm_commit_planes()

Tomasz Pakuła (1):
drm/amd/pm: Add zero RPM enabled OD setting support for SMU14.0.2

Vasiliy Kovalev (1):
hfs/hfsplus: fix slab-out-of-bounds in hfs_bnode_read_key

Ville Syrjälä (2):
drm/i915: Fix scanline_offset for LNL+ and BMG+ drm/i915/dp: Reject HBR3 when sink doesn't support TPS4

Vishal Moola (Oracle) (2):
mm/compaction: fix bug in hugetlb handling pathway
mm: fix filemap_get_folios_contig returning batches of identical folios

Vivek Kasireddy (1):
drm/i915/xe2hpd: Identify the memory type for SKUs with GDDR + ECC

Vladimir Oltean (5):
net: dsa: mv88e6xxx: avoid unregistering devlink regions which were never registered
net: dsa: mv88e6xxx: fix -ENOENT when deleting VLANs and MST is unsupported
net: dsa: clean up FDB, MDB, VLAN entries on unbind
net: dsa: free routing table on probe failure
net: dsa: avoid refcount warnings when ds->ops->tag_8021q_vlan_del() fails

WangYuli (6):
riscv: KGDB: Do not inline arch_kgdb_breakpoint()
riscv: KGDB: Remove ".option norvc/.option rvc" for kgdb_compiled_break
nvmet-fc: Remove unused functions
MIPS: dec: Declare which_prom() as static
MIPS: cevt-ds1287: Add missing ds1287.h include
MIPS: ds1287: Match ds1287_set_base_clock() function types

Weizhao Ouyang (1):
can: rockchip_canfd: fix broken quirks checks

Will Pierce (1):
riscv: Use kvmalloc_array on relocation_hashtable

Xiangsheng Hou (1):
virtiofs: add filesystem context source name check

Xin Long (1):
ipv6: add exception routes to GC list in rt6_insert_exception

Xingui Yang (1):
scsi: hisi_sas: Enable force phy when SATA disk directly connected

Yazen Ghannam (2):
RAS/AMD/ATL: Include row[13] bit in row retirement RAS/AMD/FMPM: Get masked address

Yu Kuai (1):
md/raid10: fix missing discard IO accounting

Yue Haibing (1):
RDMA/usnic: Fix passing zero to PTR_ERR in usnic_ib_pci_probe()

Yunlong Xing (1):
loop: aio inherit the ioprio of original request

ZhenGuo Yin (1):
drm/amdgpu: fix warning of drm_mm_clean

Zheng Qixing (2):
md/md-bitmap: fix stats collection for external bitmaps
block: fix resource leak in blk_register_queue() error path

author maintainer
#1 lore raw
Documentation/arch/arm64/booting.rst +22 -0
index cad6fdc96b98..dee7b6de864f 100644
@@ -288,6 +288,12 @@ Before jumping into the kernel, the following conditions must be met:
 
     - SCR_EL3.FGTEn (bit 27) must be initialised to 0b1.
 
+  For CPUs with the Fine Grained Traps 2 (FEAT_FGT2) extension present:
+
+  - If EL3 is present and the kernel is entered at EL2:
+
+    - SCR_EL3.FGTEn2 (bit 59) must be initialised to 0b1.
+
   For CPUs with support for HCRX_EL2 (FEAT_HCX) present:
 
   - If EL3 is present and the kernel is entered at EL2:
@@ -382,6 +388,22 @@ Before jumping into the kernel, the following conditions must be met:
 
     - SMCR_EL2.EZT0 (bit 30) must be initialised to 0b1.
 
+  For CPUs with the Performance Monitors Extension (FEAT_PMUv3p9):
+
+ - If EL3 is present:
+
+    - MDCR_EL3.EnPM2 (bit 7) must be initialised to 0b1.
+
+ - If the kernel is entered at EL1 and EL2 is present:
+
+    - HDFGRTR2_EL2.nPMICNTR_EL0 (bit 2) must be initialised to 0b1.
+    - HDFGRTR2_EL2.nPMICFILTR_EL0 (bit 3) must be initialised to 0b1.
+    - HDFGRTR2_EL2.nPMUACR_EL1 (bit 4) must be initialised to 0b1.
+
+    - HDFGWTR2_EL2.nPMICNTR_EL0 (bit 2) must be initialised to 0b1.
+    - HDFGWTR2_EL2.nPMICFILTR_EL0 (bit 3) must be initialised to 0b1.
+    - HDFGWTR2_EL2.nPMUACR_EL1 (bit 4) must be initialised to 0b1.
+
   For CPUs with Memory Copy and Memory Set instructions (FEAT_MOPS):
 
   - If the kernel is entered at EL1 and EL2 is present:
Documentation/devicetree/bindings/soc/fsl/fsl,ls1028a-reset.yaml +1 -1
index 31295be91013..234089b5954d 100644
@@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
 title: Freescale Layerscape Reset Registers Module
 
 maintainers:
-  - Frank Li
+  - Frank Li <[email protected]>
 
 description:
   Reset Module includes chip reset, service processor control and Reset Control
Documentation/netlink/specs/ovs_vport.yaml +1 -3
index 86ba9ac2a521..b538bb99ee9b 100644
@@ -123,12 +123,12 @@ attribute-sets:
 
 operations:
   name-prefix: ovs-vport-cmd-
+  fixed-header: ovs-header
   list:
     -
       name: new
       doc: Create a new OVS vport
       attribute-set: vport
-      fixed-header: ovs-header
       do:
         request:
           attributes:
@@ -141,7 +141,6 @@ operations:
       name: del
       doc: Delete existing OVS vport from a data path
       attribute-set: vport
-      fixed-header: ovs-header
       do:
         request:
           attributes:
@@ -152,7 +151,6 @@ operations:
       name: get
       doc: Get / dump OVS vport configuration and state
       attribute-set: vport
-      fixed-header: ovs-header
       do: &vport-get-op
         request:
           attributes:
Documentation/netlink/specs/rt_link.yaml +13 -7
index 0d492500c7e5..78d3bec72f0e 100644
@@ -1101,11 +1101,10 @@ attribute-sets:
       -
         name: prop-list
         type: nest
-        nested-attributes: link-attrs
+        nested-attributes: prop-list-link-attrs
       -
         name: alt-ifname
         type: string
-        multi-attr: true
       -
         name: perm-address
         type: binary
@@ -1148,6 +1147,13 @@ attribute-sets:
         name: max-pacing-offload-horizon
         type: uint
         doc: EDT offload horizon supported by the device (in nsec).
+  -
+    name: prop-list-link-attrs
+    subset-of: link-attrs
+    attributes:
+      -
+        name: alt-ifname
+        multi-attr: true
   -
     name: af-spec-attrs
     attributes:
@@ -1570,7 +1576,7 @@ attribute-sets:
         name: nf-call-iptables
         type: u8
       -
-        name: nf-call-ip6-tables
+        name: nf-call-ip6tables
         type: u8
       -
         name: nf-call-arptables
@@ -2058,7 +2064,7 @@ attribute-sets:
         name: id
         type: u16
       -
-        name: flag
+        name: flags
         type: binary
         struct: ifla-vlan-flags
       -
@@ -2146,7 +2152,7 @@ attribute-sets:
         type: binary
         struct: ifla-cacheinfo
       -
-        name: icmp6-stats
+        name: icmp6stats
         type: binary
         struct: ifla-icmp6-stats
       -
@@ -2160,9 +2166,10 @@ attribute-sets:
         type: u32
   -
     name: mctp-attrs
+    name-prefix: ifla-mctp-
     attributes:
       -
-        name: mctp-net
+        name: net
         type: u32
       -
         name: phys-binding
@@ -2434,7 +2441,6 @@ operations:
             - min-mtu
             - max-mtu
             - prop-list
-            - alt-ifname
             - perm-address
             - proto-down-reason
             - parent-dev-name
Documentation/netlink/specs/rt_neigh.yaml +7 -7
index e670b6dc07be..a843caa72259 100644
@@ -13,25 +13,25 @@ definitions:
     type: struct
     members:
       -
-        name: family
+        name: ndm-family
         type: u8
       -
-        name: pad
+        name: ndm-pad
         type: pad
         len: 3
       -
-        name: ifindex
+        name: ndm-ifindex
         type: s32
       -
-        name: state
+        name: ndm-state
         type: u16
         enum: nud-state
       -
-        name: flags
+        name: ndm-flags
         type: u8
         enum: ntf-flags
       -
-        name: type
+        name: ndm-type
         type: u8
         enum: rtm-type
   -
@@ -189,7 +189,7 @@ attribute-sets:
         type: binary
         display-hint: ipv4
       -
-        name: lladr
+        name: lladdr
         type: binary
         display-hint: mac
       -
Documentation/wmi/devices/msi-wmi-platform.rst +4 -0
index 31a136942892..73197b31926a 100644
@@ -138,6 +138,10 @@ input data, the meaning of which depends on the subfeature being accessed.
 The output buffer contains a single byte which signals success or failure (``0x00`` on failure)
 and 31 bytes of output data, the meaning if which depends on the subfeature being accessed.
 
+.. note::
+   The ACPI control method responsible for handling the WMI method calls is not thread-safe.
+   This is a firmware bug that needs to be handled inside the driver itself.
+
 WMI method Get_EC()
 -------------------
 
Makefile +1 -2
index 93870f58505f..0c1b99da2c1f 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 6
 PATCHLEVEL = 14
-SUBLEVEL = 3
+SUBLEVEL = 4
 EXTRAVERSION =
 NAME = Baby Opossum Posse
 
@@ -480,7 +480,6 @@ export rust_common_flags := --edition=2021 \
 			    -Wclippy::ignored_unit_patterns \
 			    -Wclippy::mut_mut \
 			    -Wclippy::needless_bitwise_bool \
-			    -Wclippy::needless_continue \
 			    -Aclippy::needless_lifetimes \
 			    -Wclippy::no_mangle_with_rust_abi \
 			    -Wclippy::undocumented_unsafe_blocks \
arch/arm64/include/asm/el2_setup.h +25 -0
index 555c613fd232..ebceaae3c749 100644
@@ -259,6 +259,30 @@
 .Lskip_fgt_\@:
 .endm
 
+.macro __init_el2_fgt2
+	mrs	x1, id_aa64mmfr0_el1
+	ubfx	x1, x1, #ID_AA64MMFR0_EL1_FGT_SHIFT, #4
+	cmp	x1, #ID_AA64MMFR0_EL1_FGT_FGT2
+	b.lt	.Lskip_fgt2_\@
+
+	mov	x0, xzr
+	mrs	x1, id_aa64dfr0_el1
+	ubfx	x1, x1, #ID_AA64DFR0_EL1_PMUVer_SHIFT, #4
+	cmp	x1, #ID_AA64DFR0_EL1_PMUVer_V3P9
+	b.lt	.Lskip_pmuv3p9_\@
+
+	orr	x0, x0, #HDFGRTR2_EL2_nPMICNTR_EL0
+	orr	x0, x0, #HDFGRTR2_EL2_nPMICFILTR_EL0
+	orr	x0, x0, #HDFGRTR2_EL2_nPMUACR_EL1
+.Lskip_pmuv3p9_\@:
+	msr_s   SYS_HDFGRTR2_EL2, x0
+	msr_s   SYS_HDFGWTR2_EL2, x0
+	msr_s   SYS_HFGRTR2_EL2, xzr
+	msr_s   SYS_HFGWTR2_EL2, xzr
+	msr_s   SYS_HFGITR2_EL2, xzr
+.Lskip_fgt2_\@:
+.endm
+
 .macro __init_el2_gcs
 	mrs_s	x1, SYS_ID_AA64PFR1_EL1
 	ubfx	x1, x1, #ID_AA64PFR1_EL1_GCS_SHIFT, #4
@@ -304,6 +328,7 @@
 	__init_el2_nvhe_idregs
 	__init_el2_cptr
 	__init_el2_fgt
+	__init_el2_fgt2
         __init_el2_gcs
 .endm
 
arch/arm64/tools/sysreg +103 -0

127 lines not on this page · raw message

arch/mips/dec/prom/init.c +1 -1
index cb12eb211a49..8d74d7d6c05b 100644
@@ -42,7 +42,7 @@ int (*__pmax_close)(int);
  * Detect which PROM the DECSTATION has, and set the callback vectors
  * appropriately.
  */
-void __init which_prom(s32 magic, s32 *prom_vec)
+static void __init which_prom(s32 magic, s32 *prom_vec)
 {
 	/*
 	 * No sign of the REX PROM's magic number means we assume a non-REX
arch/mips/include/asm/ds1287.h +1 -1
index 46cfb01f9a14..51cb61fd4c03 100644
@@ -8,7 +8,7 @@
 #define __ASM_DS1287_H
 
 extern int ds1287_timer_state(void);
-extern void ds1287_set_base_clock(unsigned int clock);
+extern int ds1287_set_base_clock(unsigned int hz);
 extern int ds1287_clockevent_init(int irq);
 
 #endif
arch/mips/kernel/cevt-ds1287.c +1 -0
index 9a47fbcd4638..de64d6bb7ba3 100644
@@ -10,6 +10,7 @@
 #include <linux/mc146818rtc.h>
 #include <linux/irq.h>
 
+#include <asm/ds1287.h>
 #include <asm/time.h>
 
 int ds1287_timer_state(void)
arch/riscv/include/asm/kgdb.h +1 -8
index 46677daf708b..cc11c4544cff 100644
@@ -19,16 +19,9 @@
 
 #ifndef	__ASSEMBLY__
 
+void arch_kgdb_breakpoint(void);
 extern unsigned long kgdb_compiled_break;
 
-static inline void arch_kgdb_breakpoint(void)
-{
-	asm(".global kgdb_compiled_break\n"
-	    ".option norvc\n"
-	    "kgdb_compiled_break: ebreak\n"
-	    ".option rvc\n");
-}
-
 #endif /* !__ASSEMBLY__ */
 
 #define DBG_REG_ZERO "zero"
arch/riscv/include/asm/syscall.h +5 -2
index 121fff429dce..eceabf59ae48 100644
@@ -62,8 +62,11 @@ static inline void syscall_get_arguments(struct task_struct *task,
 					 unsigned long *args)
 {
 	args[0] = regs->orig_a0;
-	args++;
-	memcpy(args, &regs->a1, 5 * sizeof(args[0]));
+	args[1] = regs->a1;
+	args[2] = regs->a2;
+	args[3] = regs->a3;
+	args[4] = regs->a4;
+	args[5] = regs->a5;
 }
 
 static inline int syscall_get_arch(struct task_struct *task)
arch/riscv/kernel/kgdb.c +6 -0
index 2e0266ae6bd7..9f3db3503dab 100644
@@ -254,6 +254,12 @@ void kgdb_arch_set_pc(struct pt_regs *regs, unsigned long pc)
 	regs->epc = pc;
 }
 
+noinline void arch_kgdb_breakpoint(void)
+{
+	asm(".global kgdb_compiled_break\n"
+	    "kgdb_compiled_break: ebreak\n");
+}
+
 void kgdb_arch_handle_qxfer_pkt(char *remcom_in_buffer,
 				char *remcom_out_buffer)
 {
arch/riscv/kernel/module-sections.c +7 -6
index e264e59e596e..91d0b355ceef 100644
@@ -73,16 +73,17 @@ static bool duplicate_rela(const Elf_Rela *rela, int idx)
 static void count_max_entries(Elf_Rela *relas, int num,
 			      unsigned int *plts, unsigned int *gots)
 {
-	unsigned int type, i;
-
-	for (i = 0; i < num; i++) {
-		type = ELF_RISCV_R_TYPE(relas[i].r_info);
-		if (type == R_RISCV_CALL_PLT) {
+	for (int i = 0; i < num; i++) {
+		switch (ELF_R_TYPE(relas[i].r_info)) {
+		case R_RISCV_CALL_PLT:
+		case R_RISCV_PLT32:
 			if (!duplicate_rela(relas, i))
 				(*plts)++;
-		} else if (type == R_RISCV_GOT_HI20) {
+			break;
+		case R_RISCV_GOT_HI20:
 			if (!duplicate_rela(relas, i))
 				(*gots)++;
+			break;
 		}
 	}
 }
arch/riscv/kernel/module.c +6 -5
index 47d0ebeec93c..7f6147c18033 100644
@@ -648,7 +648,7 @@ process_accumulated_relocations(struct module *me,
 		kfree(bucket_iter);
 	}
 
-	kfree(*relocation_hashtable);
+	kvfree(*relocation_hashtable);
 }
 
 static int add_relocation_to_accumulate(struct module *me, int type,
@@ -752,9 +752,10 @@ initialize_relocation_hashtable(unsigned int num_relocations,
 
 	hashtable_size <<= should_double_size;
 
-	*relocation_hashtable = kmalloc_array(hashtable_size,
-					      sizeof(**relocation_hashtable),
-					      GFP_KERNEL);
+	/* Number of relocations may be large, so kvmalloc it */
+	*relocation_hashtable = kvmalloc_array(hashtable_size,
+					       sizeof(**relocation_hashtable),
+					       GFP_KERNEL);
 	if (!*relocation_hashtable)
 		return 0;
 
@@ -859,7 +860,7 @@ int apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab,
 				}
 
 				j++;
-				if (j > sechdrs[relsec].sh_size / sizeof(*rel))
+				if (j == num_relocations)
 					j = 0;
 
 			} while (j_idx != j);
arch/riscv/kernel/setup.c +35 -1
index 4fe45daa6281..b7d0bd4c0a81 100644
@@ -66,6 +66,9 @@ static struct resource bss_res = { .name = "Kernel bss", };
 static struct resource elfcorehdr_res = { .name = "ELF Core hdr", };
 #endif
 
+static int num_standard_resources;
+static struct resource *standard_resources;
+
 static int __init add_resource(struct resource *parent,
 				struct resource *res)
 {
@@ -139,7 +142,7 @@ static void __init init_resources(void)
 	struct resource *res = NULL;
 	struct resource *mem_res = NULL;
 	size_t mem_res_sz = 0;
-	int num_resources = 0, res_idx = 0;
+	int num_resources = 0, res_idx = 0, non_resv_res = 0;
 	int ret = 0;
 
 	/* + 1 as memblock_alloc() might increase memblock.reserved.cnt */
@@ -193,6 +196,7 @@ static void __init init_resources(void)
 	/* Add /memory regions to the resource tree */
 	for_each_mem_region(region) {
 		res = &mem_res[res_idx--];
+		non_resv_res++;
 
 		if (unlikely(memblock_is_nomap(region))) {
 			res->name = "Reserved";
@@ -210,6 +214,9 @@ static void __init init_resources(void)
 			goto error;
 	}
 
+	num_standard_resources = non_resv_res;
+	standard_resources = &mem_res[res_idx + 1];
+
 	/* Clean-up any unused pre-allocated resources */
 	if (res_idx >= 0)
 		memblock_free(mem_res, (res_idx + 1) * sizeof(*mem_res));
@@ -221,6 +228,33 @@ static void __init init_resources(void)
 	memblock_free(mem_res, mem_res_sz);
 }
 
+static int __init reserve_memblock_reserved_regions(void)
+{
+	u64 i, j;
+
+	for (i = 0; i < num_standard_resources; i++) {
+		struct resource *mem = &standard_resources[i];
+		phys_addr_t r_start, r_end, mem_size = resource_size(mem);
+
+		if (!memblock_is_region_reserved(mem->start, mem_size))
+			continue;
+
+		for_each_reserved_mem_range(j, &r_start, &r_end) {
+			resource_size_t start, end;
+
+			start = max(PFN_PHYS(PFN_DOWN(r_start)), mem->start);
+			end = min(PFN_PHYS(PFN_UP(r_end)) - 1, mem->end);
+
+			if (start > mem->end || end < mem->start)
+				continue;
+
+			reserve_region_with_split(mem, start, end, "Reserved");
+		}
+	}
+
+	return 0;
+}
+arch_initcall(reserve_memblock_reserved_regions);
 
 static void __init parse_dtb(void)
 {
arch/x86/boot/compressed/mem.c +4 -1
index dbba332e4a12..f676156d9f3d 100644
@@ -34,11 +34,14 @@ static bool early_is_tdx_guest(void)
 
 void arch_accept_memory(phys_addr_t start, phys_addr_t end)
 {
+	static bool sevsnp;
+
 	/* Platform-specific memory-acceptance call goes here */
 	if (early_is_tdx_guest()) {
 		if (!tdx_accept_memory(start, end))
 			panic("TDX: Failed to accept memory\n");
-	} else if (sev_snp_enabled()) {
+	} else if (sevsnp || (sev_get_status() & MSR_AMD64_SEV_SNP_ENABLED)) {
+		sevsnp = true;
 		snp_accept_memory(start, end);
 	} else {
 		error("Cannot accept memory: unknown platform\n");
arch/x86/boot/compressed/sev.c +15 -52

104 lines not on this page · raw message

arch/x86/boot/compressed/sev.h +2 -0
index fc725a981b09..4e463f33186d 100644
@@ -12,11 +12,13 @@
 
 bool sev_snp_enabled(void);
 void snp_accept_memory(phys_addr_t start, phys_addr_t end);
+u64 sev_get_status(void);
 
 #else
 
 static inline bool sev_snp_enabled(void) { return false; }
 static inline void snp_accept_memory(phys_addr_t start, phys_addr_t end) { }
+static inline u64 sev_get_status(void) { return 0; }
 
 #endif
 
arch/x86/events/intel/ds.c +5 -3
index 33f4bb22fc0e..08de293bebad 100644
@@ -1338,8 +1338,10 @@ static u64 pebs_update_adaptive_cfg(struct perf_event *event)
 	 * + precise_ip < 2 for the non event IP
 	 * + For RTM TSX weight we need GPRs for the abort code.
 	 */
-	gprs = (sample_type & PERF_SAMPLE_REGS_INTR) &&
-	       (attr->sample_regs_intr & PEBS_GP_REGS);
+	gprs = ((sample_type & PERF_SAMPLE_REGS_INTR) &&
+		(attr->sample_regs_intr & PEBS_GP_REGS)) ||
+	       ((sample_type & PERF_SAMPLE_REGS_USER) &&
+		(attr->sample_regs_user & PEBS_GP_REGS));
 
 	tsx_weight = (sample_type & PERF_SAMPLE_WEIGHT_TYPE) &&
 		     ((attr->config & INTEL_ARCH_EVENT_MASK) ==
@@ -1985,7 +1987,7 @@ static void setup_pebs_adaptive_sample_data(struct perf_event *event,
 			regs->flags &= ~PERF_EFLAGS_EXACT;
 		}
 
-		if (sample_type & PERF_SAMPLE_REGS_INTR)
+		if (sample_type & (PERF_SAMPLE_REGS_INTR | PERF_SAMPLE_REGS_USER))
 			adaptive_pebs_save_regs(regs, gprs);
 	}
 
arch/x86/events/intel/uncore_snbep.c +10 -97

151 lines not on this page · raw message

arch/x86/kernel/cpu/amd.c +12 -7
index 4c9b20d028eb..70df203d814e 100644
@@ -867,6 +867,16 @@ static void init_amd_zen1(struct cpuinfo_x86 *c)
 
 	pr_notice_once("AMD Zen1 DIV0 bug detected. Disable SMT for full protection.\n");
 	setup_force_cpu_bug(X86_BUG_DIV0);
+
+	/*
+	 * Turn off the Instructions Retired free counter on machines that are
+	 * susceptible to erratum #1054 "Instructions Retired Performance
+	 * Counter May Be Inaccurate".
+	 */
+	if (c->x86_model < 0x30) {
+		msr_clear_bit(MSR_K7_HWCR, MSR_K7_HWCR_IRPERF_EN_BIT);
+		clear_cpu_cap(c, X86_FEATURE_IRPERF);
+	}
 }
 
 static bool cpu_has_zenbleed_microcode(void)
@@ -1050,13 +1060,8 @@ static void init_amd(struct cpuinfo_x86 *c)
 	if (!cpu_feature_enabled(X86_FEATURE_XENPV))
 		set_cpu_bug(c, X86_BUG_SYSRET_SS_ATTRS);
 
-	/*
-	 * Turn on the Instructions Retired free counter on machines not
-	 * susceptible to erratum #1054 "Instructions Retired Performance
-	 * Counter May Be Inaccurate".
-	 */
-	if (cpu_has(c, X86_FEATURE_IRPERF) &&
-	    (boot_cpu_has(X86_FEATURE_ZEN1) && c->x86_model > 0x2f))
+	/* Enable the Instructions Retired free counter */
+	if (cpu_has(c, X86_FEATURE_IRPERF))
 		msr_set_bit(MSR_K7_HWCR, MSR_K7_HWCR_IRPERF_EN_BIT);
 
 	check_null_seg_clears_base(c);
arch/x86/kernel/cpu/microcode/amd.c +7 -2
index b61028cf5c8a..4a10d35e70aa 100644
@@ -199,6 +199,12 @@ static bool need_sha_check(u32 cur_rev)
 	case 0xa70c0: return cur_rev <= 0xa70C009; break;
 	case 0xaa001: return cur_rev <= 0xaa00116; break;
 	case 0xaa002: return cur_rev <= 0xaa00218; break;
+	case 0xb0021: return cur_rev <= 0xb002146; break;
+	case 0xb1010: return cur_rev <= 0xb101046; break;
+	case 0xb2040: return cur_rev <= 0xb204031; break;
+	case 0xb4040: return cur_rev <= 0xb404031; break;
+	case 0xb6000: return cur_rev <= 0xb600031; break;
+	case 0xb7000: return cur_rev <= 0xb700031; break;
 	default: break;
 	}
 
@@ -214,8 +220,7 @@ static bool verify_sha256_digest(u32 patch_id, u32 cur_rev, const u8 *data, unsi
 	struct sha256_state s;
 	int i;
 
-	if (x86_family(bsp_cpuid_1_eax) < 0x17 ||
-	    x86_family(bsp_cpuid_1_eax) > 0x19)
+	if (x86_family(bsp_cpuid_1_eax) < 0x17)
 		return true;
 
 	if (!need_sha_check(cur_rev))
arch/x86/xen/multicalls.c +14 -12
index 10c660fae8b3..7237d56a9d3f 100644
@@ -54,14 +54,20 @@ struct mc_debug_data {
 
 static DEFINE_PER_CPU(struct mc_buffer, mc_buffer);
 static struct mc_debug_data mc_debug_data_early __initdata;
-static DEFINE_PER_CPU(struct mc_debug_data *, mc_debug_data) =
-	&mc_debug_data_early;
 static struct mc_debug_data __percpu *mc_debug_data_ptr;
 DEFINE_PER_CPU(unsigned long, xen_mc_irq_flags);
 
 static struct static_key mc_debug __ro_after_init;
 static bool mc_debug_enabled __initdata;
 
+static struct mc_debug_data * __ref get_mc_debug(void)
+{
+	if (!mc_debug_data_ptr)
+		return &mc_debug_data_early;
+
+	return this_cpu_ptr(mc_debug_data_ptr);
+}
+
 static int __init xen_parse_mc_debug(char *arg)
 {
 	mc_debug_enabled = true;
@@ -71,20 +77,16 @@ static int __init xen_parse_mc_debug(char *arg)
 }
 early_param("xen_mc_debug", xen_parse_mc_debug);
 
-void mc_percpu_init(unsigned int cpu)
-{
-	per_cpu(mc_debug_data, cpu) = per_cpu_ptr(mc_debug_data_ptr, cpu);
-}
-
 static int __init mc_debug_enable(void)
 {
 	unsigned long flags;
+	struct mc_debug_data __percpu *mcdb;
 
 	if (!mc_debug_enabled)
 		return 0;
 
-	mc_debug_data_ptr = alloc_percpu(struct mc_debug_data);
-	if (!mc_debug_data_ptr) {
+	mcdb = alloc_percpu(struct mc_debug_data);
+	if (!mcdb) {
 		pr_err("xen_mc_debug inactive\n");
 		static_key_slow_dec(&mc_debug);
 		return -ENOMEM;
@@ -93,7 +95,7 @@ static int __init mc_debug_enable(void)
 	/* Be careful when switching to percpu debug data. */
 	local_irq_save(flags);
 	xen_mc_flush();
-	mc_percpu_init(0);
+	mc_debug_data_ptr = mcdb;
 	local_irq_restore(flags);
 
 	pr_info("xen_mc_debug active\n");
@@ -155,7 +157,7 @@ void xen_mc_flush(void)
 	trace_xen_mc_flush(b->mcidx, b->argidx, b->cbidx);
 
 	if (static_key_false(&mc_debug)) {
-		mcdb = __this_cpu_read(mc_debug_data);
+		mcdb = get_mc_debug();
 		memcpy(mcdb->entries, b->entries,
 		       b->mcidx * sizeof(struct multicall_entry));
 	}
@@ -235,7 +237,7 @@ struct multicall_space __xen_mc_entry(size_t args)
 
 	ret.mc = &b->entries[b->mcidx];
 	if (static_key_false(&mc_debug)) {
-		struct mc_debug_data *mcdb = __this_cpu_read(mc_debug_data);
+		struct mc_debug_data *mcdb = get_mc_debug();
 
 		mcdb->caller[b->mcidx] = __builtin_return_address(0);
 		mcdb->argsz[b->mcidx] = args;
arch/x86/xen/smp_pv.c +0 -1
index 6863d3da7dec..7ea57f728b89 100644
@@ -305,7 +305,6 @@ static int xen_pv_kick_ap(unsigned int cpu, struct task_struct *idle)
 		return rc;
 
 	xen_pmu_init(cpu);
-	mc_percpu_init(cpu);
 
 	/*
 	 * Why is this a BUG? If the hypercall fails then everything can be
arch/x86/xen/xen-ops.h +0 -3
index 63c13a2ccf55..25e318ef27d6 100644
@@ -261,9 +261,6 @@ void xen_mc_callback(void (*fn)(void *), void *data);
  */
 struct multicall_space xen_mc_extend_args(unsigned long op, size_t arg_size);
 
-/* Do percpu data initialization for multicalls. */
-void mc_percpu_init(unsigned int cpu);
-
 extern bool is_xen_pmu;
 
 irqreturn_t xen_pmu_irq_handler(int irq, void *dev_id);
block/bio-integrity.c +6 -11
index 5d81ad9a3d20..03e8fae17393 100644
@@ -104,16 +104,12 @@ struct bio_integrity_payload *bio_integrity_alloc(struct bio *bio,
 }
 EXPORT_SYMBOL(bio_integrity_alloc);
 
-static void bio_integrity_unpin_bvec(struct bio_vec *bv, int nr_vecs,
-				     bool dirty)
+static void bio_integrity_unpin_bvec(struct bio_vec *bv, int nr_vecs)
 {
 	int i;
 
-	for (i = 0; i < nr_vecs; i++) {
-		if (dirty && !PageCompound(bv[i].bv_page))
-			set_page_dirty_lock(bv[i].bv_page);
+	for (i = 0; i < nr_vecs; i++)
 		unpin_user_page(bv[i].bv_page);
-	}
 }
 
 static void bio_integrity_uncopy_user(struct bio_integrity_payload *bip)
@@ -129,7 +125,7 @@ static void bio_integrity_uncopy_user(struct bio_integrity_payload *bip)
 	ret = copy_to_iter(bvec_virt(bounce_bvec), bytes, &orig_iter);
 	WARN_ON_ONCE(ret != bytes);
 
-	bio_integrity_unpin_bvec(orig_bvecs, orig_nr_vecs, true);
+	bio_integrity_unpin_bvec(orig_bvecs, orig_nr_vecs);
 }
 
 /**
@@ -149,8 +145,7 @@ void bio_integrity_unmap_user(struct bio *bio)
 		return;
 	}
 
-	bio_integrity_unpin_bvec(bip->bip_vec, bip->bip_max_vcnt,
-			bio_data_dir(bio) == READ);
+	bio_integrity_unpin_bvec(bip->bip_vec, bip->bip_max_vcnt);
 }
 
 /**
@@ -236,7 +231,7 @@ static int bio_integrity_copy_user(struct bio *bio, struct bio_vec *bvec,
 	}
 
 	if (write)
-		bio_integrity_unpin_bvec(bvec, nr_vecs, false);
+		bio_integrity_unpin_bvec(bvec, nr_vecs);
 	else
 		memcpy(&bip->bip_vec[1], bvec, nr_vecs * sizeof(*bvec));
 
@@ -357,7 +352,7 @@ int bio_integrity_map_user(struct bio *bio, struct iov_iter *iter)
 	return 0;
 
 release_pages:
-	bio_integrity_unpin_bvec(bvec, nr_bvecs, false);
+	bio_integrity_unpin_bvec(bvec, nr_bvecs);
 free_bvec:
 	if (bvec != stack_vec)
 		kfree(bvec);
block/blk-sysfs.c +2 -0
index 6f548a4376aa..780218684907 100644
@@ -824,6 +824,8 @@ int blk_register_queue(struct gendisk *disk)
 out_debugfs_remove:
 	blk_debugfs_remove(disk);
 	mutex_unlock(&q->sysfs_lock);
+	if (queue_is_mq(q))
+		blk_mq_sysfs_unregister(disk);
 out_put_queue_kobj:
 	kobject_put(&disk->queue_kobj);
 	return ret;
drivers/accel/ivpu/ivpu_drv.c +2 -2
index 38cf1c342c72..3e56ce8bc2c1 100644
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0-only
 /*
- * Copyright (C) 2020-2024 Intel Corporation
+ * Copyright (C) 2020-2025 Intel Corporation
  */
 
 #include <linux/firmware.h>
@@ -167,7 +167,7 @@ static int ivpu_get_param_ioctl(struct drm_device *dev, void *data, struct drm_f
 		args->value = vdev->platform;
 		break;
 	case DRM_IVPU_PARAM_CORE_CLOCK_RATE:
-		args->value = ivpu_hw_ratio_to_freq(vdev, vdev->hw->pll.max_ratio);
+		args->value = ivpu_hw_dpu_max_freq_get(vdev);
 		break;
 	case DRM_IVPU_PARAM_NUM_CONTEXTS:
 		args->value = ivpu_get_context_count(vdev);
drivers/accel/ivpu/ivpu_fw.c +1 -2
index 6037ec0b3096..7db9a59640e7 100644
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0-only
 /*
- * Copyright (C) 2020-2024 Intel Corporation
+ * Copyright (C) 2020-2025 Intel Corporation
  */
 
 #include <linux/firmware.h>
@@ -561,7 +561,6 @@ void ivpu_fw_boot_params_setup(struct ivpu_device *vdev, struct vpu_boot_params
 
 	boot_params->magic = VPU_BOOT_PARAMS_MAGIC;
 	boot_params->vpu_id = to_pci_dev(vdev->drm.dev)->bus->number;
-	boot_params->frequency = ivpu_hw_pll_freq_get(vdev);
 
 	/*
 	 * This param is a debug firmware feature.  It switches default clock
drivers/accel/ivpu/ivpu_hw.h +3 -8
index fc4dbfc980c8..1e85306bcd06 100644
@@ -1,6 +1,6 @@
 /* SPDX-License-Identifier: GPL-2.0-only */
 /*
- * Copyright (C) 2020-2024 Intel Corporation
+ * Copyright (C) 2020-2025 Intel Corporation
  */
 
 #ifndef __IVPU_HW_H__
@@ -86,9 +86,9 @@ static inline u64 ivpu_hw_range_size(const struct ivpu_addr_range *range)
 	return range->end - range->start;
 }
 
-static inline u32 ivpu_hw_ratio_to_freq(struct ivpu_device *vdev, u32 ratio)
+static inline u32 ivpu_hw_dpu_max_freq_get(struct ivpu_device *vdev)
 {
-	return ivpu_hw_btrs_ratio_to_freq(vdev, ratio);
+	return ivpu_hw_btrs_dpu_max_freq_get(vdev);
 }
 
 static inline void ivpu_hw_irq_clear(struct ivpu_device *vdev)
@@ -96,11 +96,6 @@ static inline void ivpu_hw_irq_clear(struct ivpu_device *vdev)
 	ivpu_hw_ip_irq_clear(vdev);
 }
 
-static inline u32 ivpu_hw_pll_freq_get(struct ivpu_device *vdev)
-{
-	return ivpu_hw_btrs_pll_freq_get(vdev);
-}
-
 static inline u32 ivpu_hw_profiling_freq_get(struct ivpu_device *vdev)
 {
 	return vdev->hw->pll.profiling_freq;
drivers/accel/ivpu/ivpu_hw_btrs.c +56 -70

185 lines not on this page · raw message

drivers/accel/ivpu/ivpu_hw_btrs.h +2 -4
index 04f14f50fed6..71792dab3c21 100644
@@ -1,6 +1,6 @@
 /* SPDX-License-Identifier: GPL-2.0-only */
 /*
- * Copyright (C) 2020-2024 Intel Corporation
+ * Copyright (C) 2020-2025 Intel Corporation
  */
 
 #ifndef __IVPU_HW_BTRS_H__
@@ -13,7 +13,6 @@
 
 #define PLL_PROFILING_FREQ_DEFAULT   38400000
 #define PLL_PROFILING_FREQ_HIGH      400000000
-#define PLL_RATIO_TO_FREQ(x)         ((x) * PLL_REF_CLK_FREQ)
 
 #define DCT_DEFAULT_ACTIVE_PERCENT 15u
 #define DCT_PERIOD_US		   35300u
@@ -32,12 +31,11 @@ int ivpu_hw_btrs_ip_reset(struct ivpu_device *vdev);
 void ivpu_hw_btrs_profiling_freq_reg_set_lnl(struct ivpu_device *vdev);
 void ivpu_hw_btrs_ats_print_lnl(struct ivpu_device *vdev);
 void ivpu_hw_btrs_clock_relinquish_disable_lnl(struct ivpu_device *vdev);
+u32 ivpu_hw_btrs_dpu_max_freq_get(struct ivpu_device *vdev);
 bool ivpu_hw_btrs_irq_handler_mtl(struct ivpu_device *vdev, int irq);
 bool ivpu_hw_btrs_irq_handler_lnl(struct ivpu_device *vdev, int irq);
 int ivpu_hw_btrs_dct_get_request(struct ivpu_device *vdev, bool *enable);
 void ivpu_hw_btrs_dct_set_status(struct ivpu_device *vdev, bool enable, u32 dct_percent);
-u32 ivpu_hw_btrs_pll_freq_get(struct ivpu_device *vdev);
-u32 ivpu_hw_btrs_ratio_to_freq(struct ivpu_device *vdev, u32 ratio);
 u32 ivpu_hw_btrs_telemetry_offset_get(struct ivpu_device *vdev);
 u32 ivpu_hw_btrs_telemetry_size_get(struct ivpu_device *vdev);
 u32 ivpu_hw_btrs_telemetry_enable_get(struct ivpu_device *vdev);
drivers/ata/libata-sata.c +15 -0
index ba300cc0a3a3..2e4463d3a356 100644
@@ -1510,6 +1510,8 @@ int ata_eh_get_ncq_success_sense(struct ata_link *link)
 	unsigned int err_mask, tag;
 	u8 *sense, sk = 0, asc = 0, ascq = 0;
 	u64 sense_valid, val;
+	u16 extended_sense;
+	bool aux_icc_valid;
 	int ret = 0;
 
 	err_mask = ata_read_log_page(dev, ATA_LOG_SENSE_NCQ, 0, buf, 2);
@@ -1529,6 +1531,8 @@ int ata_eh_get_ncq_success_sense(struct ata_link *link)
 
 	sense_valid = (u64)buf[8] | ((u64)buf[9] << 8) |
 		((u64)buf[10] << 16) | ((u64)buf[11] << 24);
+	extended_sense = get_unaligned_le16(&buf[14]);
+	aux_icc_valid = extended_sense & BIT(15);
 
 	ata_qc_for_each_raw(ap, qc, tag) {
 		if (!(qc->flags & ATA_QCFLAG_EH) ||
@@ -1556,6 +1560,17 @@ int ata_eh_get_ncq_success_sense(struct ata_link *link)
 			continue;
 		}
 
+		qc->result_tf.nsect = sense[6];
+		qc->result_tf.hob_nsect = sense[7];
+		qc->result_tf.lbal = sense[8];
+		qc->result_tf.lbam = sense[9];
+		qc->result_tf.lbah = sense[10];
+		qc->result_tf.hob_lbal = sense[11];
+		qc->result_tf.hob_lbam = sense[12];
+		qc->result_tf.hob_lbah = sense[13];
+		if (aux_icc_valid)
+			qc->result_tf.auxiliary = get_unaligned_le32(&sense[16]);
+
 		/* Set sense without also setting scsicmd->result */
 		scsi_build_sense_buffer(dev->flags & ATA_DFLAG_D_SENSE,
 					qc->scsicmd->sense_buffer, sk,
drivers/block/loop.c +22 -99

202 lines not on this page · raw message

drivers/bluetooth/btqca.c +1 -1
index 3d6778b95e00..edefb9dc76aa 100644
@@ -889,7 +889,7 @@ int qca_uart_setup(struct hci_dev *hdev, uint8_t baudrate,
 			if (le32_to_cpu(ver.soc_id) == QCA_WCN3950_SOC_ID_T)
 				variant = "t";
 			else if (le32_to_cpu(ver.soc_id) == QCA_WCN3950_SOC_ID_S)
-				variant = "u";
+				variant = "s";
 
 			snprintf(config.fwname, sizeof(config.fwname),
 				 "qca/cmnv%02x%s.bin", rom_ver, variant);
drivers/bluetooth/btrtl.c +2 -0
index d3eba0d4a57d..7838c89e529e 100644
@@ -1215,6 +1215,8 @@ struct btrtl_device_info *btrtl_initialize(struct hci_dev *hdev,
 			rtl_dev_err(hdev, "mandatory config file %s not found",
 				    btrtl_dev->ic_info->cfg_name);
 			ret = btrtl_dev->cfg_len;
+			if (!ret)
+				ret = -EINVAL;
 			goto err_free;
 		}
 	}
drivers/bluetooth/hci_vhci.c +5 -5
index 7651321d351c..9ac22e4a070b 100644
@@ -289,18 +289,18 @@ static void vhci_coredump(struct hci_dev *hdev)
 
 static void vhci_coredump_hdr(struct hci_dev *hdev, struct sk_buff *skb)
 {
-	char buf[80];
+	const char *buf;
 
-	snprintf(buf, sizeof(buf), "Controller Name: vhci_ctrl\n");
+	buf = "Controller Name: vhci_ctrl\n";
 	skb_put_data(skb, buf, strlen(buf));
 
-	snprintf(buf, sizeof(buf), "Firmware Version: vhci_fw\n");
+	buf = "Firmware Version: vhci_fw\n";
 	skb_put_data(skb, buf, strlen(buf));
 
-	snprintf(buf, sizeof(buf), "Driver: vhci_drv\n");
+	buf = "Driver: vhci_drv\n";
 	skb_put_data(skb, buf, strlen(buf));
 
-	snprintf(buf, sizeof(buf), "Vendor: vhci\n");
+	buf = "Vendor: vhci\n";
 	skb_put_data(skb, buf, strlen(buf));
 }
 
drivers/cpufreq/cpufreq.c +8 -0
index 30ffbddc7ece..934e0e19824c 100644
@@ -2762,10 +2762,18 @@ EXPORT_SYMBOL(cpufreq_update_policy);
  */
 void cpufreq_update_limits(unsigned int cpu)
 {
+	struct cpufreq_policy *policy;
+
+	policy = cpufreq_cpu_get(cpu);
+	if (!policy)
+		return;
+
 	if (cpufreq_driver->update_limits)
 		cpufreq_driver->update_limits(cpu);
 	else
 		cpufreq_update_policy(cpu);
+
+	cpufreq_cpu_put(policy);
 }
 EXPORT_SYMBOL_GPL(cpufreq_update_limits);
 
drivers/crypto/caam/qi.c +3 -3
index 7701d00bcb3a..b6e7c0b29d4e 100644
@@ -122,12 +122,12 @@ int caam_qi_enqueue(struct device *qidev, struct caam_drv_req *req)
 	qm_fd_addr_set64(&fd, addr);
 
 	do {
+		refcount_inc(&req->drv_ctx->refcnt);
 		ret = qman_enqueue(req->drv_ctx->req_fq, &fd);
-		if (likely(!ret)) {
-			refcount_inc(&req->drv_ctx->refcnt);
+		if (likely(!ret))
 			return 0;
-		}
 
+		refcount_dec(&req->drv_ctx->refcnt);
 		if (ret != -EBUSY)
 			break;
 		num_retries++;
drivers/crypto/tegra/tegra-se-aes.c +1 -4
index ca9d0cca1f74..0e07d0523291 100644
@@ -269,7 +269,7 @@ static int tegra_aes_do_one_req(struct crypto_engine *engine, void *areq)
 	unsigned int cmdlen, key1_id, key2_id;
 	int ret;
 
-	rctx->iv = (u32 *)req->iv;
+	rctx->iv = (ctx->alg == SE_ALG_ECB) ? NULL : (u32 *)req->iv;
 	rctx->len = req->cryptlen;
 	key1_id = ctx->key1_id;
 	key2_id = ctx->key2_id;
@@ -498,9 +498,6 @@ static int tegra_aes_crypt(struct skcipher_request *req, bool encrypt)
 	if (!req->cryptlen)
 		return 0;
 
-	if (ctx->alg == SE_ALG_ECB)
-		req->iv = NULL;
-
 	rctx->encrypt = encrypt;
 
 	return crypto_transfer_skcipher_request_to_engine(ctx->se->engine, req);
drivers/dma-buf/sw_sync.c +14 -5
index f5905d67dedb..22a808995f10 100644
@@ -438,15 +438,17 @@ static int sw_sync_ioctl_get_deadline(struct sync_timeline *obj, unsigned long a
 		return -EINVAL;
 
 	pt = dma_fence_to_sync_pt(fence);
-	if (!pt)
-		return -EINVAL;
+	if (!pt) {
+		ret = -EINVAL;
+		goto put_fence;
+	}
 
 	spin_lock_irqsave(fence->lock, flags);
-	if (test_bit(SW_SYNC_HAS_DEADLINE_BIT, &fence->flags)) {
-		data.deadline_ns = ktime_to_ns(pt->deadline);
-	} else {
+	if (!test_bit(SW_SYNC_HAS_DEADLINE_BIT, &fence->flags)) {
 		ret = -ENOENT;
+		goto unlock;
 	}
+	data.deadline_ns = ktime_to_ns(pt->deadline);
 	spin_unlock_irqrestore(fence->lock, flags);
 
 	dma_fence_put(fence);
@@ -458,6 +460,13 @@ static int sw_sync_ioctl_get_deadline(struct sync_timeline *obj, unsigned long a
 		return -EFAULT;
 
 	return 0;
+
+unlock:
+	spin_unlock_irqrestore(fence->lock, flags);
+put_fence:
+	dma_fence_put(fence);
+
+	return ret;
 }
 
 static long sw_sync_ioctl(struct file *file, unsigned int cmd,
drivers/firmware/cirrus/test/cs_dsp_mock_mem_maps.c +0 -30
index 161272e47bda..73412bcef50c 100644
@@ -461,36 +461,6 @@ unsigned int cs_dsp_mock_xm_header_get_alg_base_in_words(struct cs_dsp_test *pri
 }
 EXPORT_SYMBOL_NS_GPL(cs_dsp_mock_xm_header_get_alg_base_in_words, "FW_CS_DSP_KUNIT_TEST_UTILS");
 
-/**
- * cs_dsp_mock_xm_header_get_fw_version_from_regmap() - Firmware version.
- *
- * @priv:	Pointer to struct cs_dsp_test.
- *
- * Return: Firmware version word value.
- */
-unsigned int cs_dsp_mock_xm_header_get_fw_version_from_regmap(struct cs_dsp_test *priv)
-{
-	unsigned int xm = cs_dsp_mock_base_addr_for_mem(priv, WMFW_ADSP2_XM);
-	union {
-		struct wmfw_id_hdr adsp2;
-		struct wmfw_v3_id_hdr halo;
-	} hdr;
-
-	switch (priv->dsp->type) {
-	case WMFW_ADSP2:
-		regmap_raw_read(priv->dsp->regmap, xm, &hdr.adsp2, sizeof(hdr.adsp2));
-		return be32_to_cpu(hdr.adsp2.ver);
-	case WMFW_HALO:
-		regmap_raw_read(priv->dsp->regmap, xm, &hdr.halo, sizeof(hdr.halo));
-		return be32_to_cpu(hdr.halo.ver);
-	default:
-		KUNIT_FAIL(priv->test, NULL);
-		return 0;
-	}
-}
-EXPORT_SYMBOL_NS_GPL(cs_dsp_mock_xm_header_get_fw_version_from_regmap,
-		     "FW_CS_DSP_KUNIT_TEST_UTILS");
-
 /**
  * cs_dsp_mock_xm_header_get_fw_version() - Firmware version.
  *
drivers/firmware/cirrus/test/cs_dsp_test_bin.c +1 -1
index 1e161bbc5b4a..163b7faecff4 100644
@@ -2198,7 +2198,7 @@ static int cs_dsp_bin_test_common_init(struct kunit *test, struct cs_dsp *dsp)
 
 	priv->local->bin_builder =
 		cs_dsp_mock_bin_init(priv, 1,
-				     cs_dsp_mock_xm_header_get_fw_version_from_regmap(priv));
+				     cs_dsp_mock_xm_header_get_fw_version(xm_hdr));
 	KUNIT_ASSERT_NOT_ERR_OR_NULL(test, priv->local->bin_builder);
 
 	/* We must provide a dummy wmfw to load */
drivers/firmware/cirrus/test/cs_dsp_test_bin_error.c +1 -1
index 5dcf62f19faf..10761d8ff1f2 100644
@@ -451,7 +451,7 @@ static int cs_dsp_bin_err_test_common_init(struct kunit *test, struct cs_dsp *ds
 
 	local->bin_builder =
 		cs_dsp_mock_bin_init(priv, 1,
-				     cs_dsp_mock_xm_header_get_fw_version_from_regmap(priv));
+				     cs_dsp_mock_xm_header_get_fw_version(local->xm_header));
 	KUNIT_ASSERT_NOT_ERR_OR_NULL(test, local->bin_builder);
 
 	/* Init cs_dsp */
drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c +27 -7
index 423fd2eebe1e..892a5315677f 100644
@@ -439,6 +439,13 @@ static bool amdgpu_get_bios_apu(struct amdgpu_device *adev)
 	return true;
 }
 
+static bool amdgpu_prefer_rom_resource(struct amdgpu_device *adev)
+{
+	struct resource *res = &adev->pdev->resource[PCI_ROM_RESOURCE];
+
+	return (res->flags & IORESOURCE_ROM_SHADOW);
+}
+
 static bool amdgpu_get_bios_dgpu(struct amdgpu_device *adev)
 {
 	if (amdgpu_atrm_get_bios(adev)) {
@@ -457,14 +464,27 @@ static bool amdgpu_get_bios_dgpu(struct amdgpu_device *adev)
 		goto success;
 	}
 
-	if (amdgpu_read_platform_bios(adev)) {
-		dev_info(adev->dev, "Fetched VBIOS from platform\n");
-		goto success;
-	}
+	if (amdgpu_prefer_rom_resource(adev)) {
+		if (amdgpu_read_bios(adev)) {
+			dev_info(adev->dev, "Fetched VBIOS from ROM BAR\n");
+			goto success;
+		}
 
-	if (amdgpu_read_bios(adev)) {
-		dev_info(adev->dev, "Fetched VBIOS from ROM BAR\n");
-		goto success;
+		if (amdgpu_read_platform_bios(adev)) {
+			dev_info(adev->dev, "Fetched VBIOS from platform\n");
+			goto success;
+		}
+
+	} else {
+		if (amdgpu_read_platform_bios(adev)) {
+			dev_info(adev->dev, "Fetched VBIOS from platform\n");
+			goto success;
+		}
+
+		if (amdgpu_read_bios(adev)) {
+			dev_info(adev->dev, "Fetched VBIOS from ROM BAR\n");
+			goto success;
+		}
 	}
 
 	if (amdgpu_read_bios_from_rom(adev)) {
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +1 -1
index 9a8f6cb2b836..71e8a76180ad 100644
@@ -3442,6 +3442,7 @@ static int amdgpu_device_ip_fini(struct amdgpu_device *adev)
 			amdgpu_device_mem_scratch_fini(adev);
 			amdgpu_ib_pool_fini(adev);
 			amdgpu_seq64_fini(adev);
+			amdgpu_doorbell_fini(adev);
 		}
 		if (adev->ip_blocks[i].version->funcs->sw_fini) {
 			r = adev->ip_blocks[i].version->funcs->sw_fini(&adev->ip_blocks[i]);
@@ -4770,7 +4771,6 @@ void amdgpu_device_fini_sw(struct amdgpu_device *adev)
 
 		iounmap(adev->rmmio);
 		adev->rmmio = NULL;
-		amdgpu_doorbell_fini(adev);
 		drm_dev_exit(idx);
 	}
 
drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c +1 -1
index 9f627caedc3f..c9842a0e2a1c 100644
@@ -184,7 +184,7 @@ static void amdgpu_dma_buf_unmap(struct dma_buf_attachment *attach,
 				 struct sg_table *sgt,
 				 enum dma_data_direction dir)
 {
-	if (sgt->sgl->page_link) {
+	if (sg_page(sgt->sgl)) {
 		dma_unmap_sgtable(attach->dev, sgt, dir, 0);
 		sg_free_table(sgt);
 		kfree(sgt);
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +24 -20

84 lines not on this page · raw message

drivers/gpu/drm/amd/amdgpu/amdgpu_object.c +2 -2
index 96f4b8904e9a..00752e3f9d8a 100644
@@ -163,8 +163,8 @@ void amdgpu_bo_placement_from_domain(struct amdgpu_bo *abo, u32 domain)
 		 * When GTT is just an alternative to VRAM make sure that we
 		 * only use it as fallback and still try to fill up VRAM first.
 		 */
-		if (domain & abo->preferred_domains & AMDGPU_GEM_DOMAIN_VRAM &&
-		    !(adev->flags & AMD_IS_APU))
+		if (abo->tbo.resource && !(adev->flags & AMD_IS_APU) &&
+		    domain & abo->preferred_domains & AMDGPU_GEM_DOMAIN_VRAM)
 			places[c].flags |= TTM_PL_FLAG_FALLBACK;
 		c++;
 	}
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c +4 -0
index f9a4d08eef92..0f808ffcab94 100644
@@ -899,6 +899,10 @@ static void mes_v11_0_get_fw_version(struct amdgpu_device *adev)
 {
 	int pipe;
 
+	/* return early if we have already fetched these */
+	if (adev->mes.sched_version && adev->mes.kiq_version)
+		return;
+
 	/* get MES scheduler/KIQ versions */
 	mutex_lock(&adev->srbm_mutex);
 
drivers/gpu/drm/amd/amdgpu/mes_v12_0.c +12 -9
index 0fd0fa6ed518..6b121c2723d6 100644
@@ -1390,17 +1390,20 @@ static int mes_v12_0_queue_init(struct amdgpu_device *adev,
 		mes_v12_0_queue_init_register(ring);
 	}
 
-	/* get MES scheduler/KIQ versions */
-	mutex_lock(&adev->srbm_mutex);
-	soc21_grbm_select(adev, 3, pipe, 0, 0);
+	if (((pipe == AMDGPU_MES_SCHED_PIPE) && !adev->mes.sched_version) ||
+	    ((pipe == AMDGPU_MES_KIQ_PIPE) && !adev->mes.kiq_version)) {
+		/* get MES scheduler/KIQ versions */
+		mutex_lock(&adev->srbm_mutex);
+		soc21_grbm_select(adev, 3, pipe, 0, 0);
 
-	if (pipe == AMDGPU_MES_SCHED_PIPE)
-		adev->mes.sched_version = RREG32_SOC15(GC, 0, regCP_MES_GP3_LO);
-	else if (pipe == AMDGPU_MES_KIQ_PIPE && adev->enable_mes_kiq)
-		adev->mes.kiq_version = RREG32_SOC15(GC, 0, regCP_MES_GP3_LO);
+		if (pipe == AMDGPU_MES_SCHED_PIPE)
+			adev->mes.sched_version = RREG32_SOC15(GC, 0, regCP_MES_GP3_LO);
+		else if (pipe == AMDGPU_MES_KIQ_PIPE && adev->enable_mes_kiq)
+			adev->mes.kiq_version = RREG32_SOC15(GC, 0, regCP_MES_GP3_LO);
 
-	soc21_grbm_select(adev, 0, 0, 0, 0);
-	mutex_unlock(&adev->srbm_mutex);
+		soc21_grbm_select(adev, 0, 0, 0, 0);
+		mutex_unlock(&adev->srbm_mutex);
+	}
 
 	return 0;
 }
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +56 -8

88 lines not on this page · raw message

drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c +4 -2
index 36a830a7440f..87058271b00c 100644
@@ -113,6 +113,7 @@ bool amdgpu_dm_crtc_vrr_active(const struct dm_crtc_state *dm_state)
  *
  * Panel Replay and PSR SU
  * - Enable when:
+ *      - VRR is disabled
  *      - vblank counter is disabled
  *      - entry is allowed: usermode demonstrates an adequate number of fast
  *        commits)
@@ -131,19 +132,20 @@ static void amdgpu_dm_crtc_set_panel_sr_feature(
 	bool is_sr_active = (link->replay_settings.replay_allow_active ||
 				 link->psr_settings.psr_allow_active);
 	bool is_crc_window_active = false;
+	bool vrr_active = amdgpu_dm_crtc_vrr_active_irq(vblank_work->acrtc);
 
 #ifdef CONFIG_DRM_AMD_SECURE_DISPLAY
 	is_crc_window_active =
 		amdgpu_dm_crc_window_is_activated(&vblank_work->acrtc->base);
 #endif
 
-	if (link->replay_settings.replay_feature_enabled &&
+	if (link->replay_settings.replay_feature_enabled && !vrr_active &&
 		allow_sr_entry && !is_sr_active && !is_crc_window_active) {
 		amdgpu_dm_replay_enable(vblank_work->stream, true);
 	} else if (vblank_enabled) {
 		if (link->psr_settings.psr_version < DC_PSR_VERSION_SU_1 && is_sr_active)
 			amdgpu_dm_psr_disable(vblank_work->stream, false);
-	} else if (link->psr_settings.psr_feature_enabled &&
+	} else if (link->psr_settings.psr_feature_enabled && !vrr_active &&
 		allow_sr_entry && !is_sr_active && !is_crc_window_active) {
 
 		struct amdgpu_dm_connector *aconn =
drivers/gpu/drm/amd/display/dc/dml2/dml21/dml21_wrapper.c +21 -7
index fb80ba9287b6..d6fd13f43c08 100644
@@ -2,6 +2,7 @@
 //
 // Copyright 2024 Advanced Micro Devices, Inc.
 
+#include <linux/vmalloc.h>
 
 #include "dml2_internal_types.h"
 #include "dml_top.h"
@@ -13,11 +14,11 @@
 
 static bool dml21_allocate_memory(struct dml2_context **dml_ctx)
 {
-	*dml_ctx = kzalloc(sizeof(struct dml2_context), GFP_KERNEL);
+	*dml_ctx = vzalloc(sizeof(struct dml2_context));
 	if (!(*dml_ctx))
 		return false;
 
-	(*dml_ctx)->v21.dml_init.dml2_instance = kzalloc(sizeof(struct dml2_instance), GFP_KERNEL);
+	(*dml_ctx)->v21.dml_init.dml2_instance = vzalloc(sizeof(struct dml2_instance));
 	if (!((*dml_ctx)->v21.dml_init.dml2_instance))
 		return false;
 
@@ -27,7 +28,7 @@ static bool dml21_allocate_memory(struct dml2_context **dml_ctx)
 	(*dml_ctx)->v21.mode_support.display_config = &(*dml_ctx)->v21.display_config;
 	(*dml_ctx)->v21.mode_programming.display_config = (*dml_ctx)->v21.mode_support.display_config;
 
-	(*dml_ctx)->v21.mode_programming.programming = kzalloc(sizeof(struct dml2_display_cfg_programming), GFP_KERNEL);
+	(*dml_ctx)->v21.mode_programming.programming = vzalloc(sizeof(struct dml2_display_cfg_programming));
 	if (!((*dml_ctx)->v21.mode_programming.programming))
 		return false;
 
@@ -86,6 +87,8 @@ static void dml21_init(const struct dc *in_dc, struct dml2_context **dml_ctx, co
 	/* Store configuration options */
 	(*dml_ctx)->config = *config;
 
+	DC_FP_START();
+
 	/*Initialize SOCBB and DCNIP params */
 	dml21_initialize_soc_bb_params(&(*dml_ctx)->v21.dml_init, config, in_dc);
 	dml21_initialize_ip_params(&(*dml_ctx)->v21.dml_init, config, in_dc);
@@ -96,6 +99,8 @@ static void dml21_init(const struct dc *in_dc, struct dml2_context **dml_ctx, co
 
 	/*Initialize DML21 instance */
 	dml2_initialize_instance(&(*dml_ctx)->v21.dml_init);
+
+	DC_FP_END();
 }
 
 bool dml21_create(const struct dc *in_dc, struct dml2_context **dml_ctx, const struct dml2_configuration_options *config)
@@ -111,8 +116,8 @@ bool dml21_create(const struct dc *in_dc, struct dml2_context **dml_ctx, const s
 
 void dml21_destroy(struct dml2_context *dml2)
 {
-	kfree(dml2->v21.dml_init.dml2_instance);
-	kfree(dml2->v21.mode_programming.programming);
+	vfree(dml2->v21.dml_init.dml2_instance);
+	vfree(dml2->v21.mode_programming.programming);
 }
 
 static void dml21_calculate_rq_and_dlg_params(const struct dc *dc, struct dc_state *context, struct resource_context *out_new_hw_state,
@@ -269,11 +274,16 @@ bool dml21_validate(const struct dc *in_dc, struct dc_state *context, struct dml
 {
 	bool out = false;
 
+	DC_FP_START();
+
 	/* Use dml_validate_only for fast_validate path */
-	if (fast_validate) {
+	if (fast_validate)
 		out = dml21_check_mode_support(in_dc, context, dml_ctx);
-	} else
+	else
 		out = dml21_mode_check_and_programming(in_dc, context, dml_ctx);
+
+	DC_FP_END();
+
 	return out;
 }
 
@@ -412,8 +422,12 @@ void dml21_copy(struct dml2_context *dst_dml_ctx,
 
 	dst_dml_ctx->v21.mode_programming.programming = dst_dml2_programming;
 
+	DC_FP_START();
+
 	/* need to initialize copied instance for internal references to be correct */
 	dml2_initialize_instance(&dst_dml_ctx->v21.dml_init);
+
+	DC_FP_END();
 }
 
 bool dml21_create_copy(struct dml2_context **dst_dml_ctx,
drivers/gpu/drm/amd/display/dc/dml2/dml2_wrapper.c +13 -2
index 68b882d28195..d0f9df2daeb4 100644
@@ -24,6 +24,8 @@
  *
  */
 
+#include <linux/vmalloc.h>
+
 #include "display_mode_core.h"
 #include "dml2_internal_types.h"
 #include "dml2_utils.h"
@@ -732,17 +734,22 @@ bool dml2_validate(const struct dc *in_dc, struct dc_state *context, struct dml2
 		return out;
 	}
 
+	DC_FP_START();
+
 	/* Use dml_validate_only for fast_validate path */
 	if (fast_validate)
 		out = dml2_validate_only(context);
 	else
 		out = dml2_validate_and_build_resource(in_dc, context);
+
+	DC_FP_END();
+
 	return out;
 }
 
 static inline struct dml2_context *dml2_allocate_memory(void)
 {
-	return (struct dml2_context *) kzalloc(sizeof(struct dml2_context), GFP_KERNEL);
+	return (struct dml2_context *) vzalloc(sizeof(struct dml2_context));
 }
 
 static void dml2_init(const struct dc *in_dc, const struct dml2_configuration_options *config, struct dml2_context **dml2)
@@ -776,11 +783,15 @@ static void dml2_init(const struct dc *in_dc, const struct dml2_configuration_op
 		break;
 	}
 
+	DC_FP_START();
+
 	initialize_dml2_ip_params(*dml2, in_dc, &(*dml2)->v20.dml_core_ctx.ip);
 
 	initialize_dml2_soc_bbox(*dml2, in_dc, &(*dml2)->v20.dml_core_ctx.soc);
 
 	initialize_dml2_soc_states(*dml2, in_dc, &(*dml2)->v20.dml_core_ctx.soc, &(*dml2)->v20.dml_core_ctx.states);
+
+	DC_FP_END();
 }
 
 bool dml2_create(const struct dc *in_dc, const struct dml2_configuration_options *config, struct dml2_context **dml2)
@@ -806,7 +817,7 @@ void dml2_destroy(struct dml2_context *dml2)
 
 	if (dml2->architecture == dml2_architecture_21)
 		dml21_destroy(dml2);
-	kfree(dml2);
+	vfree(dml2);
 }
 
 void dml2_extract_dram_and_fclk_change_support(struct dml2_context *dml2,
drivers/gpu/drm/amd/display/dc/hwss/dcn20/dcn20_hwseq.c +5 -1
index a5e18ab72394..b78096a7690e 100644
@@ -3027,7 +3027,11 @@ void dcn20_enable_stream(struct pipe_ctx *pipe_ctx)
 		dccg->funcs->set_dpstreamclk(dccg, DTBCLK0, tg->inst, dp_hpo_inst);
 
 		phyd32clk = get_phyd32clk_src(link);
-		dccg->funcs->enable_symclk32_se(dccg, dp_hpo_inst, phyd32clk);
+		if (link->cur_link_settings.link_rate == LINK_RATE_UNKNOWN) {
+			dccg->funcs->disable_symclk32_se(dccg, dp_hpo_inst);
+		} else {
+			dccg->funcs->enable_symclk32_se(dccg, dp_hpo_inst, phyd32clk);
+		}
 	} else {
 		if (dccg->funcs->enable_symclk_se)
 			dccg->funcs->enable_symclk_se(dccg, stream_enc->stream_enc_inst,
drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c +5 -2
index 555a9f590cd7..89af3e4afbc2 100644
@@ -936,8 +936,11 @@ void dcn401_enable_stream(struct pipe_ctx *pipe_ctx)
 	if (dc_is_dp_signal(pipe_ctx->stream->signal) || dc_is_virtual_signal(pipe_ctx->stream->signal)) {
 		if (dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) {
 			dccg->funcs->set_dpstreamclk(dccg, DPREFCLK, tg->inst, dp_hpo_inst);
-
-			dccg->funcs->enable_symclk32_se(dccg, dp_hpo_inst, phyd32clk);
+			if (link->cur_link_settings.link_rate == LINK_RATE_UNKNOWN) {
+				dccg->funcs->disable_symclk32_se(dccg, dp_hpo_inst);
+			} else {
+				dccg->funcs->enable_symclk32_se(dccg, dp_hpo_inst, phyd32clk);
+			}
 		} else {
 			dccg->funcs->enable_symclk_se(dccg, stream_enc->stream_enc_inst,
 					link_enc->transmitter - TRANSMITTER_UNIPHY_A);
drivers/gpu/drm/amd/display/dc/resource/dcn31/dcn31_resource.c +1 -1
index 911bd60d4fbc..3c42ba8566cf 100644
@@ -890,7 +890,7 @@ static const struct dc_debug_options debug_defaults_drv = {
 	.disable_z10 = true,
 	.enable_legacy_fast_update = true,
 	.enable_z9_disable_interface = true, /* Allow support for the PMFW interface for disable Z9*/
-	.dml_hostvm_override = DML_HOSTVM_NO_OVERRIDE,
+	.dml_hostvm_override = DML_HOSTVM_OVERRIDE_FALSE,
 	.using_dml2 = false,
 };
 
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_thermal.c +2 -2
index a8fc0fa44db6..ba5c1237fcfe 100644
@@ -267,10 +267,10 @@ int smu7_fan_ctrl_set_fan_speed_rpm(struct pp_hwmgr *hwmgr, uint32_t speed)
 	if (hwmgr->thermal_controller.fanInfo.bNoFan ||
 			(hwmgr->thermal_controller.fanInfo.
 			ucTachometerPulsesPerRevolution == 0) ||
-			speed == 0 ||
+			(!speed || speed > UINT_MAX/8) ||
 			(speed < hwmgr->thermal_controller.fanInfo.ulMinRPM) ||
 			(speed > hwmgr->thermal_controller.fanInfo.ulMaxRPM))
-		return 0;
+		return -EINVAL;
 
 	if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl))
 		smu7_fan_ctrl_stop_smc_fan_control(hwmgr);
drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega10_thermal.c +2 -2
index 379012494da5..56423aedf3fa 100644
@@ -307,10 +307,10 @@ int vega10_fan_ctrl_set_fan_speed_rpm(struct pp_hwmgr *hwmgr, uint32_t speed)
 	int result = 0;
 
 	if (hwmgr->thermal_controller.fanInfo.bNoFan ||
-	    speed == 0 ||
+	    (!speed || speed > UINT_MAX/8) ||
 	    (speed < hwmgr->thermal_controller.fanInfo.ulMinRPM) ||
 	    (speed > hwmgr->thermal_controller.fanInfo.ulMaxRPM))
-		return -1;
+		return -EINVAL;
 
 	if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl))
 		result = vega10_fan_ctrl_stop_smc_fan_control(hwmgr);
drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_thermal.c +1 -1
index a3331ffb2daf..1b1c88590156 100644
@@ -191,7 +191,7 @@ int vega20_fan_ctrl_set_fan_speed_rpm(struct pp_hwmgr *hwmgr, uint32_t speed)
 	uint32_t tach_period, crystal_clock_freq;
 	int result = 0;
 
-	if (!speed)
+	if (!speed || speed > UINT_MAX/8)
 		return -EINVAL;
 
 	if (PP_CAP(PHM_PlatformCaps_MicrocodeFanControl)) {
drivers/gpu/drm/amd/pm/swsmu/smu11/arcturus_ppt.c +3 -0
index 8aa61a9f7778..453952cdc353 100644
@@ -1267,6 +1267,9 @@ static int arcturus_set_fan_speed_rpm(struct smu_context *smu,
 	uint32_t crystal_clock_freq = 2500;
 	uint32_t tach_period;
 
+	if (!speed || speed > UINT_MAX/8)
+		return -EINVAL;
+
 	tach_period = 60 * crystal_clock_freq * 10000 / (8 * speed);
 	WREG32_SOC15(THM, 0, mmCG_TACH_CTRL_ARCT,
 		     REG_SET_FIELD(RREG32_SOC15(THM, 0, mmCG_TACH_CTRL_ARCT),
drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c +1 -1
index 189c6a32b6bd..54229b991858 100644
@@ -1200,7 +1200,7 @@ int smu_v11_0_set_fan_speed_rpm(struct smu_context *smu,
 	uint32_t crystal_clock_freq = 2500;
 	uint32_t tach_period;
 
-	if (speed == 0)
+	if (!speed || speed > UINT_MAX/8)
 		return -EINVAL;
 	/*
 	 * To prevent from possible overheat, some ASICs may have requirement
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c +1 -1
index fbbdfa54f6a2..b508d475d2e1 100644
@@ -1229,7 +1229,7 @@ int smu_v13_0_set_fan_speed_rpm(struct smu_context *smu,
 	uint32_t tach_period;
 	int ret;
 
-	if (!speed)
+	if (!speed || speed > UINT_MAX/8)
 		return -EINVAL;
 
 	ret = smu_v13_0_auto_fan_control(smu, 0);
drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0_2_ppt.c +54 -1

97 lines not on this page · raw message

drivers/gpu/drm/ast/ast_dp.c +6 -0
index b9eb67e3fa90..2d7482a65f62 100644
@@ -17,6 +17,12 @@ static bool ast_astdp_is_connected(struct ast_device *ast)
 {
 	if (!ast_get_index_reg_mask(ast, AST_IO_VGACRI, 0xDF, AST_IO_VGACRDF_HPD))
 		return false;
+	/*
+	 * HPD might be set even if no monitor is connected, so also check that
+	 * the link training was successful.
+	 */
+	if (!ast_get_index_reg_mask(ast, AST_IO_VGACRI, 0xDC, AST_IO_VGACRDC_LINK_SUCCESS))
+		return false;
 	return true;
 }
 
drivers/gpu/drm/i915/display/intel_bw.c +13 -1
index 23edc81741de..dd1cae3021af 100644
@@ -244,6 +244,7 @@ static int icl_get_qgv_points(struct drm_i915_private *dev_priv,
 			qi->deinterleave = 4;
 			break;
 		case INTEL_DRAM_GDDR:
+		case INTEL_DRAM_GDDR_ECC:
 			qi->channel_width = 32;
 			break;
 		default:
@@ -398,6 +399,12 @@ static const struct intel_sa_info xe2_hpd_sa_info = {
 	/* Other values not used by simplified algorithm */
 };
 
+static const struct intel_sa_info xe2_hpd_ecc_sa_info = {
+	.derating = 45,
+	.deprogbwlimit = 53,
+	/* Other values not used by simplified algorithm */
+};
+
 static int icl_get_bw_info(struct drm_i915_private *dev_priv, const struct intel_sa_info *sa)
 {
 	struct intel_qgv_info qi = {};
@@ -740,10 +747,15 @@ static unsigned int icl_qgv_bw(struct drm_i915_private *i915,
 
 void intel_bw_init_hw(struct drm_i915_private *dev_priv)
 {
+	const struct dram_info *dram_info = &dev_priv->dram_info;
+
 	if (!HAS_DISPLAY(dev_priv))
 		return;
 
-	if (DISPLAY_VERx100(dev_priv) >= 1401 && IS_DGFX(dev_priv))
+	if (DISPLAY_VERx100(dev_priv) >= 1401 && IS_DGFX(dev_priv) &&
+		 dram_info->type == INTEL_DRAM_GDDR_ECC)
+		xe2_hpd_get_bw_info(dev_priv, &xe2_hpd_ecc_sa_info);
+	else if (DISPLAY_VERx100(dev_priv) >= 1401 && IS_DGFX(dev_priv))
 		xe2_hpd_get_bw_info(dev_priv, &xe2_hpd_sa_info);
 	else if (DISPLAY_VER(dev_priv) >= 14)
 		tgl_get_bw_info(dev_priv, &mtl_sa_info);
drivers/gpu/drm/i915/display/intel_display.c +3 -1
index c9dcf2bbd4c7..c974f86eaf93 100644
@@ -1109,7 +1109,9 @@ static bool vrr_params_changed(const struct intel_crtc_state *old_crtc_state,
 		old_crtc_state->vrr.vmin != new_crtc_state->vrr.vmin ||
 		old_crtc_state->vrr.vmax != new_crtc_state->vrr.vmax ||
 		old_crtc_state->vrr.guardband != new_crtc_state->vrr.guardband ||
-		old_crtc_state->vrr.pipeline_full != new_crtc_state->vrr.pipeline_full;
+		old_crtc_state->vrr.pipeline_full != new_crtc_state->vrr.pipeline_full ||
+		old_crtc_state->vrr.vsync_start != new_crtc_state->vrr.vsync_start ||
+		old_crtc_state->vrr.vsync_end != new_crtc_state->vrr.vsync_end;
 }
 
 static bool cmrr_params_changed(const struct intel_crtc_state *old_crtc_state,
drivers/gpu/drm/i915/display/intel_display_device.h +1 -0
index 9a333d9e6601..3b1e8e4c86e7 100644
@@ -159,6 +159,7 @@ struct intel_display_platforms {
 #define HAS_DPT(__display)		(DISPLAY_VER(__display) >= 13)
 #define HAS_DSB(__display)		(DISPLAY_INFO(__display)->has_dsb)
 #define HAS_DSC(__display)		(DISPLAY_RUNTIME_INFO(__display)->has_dsc)
+#define HAS_DSC_3ENGINES(__display)	(DISPLAY_VERx100(__display) == 1401 && HAS_DSC(__display))
 #define HAS_DSC_MST(__display)		(DISPLAY_VER(__display) >= 12 && HAS_DSC(__display))
 #define HAS_FBC(__display)		(DISPLAY_RUNTIME_INFO(__display)->fbc_mask != 0)
 #define HAS_FPGA_DBG_UNCLAIMED(__display)	(DISPLAY_INFO(__display)->has_fpga_dbg)
drivers/gpu/drm/i915/display/intel_dp.c +46 -10

89 lines not on this page · raw message

drivers/gpu/drm/i915/display/intel_vblank.c +3 -1
index a95fb3349eba..9e024d153e83 100644
@@ -222,7 +222,9 @@ int intel_crtc_scanline_offset(const struct intel_crtc_state *crtc_state)
 	 * However if queried just before the start of vblank we'll get an
 	 * answer that's slightly in the future.
 	 */
-	if (DISPLAY_VER(display) == 2)
+	if (DISPLAY_VER(display) >= 20 || display->platform.battlemage)
+		return 1;
+	else if (DISPLAY_VER(display) == 2)
 		return -1;
 	else if (HAS_DDI(display) && intel_crtc_has_type(crtc_state, INTEL_OUTPUT_HDMI))
 		return 2;
drivers/gpu/drm/i915/gvt/opregion.c +4 -3
index 509f9ccae3a9..dbad4d853d3a 100644
@@ -222,7 +222,6 @@ int intel_vgpu_init_opregion(struct intel_vgpu *vgpu)
 	u8 *buf;
 	struct opregion_header *header;
 	struct vbt v;
-	const char opregion_signature[16] = OPREGION_SIGNATURE;
 
 	gvt_dbg_core("init vgpu%d opregion\n", vgpu->id);
 	vgpu_opregion(vgpu)->va = (void *)__get_free_pages(GFP_KERNEL |
@@ -236,8 +235,10 @@ int intel_vgpu_init_opregion(struct intel_vgpu *vgpu)
 	/* emulated opregion with VBT mailbox only */
 	buf = (u8 *)vgpu_opregion(vgpu)->va;
 	header = (struct opregion_header *)buf;
-	memcpy(header->signature, opregion_signature,
-	       sizeof(opregion_signature));
+
+	static_assert(sizeof(header->signature) == sizeof(OPREGION_SIGNATURE) - 1);
+	memcpy(header->signature, OPREGION_SIGNATURE, sizeof(header->signature));
+
 	header->size = 0x8;
 	header->opregion_ver = 0x02000000;
 	header->mboxes = MBOX_VBT;
drivers/gpu/drm/i915/i915_drv.h +1 -0
index b96b8de12756..def73ce0c3ba 100644
@@ -306,6 +306,7 @@ struct drm_i915_private {
 			INTEL_DRAM_DDR5,
 			INTEL_DRAM_LPDDR5,
 			INTEL_DRAM_GDDR,
+			INTEL_DRAM_GDDR_ECC,
 		} type;
 		u8 num_qgv_points;
 		u8 num_psf_gv_points;
drivers/gpu/drm/i915/soc/intel_dram.c +4 -0
index 9e310f4099f4..f60eedb0e92c 100644
@@ -687,6 +687,10 @@ static int xelpdp_get_dram_info(struct drm_i915_private *i915)
 		drm_WARN_ON(&i915->drm, !IS_DGFX(i915));
 		dram_info->type = INTEL_DRAM_GDDR;
 		break;
+	case 9:
+		drm_WARN_ON(&i915->drm, !IS_DGFX(i915));
+		dram_info->type = INTEL_DRAM_GDDR_ECC;
+		break;
 	default:
 		MISSING_CASE(val);
 		return -EINVAL;
drivers/gpu/drm/imagination/pvr_fw.c +20 -7
index 3debc9870a82..d09c4c684116 100644
@@ -732,7 +732,7 @@ pvr_fw_process(struct pvr_device *pvr_dev)
 					       fw_mem->core_data, fw_mem->core_code_alloc_size);
 
 	if (err)
-		goto err_free_fw_core_data_obj;
+		goto err_free_kdata;
 
 	memcpy(fw_code_ptr, fw_mem->code, fw_mem->code_alloc_size);
 	memcpy(fw_data_ptr, fw_mem->data, fw_mem->data_alloc_size);
@@ -742,10 +742,14 @@ pvr_fw_process(struct pvr_device *pvr_dev)
 		memcpy(fw_core_data_ptr, fw_mem->core_data, fw_mem->core_data_alloc_size);
 
 	/* We're finished with the firmware section memory on the CPU, unmap. */
-	if (fw_core_data_ptr)
+	if (fw_core_data_ptr) {
 		pvr_fw_object_vunmap(fw_mem->core_data_obj);
-	if (fw_core_code_ptr)
+		fw_core_data_ptr = NULL;
+	}
+	if (fw_core_code_ptr) {
 		pvr_fw_object_vunmap(fw_mem->core_code_obj);
+		fw_core_code_ptr = NULL;
+	}
 	pvr_fw_object_vunmap(fw_mem->data_obj);
 	fw_data_ptr = NULL;
 	pvr_fw_object_vunmap(fw_mem->code_obj);
@@ -753,7 +757,7 @@ pvr_fw_process(struct pvr_device *pvr_dev)
 
 	err = pvr_fw_create_fwif_connection_ctl(pvr_dev);
 	if (err)
-		goto err_free_fw_core_data_obj;
+		goto err_free_kdata;
 
 	return 0;
 
@@ -763,13 +767,16 @@ pvr_fw_process(struct pvr_device *pvr_dev)
 	kfree(fw_mem->data);
 	kfree(fw_mem->code);
 
-err_free_fw_core_data_obj:
 	if (fw_core_data_ptr)
-		pvr_fw_object_unmap_and_destroy(fw_mem->core_data_obj);
+		pvr_fw_object_vunmap(fw_mem->core_data_obj);
+	if (fw_mem->core_data_obj)
+		pvr_fw_object_destroy(fw_mem->core_data_obj);
 
 err_free_fw_core_code_obj:
 	if (fw_core_code_ptr)
-		pvr_fw_object_unmap_and_destroy(fw_mem->core_code_obj);
+		pvr_fw_object_vunmap(fw_mem->core_code_obj);
+	if (fw_mem->core_code_obj)
+		pvr_fw_object_destroy(fw_mem->core_code_obj);
 
 err_free_fw_data_obj:
 	if (fw_data_ptr)
@@ -836,6 +843,12 @@ pvr_fw_cleanup(struct pvr_device *pvr_dev)
 	struct pvr_fw_mem *fw_mem = &pvr_dev->fw_dev.mem;
 
 	pvr_fw_fini_fwif_connection_ctl(pvr_dev);
+
+	kfree(fw_mem->core_data);
+	kfree(fw_mem->core_code);
+	kfree(fw_mem->data);
+	kfree(fw_mem->code);
+
 	if (fw_mem->core_code_obj)
 		pvr_fw_object_destroy(fw_mem->core_code_obj);
 	if (fw_mem->core_data_obj)
drivers/gpu/drm/imagination/pvr_job.c +7 -0
index 618503a212a7..aad183a57371 100644
@@ -677,6 +677,13 @@ pvr_jobs_link_geom_frag(struct pvr_job_data *job_data, u32 *job_count)
 		geom_job->paired_job = frag_job;
 		frag_job->paired_job = geom_job;
 
+		/* The geometry job pvr_job structure is used when the fragment
+		 * job is being prepared by the GPU scheduler. Have the fragment
+		 * job hold a reference on the geometry job to prevent it being
+		 * freed until the fragment job has finished with it.
+		 */
+		pvr_job_get(geom_job);
+
 		/* Skip the fragment job we just paired to the geometry job. */
 		i++;
 	}
drivers/gpu/drm/imagination/pvr_queue.c +4 -0
index 43411be930a2..fa1afe1193e1 100644
@@ -866,6 +866,10 @@ static void pvr_queue_free_job(struct drm_sched_job *sched_job)
 	struct pvr_job *job = container_of(sched_job, struct pvr_job, base);
 
 	drm_sched_job_cleanup(sched_job);
+
+	if (job->type == DRM_PVR_JOB_TYPE_FRAGMENT && job->paired_job)
+		pvr_job_put(job->paired_job);
+
 	job->paired_job = NULL;
 	pvr_job_put(job);
 }
drivers/gpu/drm/mgag200/mgag200_mode.c +1 -1
index fb71658c3117..6067d08aeee3 100644
@@ -223,7 +223,7 @@ void mgag200_set_mode_regs(struct mga_device *mdev, const struct drm_display_mod
 	vsyncstr = mode->crtc_vsync_start - 1;
 	vsyncend = mode->crtc_vsync_end - 1;
 	vtotal = mode->crtc_vtotal - 2;
-	vblkstr = mode->crtc_vblank_start;
+	vblkstr = mode->crtc_vblank_start - 1;
 	vblkend = vtotal + 1;
 
 	linecomp = vdispend;
drivers/gpu/drm/msm/adreno/a6xx_gmu.c +39 -33

94 lines not on this page · raw message

drivers/gpu/drm/msm/adreno/a6xx_gpu.c +4 -4
index 0ae29a7c8a4d..2a317cdb8eaa 100644
@@ -242,10 +242,10 @@ static void a6xx_submit(struct msm_gpu *gpu, struct msm_gem_submit *submit)
 				break;
 			fallthrough;
 		case MSM_SUBMIT_CMD_BUF:
-			OUT_PKT7(ring, CP_INDIRECT_BUFFER_PFE, 3);
+			OUT_PKT7(ring, CP_INDIRECT_BUFFER, 3);
 			OUT_RING(ring, lower_32_bits(submit->cmd[i].iova));
 			OUT_RING(ring, upper_32_bits(submit->cmd[i].iova));
-			OUT_RING(ring, submit->cmd[i].size);
+			OUT_RING(ring, A5XX_CP_INDIRECT_BUFFER_2_IB_SIZE(submit->cmd[i].size));
 			ibs++;
 			break;
 		}
@@ -377,10 +377,10 @@ static void a7xx_submit(struct msm_gpu *gpu, struct msm_gem_submit *submit)
 				break;
 			fallthrough;
 		case MSM_SUBMIT_CMD_BUF:
-			OUT_PKT7(ring, CP_INDIRECT_BUFFER_PFE, 3);
+			OUT_PKT7(ring, CP_INDIRECT_BUFFER, 3);
 			OUT_RING(ring, lower_32_bits(submit->cmd[i].iova));
 			OUT_RING(ring, upper_32_bits(submit->cmd[i].iova));
-			OUT_RING(ring, submit->cmd[i].size);
+			OUT_RING(ring, A5XX_CP_INDIRECT_BUFFER_2_IB_SIZE(submit->cmd[i].size));
 			ibs++;
 			break;
 		}
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_1_14_msm8937.h +0 -2
index ab3dfb0b374e..cb89d8cf300f 100644
@@ -132,7 +132,6 @@ static const struct dpu_intf_cfg msm8937_intf[] = {
 		.prog_fetch_lines_worst_case = 14,
 		.intr_underrun = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 26),
 		.intr_vsync = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 27),
-		.intr_tear_rd_ptr = -1,
 	}, {
 		.name = "intf_2", .id = INTF_2,
 		.base = 0x6b000, .len = 0x268,
@@ -141,7 +140,6 @@ static const struct dpu_intf_cfg msm8937_intf[] = {
 		.prog_fetch_lines_worst_case = 14,
 		.intr_underrun = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 28),
 		.intr_vsync = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 29),
-		.intr_tear_rd_ptr = -1,
 	},
 };
 
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_1_15_msm8917.h +0 -1
index 6bdaecca6761..b2a38e62d3a9 100644
@@ -118,7 +118,6 @@ static const struct dpu_intf_cfg msm8917_intf[] = {
 		.prog_fetch_lines_worst_case = 14,
 		.intr_underrun = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 26),
 		.intr_vsync = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 27),
-		.intr_tear_rd_ptr = -1,
 	},
 };
 
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_1_16_msm8953.h +0 -3
index 14f36ea6ad0e..06859984d2a5 100644
@@ -131,7 +131,6 @@ static const struct dpu_intf_cfg msm8953_intf[] = {
 		.prog_fetch_lines_worst_case = 14,
 		.intr_underrun = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 24),
 		.intr_vsync = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 25),
-		.intr_tear_rd_ptr = -1,
 	}, {
 		.name = "intf_1", .id = INTF_1,
 		.base = 0x6a800, .len = 0x268,
@@ -140,7 +139,6 @@ static const struct dpu_intf_cfg msm8953_intf[] = {
 		.prog_fetch_lines_worst_case = 14,
 		.intr_underrun = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 26),
 		.intr_vsync = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 27),
-		.intr_tear_rd_ptr = -1,
 	}, {
 		.name = "intf_2", .id = INTF_2,
 		.base = 0x6b000, .len = 0x268,
@@ -149,7 +147,6 @@ static const struct dpu_intf_cfg msm8953_intf[] = {
 		.prog_fetch_lines_worst_case = 14,
 		.intr_underrun = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 28),
 		.intr_vsync = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 29),
-		.intr_tear_rd_ptr = -1,
 	},
 };
 
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_1_7_msm8996.h +0 -4
index 491f6f5827d1..153e275513c3 100644
@@ -241,7 +241,6 @@ static const struct dpu_intf_cfg msm8996_intf[] = {
 		.prog_fetch_lines_worst_case = 25,
 		.intr_underrun = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 24),
 		.intr_vsync = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 25),
-		.intr_tear_rd_ptr = -1,
 	}, {
 		.name = "intf_1", .id = INTF_1,
 		.base = 0x6a800, .len = 0x268,
@@ -250,7 +249,6 @@ static const struct dpu_intf_cfg msm8996_intf[] = {
 		.prog_fetch_lines_worst_case = 25,
 		.intr_underrun = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 26),
 		.intr_vsync = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 27),
-		.intr_tear_rd_ptr = -1,
 	}, {
 		.name = "intf_2", .id = INTF_2,
 		.base = 0x6b000, .len = 0x268,
@@ -259,7 +257,6 @@ static const struct dpu_intf_cfg msm8996_intf[] = {
 		.prog_fetch_lines_worst_case = 25,
 		.intr_underrun = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 28),
 		.intr_vsync = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 29),
-		.intr_tear_rd_ptr = -1,
 	}, {
 		.name = "intf_3", .id = INTF_3,
 		.base = 0x6b800, .len = 0x268,
@@ -267,7 +264,6 @@ static const struct dpu_intf_cfg msm8996_intf[] = {
 		.prog_fetch_lines_worst_case = 25,
 		.intr_underrun = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 30),
 		.intr_vsync = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 31),
-		.intr_tear_rd_ptr = -1,
 	},
 };
 
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_3_2_sdm660.h +0 -3
index 424815e7fb7d..f247625ed7e5 100644
@@ -202,7 +202,6 @@ static const struct dpu_intf_cfg sdm660_intf[] = {
 		.prog_fetch_lines_worst_case = 21,
 		.intr_underrun = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 24),
 		.intr_vsync = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 25),
-		.intr_tear_rd_ptr = -1,
 	}, {
 		.name = "intf_1", .id = INTF_1,
 		.base = 0x6a800, .len = 0x280,
@@ -211,7 +210,6 @@ static const struct dpu_intf_cfg sdm660_intf[] = {
 		.prog_fetch_lines_worst_case = 21,
 		.intr_underrun = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 26),
 		.intr_vsync = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 27),
-		.intr_tear_rd_ptr = -1,
 	}, {
 		.name = "intf_2", .id = INTF_2,
 		.base = 0x6b000, .len = 0x280,
@@ -220,7 +218,6 @@ static const struct dpu_intf_cfg sdm660_intf[] = {
 		.prog_fetch_lines_worst_case = 21,
 		.intr_underrun = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 28),
 		.intr_vsync = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 29),
-		.intr_tear_rd_ptr = -1,
 	},
 };
 
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_3_3_sdm630.h +0 -2
index df01227fc364..5ddd2b3c0cd2 100644
@@ -147,7 +147,6 @@ static const struct dpu_intf_cfg sdm630_intf[] = {
 		.prog_fetch_lines_worst_case = 21,
 		.intr_underrun = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 24),
 		.intr_vsync = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 25),
-		.intr_tear_rd_ptr = -1,
 	}, {
 		.name = "intf_1", .id = INTF_1,
 		.base = 0x6a800, .len = 0x280,
@@ -156,7 +155,6 @@ static const struct dpu_intf_cfg sdm630_intf[] = {
 		.prog_fetch_lines_worst_case = 21,
 		.intr_underrun = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 26),
 		.intr_vsync = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 27),
-		.intr_tear_rd_ptr = -1,
 	},
 };
 
drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c +3 -0
index af3e541f60c3..b19193b02ab3 100644
@@ -1059,6 +1059,9 @@ static int dpu_plane_virtual_atomic_check(struct drm_plane *plane,
 	struct drm_crtc_state *crtc_state;
 	int ret;
 
+	if (IS_ERR(plane_state))
+		return PTR_ERR(plane_state);
+
 	if (plane_state->crtc)
 		crtc_state = drm_atomic_get_new_crtc_state(state,
 							   plane_state->crtc);
drivers/gpu/drm/msm/dsi/dsi_host.c +8 -1
index 42e100a8adca..e9b824ed4353 100644
@@ -1827,8 +1827,15 @@ static int dsi_host_parse_dt(struct msm_dsi_host *msm_host)
 			__func__, ret);
 		goto err;
 	}
-	if (!ret)
+	if (!ret) {
 		msm_dsi->te_source = devm_kstrdup(dev, te_source, GFP_KERNEL);
+		if (!msm_dsi->te_source) {
+			DRM_DEV_ERROR(dev, "%s: failed to allocate te_source\n",
+				__func__);
+			ret = -ENOMEM;
+			goto err;
+		}
+	}
 	ret = 0;
 
 	if (of_property_present(np, "syscon-sfpb")) {
drivers/gpu/drm/msm/registers/adreno/adreno_pm4.xml +7 -0
index 55a35182858c..5a6ae9fc3194 100644
@@ -2259,5 +2259,12 @@ opcode: CP_LOAD_STATE4 (30) (4 dwords)
 	</reg32>
 </domain>
 
+<domain name="CP_INDIRECT_BUFFER" width="32" varset="chip" prefix="chip" variants="A5XX-">
+	<reg64 offset="0" name="IB_BASE" type="address"/>
+	<reg32 offset="2" name="2">
+		<bitfield name="IB_SIZE" low="0" high="19"/>
+	</reg32>
+</domain>
+
 </database>
 
drivers/gpu/drm/nouveau/nouveau_bo.c +3 -0
index db961eade225..2016c1e7242f 100644
@@ -144,6 +144,9 @@ nouveau_bo_del_ttm(struct ttm_buffer_object *bo)
 	nouveau_bo_del_io_reserve_lru(bo);
 	nv10_bo_put_tile_region(dev, nvbo->tile, NULL);
 
+	if (bo->base.import_attach)
+		drm_prime_gem_destroy(&bo->base, bo->sg);
+
 	/*
 	 * If nouveau_bo_new() allocated this buffer, the GEM object was never
 	 * initialized, so don't attempt to release it.
drivers/gpu/drm/nouveau/nouveau_gem.c +0 -3
index 9ae2cee1c7c5..67e3c99de73a 100644
@@ -87,9 +87,6 @@ nouveau_gem_object_del(struct drm_gem_object *gem)
 		return;
 	}
 
-	if (gem->import_attach)
-		drm_prime_gem_destroy(gem, nvbo->bo.sg);
-
 	ttm_bo_put(&nvbo->bo);
 
 	pm_runtime_mark_last_busy(dev);
drivers/gpu/drm/sti/Makefile +0 -2
index f203ac5514ae..f778a4eee7c9 100644
@@ -7,8 +7,6 @@ sti-drm-y := \
 	sti_compositor.o \
 	sti_crtc.o \
 	sti_plane.o \
-	sti_crtc.o \
-	sti_plane.o \
 	sti_hdmi.o \
 	sti_hdmi_tx3g4c28phy.o \
 	sti_dvo.o \
drivers/gpu/drm/tiny/repaper.c +2 -2
index 52ba6c699bc8..5c3b51eb0a97 100644
@@ -456,7 +456,7 @@ static void repaper_frame_fixed_repeat(struct repaper_epd *epd, u8 fixed_value,
 				       enum repaper_stage stage)
 {
 	u64 start = local_clock();
-	u64 end = start + (epd->factored_stage_time * 1000 * 1000);
+	u64 end = start + ((u64)epd->factored_stage_time * 1000 * 1000);
 
 	do {
 		repaper_frame_fixed(epd, fixed_value, stage);
@@ -467,7 +467,7 @@ static void repaper_frame_data_repeat(struct repaper_epd *epd, const u8 *image,
 				      const u8 *mask, enum repaper_stage stage)
 {
 	u64 start = local_clock();
-	u64 end = start + (epd->factored_stage_time * 1000 * 1000);
+	u64 end = start + ((u64)epd->factored_stage_time * 1000 * 1000);
 
 	do {
 		repaper_frame_data(epd, image, mask, stage);
drivers/gpu/drm/v3d/v3d_sched.c +13 -3
index 05608c894ed9..6db503a56918 100644
@@ -428,7 +428,8 @@ v3d_rewrite_csd_job_wg_counts_from_indirect(struct v3d_cpu_job *job)
 	struct v3d_bo *bo = to_v3d_bo(job->base.bo[0]);
 	struct v3d_bo *indirect = to_v3d_bo(indirect_csd->indirect);
 	struct drm_v3d_submit_csd *args = &indirect_csd->job->args;
-	u32 *wg_counts;
+	struct v3d_dev *v3d = job->base.v3d;
+	u32 num_batches, *wg_counts;
 
 	v3d_get_bo_vaddr(bo);
 	v3d_get_bo_vaddr(indirect);
@@ -441,8 +442,17 @@ v3d_rewrite_csd_job_wg_counts_from_indirect(struct v3d_cpu_job *job)
 	args->cfg[0] = wg_counts[0] << V3D_CSD_CFG012_WG_COUNT_SHIFT;
 	args->cfg[1] = wg_counts[1] << V3D_CSD_CFG012_WG_COUNT_SHIFT;
 	args->cfg[2] = wg_counts[2] << V3D_CSD_CFG012_WG_COUNT_SHIFT;
-	args->cfg[4] = DIV_ROUND_UP(indirect_csd->wg_size, 16) *
-		       (wg_counts[0] * wg_counts[1] * wg_counts[2]) - 1;
+
+	num_batches = DIV_ROUND_UP(indirect_csd->wg_size, 16) *
+		      (wg_counts[0] * wg_counts[1] * wg_counts[2]);
+
+	/* V3D 7.1.6 and later don't subtract 1 from the number of batches */
+	if (v3d->ver < 71 || (v3d->ver == 71 && v3d->rev < 6))
+		args->cfg[4] = num_batches - 1;
+	else
+		args->cfg[4] = num_batches;
+
+	WARN_ON(args->cfg[4] == ~0);
 
 	for (int i = 0; i < 3; i++) {
 		/* 0xffffffff indicates that the uniform rewrite is not needed */
drivers/gpu/drm/virtio/virtgpu_gem.c +6 -5
index 5aab588fc400..3d6aa26fdb53 100644
@@ -115,13 +115,14 @@ int virtio_gpu_gem_object_open(struct drm_gem_object *obj,
 	if (!vgdev->has_context_init)
 		virtio_gpu_create_context(obj->dev, file);
 
-	objs = virtio_gpu_array_alloc(1);
-	if (!objs)
-		return -ENOMEM;
[… more lines in the raw message]

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

drivers/gpu/drm/virtio/virtgpu_plane.c +14 -6
index 42aa554eca9f..26abe3d1b122 100644

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

drivers/gpu/drm/xe/xe_device_types.h +1 -0
index 8a7b15972413..eaf7a5bf0a38 100644

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

drivers/gpu/drm/xe/xe_dma_buf.c +1 -4
index f67803e15a0e..f7a20264ea33 100644

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

drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c +10 -2
index 0a93831c0a02..9405d83d4db2 100644

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

drivers/gpu/drm/xe/xe_guc_ads.c +45 -30

75 lines not on this page · raw message

drivers/gpu/drm/xe/xe_hmm.c +0 -24
index c3cc0fa105e8..57b71956ddf4 100644

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

drivers/gpu/drm/xe/xe_migrate.c +1 -1
index 278bc96cf593..fb93345b3770 100644

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

drivers/i2c/busses/i2c-cros-ec-tunnel.c +3 -0
index 43bf90d90eeb..208ce4f9e782 100644

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

drivers/i2c/i2c-atr.c +1 -1
index 8fe9ddff8e96..783fb8df2ebe 100644

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

drivers/infiniband/core/cma.c +3 -1
index 91db10515d74..176d0b3e4488 100644

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

drivers/infiniband/core/umem_odp.c +4 -2
index e9fa22d31c23..c48ef6083020 100644

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

drivers/infiniband/hw/bnxt_re/ib_verbs.c +0 -10
index 6f5db32082dd..02b21d484677 100644

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

drivers/infiniband/hw/hns/hns_roce_main.c +1 -1
index cf89a8db4f64..8d0b63d4b50a 100644

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

drivers/infiniband/hw/usnic/usnic_ib_main.c +7 -7
index 4ddcd5860e0f..11eca39b73a9 100644

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

drivers/md/md-bitmap.c +2 -3
index 9ae6cc8e30cb..27409d05f053 100644

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

drivers/md/raid10.c +1 -0
index af010b64be63..76a75925b713 100644

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

drivers/net/can/rockchip/rockchip_canfd-core.c +4 -3
index 46201c126703..7107a37da36c 100644

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

drivers/net/dsa/b53/b53_common.c +10 -0
index 79dc77835681..3b49e87e8ef7 100644

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

drivers/net/dsa/mv88e6xxx/chip.c +12 -1
index 29a89ab4b789..08db846cda8d 100644

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

drivers/net/dsa/mv88e6xxx/devlink.c +2 -1
index 795c8df7b6a7..195460a0a0d4 100644

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

drivers/net/ethernet/amd/pds_core/debugfs.c +3 -2
index ac37a4e738ae..04c5e3abd8d7 100644

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

drivers/net/ethernet/broadcom/bnxt/bnxt.c +2 -2
index 2cd79b59cf00..1b39574e3fa2 100644

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

drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c +1 -0
index 7f3f5afa864f..1546c3db08f0 100644

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

drivers/net/ethernet/hisilicon/hibmcge/hbg_err.c +3 -0
index 4d1f4a33391a..5e288db06d6f 100644

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

drivers/net/ethernet/hisilicon/hibmcge/hbg_hw.c +7 -0
index e7798f213645..56089849753d 100644

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

drivers/net/ethernet/hisilicon/hibmcge/hbg_main.c +3 -3
index bb0f25ac9760..4d20679b2543 100644

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

drivers/net/ethernet/hisilicon/hibmcge/hbg_reg.h +3 -0
index f12efc12f3c5..c254f4036329 100644

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

drivers/net/ethernet/intel/igc/igc.h +1 -0
index c35cc5cb1185..2f265c0959c7 100644

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

drivers/net/ethernet/intel/igc/igc_defines.h +5 -1
index 8e449904aa7d..d19325b0e6e0 100644

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

drivers/net/ethernet/intel/igc/igc_main.c +1 -0
index daf2a24ead03..80831c57f750 100644

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

drivers/net/ethernet/intel/igc/igc_ptp.c +74 -39

113 lines not on this page · raw message

drivers/net/ethernet/marvell/octeontx2/nic/rep.c +2 -0
index 04e08e06f30f..7153a71dfc86 100644

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

drivers/net/ethernet/mediatek/mtk_eth_soc.c +29 -20

49 lines not on this page · raw message

drivers/net/ethernet/mediatek/mtk_eth_soc.h +1 -0
index 0d5225f1d3ee..8d7b6818d860 100644

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

drivers/net/ethernet/ti/am65-cpsw-nuss.c +14 -1
index bef734c6e5c2..afe8127fd32b 100644

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

drivers/net/ethernet/ti/icssg/icss_iep.c +102 -52

154 lines not on this page · raw message

drivers/net/ethernet/wangxun/ngbe/ngbe_main.c +2 -1
index 53aeae2f884b..1be2a5cc4a83 100644

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

drivers/net/ethernet/wangxun/txgbe/txgbe_main.c +2 -1
index f77450268036..7e352837184f 100644

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

drivers/net/wireless/ath/ath12k/dp_mon.c +2 -2
index 0b089389087d..b952e79179d0 100644

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

drivers/net/wireless/atmel/at76c50x-usb.c +1 -1
index 504e05ea30f2..97ea7ab0f491 100644

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

drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c +3 -1
index cfcf01eb0daa..f26e4679e4ff 100644

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

drivers/net/wireless/intel/iwlwifi/pcie/trans-gen2.c +7 -1
index 793514a1852a..e37fa5ae97f6 100644

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

drivers/net/wireless/ti/wl1251/tx.c +3 -1
index 474b603c121c..adb4840b0489 100644

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

drivers/nvme/target/fc.c +0 -14
index 3ef4beacde32..7318b736d414 100644

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

drivers/nvme/target/pci-epf.c +50 -24

74 lines not on this page · raw message

drivers/pci/pci.c +0 -4
index 3152750aab2f..f489256cd9de 100644

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

drivers/platform/mellanox/mlxbf-bootctl.c +2 -2
index 9cae07348d5e..49d4394e9f8a 100644

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

drivers/platform/x86/amd/pmf/auto-mode.c +2 -2
index 02ff68be10d0..a184922bba8d 100644

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

drivers/platform/x86/amd/pmf/cnqf.c +4 -4
index bc8899e15c91..207a0b33d8d3 100644

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

drivers/platform/x86/amd/pmf/core.c +14 -0
index a2cb2d5544f5..96821101ec77 100644

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

drivers/platform/x86/amd/pmf/pmf.h +1 -0
index e6bdee68ccf3..45b60238d527 100644

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

drivers/platform/x86/amd/pmf/sps.c +8 -4
index d3083383f11f..49e14ca94a9e 100644

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

drivers/platform/x86/amd/pmf/tee-if.c +4 -2
index a1e43873a07b..14b99d8b63d2 100644

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

drivers/platform/x86/asus-laptop.c +6 -3
index d460dd194f19..a0a411b4f2d6 100644

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

drivers/platform/x86/dell/alienware-wmi.c +55 -1

56 lines not on this page · raw message

drivers/platform/x86/msi-wmi-platform.c +63 -36

99 lines not on this page · raw message

drivers/ptp/ptp_ocp.c +1 -0
index 4a87af0980d6..4b7344e1816e 100644

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

drivers/ras/amd/atl/internal.h +3 -0
index f9be26d25348..d096b58cd0ae 100644

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

drivers/ras/amd/atl/umc.c +17 -2
index dc8aa12f63c8..6e072b7667e9 100644

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

drivers/ras/amd/fmpm.c +8 -1
index 90de737fbc90..8877c6ff64c4 100644

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

drivers/scsi/hisi_sas/hisi_sas_v2_hw.c +7 -2
index 6e7f99fcc824..3af991cad07e 100644

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

drivers/scsi/hisi_sas/hisi_sas_v3_hw.c +12 -2
index 095bbf80c34e..6a0656f3b596 100644

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

drivers/scsi/megaraid/megaraid_sas_base.c +7 -2
index d85f990aec88..6116799ddf9c 100644

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

drivers/scsi/megaraid/megaraid_sas_fusion.c +4 -1
index 1eec23da28e2..1eea4df9e47d 100644

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

drivers/scsi/scsi_transport_iscsi.c +5 -2
index 9c347c64c315..0b8c91bf793f 100644

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

drivers/scsi/smartpqi/smartpqi_init.c +7 -6
index 0da7be40c925..e790b5d4e3c7 100644

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

drivers/thermal/intel/int340x_thermal/processor_thermal_rfim.c +17 -16
index dad63f2d5f90..3a028b78d9af 100644

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

drivers/ufs/host/ufs-exynos.c +32 -9

41 lines not on this page · raw message

drivers/ufs/host/ufs-exynos.h +4 -1
index 9670dc138d1e..d0b3df221503 100644

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

fs/Kconfig +1 -0
index 64d420e3c475..8fd1011f7d62 100644

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

fs/btrfs/ioctl.c +2 -0
index 6c18bad53cd3..e666c141cae0 100644

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

fs/btrfs/super.c +1 -2
index dc4fee519ca6..a5f29ff3fbc2 100644

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

fs/eventpoll.c +27 -11
index 7c0980db77b3..c01234bbac49 100644

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

fs/fuse/virtio_fs.c +3 -0
index 82afe78ec542..997636ed3d1b 100644

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

fs/hfs/bnode.c +6 -0
index 6add6ebfef89..cb823a8a6ba9 100644

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

fs/hfsplus/bnode.c +6 -0
index 87974d5e6791..079ea80534f7 100644

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

fs/isofs/export.c +1 -1
index 35768a63fb1d..421d247fae52 100644

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

fs/nfs/Kconfig +1 -1
index d3f76101ad4b..07932ce9246c 100644

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

fs/nfs/internal.h +0 -7
index fae2c7ae4acc..59bb4d0338f3 100644

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

fs/nfs/nfs4session.h +0 -4
index 351616c61df5..f9c291e2165c 100644

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

fs/nfsd/Kconfig +1 -0
index 792d3fed1b45..731a88f6313e 100644

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

fs/nfsd/nfs4state.c +1 -1
index 2de49e2d6ac4..613bee7edb81 100644

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

fs/nfsd/nfsfh.h +0 -7
index 876152a91f12..5103c2f4d225 100644

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

fs/overlayfs/overlayfs.h +0 -2
index 0021e2025020..be86d2ed71d6 100644

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

fs/overlayfs/super.c +5 -0
index 86ae6f6da36b..b11094acdd8f 100644

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

fs/smb/client/cifsproto.h +2 -0
index 81680001944d..278092a15f89 100644

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

fs/smb/client/connect.c +9 -25
index e417052694f2..cc9c912db8de 100644

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

fs/smb/client/file.c +28 -0
index 8582cf61242c..60103d5305d6 100644

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

fs/smb/server/connection.c +3 -1
index c1f22c129111..83764c230e9d 100644

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

fs/smb/server/oplock.c +9 -20
index f103b1bd0400..81a29857b1e3 100644

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

fs/smb/server/oplock.h +0 -1
index 3f64f0787263..9a56eaadd0dd 100644

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

fs/smb/server/smb2pdu.c +3 -1
index d24d95d15d87..57839f9708bb 100644

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

fs/smb/server/transport_ipc.c +6 -1
index 3f185ae60dc5..2a3e2b0ce557 100644

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

fs/smb/server/transport_tcp.c +9 -5
index 7f38a3c3f5bd..abedf510899a 100644

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

fs/smb/server/transport_tcp.h +1 -0
index 8c9aa624cfe3..1e51675ee1b2 100644

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

fs/smb/server/vfs.c +2 -1
index 6890016e1923..9c765b973751 100644

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

include/drm/intel/pciids.h +1 -0
index f9d3e85142ea..750323e1947b 100644

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

include/linux/backing-dev.h +1 -0
index 8e7af9a03b41..e721148c95d0 100644

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

include/linux/firmware/cirrus/cs_dsp_test_utils.h +0 -1
index 4f87a908ab4f..ecd821ed8064 100644

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

include/linux/nfs.h +0 -7
index 9ad727ddfedb..0906a0b40c6a 100644

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

include/uapi/drm/ivpu_accel.h +2 -2
index a35b97b097bf..e778dc24cc34 100644

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

io_uring/rsrc.c +16 -1
index af39b69eb4fd..dbb94d93279b 100644

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

kernel/sched/cpufreq_schedutil.c +39 -7

46 lines not on this page · raw message

kernel/trace/ftrace.c +4 -3
index 62d300eee7eb..201e770185dd 100644

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

kernel/trace/trace_events_filter.c +2 -2
index 0993dfc1c5c1..2048560264bb 100644

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

lib/alloc_tag.c +12 -3
index 19b45617bdcf..513176e33242 100644

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

lib/iov_iter.c +1 -1
index 8c7fdb7d8c8f..bc9391e55d57 100644

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

lib/string.c +10 -3
index eb4486ed40d2..b632c71df1a5 100644

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

mm/compaction.c +3 -3
index a3203d97123e..ae734de0038c 100644

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

mm/filemap.c +1 -0
index e9404290f2c6..cfcc98bc1aa2 100644

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

mm/gup.c +2 -2
index 61e751baf862..4ededc113358 100644

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

mm/memory.c +2 -2
index 53f7b0aaf2a3..21dea111ffb2 100644

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

mm/slub.c +10 -0
index 1f50129dcfb3..96babca6b330 100644

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

mm/userfaultfd.c +11 -2
index d06453fa8aba..4295a599d714 100644

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

mm/vma.c +34 -4
index 71ca012c616c..b29323af68dd 100644

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

mm/vma.h +8 -1
index a2e8710b8c47..df4793dac1b1 100644

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

net/bluetooth/hci_event.c +3 -2
index e2bfbcee06a8..20d3cdcb14f6 100644

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

net/bluetooth/l2cap_core.c +19 -2
index c27ea70f71e1..a55388fbf07c 100644

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

net/bridge/br_vlan.c +3 -1
index d9a69ec9affe..939a3aa78d5c 100644

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

net/dsa/dsa.c +49 -10

59 lines not on this page · raw message

net/dsa/tag_8021q.c +1 -1
index 3ee53e28ec2e..53e03fd8071b 100644

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

net/ethtool/cmis_cdb.c +1 -1
index 0e2691ccb0df..3057576bc81e 100644

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

net/ipv6/route.c +1 -0
index 08cee62e789e..21eca985a1fd 100644

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

net/mac80211/iface.c +3 -0
index 459fc391a4d9..d299bdbca6b3 100644

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

net/mctp/af_mctp.c +3 -0
index f6de136008f6..57850d4dac5d 100644

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

net/netfilter/nf_flow_table_core.c +6 -4
index 9d8361526f82..9441ac3d8c1a 100644

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

net/openvswitch/flow_netlink.c +2 -1
index 95e0dd14dc1a..518be23e48ea 100644

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

net/smc/af_smc.c +5 -0
index 3e6cb35baf25..3760131f1484 100644

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

rust/Makefile +1 -1
index 2c57c624fe7d..c53a69595501 100644

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

rust/helpers/io.c +17 -17
index 4c2401ccd720..15ea187c5466 100644

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

scripts/Makefile.compiler +2 -2
index 8c1029687e2e..75356d2acc0b 100644

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

scripts/generate_rust_analyzer.py +9 -3
index adae71544cbd..f2ff0f954236 100755

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

sound/pci/hda/Kconfig +1 -3
index 84ebf19f2883..ddbbfd5b274f 100644

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

sound/pci/hda/patch_realtek.c +15 -8
index 8e482f6ecafe..356df48c9730 100644

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

sound/soc/codecs/cs42l43-jack.c +3 -0
index ac19a572fe70..20e6ab6f0d4a 100644

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

sound/soc/codecs/lpass-wsa-macro.c +84 -33

117 lines not on this page · raw message

sound/soc/dwc/dwc-i2s.c +6 -7
index 57b789d7fbed..5b4f20dbf7bb 100644

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

sound/soc/fsl/fsl_qmc_audio.c +3 -0
index e257b8adafe0..ca67c5c5bef6 100644

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

sound/soc/intel/avs/pcm.c +2 -1
index 4bfbcb5a5ae8..f7dd17849e97 100644

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

sound/soc/intel/boards/sof_sdw.c +1 -0
index 90dafa810b2e..095d08b3fc82 100644

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

sound/soc/qcom/lpass.h +2 -1
index 27a2bf9a6613..de3ec6f594c1 100644

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

tools/objtool/check.c +1 -0
index 9f4c54fe6f56..7b535e119caf 100644

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

tools/perf/util/evsel.c +0 -22
index 9cd78cdee628..c99eb9ff17ed 100644

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

tools/testing/kunit/qemu_configs/sh.py +3 -1
index 78a474a5b95f..f00cb89fdef6 100644

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

tools/testing/selftests/mincore/mincore_selftest.c +2 -14
index e949a43a6145..0fd4b00bd345 100644

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

tools/testing/selftests/mm/charge_reserved_hugetlb.sh +2 -2
index 67df7b47087f..e1fe16bcbbe8 100755

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

tools/testing/selftests/mm/hugetlb_reparenting_test.sh +1 -1
index 11f9bbe7dc22..0b0d4ba1af27 100755

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

tools/testing/shared/linux.c +2 -2
index 66dbb362385f..0f97fb0d19e1 100644

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.