Skip to contentSkip to conversation

Linux 6.18.4

DISCUSSION Greg Kroah-Hartman 1 participant 2 messages Jan 8 Stable branch

lore
Share & tools
lore

Greg Kroah-Hartman

author maintainer
#0 lore raw

I'm announcing the release of the 6.18.4 kernel.

All users of the 6.18 kernel series must upgrade.

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

thanks,

greg k-h

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

 Makefile                                                                 |    2 
 arch/arm64/boot/dts/qcom/sm6350.dtsi                                     |    4 
 arch/arm64/boot/dts/st/stm32mp257f-ev1.dts                               |    1 
 arch/arm64/boot/dts/ti/k3-am62d2-evm.dts                                 |    9 
 arch/arm64/boot/dts/ti/k3-j721e-sk.dts                                   |   12 
 arch/loongarch/include/asm/pgtable.h                                     |    4 
 arch/loongarch/kernel/mcount_dyn.S                                       |   14 
 arch/loongarch/kernel/process.c                                          |    5 
 arch/loongarch/kernel/relocate.c                                         |    4 
 arch/loongarch/kernel/setup.c                                            |    8 
 arch/loongarch/kernel/switch.S                                           |    4 
 arch/loongarch/net/bpf_jit.c                                             |   58 +
 arch/loongarch/net/bpf_jit.h                                             |   26 
 arch/loongarch/pci/pci.c                                                 |    2 
 arch/parisc/kernel/asm-offsets.c                                         |    2 
 arch/parisc/kernel/entry.S                                               |   16 
 arch/powerpc/include/asm/book3s/32/tlbflush.h                            |    5 
 arch/powerpc/include/asm/book3s/64/mmu-hash.h                            |    1 
 arch/powerpc/kernel/process.c                                            |    5 
 arch/powerpc/mm/book3s32/tlb.c                                           |    9 
 arch/powerpc/mm/book3s64/internal.h                                      |    2 
 arch/powerpc/mm/book3s64/mmu_context.c                                   |    2 
 arch/powerpc/mm/book3s64/slb.c                                           |   88 --
 arch/powerpc/platforms/pseries/cmm.c                                     |    3 
 arch/powerpc/tools/gcc-check-fpatchable-function-entry.sh                |    1 
 arch/powerpc/tools/gcc-check-mprofile-kernel.sh                          |    1 
 arch/s390/mm/gmap_helpers.c                                              |    9 
 arch/x86/events/amd/uncore.c                                             |    5 
 arch/x86/kernel/cpu/microcode/amd.c                                      |  115 +-
 block/blk-mq.c                                                           |    2 
 block/blk-zoned.c                                                        |  150 ++-
 block/blk.h                                                              |   14 
 crypto/seqiv.c                                                           |    8 
 drivers/block/ublk_drv.c                                                 |  119 ++-
 drivers/bluetooth/btusb.c                                                |   12 
 drivers/clk/qcom/Kconfig                                                 |    4 
 drivers/clk/qcom/mmcc-sdm660.c                                           |    1 
 drivers/clk/samsung/clk-exynos-clkout.c                                  |    2 
 drivers/firewire/nosy.c                                                  |   10 
 drivers/firmware/stratix10-svc.c                                         |   11 
 drivers/gpio/gpiolib-swnode.c                                            |    2 
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c                               |    3 
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c                                  |    2 
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c                                   |    7 
 drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c                                   |   27 
 drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c                                   |   27 
 drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c                                   |    2 
 drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c                                  |    2 
 drivers/gpu/drm/amd/amdkfd/cwsr_trap_handler.h                           |   62 -
 drivers/gpu/drm/amd/amdkfd/cwsr_trap_handler_gfx12.asm                   |   37 
 drivers/gpu/drm/amd/amdkfd/kfd_queue.c                                   |    1 
 drivers/gpu/drm/amd/amdkfd/kfd_topology.c                                |    4 
 drivers/gpu/drm/bridge/ti-sn65dsi83.c                                    |   11 
 drivers/gpu/drm/drm_buddy.c                                              |  394 ++++++----
 drivers/gpu/drm/drm_displayid.c                                          |   41 -
 drivers/gpu/drm/drm_displayid_internal.h                                 |    2 
 drivers/gpu/drm/drm_gem.c                                                |    8 
 drivers/gpu/drm/drm_gem_shmem_helper.c                                   |    2 
 drivers/gpu/drm/drm_pagemap.c                                            |   17 
 drivers/gpu/drm/gma500/fbdev.c                                           |   43 -
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c                           |   37 
 drivers/gpu/drm/i915/intel_memory_region.h                               |    2 
 drivers/gpu/drm/imagination/pvr_gem.c                                    |   11 
 drivers/gpu/drm/mediatek/mtk_ddp_comp.c                                  |   33 
 drivers/gpu/drm/mediatek/mtk_ddp_comp.h                                  |    2 
 drivers/gpu/drm/mediatek/mtk_disp_ovl_adaptor.c                          |   12 
 drivers/gpu/drm/mediatek/mtk_dp.c                                        |    1 
 drivers/gpu/drm/mediatek/mtk_drm_drv.c                                   |    4 
 drivers/gpu/drm/mediatek/mtk_hdmi.c                                      |   15 
 drivers/gpu/drm/mgag200/mgag200_mode.c                                   |   25 
 drivers/gpu/drm/msm/adreno/a6xx_catalog.c                                |    1 
 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c                              |    2 
 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c                      |   10 
 drivers/gpu/drm/nouveau/dispnv50/atom.h                                  |   13 
 drivers/gpu/drm/nouveau/dispnv50/wndw.c                                  |    2 
 drivers/gpu/drm/nouveau/include/nvkm/subdev/gsp.h                        |    4 
 drivers/gpu/drm/nouveau/nvkm/subdev/gsp/fwsec.c                          |   61 +
 drivers/gpu/drm/nouveau/nvkm/subdev/gsp/priv.h                           |    3 
 drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c                    |   10 
 drivers/gpu/drm/nova/Kconfig                                             |    1 
 drivers/gpu/drm/rockchip/rockchip_drm_drv.c                              |    3 
 drivers/gpu/drm/rockchip/rockchip_vop2_reg.c                             |   49 +
 drivers/gpu/drm/tilcdc/tilcdc_crtc.c                                     |    2 
 drivers/gpu/drm/tilcdc/tilcdc_drv.c                                      |   53 -
 drivers/gpu/drm/tilcdc/tilcdc_drv.h                                      |    2 
 drivers/gpu/drm/ttm/ttm_bo_vm.c                                          |    6 
 drivers/gpu/drm/xe/xe_bo.c                                               |   15 
 drivers/gpu/drm/xe/xe_dma_buf.c                                          |    2 
 drivers/gpu/drm/xe/xe_eu_stall.c                                         |    2 
 drivers/gpu/drm/xe/xe_guc_ct.c                                           |   14 
 drivers/gpu/drm/xe/xe_guc_submit.c                                       |   20 
 drivers/gpu/drm/xe/xe_migrate.c                                          |   25 
 drivers/gpu/drm/xe/xe_migrate.h                                          |    6 
 drivers/gpu/drm/xe/xe_oa.c                                               |   10 
 drivers/gpu/drm/xe/xe_svm.c                                              |   51 -
 drivers/gpu/drm/xe/xe_vm.c                                               |    5 
 drivers/gpu/drm/xe/xe_vm_types.h                                         |    2 
 drivers/hid/hid-logitech-dj.c                                            |   56 -
 drivers/hwmon/dell-smm-hwmon.c                                           |    4 
 drivers/infiniband/core/addr.c                                           |   33 
 drivers/infiniband/core/cma.c                                            |    3 
 drivers/infiniband/core/device.c                                         |    4 
 drivers/infiniband/core/verbs.c                                          |    2 
 drivers/infiniband/hw/bnxt_re/hw_counters.h                              |    6 
 drivers/infiniband/hw/bnxt_re/ib_verbs.c                                 |    7 
 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c                               |    2 
 drivers/infiniband/hw/bnxt_re/qplib_res.c                                |    8 
 drivers/infiniband/hw/efa/efa_verbs.c                                    |    4 
 drivers/infiniband/hw/irdma/utils.c                                      |    3 
 drivers/infiniband/hw/mana/cq.c                                          |    4 
 drivers/infiniband/sw/rxe/rxe_odp.c                                      |    4 
 drivers/infiniband/ulp/rtrs/rtrs-clt.c                                   |    1 
 drivers/iommu/amd/init.c                                                 |   15 
 drivers/iommu/amd/iommu.c                                                |    2 
 drivers/iommu/apple-dart.c                                               |    2 
 drivers/iommu/arm/arm-smmu/qcom_iommu.c                                  |   10 
 drivers/iommu/exynos-iommu.c                                             |    9 
 drivers/iommu/iommu-sva.c                                                |    3 
 drivers/iommu/ipmmu-vmsa.c                                               |    2 
 drivers/iommu/mtk_iommu.c                                                |    2 
 drivers/iommu/mtk_iommu_v1.c                                             |   25 
 drivers/iommu/omap-iommu.c                                               |    2 
 drivers/iommu/omap-iommu.h                                               |    2 
 drivers/iommu/sun50i-iommu.c                                             |    2 
 drivers/iommu/tegra-smmu.c                                               |    5 
 drivers/leds/leds-cros_ec.c                                              |    5 
 drivers/leds/leds-lp50xx.c                                               |   67 +
 drivers/md/dm-bufio.c                                                    |   10 
 drivers/md/dm-ebs-target.c                                               |    2 
 drivers/md/dm-pcache/cache.c                                             |    5 
 drivers/md/dm-pcache/cache_segment.c                                     |    5 
 drivers/md/md.c                                                          |    5 
 drivers/md/raid5.c                                                       |   10 
 drivers/media/cec/core/cec-core.c                                        |    1 
 drivers/media/common/videobuf2/videobuf2-dma-contig.c                    |    1 
 drivers/media/i2c/adv7604.c                                              |    4 
 drivers/media/i2c/adv7842.c                                              |   11 
 drivers/media/i2c/imx219.c                                               |    9 
 drivers/media/i2c/msp3400-kthreads.c                                     |    2 
 drivers/media/i2c/tda1997x.c                                             |    1 
 drivers/media/platform/amphion/vpu_malone.c                              |   23 
 drivers/media/platform/amphion/vpu_v4l2.c                                |   16 
 drivers/media/platform/amphion/vpu_v4l2.h                                |   10 
 drivers/media/platform/mediatek/mdp3/mtk-mdp3-core.c                     |   14 
 drivers/media/platform/mediatek/vcodec/common/mtk_vcodec_fw_vpu.c        |   14 
 drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_drv.c      |   12 
 drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_drv.h      |    2 
 drivers/media/platform/mediatek/vcodec/decoder/vdec_vpu_if.c             |    5 
 drivers/media/platform/mediatek/vcodec/encoder/mtk_vcodec_enc_drv.c      |   12 
 drivers/media/platform/mediatek/vcodec/encoder/mtk_vcodec_enc_drv.h      |    2 
 drivers/media/platform/mediatek/vcodec/encoder/venc_vpu_if.c             |    5 
 drivers/media/platform/qcom/iris/iris_common.c                           |    7 
 drivers/media/platform/renesas/rcar_drif.c                               |    1 
 drivers/media/platform/samsung/exynos4-is/media-dev.c                    |   10 
 drivers/media/platform/ti/davinci/vpif_capture.c                         |    4 
 drivers/media/platform/ti/davinci/vpif_display.c                         |    4 
 drivers/media/platform/verisilicon/hantro_g2.c                           |   88 +-
 drivers/media/platform/verisilicon/hantro_g2_hevc_dec.c                  |   17 
 drivers/media/platform/verisilicon/hantro_g2_regs.h                      |   13 
 drivers/media/platform/verisilicon/hantro_g2_vp9_dec.c                   |    2 
 drivers/media/platform/verisilicon/hantro_hw.h                           |    1 
 drivers/media/platform/verisilicon/imx8m_vpu_hw.c                        |    2 
 drivers/media/rc/st_rc.c                                                 |    2 
 drivers/mfd/altera-sysmgr.c                                              |    2 
 drivers/mfd/max77620.c                                                   |   15 
 drivers/mtd/mtdpart.c                                                    |    7 
 drivers/mtd/spi-nor/winbond.c                                            |   24 
 drivers/net/dsa/b53/b53_common.c                                         |    3 
 drivers/net/ethernet/airoha/airoha_eth.c                                 |   39 
 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c                              |    2 
 drivers/net/ethernet/broadcom/Kconfig                                    |    8 
 drivers/net/ethernet/broadcom/bnge/bnge.h                                |    2 
 drivers/net/ethernet/broadcom/bnge/bnge_core.c                           |    2 
 drivers/net/ethernet/cadence/macb_main.c                                 |    3 
 drivers/net/ethernet/google/gve/gve_main.c                               |    2 
 drivers/net/ethernet/google/gve/gve_utils.c                              |    2 
 drivers/net/ethernet/intel/e1000/e1000_main.c                            |   10 
 drivers/net/ethernet/intel/i40e/i40e.h                                   |   11 
 drivers/net/ethernet/intel/i40e/i40e_ethtool.c                           |   12 
 drivers/net/ethernet/intel/i40e/i40e_main.c                              |    1 
 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c                       |    4 
 drivers/net/ethernet/intel/iavf/iavf_main.c                              |    4 
 drivers/net/ethernet/intel/idpf/idpf_lib.c                               |    2 
 drivers/net/ethernet/intel/idpf/idpf_virtchnl.c                          |    5 
 drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c                |    8 
 drivers/net/ethernet/smsc/smc91x.c                                       |   10 
 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c                        |   17 
 drivers/net/ethernet/wangxun/Kconfig                                     |    4 
 drivers/net/fjes/fjes_hw.c                                               |   12 
 drivers/net/mdio/mdio-aspeed.c                                           |    7 
 drivers/net/mdio/mdio-realtek-rtl9300.c                                  |    6 
 drivers/net/phy/mediatek/mtk-ge-soc.c                                    |    2 
 drivers/net/team/team_core.c                                             |    2 
 drivers/net/usb/asix_common.c                                            |    5 
 drivers/net/usb/ax88172a.c                                               |    6 
 drivers/net/usb/rtl8150.c                                                |    2 
 drivers/net/usb/sr9700.c                                                 |    4 
 drivers/net/wireless/intel/iwlwifi/iwl-drv.c                             |    4 
 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c                     |    3 
 drivers/net/wireless/realtek/rtw88/sdio.c                                |    4 
 drivers/nvme/target/pci-epf.c                                            |    4 
 drivers/pci/controller/dwc/pci-meson.c                                   |   18 
 drivers/pci/controller/dwc/pcie-designware.c                             |   12 
 drivers/pci/controller/pcie-brcmstb.c                                    |   10 
 drivers/pci/pci-driver.c                                                 |    4 
 drivers/platform/mellanox/mlxbf-pmc.c                                    |   14 
 drivers/platform/x86/dell/alienware-wmi-wmax.c                           |   32 
 drivers/platform/x86/hp/hp-bioscfg/enum-attributes.c                     |    4 
 drivers/platform/x86/hp/hp-bioscfg/int-attributes.c                      |    2 
 drivers/platform/x86/hp/hp-bioscfg/order-list-attributes.c               |    5 
 drivers/platform/x86/hp/hp-bioscfg/passwdobj-attributes.c                |    5 
 drivers/platform/x86/hp/hp-bioscfg/string-attributes.c                   |    2 
 drivers/platform/x86/ibm_rtl.c                                           |    2 
 drivers/platform/x86/intel/pmt/discovery.c                               |    8 
 drivers/platform/x86/msi-laptop.c                                        |    3 
 drivers/platform/x86/samsung-galaxybook.c                                |    9 
 drivers/pmdomain/imx/gpc.c                                               |    5 
 drivers/pmdomain/mediatek/mtk-pm-domains.c                               |   21 
 drivers/power/supply/max77705_charger.c                                  |   14 
 drivers/powercap/intel_rapl_common.c                                     |    3 
 drivers/powercap/intel_rapl_msr.c                                        |    3 
 drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c                           |    1 
 drivers/vfio/pci/nvgrace-gpu/main.c                                      |    4 
 drivers/vfio/pci/pds/dirty.c                                             |    7 
 drivers/vfio/pci/vfio_pci_rdwr.c                                         |   25 
 drivers/video/fbdev/gbefb.c                                              |    5 
 drivers/video/fbdev/pxafb.c                                              |   12 
 drivers/video/fbdev/tcx.c                                                |    2 
 fs/erofs/zdata.c                                                         |   10 
 fs/lockd/svc4proc.c                                                      |    4 
 fs/lockd/svclock.c                                                       |   21 
 fs/lockd/svcproc.c                                                       |    5 
 fs/locks.c                                                               |   12 
 fs/nfsd/nfs4state.c                                                      |   20 
 fs/nfsd/vfs.c                                                            |   14 
 fs/ntfs3/frecord.c                                                       |   35 
 fs/smb/server/smb2pdu.c                                                  |    4 
 include/drm/drm_buddy.h                                                  |   11 
 include/drm/drm_edid.h                                                   |    6 
 include/drm/drm_pagemap.h                                                |   17 
 include/kunit/run-in-irq-context.h                                       |   53 -
 include/linux/compiler_types.h                                           |   13 
 include/linux/genalloc.h                                                 |    1 
 include/linux/huge_mm.h                                                  |    8 
 include/linux/kasan.h                                                    |   16 
 include/linux/kexec.h                                                    |    4 
 include/linux/mm.h                                                       |    8 
 include/linux/vfio_pci_core.h                                            |   10 
 include/net/dsa.h                                                        |    1 
 include/uapi/rdma/irdma-abi.h                                            |    2 
 include/uapi/rdma/rdma_user_cm.h                                         |    4 
 kernel/cgroup/cpuset.c                                                   |   21 
 kernel/kexec_core.c                                                      |   16 
 kernel/sched/deadline.c                                                  |    2 
 kernel/sched/debug.c                                                     |    8 
 kernel/sched/ext.c                                                       |   22 
 kernel/sched/fair.c                                                      |  249 ++++--
 kernel/sched/rt.c                                                        |    2 
 kernel/sched/sched.h                                                     |    4 
 kernel/sched/syscalls.c                                                  |    5 
 kernel/trace/fgraph.c                                                    |   10 
 lib/idr.c                                                                |    2 
 mm/damon/tests/core-kunit.h                                              |  134 +++
 mm/damon/tests/sysfs-kunit.h                                             |   25 
 mm/damon/tests/vaddr-kunit.h                                             |   26 
 mm/huge_memory.c                                                         |   71 -
 mm/kasan/common.c                                                        |   32 
 mm/kasan/hw_tags.c                                                       |    2 
 mm/kasan/shadow.c                                                        |    4 
 mm/page_alloc.c                                                          |   24 
 mm/page_owner.c                                                          |    2 
 mm/swapfile.c                                                            |   40 -
 mm/vmalloc.c                                                             |    8 
 net/bluetooth/mgmt.c                                                     |    6 
 net/bridge/br_private.h                                                  |    1 
 net/dsa/dsa.c                                                            |   67 -
 net/ipv4/fib_semantics.c                                                 |   26 
 net/ipv4/fib_trie.c                                                      |    7 
 net/ipv4/ip_gre.c                                                        |    6 
 net/ipv6/calipso.c                                                       |    3 
 net/ipv6/ip6_gre.c                                                       |   15 
 net/ipv6/route.c                                                         |   13 
 net/mac80211/cfg.c                                                       |   10 
 net/mac80211/rx.c                                                        |    5 
 net/mptcp/options.c                                                      |   10 
 net/mptcp/protocol.h                                                     |    6 
 net/mptcp/subflow.c                                                      |    6 
 net/nfc/core.c                                                           |    9 
 net/openvswitch/vport-netdev.c                                           |   17 
 net/rose/af_rose.c                                                       |    2 
 net/unix/af_unix.c                                                       |   11 
 net/wireless/sme.c                                                       |    2 
 rust/kernel/maple_tree.rs                                                |   11 
 samples/ftrace/ftrace-direct-modify.c                                    |    8 
 samples/ftrace/ftrace-direct-multi-modify.c                              |    8 
 samples/ftrace/ftrace-direct-multi.c                                     |    4 
 samples/ftrace/ftrace-direct-too.c                                       |    4 
 samples/ftrace/ftrace-direct.c                                           |    4 
 scripts/Makefile.build                                                   |   26 
 scripts/mod/devicetable-offsets.c                                        |    3 
 scripts/mod/file2alias.c                                                 |    9 
 security/integrity/ima/ima_kexec.c                                       |    4 
 sound/soc/codecs/cs35l41.c                                               |    7 
 sound/soc/codecs/lpass-tx-macro.c                                        |    3 
 sound/soc/codecs/pm4125.c                                                |   40 -
 sound/soc/codecs/wcd937x.c                                               |   43 -
 sound/soc/codecs/wcd939x-sdw.c                                           |    8 
 sound/soc/qcom/qdsp6/q6adm.c                                             |  146 +--
 sound/soc/qcom/qdsp6/q6apm-dai.c                                         |    2 
 sound/soc/qcom/qdsp6/q6asm-dai.c                                         |    7 
 sound/soc/qcom/sc7280.c                                                  |    2 
 sound/soc/qcom/sc8280xp.c                                                |    2 
 sound/soc/qcom/sdw.c                                                     |  105 +-
 sound/soc/qcom/sdw.h                                                     |    1 
 sound/soc/qcom/sm8250.c                                                  |    2 
 sound/soc/qcom/x1e80100.c                                                |    2 
 sound/soc/renesas/rz-ssi.c                                               |   64 +
 sound/soc/stm/stm32_sai.c                                                |   14 
 sound/soc/stm/stm32_sai_sub.c                                            |   51 -
 tools/mm/page_owner_sort.c                                               |    6 
 tools/sched_ext/scx_show_state.py                                        |    7 
 tools/testing/radix-tree/idr-test.c                                      |   21 
 tools/testing/selftests/drivers/net/psp.py                               |    6 
 tools/testing/selftests/ftrace/test.d/ftrace/func_traceonoff_triggers.tc |    5 
 tools/testing/selftests/mm/uffd-unit-tests.c                             |    2 
 tools/testing/selftests/net/tap.c                                        |   16 
 326 files changed, 3279 insertions(+), 1652 deletions(-)

Akhil P Oommen (1):
drm/msm/a6xx: Fix out of bound IO access in a6xx_get_gmu_registers

Alessio Belle (1):
drm/imagination: Disallow exporting of PM/FW protected objects

Alex Deucher (3):
drm/amdgpu: don't attach the tlb fence for SI drm/amdgpu/gmc12: add amdgpu_vm_handle_fault() handling drm/amdgpu/gmc11: add amdgpu_vm_handle_fault() handling

Alexander Gordeev (1):
mm/page_alloc: change all pageblocks migrate type on coalescing

Alexey Minnekhanov (1):
clk: qcom: mmcc-sdm660: Add missing MDSS reset

Alice C. Munduruca (1):
selftests: net: fix "buffer overflow detected" for tap.c

Alice Ryhl (1):
rust: maple_tree: rcu_read_lock() in destructor to silence lockdep

Alok Tiwari (3):
platform/x86/intel/pmt/discovery: use valid device pointer in dev_err_probe RDMA/bnxt_re: Fix incorrect BAR check in bnxt_qplib_map_creq_db() RDMA/bnxt_re: Fix IB_SEND_IP_CSUM handling in post_send

Aloka Dixit (1):
wifi: mac80211: do not use old MBSSID elements

Andrew Morton (1):
genalloc.h: fix htmldocs warning

Andy Yan (1):
drm/rockchip: vop2: Use OVL_LAYER_SEL configuration instead of use win_mask calculate used layers

Ankit Garg (1):
gve: defer interrupt enabling until NAPI registration

Anna Maniscalco (1):
drm/msm: add PERFCTR_CNTL to ifpc_reglist

Anshumali Gaur (1):
octeontx2-pf: fix "UBSAN: shift-out-of-bounds error"

Ard Biesheuvel (1):
drm/i915: Fix format string truncation warning

Armin Wolf (2):
hwmon: (dell-smm) Fix off-by-one error in dell_smm_is_visible() platform/x86: samsung-galaxybook: Fix problematic pointer cast

Arnd Bergmann (3):
net: wangxun: move PHYLINK dependency
RDMA/ucma: Fix rdma_ucm_query_ib_service_resp struct padding RDMA/irdma: Fix irdma_alloc_ucontext_resp padding

Arunpravin Paneer Selvam (2):
drm/buddy: Optimize free block management with RB tree drm/buddy: Separate clear and dirty free block trees

Ashutosh Dixit (2):
drm/xe/oa: Disallow 0 OA property values drm/xe/eustall: Disallow 0 EU stall property values

Bagas Sanjaya (1):
net: bridge: Describe @tunnel_hash member in net_bridge_vlan_group struct

Bijan Tabatabai (1):
mm: consider non-anon swap cache folios in folio_expected_ref_count()

Biju Das (2):
ASoC: renesas: rz-ssi: Fix channel swap issue in full duplex mode
ASoC: renesas: rz-ssi: Fix rz_ssi_priv::hw_params_cache::sample_width

Borislav Petkov (AMD) (1):
x86/microcode/AMD: Select which microcode patch to load

Brian Vazquez (1):
idpf: reduce mbx_task schedule delay to 300us

Charles Keepax (1):
Revert "gpio: swnode: don't use the swnode's name as the key for GPIO lookup"

Chen Ridong (1):
cpuset: fix warning when disabling remote partition

Chen-Yu Tsai (1):
media: mediatek: vcodec: Use spinlock for context list protection lock

Chenghao Duan (6):
samples/ftrace: Adjust LoongArch register restore order in direct calls
LoongArch: Refactor register restoration in ftrace_common_return
LoongArch: BPF: Save return address register ra to t0 before trampoline
LoongArch: BPF: Enable trampoline-based tracing for module functions
LoongArch: BPF: Adjust the jump offset of tail calls
LoongArch: BPF: Enhance the bpf_arch_text_poke() function

Christian Hitz (3):

      leds: leds-lp50xx: Allow LED 0 to be added to module bank
      leds: leds-lp50xx: LP5009 supports 3 modules for a total of 9 LEDs
      leds: leds-lp50xx: Enable chip before any communication

Christian Marangi (1):
mtd: mtdpart: ignore error -ENOENT from parsers on subpartitions

Chuck Lever (2):
NFSD: Make FILE_SYNC WRITEs comply with spec
nfsd: fix nfsd_file reference leak in nfsd4_add_rdaccess_to_wrdeleg()

Claudio Imbrenda (1):
KVM: s390: Fix gmap_helper_zap_one_page() again

Cong Zhang (1):
blk-mq: skip CPU offline notify on unmapped hctx

Damien Le Moal (3):
block: handle zone management operations completions
block: Clear BLK_ZONE_WPLUG_PLUGGED when aborting plugged BIOs
block: fix NULL pointer dereference in blk_zone_reset_all_bio_endio()

Dan Carpenter (1):

      wifi: cfg80211: sme: store capped length in __cfg80211_connect_result()

Daniel Zahka (2):
selftests: drv-net: psp: fix templated test names in psp_ip_ver_test_builder()
selftests: drv-net: psp: fix test names in ipver_test_builder()

Danilo Krummrich (1):
drm: nova: depend on CONFIG_64BIT

Dave Stevenson (1):

      media: i2c: imx219: Fix 1920x1080 mode to use 1:1 pixel aspect ratio

Dave Vasilevsky (1):
powerpc, mm: Fix mprotect on book3s 32-bit

David Gow (1):
kunit: Enforce task execution in {soft,hard}irq contexts

David Hildenbrand (2):
powerpc/pseries/cmm: adjust BALLOON_MIGRATE when migrating pages powerpc/pseries/cmm: call balloon_devinfo_init() also without CONFIG_BALLOON_COMPACTION

Deepakkumar Karn (1):
net: usb: rtl8150: fix memory leak on usb_submit_urb() failure

Deepanshu Kartikey (2):
net: usb: asix: validate PHY address before use
net: nfc: fix deadlock between nfc_unregister_device and rfkill_fop_write

Dikshita Agarwal (1):
media: iris: Refine internal buffer reconfiguration logic for resolution change

Ding Hui (1):
RDMA/bnxt_re: Fix OOB write in bnxt_re_copy_err_stats()

Dmitry Osipenko (1):
drm/rockchip: Set VOP for the DRM DMA device

Donet Tom (1):
powerpc/64s/slb: Fix SLB multihit issue during SLB preload

Duoming Zhou (3):
media: TDA1997x: Remove redundant cancel_delayed_work in probe
media: i2c: ADV7604: Remove redundant cancel_delayed_work in probe
media: i2c: adv7842: Remove redundant cancel_delayed_work in probe

Eric Dumazet (1):
ip6_gre: make ip6gre_header() robust

Eric Naim (1):
ASoC: cs35l41: Always return 0 when a subsystem ID is found

Ethan Nelson-Moore (1):
net: usb: sr9700: fix incorrect command used to write single register

Fernand Sieber (1):
sched/proxy: Yield the donor task

Frode Nordahl (1):
erspan: Initialize options_len before referencing options.

Greg Kroah-Hartman (1):

      Linux 6.18.4

Gregory Herrero (1):
i40e: validate ring_len parameter against hardware-specific values

Guangshuo Li (1):

      e1000: fix OOB in e1000_tbi_should_accept()

H. Peter Anvin (1):
compiler_types.h: add "auto" as a macro for "__auto_type"

Hans de Goede (1):
HID: logitech-dj: Remove duplicate error logging

Haotian Zhang (3):
media: rc: st_rc: Fix reset control resource leak
media: cec: Fix debugfs leak on bus_register() failure
media: videobuf2: Fix device reference leak in vb2_dc_alloc error path

Haoxiang Li (3):
media: mediatek: vcodec: Fix a reference leak in mtk_vcodec_fw_vpu_init()
fjes: Add missing iounmap in fjes_hw_init()
nfsd: Drop the client reference in client_states_open()

Hengqi Chen (2):
LoongArch: BPF: Zero-extend bpf_tail_call() index
LoongArch: BPF: Sign extend kfunc call arguments

Herbert Xu (1):

      crypto: seqiv - Do not use req->iv after crypto_aead_encrypt

Honggang LI (1):
RDMA/rtrs: Fix clt_path::max_pages_per_mr calculation

Huacai Chen (3):
LoongArch: Add new PCI ID for pci_fixup_vgadev()
LoongArch: Fix arch_dup_task_struct() for CONFIG_RANDSTRUCT
LoongArch: Fix build errors for CONFIG_RANDSTRUCT

Ido Schimmel (1):
ipv4: Fix reference count leak when using error routes with nexthop objects

Ivan Abramov (2):
media: adv7842: Avoid possible out-of-bounds array accesses in adv7842_cp_log_status()
media: msp3400: Avoid possible out-of-bounds array accesses in msp3400c_thread()

Jacky Chou (1):
net: mdio: aspeed: add dummy read to avoid read-after-write issue

Jan Stancek (1):
powerpc/tools: drop -o pipefail in gcc check scripts

Jang Ingyu (1):
RDMA/core: Fix logic error in ib_get_gids_from_rdma_hdr()

Jani Nikula (2):
drm/edid: add DRM_EDID_IDENT_INIT() to initialize struct drm_edid_ident drm/displayid: add quirk to ignore DisplayID checksum errors

Jason Gunthorpe (2):
RDMA/core: Check for the presence of LS_NLA_TYPE_DGID correctly RDMA/cm: Fix leaking the multicast GID table reference

Jay Cornwall (1):
drm/amdkfd: Trap handler support for expert scheduling mode

Jeff Layton (1):
nfsd: use ATTR_DELEG in nfsd4_finalize_deleg_timestamps()

Jens Axboe (1):
af_unix: don't post cmsg for SO_INQ unless explicitly asked for

Jiayuan Chen (2):
ipv6: fix a BUG in rt6_get_pcpu_route() under PREEMPT_RT mm/kasan: fix incorrect unpoisoning in vrealloc for KASAN

Jim Quinlan (1):
PCI: brcmstb: Fix disabling L0s capability

Jinhui Guo (2):
iommu/amd: Fix pci_segment memleak in alloc_pci_segment()
iommu/amd: Propagate the error code returned by __modify_irte_ga() in modify_irte_ga()

Jiri Pirko (1):
team: fix check for port enabled in team_queue_override_port_prio_changed()

Johan Hovold (23):
ASoC: codecs: wcd939x: fix regmap leak on probe failure
ASoC: stm32: sai: fix device leak on probe
ASoC: stm32: sai: fix clk prepare imbalance on probe failure
ASoC: stm32: sai: fix OF node leak on probe iommu/apple-dart: fix device leak on of_xlate() iommu/exynos: fix device leak on of_xlate() iommu/ipmmu-vmsa: fix device leak on of_xlate() iommu/mediatek-v1: fix device leak on probe_device() iommu/mediatek-v1: fix device leaks on probe() iommu/mediatek: fix device leak on of_xlate() iommu/omap: fix device leaks on probe_device() iommu/qcom: fix device leak on of_xlate() iommu/sun50i: fix device leak on of_xlate() iommu/tegra: fix device leak on probe_device()
mfd: altera-sysmgr: Fix device leak on sysmgr regmap lookup
media: platform: mtk-mdp3: fix device leaks at probe
media: vpif_capture: fix section mismatch
media: vpif_display: fix section mismatch drm/mediatek: Fix probe resource leaks drm/mediatek: Fix probe memory leak
drm/mediatek: Fix probe device leaks drm/mediatek: mtk_hdmi: Fix probe device leaks drm/mediatek: ovl_adaptor: Fix probe device leaks

Jonas Gorski (1):
net: dsa: b53: skip multicast entries for fdb_dump()

Jonathan Cavitt (1):

      drm/xe/guc: READ/WRITE_ONCE g2h_fence->done

Jonathan Kim (1):
drm/amdkfd: bump minimum vgpr size for gfx1151

Jose Javier Rodriguez Barbarin (1):
mcb: Add missing modpost build support

Jouni Malinen (1):
wifi: mac80211: Discard Beacon frames to non-broadcast address

Junbeom Yeom (1):
erofs: fix unexpected EIO under memory pressure

Junrui Luo (2):
platform/x86: ibm_rtl: fix EBDA signature search pointer arithmetic platform/x86: hp-bioscfg: Fix out-of-bounds array access in ACPI package parsing

Kairui Song (1):
mm, swap: do not perform synchronous discard during allocation

Kalesh AP (1):
RDMA/bnxt_re: Fix to use correct page size for PDE table

Karol Wachowski (1):
drm: Fix object leak in DRM_IOCTL_GEM_CHANGE_HANDLE

Kaushlendra Kumar (3):
platform/x86/intel/pmt: Fix kobject memory leak on init failure tools/mm/page_owner_sort: fix timestamp comparison for stable sorting
powercap: intel_rapl: Add support for Nova Lake processors

Kevin Tian (1):
vfio/pci: Disable qword access to the PCI ROM bar

Kohei Enju (2):
iavf: fix off-by-one issues in iavf_config_rss_reg() tools/sched_ext: fix scx_show_state.py for scx_root change

Konstantin Taranov (1):
RDMA/mana_ib: check cqe length for kernel CQs

Kory Maincent (TI.com) (1):
drm/tilcdc: Fix removal actions in case of failed probe

Krzysztof Kozlowski (4):
ASoC: codecs: pm4125: Fix potential conflict when probing two devices
ASoC: codecs: pm4125: Remove irq_chip on component unbind
mfd: max77620: Fix potential IRQ chip conflict when probing two devices
power: supply: max77705: Fix potential IRQ chip conflict when probing two devices

Krzysztof Niemiec (1):
drm/i915/gem: Zero-initialize the eb.vma array in i915_gem_do_execbuffer

Kurt Borja (3):
platform/x86: alienware-wmi-wmax: Add support for new Area-51 laptops platform/x86: alienware-wmi-wmax: Add AWCC support for Alienware x16 platform/x86: alienware-wmi-wmax: Add support for Alienware 16X Aurora

Larysa Zaremba (1):
idpf: fix LAN memory regions command on some NVMs

Li Chen (2):
dm pcache: fix cache info indexing
dm pcache: fix segment info indexing

Li Nan (1):
md: Fix static checker warning in analyze_sbs

Li Zhijian (1):

      IB/rxe: Fix missing umem_odp->umem_mutex unlock on error path

Liang Jie (1):
sched_ext: fix uninitialized ret on alloc_percpu() failure

Lorenzo Bianconi (1):
net: airoha: Move net_devs registration in a dedicated routine

Lu Baolu (1):
iommu: disable SVA when CONFIG_X86 is set

Luca Ceresoli (1):
drm/bridge: ti-sn65dsi83: ignore PLL_UNLOCK errors

Luca Weiss (1):
arm64: dts: qcom: sm6350: Fix wrong order of freq-table-hz for UFS

Lukas Wunner (1):
PCI/PM: Reinstate clearing state_saved in legacy and !PM codepaths

Lyude Paul (2):
drm/nouveau/gsp: Allocate fwsec-sb at boot drm/nouveau/dispnv50: Don't call drm_atomic_get_crtc_state() in prepare_fb

Ma Ke (2):
ASoC: codecs: wcd937x: Fix error handling in wcd937x codec driver
ASoC: codecs: Fix error handling in pm4125 audio codec driver

Maciej Wieczor-Retman (2):
kasan: refactor pcpu kasan vmalloc unpoison
kasan: unpoison vms[area] addresses with a common tag

Macpaul Lin (1):
pmdomain: mtk-pm-domains: Fix spinlock recursion fix in probe

Mahesh Rao (1):
firmware: stratix10-svc: Add mutex in stratix10 memory management

Manivannan Sadhasivam (1):
PCI: meson: Fix parsing the DBI register region

Marek Szyprowski (1):
media: samsung: exynos4-is: fix potential ABBA deadlock on init

Mario Limonciello (1):
drm/amdkfd: Export the cwsr_size and ctl_stack_size to userspace

Mario Limonciello (AMD) (2):
Revert "drm/amd: Skip power ungate during suspend for VPE" drm/amd: Fix unbind/rebind for VCN 4.0.5

Matthew Brost (2):
drm/xe: Adjust long-running workload timeslices to reasonable values drm/xe: Use usleep_range for accurate long-running workload timeslicing

Matthew Wilcox (Oracle) (2):
ntfs: Do not overwrite uptodate pages
idr: fix idr_alloc() returning an ID out of range

Miaoqian Lin (3):
media: renesas: rcar_drif: fix device node reference leak in rcar_drif_bond_enabled
net: phy: mediatek: fix nvmem cell reference leak in mt798x_phy_calibration drm/mediatek: Fix device node reference leak in mtk_dp_dt_parse()

Michael Margolin (1):
RDMA/efa: Remove possible negative shift

Michal Schmidt (1):
RDMA/irdma: avoid invalid read in irdma_net_event

Mikulas Patocka (1):
dm-bufio: align write boundary on physical block size

Ming Lei (2):
ublk: implement NUMA-aware memory allocation
ublk: scan partition in async way

Ming Qian (2):
media: amphion: Remove vpu_vb_is_codecconfig
media: amphion: Cancel message work before releasing the VPU core

Miquel Raynal (6):
mtd: spi-nor: winbond: Add support for W25Q01NWxxIQ chips
mtd: spi-nor: winbond: Add support for W25Q01NWxxIM chips
mtd: spi-nor: winbond: Add support for W25Q02NWxxIM chips
mtd: spi-nor: winbond: Add support for W25H512NWxxAM chips
mtd: spi-nor: winbond: Add support for W25H01NWxxAM chips
mtd: spi-nor: winbond: Add support for W25H02NWxxAM chips

Morning Star (1):
wifi: rtlwifi: 8192cu: fix tid out of range in rtl92cu_tx_fill_desc()

Natalie Vock (1):
drm/amdgpu: Forward VMID reservation errors

Nathan Chancellor (3):
clk: samsung: exynos-clkout: Assign .num before accessing .hws
clk: qcom: Fix SM_VIDEOCC_6350 dependencies
clk: qcom: Fix dependencies of QCS_{DISP,GPU,VIDEO}CC_615

NeilBrown (1):
lockd: fix vfs_test_lock() calls

Nicolas Dufresne (2):
media: verisilicon: Fix CPU stalls on G2 bus error
media: verisilicon: Protect G2 HEVC decoder against invalid DPB index

Nikolay Kuratov (1):
drm/msm/dpu: Add missing NULL pointer check for pingpong interface

Paolo Abeni (1):
mptcp: fallback earlier on simult connection

Paresh Bhagat (2):
arm64: dts: ti: k3-am62d2-evm: Fix regulator properties
arm64: dts: ti: k3-am62d2-evm: Fix PMIC padconfig

Patrice Chotard (1):
arm64: dts: st: Add memory-region-names property for stm32mp257f-ev1

Pauli Virtanen (1):
Bluetooth: MGMT: report BIS capability flags in supported settings

Peter Zijlstra (2):
sched/core: Add comment explaining force-idle vruntime snapshots sched/eevdf: Fix min_vruntime vs avg_vruntime

Pierre-Eric Pelloux-Prayer (1):
drm/amdgpu: add missing lock to amdgpu_ttm_access_memory_sdma

Ping-Ke Shih (1):
wifi: rtw88: limit indirect IO under powered off for RTL8822CS

Pingfan Liu (2):
kernel/kexec: change the prototype of kimage_map_segment() kernel/kexec: fix IMA when allocation happens in CMA area

Przemyslaw Korba (1):
i40e: fix scheduling in set_rx_mode

Pwnverse (1):
net: rose: fix invalid array index in rose_kill_by_device()

Qiang Ma (1):
LoongArch: Correct the calculation logic of thread_count

Raghavendra Rao Ananta (1):
hisi_acc_vfio_pci: Add .match_token_uuid callback in hisi_acc_vfio_pci_migrn_ops

Rajashekar Hudumula (1):
bng_en: update module description

Raju Rangoju (1):
amd-xgbe: reset retries and mode on RX adapt failures

Ran Xiaokai (1):

      mm/page_owner: fix memory leak in page_owner_stack_fops->release()

Raphael Pinsonneault-Thibeault (1):
Bluetooth: btusb: revert use of devm_kzalloc in btusb

Rene Rebe (1):
fbdev: gbefb: fix to use physical address instead of dma address

René Rebe (2):
fbdev: tcx.c fix mem_map to correct smem_start offset drm/mgag200: Fix big-endian support

Rong Zhang (1):
x86/microcode/AMD: Fix Entrysign revision check for Zen5/Strix Halo

Rosen Penev (1):
net: mdio: rtl9300: use scoped for loops

Sandipan Das (1):
perf/x86/amd/uncore: Fix the return value of amd_uncore_df_event_init() on error

Sanjay Yadav (1):
drm/xe/oa: Fix potential UAF in xe_oa_add_config_ioctl()

SeongJae Park (20):
mm/damon/tests/sysfs-kunit: handle alloc failures on damon_sysfs_test_add_targets() mm/damon/tests/vaddr-kunit: handle alloc failures on damon_do_test_apply_three_regions() mm/damon/tests/vaddr-kunit: handle alloc failures in damon_test_split_evenly_fail() mm/damon/tests/vaddr-kunit: handle alloc failures on damon_test_split_evenly_succ() mm/damon/tests/core-kunit: fix memory leak in damon_test_set_filters_default_reject() mm/damon/tests/core-kunit: handle alloc failres in damon_test_new_filter() mm/damon/tests/core-kunit: handle alloc failures on damon_test_split_at() mm/damon/tests/core-kunit: handle allocation failures in damon_test_regions() mm/damon/tests/core-kunit: handle memory failure from damon_test_target() mm/damon/tests/core-kunit: handle memory alloc failure from damon_test_aggregate() mm/damon/tests/core-kunit: handle alloc failures on dasmon_test_merge_regions_of() mm/damon/tests/core-kunit: handle alloc failures on damon_test_merge_two() mm/damon/tests/core-kunit: handle alloc failures in damon_test_set_regions() mm/damon/tests/core-kunit: handle alloc failures in damon_test_update_monitoring_result() mm/damon/tests/core-kunit: handle alloc failures on damon_test_set_filters_default_reject() mm/damon/tests/core-kunit: handle alloc failures on damos_test_filter_out() mm/damon/tests/core-kunit: handle alloc failures in damon_test_ops_registration() mm/damon/tests/core-kunit: handle alloc failure on damon_test_set_attrs() mm/damon/tests/core-kunit: handle alloc failure on damos_test_commit_filter() mm/damon/tests/core-kunit: handle alloc failures on damon_test_split_regions_of()

Shengming Hu (2):
fgraph: Initialize ftrace_ops->private for function graph ops
fgraph: Check ftrace_pids_enabled on registration for early filtering

Shin'ichiro Kawasaki (1):
nvmet: pci-epf: move DMA initialization to EPC init callback

Shravan Kumar Ramani (1):
platform/mellanox: mlxbf-pmc: Remove trailing whitespaces from event names

Siddharth Vadapalli (1):
arm64: dts: ti: k3-j721e-sk: Fix pinmux for pin Y1 used by power regulator

Simon Richter (1):
drm/ttm: Avoid NULL pointer deref for evicted BOs

Srinivas Kandagatla (6):
ASoC: codecs: lpass-tx-macro: fix SM6115 support
ASoC: qcom: sdw: fix memory leak for sdw_stream_runtime
ASoC: qcom: q6apm-dai: set flags to reflect correct operation of appl_ptr
ASoC: qcom: q6asm-dai: perform correct state check before closing
ASoC: qcom: q6adm: the the copp device only during last instance
ASoC: qcom: qdsp6: q6asm-dai: set 10 ms period and buffer alignment.

Srinivas Pandruvada (1):
powercap: intel_rapl: Add support for Wildcat Lake platform

Srinivasan Shanmugam (1):
drm/amdgpu/sdma6: Update SDMA 6.0.3 FW version to include UMQ protected-fence fix

Sven Schnelle (2):
parisc: entry.S: fix space adjustment on interruption for 64-bit userspace
parisc: entry: set W bit for !compat tasks in syscall_restore_rfi()

Tetsuo Handa (1):
RDMA/core: always drop device refcount in ib_del_sub_device_and_put()

Thomas De Schampheleire (1):
kbuild: fix compilation of dtb specified on command-line without make rule

Thomas Fourier (3):
platform/x86: msi-laptop: add missing sysfs_remove_group()
firewire: nosy: Fix dma_free_coherent() size RDMA/bnxt_re: fix dma_free_coherent() pointer

Thomas Hellström (4):
drm/xe/bo: Don't include the CCS metadata in the dma-buf sg-table drm/xe: Drop preempt-fences when destroying imported dma-bufs. drm/xe/svm: Fix a debug printout
drm/pagemap, drm/xe: Ensure that the devmem allocation is idle before use

Thomas Weißschuh (1):
leds: leds-cros_ec: Skip LEDs without color components

Thomas Zimmermann (2):
drm/gem-shmem: Fix the MODULE_LICENSE() string drm/gma500: Remove unused helper psb_fbdev_fb_setcolreg()

Thorsten Blum (1):
fbdev: pxafb: Fix multiple clamped values in pxafb_adjust_timing

Tiezhu Yang (1):
LoongArch: Use unsigned long for _end and _text

Toke Høiland-Jørgensen (1):
net: openvswitch: Avoid needlessly taking the RTNL on vport destroy

Tuo Li (1):
md/raid5: fix possible null-pointer dereferences in raid5_store_group_thread_cnt()

Uladzislau Rezki (Sony) (1):
dm-ebs: Mark full buffer dirty even on partial write

Vadim Fedorenko (1):
net: fib: restore ECMP balance from loopback

Ville Syrjälä (1):
wifi: iwlwifi: Fix firmware version handling

Vladimir Oltean (2):
net: dsa: properly keep track of conduit reference
net: dsa: fix missing put_device() in dsa_tree_find_first_conduit()

Wake Liu (1):
selftests/mm: fix thread state check in uffd-unit-tests

WangYuli (1):
LoongArch: Use __pmd()/__pte() for swap entry conversions

Wei Fang (1):
net: stmmac: fix the crash issue for zero copy XDP_TX action

Wei Yang (1):
mm/huge_memory: merge uniform_split_supported() and non_uniform_split_supported()

Wentao Liang (1):
pmdomain: imx: Fix reference count leak in imx_gpc_probe()

Will Rosenberg (1):
ipv6: BUG() in pskb_expand_head() as part of calipso_skbuff_setattr()

Xiaolei Wang (1):
net: macb: Relocate mog_init_rings() callback from macb_mac_link_up() to macb_open()

Yeoreum Yun (1):
smc91x: fix broken irq-context in PREEMPT_RT

Yipeng Zou (1):
selftests/ftrace: traceonoff_triggers: strip off names

Zilin Guan (2):
vfio/pds: Fix memory leak in pds_vfio_dirty_enable()
ksmbd: Fix memory leak in get_file_all_info()

Zqiang (1):
sched_ext: Fix incorrect sched_class settings for per-cpu migration tasks

author maintainer
#1 lore raw
Makefile +1 -1
index 17415fdcd358..7b431af09b32 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 6
 PATCHLEVEL = 18
-SUBLEVEL = 3
+SUBLEVEL = 4
 EXTRAVERSION =
 NAME = Baby Opossum Posse
 
arch/arm64/boot/dts/qcom/sm6350.dtsi +2 -2
index 8459b27cacc7..19a7b9f9ea8b 100644
@@ -1180,11 +1180,11 @@ ufs_mem_hc: ufshc@1d84000 {
 				<0 0>,
 				<0 0>,
 				<37500000 150000000>,
-				<75000000 300000000>,
 				<0 0>,
 				<0 0>,
 				<0 0>,
-				<0 0>;
+				<0 0>,
+				<75000000 300000000>;
 
 			status = "disabled";
 		};
arch/arm64/boot/dts/st/stm32mp257f-ev1.dts +1 -0
index 6e165073f732..bb6d6393d2e4 100644
@@ -266,6 +266,7 @@ &i2c8 {
 
 &ommanager {
 	memory-region = <&mm_ospi1>;
+	memory-region-names = "ospi1";
 	pinctrl-0 = <&ospi_port1_clk_pins_a
 		     &ospi_port1_io03_pins_a
 		     &ospi_port1_cs0_pins_a>;
arch/arm64/boot/dts/ti/k3-am62d2-evm.dts +6 -3
index 83af889e790a..9a74df221f2a 100644
@@ -146,6 +146,7 @@ vdd_mmc1: regulator-4 {
 		regulator-name = "vdd_mmc1";
 		regulator-min-microvolt = <3300000>;
 		regulator-max-microvolt = <3300000>;
+		vin-supply = <&vcc_3v3_sys>;
 		regulator-boot-on;
 		enable-active-high;
 		gpio = <&exp1 3 GPIO_ACTIVE_HIGH>;
@@ -165,14 +166,16 @@ vcc_3v3_sys: regulator-5 {
 	};
 
 	vddshv_sdio: regulator-6 {
+		/* output of TLV7103318QDSERQ1 */
 		compatible = "regulator-gpio";
 		regulator-name = "vddshv_sdio";
 		pinctrl-names = "default";
 		pinctrl-0 = <&vddshv_sdio_pins_default>;
 		regulator-min-microvolt = <1800000>;
 		regulator-max-microvolt = <3300000>;
+		vin-supply = <&vcc_5v0>;
 		regulator-boot-on;
-		gpios = <&main_gpio1 31 GPIO_ACTIVE_HIGH>;
+		gpios = <&main_gpio0 59 GPIO_ACTIVE_HIGH>;
 		states = <1800000 0x0>,
 			 <3300000 0x1>;
 		bootph-all;
@@ -198,7 +201,7 @@ &mcu_pmx0 {
 
 	pmic_irq_pins_default: pmic-irq-default-pins {
 		pinctrl-single,pins = <
-			AM62DX_MCU_IOPAD(0x000, PIN_INPUT, 7) /* (E11) MCU_GPIO0_0 */
+			AM62DX_IOPAD(0x01f4, PIN_INPUT, 7) /* (F17) EXTINTn.GPIO1_31 */
 		>;
 	};
 
@@ -334,7 +337,7 @@ AM62DX_IOPAD(0x01d4, PIN_INPUT, 7) /* (C15) UART0_RTSn.GPIO1_23 */
 
 	vddshv_sdio_pins_default: vddshv-sdio-default-pins {
 		pinctrl-single,pins = <
-			AM62DX_IOPAD(0x1f4, PIN_OUTPUT, 7) /* (M19) GPMC0_CLK.GPIO1_31 */
+			AM62DX_IOPAD(0x00f0, PIN_INPUT, 7) /* (Y21) GPIO0_59 */
 		>;
 		bootph-all;
 	};
arch/arm64/boot/dts/ti/k3-j721e-sk.dts +6 -6
index 5e5784ef6f85..77dcc160eda3 100644
@@ -474,6 +474,12 @@ rpi_header_gpio1_pins_default: rpi-header-gpio1-default-pins {
 			J721E_IOPAD(0x234, PIN_INPUT, 7) /* (U3) EXT_REFCLK1.GPIO1_12 */
 		>;
 	};
+
+	vdd_sd_dv_pins_default: vdd-sd-dv-default-pins {
+		pinctrl-single,pins = <
+			J721E_IOPAD(0x1dc, PIN_OUTPUT, 7) /* (Y1) SPI1_CLK.GPIO0_118 */
+		>;
+	};
 };
 
 &wkup_pmx0 {
@@ -536,12 +542,6 @@ J721E_WKUP_IOPAD(0xd4, PIN_OUTPUT, 7) /* (G26) WKUP_GPIO0_9 */
 		>;
 	};
 
-	vdd_sd_dv_pins_default: vdd-sd-dv-default-pins {
-		pinctrl-single,pins = <
-			J721E_IOPAD(0x1dc, PIN_OUTPUT, 7) /* (Y1) SPI1_CLK.GPIO0_118 */
-		>;
-	};
-
 	wkup_uart0_pins_default: wkup-uart0-default-pins {
 		pinctrl-single,pins = <
 			J721E_WKUP_IOPAD(0xa0, PIN_INPUT, 0) /* (J29) WKUP_UART0_RXD */
arch/loongarch/include/asm/pgtable.h +2 -2
index 03fb60432fde..9a7029285fd5 100644
@@ -297,9 +297,9 @@ static inline pte_t mk_swap_pte(unsigned long type, unsigned long offset)
 #define __swp_offset(x)		((x).val >> 24)
 #define __swp_entry(type, offset) ((swp_entry_t) { pte_val(mk_swap_pte((type), (offset))) })
 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) })
-#define __swp_entry_to_pte(x)	((pte_t) { (x).val })
+#define __swp_entry_to_pte(x)	__pte((x).val)
 #define __pmd_to_swp_entry(pmd) ((swp_entry_t) { pmd_val(pmd) })
-#define __swp_entry_to_pmd(x)	((pmd_t) { (x).val | _PAGE_HUGE })
+#define __swp_entry_to_pmd(x)	__pmd((x).val | _PAGE_HUGE)
 
 static inline bool pte_swp_exclusive(pte_t pte)
 {
arch/loongarch/kernel/mcount_dyn.S +10 -4
index d6b474ad1d5e..5729c20e5b8b 100644
@@ -94,7 +94,6 @@ SYM_INNER_LABEL(ftrace_graph_call, SYM_L_GLOBAL)
  * at the callsite, so there is no need to restore the T series regs.
  */
 ftrace_common_return:
-	PTR_L		ra, sp, PT_R1
 	PTR_L		a0, sp, PT_R4
 	PTR_L		a1, sp, PT_R5
 	PTR_L		a2, sp, PT_R6
@@ -104,12 +103,17 @@ ftrace_common_return:
 	PTR_L		a6, sp, PT_R10
 	PTR_L		a7, sp, PT_R11
 	PTR_L		fp, sp, PT_R22
-	PTR_L		t0, sp, PT_ERA
 	PTR_L		t1, sp, PT_R13
-	PTR_ADDI	sp, sp, PT_SIZE
 	bnez		t1, .Ldirect
+
+	PTR_L		ra, sp, PT_R1
+	PTR_L		t0, sp, PT_ERA
+	PTR_ADDI	sp, sp, PT_SIZE
 	jr		t0
 .Ldirect:
+	PTR_L		t0, sp, PT_R1
+	PTR_L		ra, sp, PT_ERA
+	PTR_ADDI	sp, sp, PT_SIZE
 	jr		t1
 SYM_CODE_END(ftrace_common)
 
@@ -161,6 +165,8 @@ SYM_CODE_END(return_to_handler)
 #ifdef CONFIG_DYNAMIC_FTRACE_WITH_DIRECT_CALLS
 SYM_CODE_START(ftrace_stub_direct_tramp)
 	UNWIND_HINT_UNDEFINED
-	jr		t0
+	move		t1, ra
+	move		ra, t0
+	jr		t1
 SYM_CODE_END(ftrace_stub_direct_tramp)
 #endif /* CONFIG_DYNAMIC_FTRACE_WITH_DIRECT_CALLS */
arch/loongarch/kernel/process.c +5 -0
index efd9edf65603..d1e04f9e0f79 100644
@@ -130,6 +130,11 @@ int arch_dup_task_struct(struct task_struct *dst, struct task_struct *src)
 
 	preempt_enable();
 
+	if (IS_ENABLED(CONFIG_RANDSTRUCT)) {
+		memcpy(dst, src, sizeof(struct task_struct));
+		return 0;
+	}
+
 	if (!used_math())
 		memcpy(dst, src, offsetof(struct task_struct, thread.fpu.fpr));
 	else
arch/loongarch/kernel/relocate.c +2 -2
index b5e2312a2fca..76abbb8d2931 100644
@@ -183,7 +183,7 @@ static inline void __init *determine_relocation_address(void)
 	if (kaslr_disabled())
 		return destination;
 
-	kernel_length = (long)_end - (long)_text;
+	kernel_length = (unsigned long)_end - (unsigned long)_text;
 
 	random_offset = get_random_boot() << 16;
 	random_offset &= (CONFIG_RANDOMIZE_BASE_MAX_OFFSET - 1);
@@ -232,7 +232,7 @@ unsigned long __init relocate_kernel(void)
 	early_memunmap(cmdline, COMMAND_LINE_SIZE);
 
 	if (random_offset) {
-		kernel_length = (long)(_end) - (long)(_text);
+		kernel_length = (unsigned long)(_end) - (unsigned long)(_text);
 
 		/* Copy the kernel to it's new location */
 		memcpy(location_new, _text, kernel_length);
arch/loongarch/kernel/setup.c +7 -1
index 25a87378e48e..20cb6f306456 100644
@@ -56,6 +56,7 @@
 #define SMBIOS_FREQLOW_MASK		0xFF
 #define SMBIOS_CORE_PACKAGE_OFFSET	0x23
 #define SMBIOS_THREAD_PACKAGE_OFFSET	0x25
+#define SMBIOS_THREAD_PACKAGE_2_OFFSET	0x2E
 #define LOONGSON_EFI_ENABLE		(1 << 3)
 
 unsigned long fw_arg0, fw_arg1, fw_arg2;
@@ -126,7 +127,12 @@ static void __init parse_cpu_table(const struct dmi_header *dm)
 	cpu_clock_freq = freq_temp * 1000000;
 
 	loongson_sysconf.cpuname = (void *)dmi_string_parse(dm, dmi_data[16]);
-	loongson_sysconf.cores_per_package = *(dmi_data + SMBIOS_THREAD_PACKAGE_OFFSET);
+	loongson_sysconf.cores_per_package = *(u8 *)(dmi_data + SMBIOS_THREAD_PACKAGE_OFFSET);
+	if (dm->length >= 0x30 && loongson_sysconf.cores_per_package == 0xff) {
+		/* SMBIOS 3.0+ has ThreadCount2 for more than 255 threads */
+		loongson_sysconf.cores_per_package =
+					  *(u16 *)(dmi_data + SMBIOS_THREAD_PACKAGE_2_OFFSET);
+	}
 
 	pr_info("CpuClock = %llu\n", cpu_clock_freq);
 }
arch/loongarch/kernel/switch.S +2 -2
index 9c23cb7e432f..3007e909e0d8 100644
@@ -25,8 +25,8 @@ SYM_FUNC_START(__switch_to)
 	stptr.d a4, a0, THREAD_SCHED_CFA
 #if defined(CONFIG_STACKPROTECTOR) && !defined(CONFIG_SMP)
 	la	t7, __stack_chk_guard
-	LONG_L	t8, a1, TASK_STACK_CANARY
-	LONG_S	t8, t7, 0
+	ldptr.d	t8, a1, TASK_STACK_CANARY
+	stptr.d	t8, t7, 0
 #endif
 	move	tp, a2
 	cpu_restore_nonscratch a1
arch/loongarch/net/bpf_jit.c +47 -11

120 lines not on this page · raw message

arch/loongarch/net/bpf_jit.h +26 -0
index 5697158fd164..75b6330030a9 100644
@@ -88,6 +88,32 @@ static inline void emit_sext_32(struct jit_ctx *ctx, enum loongarch_gpr reg, boo
 	emit_insn(ctx, addiw, reg, reg, 0);
 }
 
+/* Emit proper extension according to ABI requirements.
+ * Note that it requires a value of size `size` already resides in register `reg`.
+ */
+static inline void emit_abi_ext(struct jit_ctx *ctx, int reg, u8 size, bool sign)
+{
+	/* ABI requires unsigned char/short to be zero-extended */
+	if (!sign && (size == 1 || size == 2))
+		return;
+
+	switch (size) {
+	case 1:
+		emit_insn(ctx, extwb, reg, reg);
+		break;
+	case 2:
+		emit_insn(ctx, extwh, reg, reg);
+		break;
+	case 4:
+		emit_insn(ctx, addiw, reg, reg, 0);
+		break;
+	case 8:
+		break;
+	default:
+		pr_warn("bpf_jit: invalid size %d for extension\n", size);
+	}
+}
+
 static inline void move_addr(struct jit_ctx *ctx, enum loongarch_gpr rd, u64 addr)
 {
 	u64 imm_11_0, imm_31_12, imm_51_32, imm_63_52;
arch/loongarch/pci/pci.c +2 -0
index d9fc5d520b37..d923295ab8c6 100644
@@ -14,6 +14,7 @@
 #define PCI_DEVICE_ID_LOONGSON_HOST     0x7a00
 #define PCI_DEVICE_ID_LOONGSON_DC1      0x7a06
 #define PCI_DEVICE_ID_LOONGSON_DC2      0x7a36
+#define PCI_DEVICE_ID_LOONGSON_DC3      0x7a46
 
 int raw_pci_read(unsigned int domain, unsigned int bus, unsigned int devfn,
 						int reg, int len, u32 *val)
@@ -97,3 +98,4 @@ static void pci_fixup_vgadev(struct pci_dev *pdev)
 }
 DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_LOONGSON, PCI_DEVICE_ID_LOONGSON_DC1, pci_fixup_vgadev);
 DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_LOONGSON, PCI_DEVICE_ID_LOONGSON_DC2, pci_fixup_vgadev);
+DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_LOONGSON, PCI_DEVICE_ID_LOONGSON_DC3, pci_fixup_vgadev);
arch/parisc/kernel/asm-offsets.c +2 -0
index 9abfe65492c6..3de4b5933b10 100644
@@ -258,6 +258,8 @@ int main(void)
 	BLANK();
 	DEFINE(TIF_BLOCKSTEP_PA_BIT, 31-TIF_BLOCKSTEP);
 	DEFINE(TIF_SINGLESTEP_PA_BIT, 31-TIF_SINGLESTEP);
+	DEFINE(TIF_32BIT_PA_BIT, 31-TIF_32BIT);
+
 	BLANK();
 	DEFINE(ASM_PMD_SHIFT, PMD_SHIFT);
 	DEFINE(ASM_PGDIR_SHIFT, PGDIR_SHIFT);
arch/parisc/kernel/entry.S +12 -4
index f4bf61a34701..e04c5d806c10 100644
@@ -1059,8 +1059,6 @@ ENTRY_CFI(intr_save)		/* for os_hpmc */
 	STREG           %r17, PT_IOR(%r29)
 
 #if defined(CONFIG_64BIT)
-	b,n		intr_save2
-
 skip_save_ior:
 	/* We have a itlb miss, and when executing code above 4 Gb on ILP64, we
 	 * need to adjust iasq/iaoq here in the same way we adjusted isr/ior
@@ -1069,10 +1067,17 @@ skip_save_ior:
 	bb,COND(>=),n	%r8,PSW_W_BIT,intr_save2
 	LDREG		PT_IASQ0(%r29), %r16
 	LDREG		PT_IAOQ0(%r29), %r17
-	/* adjust iasq/iaoq */
+	/* adjust iasq0/iaoq0 */
 	space_adjust	%r16,%r17,%r1
 	STREG           %r16, PT_IASQ0(%r29)
 	STREG           %r17, PT_IAOQ0(%r29)
+
+	LDREG		PT_IASQ1(%r29), %r16
+	LDREG		PT_IAOQ1(%r29), %r17
+	/* adjust iasq1/iaoq1 */
+	space_adjust	%r16,%r17,%r1
+	STREG           %r16, PT_IASQ1(%r29)
+	STREG           %r17, PT_IAOQ1(%r29)
 #else
 skip_save_ior:
 #endif
@@ -1841,6 +1846,10 @@ syscall_restore_rfi:
 	extru,= %r19,TIF_BLOCKSTEP_PA_BIT,1,%r0
 	depi	-1,7,1,%r20			   /* T bit */
 
+#ifdef CONFIG_64BIT
+	extru,<> %r19,TIF_32BIT_PA_BIT,1,%r0
+	depi	-1,4,1,%r20			   /* W bit */
+#endif
 	STREG	%r20,TASK_PT_PSW(%r1)
 
 	/* Always store space registers, since sr3 can be changed (e.g. fork) */
@@ -1854,7 +1863,6 @@ syscall_restore_rfi:
 	STREG   %r25,TASK_PT_IASQ0(%r1)
 	STREG   %r25,TASK_PT_IASQ1(%r1)
 
-	/* XXX W bit??? */
 	/* Now if old D bit is clear, it means we didn't save all registers
 	 * on syscall entry, so do that now.  This only happens on TRACEME
 	 * calls, or if someone attached to us while we were on a syscall.
arch/powerpc/include/asm/book3s/32/tlbflush.h +4 -1
index e43534da5207..4be2200a3c7e 100644
@@ -11,6 +11,7 @@
 void hash__flush_tlb_mm(struct mm_struct *mm);
 void hash__flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr);
 void hash__flush_range(struct mm_struct *mm, unsigned long start, unsigned long end);
+void hash__flush_gather(struct mmu_gather *tlb);
 
 #ifdef CONFIG_SMP
 void _tlbie(unsigned long address);
@@ -29,7 +30,9 @@ void _tlbia(void);
 static inline void tlb_flush(struct mmu_gather *tlb)
 {
 	/* 603 needs to flush the whole TLB here since it doesn't use a hash table. */
-	if (!mmu_has_feature(MMU_FTR_HPTE_TABLE))
+	if (mmu_has_feature(MMU_FTR_HPTE_TABLE))
+		hash__flush_gather(tlb);
+	else
 		_tlbia();
 }
 
arch/powerpc/include/asm/book3s/64/mmu-hash.h +0 -1
index 346351423207..af12e2ba8eb8 100644
@@ -524,7 +524,6 @@ void slb_save_contents(struct slb_entry *slb_ptr);
 void slb_dump_contents(struct slb_entry *slb_ptr);
 
 extern void slb_vmalloc_update(void);
-void preload_new_slb_context(unsigned long start, unsigned long sp);
 
 #ifdef CONFIG_PPC_64S_HASH_MMU
 void slb_set_size(u16 size);
arch/powerpc/kernel/process.c +0 -5
index eb23966ac0a9..a45fe147868b 100644
@@ -1897,8 +1897,6 @@ int copy_thread(struct task_struct *p, const struct kernel_clone_args *args)
 	return 0;
 }
 
-void preload_new_slb_context(unsigned long start, unsigned long sp);
-
 /*
  * Set up a thread for executing a new program
  */
@@ -1906,9 +1904,6 @@ void start_thread(struct pt_regs *regs, unsigned long start, unsigned long sp)
 {
 #ifdef CONFIG_PPC64
 	unsigned long load_addr = regs->gpr[2];	/* saved by ELF_PLAT_INIT */
-
-	if (IS_ENABLED(CONFIG_PPC_BOOK3S_64) && !radix_enabled())
-		preload_new_slb_context(start, sp);
 #endif
 
 #ifdef CONFIG_PPC_TRANSACTIONAL_MEM
arch/powerpc/mm/book3s32/tlb.c +9 -0
index 9ad6b56bfec9..e54a7b011232 100644
@@ -105,3 +105,12 @@ void hash__flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr)
 		flush_hash_pages(mm->context.id, vmaddr, pmd_val(*pmd), 1);
 }
 EXPORT_SYMBOL(hash__flush_tlb_page);
+
+void hash__flush_gather(struct mmu_gather *tlb)
+{
+	if (tlb->fullmm || tlb->need_flush_all)
+		hash__flush_tlb_mm(tlb->mm);
+	else
+		hash__flush_range(tlb->mm, tlb->start, tlb->end);
+}
+EXPORT_SYMBOL(hash__flush_gather);
arch/powerpc/mm/book3s64/internal.h +0 -2
index a57a25f06a21..c26a6f0c90fc 100644
@@ -24,8 +24,6 @@ static inline bool stress_hpt(void)
 
 void hpt_do_stress(unsigned long ea, unsigned long hpte_group);
 
-void slb_setup_new_exec(void);
-
 void exit_lazy_flush_tlb(struct mm_struct *mm, bool always_flush);
 
 #endif /* ARCH_POWERPC_MM_BOOK3S64_INTERNAL_H */
arch/powerpc/mm/book3s64/mmu_context.c +0 -2
index 4e1e45420bd4..fb9dcf9ca599 100644
@@ -150,8 +150,6 @@ static int hash__init_new_context(struct mm_struct *mm)
 void hash__setup_new_exec(void)
 {
 	slice_setup_new_exec();
-
-	slb_setup_new_exec();
 }
 #else
 static inline int hash__init_new_context(struct mm_struct *mm)
arch/powerpc/mm/book3s64/slb.c +0 -88

94 lines not on this page · raw message

arch/powerpc/platforms/pseries/cmm.c +2 -1
index 0823fa2da151..310dab4bc867 100644
@@ -532,6 +532,7 @@ static int cmm_migratepage(struct balloon_dev_info *b_dev_info,
 
 	spin_lock_irqsave(&b_dev_info->pages_lock, flags);
 	balloon_page_insert(b_dev_info, newpage);
+	__count_vm_event(BALLOON_MIGRATE);
 	b_dev_info->isolated_pages--;
 	spin_unlock_irqrestore(&b_dev_info->pages_lock, flags);
 
@@ -550,7 +551,6 @@ static int cmm_migratepage(struct balloon_dev_info *b_dev_info,
 
 static void cmm_balloon_compaction_init(void)
 {
-	balloon_devinfo_init(&b_dev_info);
 	b_dev_info.migratepage = cmm_migratepage;
 }
 #else /* CONFIG_BALLOON_COMPACTION */
@@ -572,6 +572,7 @@ static int cmm_init(void)
 	if (!firmware_has_feature(FW_FEATURE_CMO) && !simulate)
 		return -EOPNOTSUPP;
 
+	balloon_devinfo_init(&b_dev_info);
 	cmm_balloon_compaction_init();
 
 	rc = register_oom_notifier(&cmm_oom_nb);
arch/powerpc/tools/gcc-check-fpatchable-function-entry.sh +0 -1
index 06706903503b..baed467a016b 100755
@@ -2,7 +2,6 @@
 # SPDX-License-Identifier: GPL-2.0
 
 set -e
-set -o pipefail
 
 # To debug, uncomment the following line
 # set -x
arch/powerpc/tools/gcc-check-mprofile-kernel.sh +0 -1
index 73e331e7660e..6193b0ed0c77 100755
@@ -2,7 +2,6 @@
 # SPDX-License-Identifier: GPL-2.0
 
 set -e
-set -o pipefail
 
 # To debug, uncomment the following line
 # set -x
arch/s390/mm/gmap_helpers.c +7 -2
index d4c3c36855e2..38a2d82cd88a 100644
@@ -47,6 +47,7 @@ static void ptep_zap_swap_entry(struct mm_struct *mm, swp_entry_t entry)
 void gmap_helper_zap_one_page(struct mm_struct *mm, unsigned long vmaddr)
 {
 	struct vm_area_struct *vma;
+	unsigned long pgstev;
 	spinlock_t *ptl;
 	pgste_t pgste;
 	pte_t *ptep;
@@ -65,9 +66,13 @@ void gmap_helper_zap_one_page(struct mm_struct *mm, unsigned long vmaddr)
 	if (pte_swap(*ptep)) {
 		preempt_disable();
 		pgste = pgste_get_lock(ptep);
+		pgstev = pgste_val(pgste);
 
-		ptep_zap_swap_entry(mm, pte_to_swp_entry(*ptep));
-		pte_clear(mm, vmaddr, ptep);
+		if ((pgstev & _PGSTE_GPS_USAGE_MASK) == _PGSTE_GPS_USAGE_UNUSED ||
+		    (pgstev & _PGSTE_GPS_ZERO)) {
+			ptep_zap_swap_entry(mm, pte_to_swp_entry(*ptep));
+			pte_clear(mm, vmaddr, ptep);
+		}
 
 		pgste_set_unlock(ptep, pgste);
 		preempt_enable();
arch/x86/events/amd/uncore.c +1 -4
index e8b6af199c73..9293ce50574d 100644
@@ -656,14 +656,11 @@ static int amd_uncore_df_event_init(struct perf_event *event)
 	struct hw_perf_event *hwc = &event->hw;
 	int ret = amd_uncore_event_init(event);
 
-	if (ret || pmu_version < 2)
-		return ret;
-
 	hwc->config = event->attr.config &
 		      (pmu_version >= 2 ? AMD64_PERFMON_V2_RAW_EVENT_MASK_NB :
 					  AMD64_RAW_EVENT_MASK_NB);
 
-	return 0;
+	return ret;
 }
 
 static int amd_uncore_df_add(struct perf_event *event, int flags)
arch/x86/kernel/cpu/microcode/amd.c +73 -42

155 lines not on this page · raw message

block/blk-mq.c +1 -1
index ea5f948af7a4..a03f52ab87d6 100644
@@ -3710,7 +3710,7 @@ static int blk_mq_hctx_notify_offline(unsigned int cpu, struct hlist_node *node)
 			struct blk_mq_hw_ctx, cpuhp_online);
 	int ret = 0;
 
-	if (blk_mq_hctx_has_online_cpu(hctx, cpu))
+	if (!hctx->nr_ctx || blk_mq_hctx_has_online_cpu(hctx, cpu))
 		return 0;
 
 	/*
block/blk-zoned.c +99 -51

217 lines not on this page · raw message

block/blk.h +14 -0
index a7992680f9e1..37b9b6a95c11 100644
@@ -488,9 +488,23 @@ static inline bool blk_req_bio_is_zone_append(struct request *rq,
 void blk_zone_write_plug_bio_merged(struct bio *bio);
 void blk_zone_write_plug_init_request(struct request *rq);
 void blk_zone_append_update_request_bio(struct request *rq, struct bio *bio);
+void blk_zone_mgmt_bio_endio(struct bio *bio);
 void blk_zone_write_plug_bio_endio(struct bio *bio);
 static inline void blk_zone_bio_endio(struct bio *bio)
 {
+	/*
+	 * Zone management BIOs may impact zone write plugs (e.g. a zone reset
+	 * changes a zone write plug zone write pointer offset), but these
+	 * operation do not go through zone write plugging as they may operate
+	 * on zones that do not have a zone write
+	 * plug. blk_zone_mgmt_bio_endio() handles the potential changes to zone
+	 * write plugs that are present.
+	 */
+	if (op_is_zone_mgmt(bio_op(bio))) {
+		blk_zone_mgmt_bio_endio(bio);
+		return;
+	}
+
 	/*
 	 * For write BIOs to zoned devices, signal the completion of the BIO so
 	 * that the next write BIO can be submitted by zone write plugging.
crypto/seqiv.c +5 -3
index 2bae99e33526..678bb4145d78 100644
@@ -50,6 +50,7 @@ static int seqiv_aead_encrypt(struct aead_request *req)
 	struct aead_geniv_ctx *ctx = crypto_aead_ctx(geniv);
 	struct aead_request *subreq = aead_request_ctx(req);
 	crypto_completion_t compl;
+	bool unaligned_info;
 	void *data;
 	u8 *info;
 	unsigned int ivsize = 8;
@@ -68,8 +69,9 @@ static int seqiv_aead_encrypt(struct aead_request *req)
 		memcpy_sglist(req->dst, req->src,
 			      req->assoclen + req->cryptlen);
 
-	if (unlikely(!IS_ALIGNED((unsigned long)info,
-				 crypto_aead_alignmask(geniv) + 1))) {
+	unaligned_info = !IS_ALIGNED((unsigned long)info,
+				     crypto_aead_alignmask(geniv) + 1);
+	if (unlikely(unaligned_info)) {
 		info = kmemdup(req->iv, ivsize, req->base.flags &
 			       CRYPTO_TFM_REQ_MAY_SLEEP ? GFP_KERNEL :
 			       GFP_ATOMIC);
@@ -89,7 +91,7 @@ static int seqiv_aead_encrypt(struct aead_request *req)
 	scatterwalk_map_and_copy(info, req->dst, req->assoclen, ivsize, 1);
 
 	err = crypto_aead_encrypt(subreq);
-	if (unlikely(info != req->iv))
+	if (unlikely(unaligned_info))
 		seqiv_aead_encrypt_complete2(req, err);
 	return err;
 }
drivers/block/ublk_drv.c +85 -34

212 lines not on this page · raw message

drivers/bluetooth/btusb.c +9 -3
index b92bfd131567..3420f711f0f0 100644
@@ -4017,7 +4017,7 @@ static int btusb_probe(struct usb_interface *intf,
 			return -ENODEV;
 	}
 
-	data = devm_kzalloc(&intf->dev, sizeof(*data), GFP_KERNEL);
+	data = kzalloc(sizeof(*data), GFP_KERNEL);
 	if (!data)
 		return -ENOMEM;
 
@@ -4040,8 +4040,10 @@ static int btusb_probe(struct usb_interface *intf,
 		}
 	}
 
-	if (!data->intr_ep || !data->bulk_tx_ep || !data->bulk_rx_ep)
+	if (!data->intr_ep || !data->bulk_tx_ep || !data->bulk_rx_ep) {
+		kfree(data);
 		return -ENODEV;
+	}
 
 	if (id->driver_info & BTUSB_AMP) {
 		data->cmdreq_type = USB_TYPE_CLASS | 0x01;
@@ -4096,8 +4098,10 @@ static int btusb_probe(struct usb_interface *intf,
 	data->recv_acl = hci_recv_frame;
 
 	hdev = hci_alloc_dev_priv(priv_size);
-	if (!hdev)
+	if (!hdev) {
+		kfree(data);
 		return -ENOMEM;
+	}
 
 	hdev->bus = HCI_USB;
 	hci_set_drvdata(hdev, data);
@@ -4370,6 +4374,7 @@ static int btusb_probe(struct usb_interface *intf,
 	if (data->reset_gpio)
 		gpiod_put(data->reset_gpio);
 	hci_free_dev(hdev);
+	kfree(data);
 	return err;
 }
 
@@ -4418,6 +4423,7 @@ static void btusb_disconnect(struct usb_interface *intf)
 	}
 
 	hci_free_dev(hdev);
+	kfree(data);
 }
 
 #ifdef CONFIG_PM
drivers/clk/qcom/Kconfig +4 -0
index 78a303842613..6fef0bfc1773 100644
@@ -531,6 +531,7 @@ config QCM_DISPCC_2290
 
 config QCS_DISPCC_615
 	tristate "QCS615 Display Clock Controller"
+	depends on ARM64 || COMPILE_TEST
 	select QCS_GCC_615
 	help
 	  Support for the display clock controller on Qualcomm Technologies, Inc
@@ -586,6 +587,7 @@ config QCS_GCC_615
 
 config QCS_GPUCC_615
 	tristate "QCS615 Graphics clock controller"
+	depends on ARM64 || COMPILE_TEST
 	select QCS_GCC_615
 	help
 	  Support for the graphics clock controller on QCS615 devices.
@@ -594,6 +596,7 @@ config QCS_GPUCC_615
 
 config QCS_VIDEOCC_615
 	tristate "QCS615 Video Clock Controller"
+	depends on ARM64 || COMPILE_TEST
 	select QCS_GCC_615
 	help
 	  Support for the video clock controller on QCS615 devices.
@@ -1448,6 +1451,7 @@ config SA_VIDEOCC_8775P
 
 config SM_VIDEOCC_6350
 	tristate "SM6350 Video Clock Controller"
+	depends on ARM64 || COMPILE_TEST
 	select SM_GCC_6350
 	select QCOM_GDSC
 	help
drivers/clk/qcom/mmcc-sdm660.c +1 -0
index b723c536dfb6..dbd3f561dc6d 100644
@@ -2781,6 +2781,7 @@ static struct gdsc *mmcc_sdm660_gdscs[] = {
 };
 
 static const struct qcom_reset_map mmcc_660_resets[] = {
+	[MDSS_BCR] = { 0x2300 },
 	[CAMSS_MICRO_BCR] = { 0x3490 },
 };
 
drivers/clk/samsung/clk-exynos-clkout.c +1 -1
index 5f1a4f5e2e59..5b21025338bd 100644
@@ -175,6 +175,7 @@ static int exynos_clkout_probe(struct platform_device *pdev)
 	clkout->mux.shift = EXYNOS_CLKOUT_MUX_SHIFT;
 	clkout->mux.lock = &clkout->slock;
 
+	clkout->data.num = EXYNOS_CLKOUT_NR_CLKS;
 	clkout->data.hws[0] = clk_hw_register_composite(NULL, "clkout",
 				parent_names, parent_count, &clkout->mux.hw,
 				&clk_mux_ops, NULL, NULL, &clkout->gate.hw,
@@ -185,7 +186,6 @@ static int exynos_clkout_probe(struct platform_device *pdev)
 		goto err_unmap;
 	}
 
-	clkout->data.num = EXYNOS_CLKOUT_NR_CLKS;
 	ret = of_clk_add_hw_provider(clkout->np, of_clk_hw_onecell_get, &clkout->data);
 	if (ret)
 		goto err_clk_unreg;
drivers/firewire/nosy.c +5 -5
index ea31ac7ac1ca..e59053738a43 100644
@@ -36,6 +36,8 @@
 
 static char driver_name[] = KBUILD_MODNAME;
 
+#define RCV_BUFFER_SIZE (16 * 1024)
+
 /* this is the physical layout of a PCL, its size is 128 bytes */
 struct pcl {
 	__le32 next;
@@ -517,16 +519,14 @@ remove_card(struct pci_dev *dev)
 			  lynx->rcv_start_pcl, lynx->rcv_start_pcl_bus);
 	dma_free_coherent(&lynx->pci_device->dev, sizeof(struct pcl),
 			  lynx->rcv_pcl, lynx->rcv_pcl_bus);
-	dma_free_coherent(&lynx->pci_device->dev, PAGE_SIZE, lynx->rcv_buffer,
-			  lynx->rcv_buffer_bus);
+	dma_free_coherent(&lynx->pci_device->dev, RCV_BUFFER_SIZE,
+			  lynx->rcv_buffer, lynx->rcv_buffer_bus);
 
 	iounmap(lynx->registers);
 	pci_disable_device(dev);
 	lynx_put(lynx);
 }
 
-#define RCV_BUFFER_SIZE (16 * 1024)
-
 static int
 add_card(struct pci_dev *dev, const struct pci_device_id *unused)
 {
@@ -680,7 +680,7 @@ add_card(struct pci_dev *dev, const struct pci_device_id *unused)
 		dma_free_coherent(&lynx->pci_device->dev, sizeof(struct pcl),
 				  lynx->rcv_pcl, lynx->rcv_pcl_bus);
 	if (lynx->rcv_buffer)
-		dma_free_coherent(&lynx->pci_device->dev, PAGE_SIZE,
+		dma_free_coherent(&lynx->pci_device->dev, RCV_BUFFER_SIZE,
 				  lynx->rcv_buffer, lynx->rcv_buffer_bus);
 	iounmap(lynx->registers);
 
drivers/firmware/stratix10-svc.c +11 -0
index deee0e7be34b..1d24e82f3d09 100644
@@ -1,6 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (C) 2017-2018, Intel Corporation
+ * Copyright (C) 2025, Altera Corporation
  */
 
 #include <linux/completion.h>
@@ -175,6 +176,12 @@ struct stratix10_svc_chan {
 static LIST_HEAD(svc_ctrl);
 static LIST_HEAD(svc_data_mem);
 
+/**
+ * svc_mem_lock protects access to the svc_data_mem list for
+ * concurrent multi-client operations
+ */
+static DEFINE_MUTEX(svc_mem_lock);
+
 /**
  * svc_pa_to_va() - translate physical address to virtual address
  * @addr: to be translated physical address
@@ -187,6 +194,7 @@ static void *svc_pa_to_va(unsigned long addr)
 	struct stratix10_svc_data_mem *pmem;
 
 	pr_debug("claim back P-addr=0x%016x\n", (unsigned int)addr);
+	guard(mutex)(&svc_mem_lock);
 	list_for_each_entry(pmem, &svc_data_mem, node)
 		if (pmem->paddr == addr)
 			return pmem->vaddr;
@@ -993,6 +1001,7 @@ int stratix10_svc_send(struct stratix10_svc_chan *chan, void *msg)
 			p_data->flag = ct->flags;
 		}
 	} else {
+		guard(mutex)(&svc_mem_lock);
 		list_for_each_entry(p_mem, &svc_data_mem, node)
 			if (p_mem->vaddr == p_msg->payload) {
 				p_data->paddr = p_mem->paddr;
@@ -1075,6 +1084,7 @@ void *stratix10_svc_allocate_memory(struct stratix10_svc_chan *chan,
 	if (!pmem)
 		return ERR_PTR(-ENOMEM);
 
+	guard(mutex)(&svc_mem_lock);
 	va = gen_pool_alloc(genpool, s);
 	if (!va)
 		return ERR_PTR(-ENOMEM);
@@ -1103,6 +1113,7 @@ EXPORT_SYMBOL_GPL(stratix10_svc_allocate_memory);
 void stratix10_svc_free_memory(struct stratix10_svc_chan *chan, void *kaddr)
 {
 	struct stratix10_svc_data_mem *pmem;
+	guard(mutex)(&svc_mem_lock);
 
 	list_for_each_entry(pmem, &svc_data_mem, node)
 		if (pmem->vaddr == kaddr) {
drivers/gpio/gpiolib-swnode.c +1 -1
index e3806db1c0e0..f21dbc28cf2c 100644
@@ -41,7 +41,7 @@ static struct gpio_device *swnode_get_gpio_device(struct fwnode_handle *fwnode)
 	    !strcmp(gdev_node->name, GPIOLIB_SWNODE_UNDEFINED_NAME))
 		return ERR_PTR(-ENOENT);
 
-	gdev = gpio_device_find_by_fwnode(fwnode);
+	gdev = gpio_device_find_by_label(gdev_node->name);
 	return gdev ?: ERR_PTR(-EPROBE_DEFER);
 }
 
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +1 -2
index 843770e61e42..0cba31ec025c 100644
@@ -3416,11 +3416,10 @@ int amdgpu_device_set_pg_state(struct amdgpu_device *adev,
 		    (adev->ip_blocks[i].version->type == AMD_IP_BLOCK_TYPE_GFX ||
 		     adev->ip_blocks[i].version->type == AMD_IP_BLOCK_TYPE_SDMA))
 			continue;
-		/* skip CG for VCE/UVD/VPE, it's handled specially */
+		/* skip CG for VCE/UVD, it's handled specially */
 		if (adev->ip_blocks[i].version->type != AMD_IP_BLOCK_TYPE_UVD &&
 		    adev->ip_blocks[i].version->type != AMD_IP_BLOCK_TYPE_VCE &&
 		    adev->ip_blocks[i].version->type != AMD_IP_BLOCK_TYPE_VCN &&
-		    adev->ip_blocks[i].version->type != AMD_IP_BLOCK_TYPE_VPE &&
 		    adev->ip_blocks[i].version->type != AMD_IP_BLOCK_TYPE_JPEG &&
 		    adev->ip_blocks[i].version->funcs->set_powergating_state) {
 			/* enable powergating to save power */
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c +2 -0
index 9d568c16beb1..4183e5301cff 100644
@@ -1529,6 +1529,7 @@ static int amdgpu_ttm_access_memory_sdma(struct ttm_buffer_object *bo,
 	if (r)
 		goto out;
 
+	mutex_lock(&adev->mman.gtt_window_lock);
 	amdgpu_res_first(abo->tbo.resource, offset, len, &src_mm);
 	src_addr = amdgpu_ttm_domain_start(adev, bo->resource->mem_type) +
 		src_mm.start;
@@ -1543,6 +1544,7 @@ static int amdgpu_ttm_access_memory_sdma(struct ttm_buffer_object *bo,
 	WARN_ON(job->ibs[0].length_dw > num_dw);
 
 	fence = amdgpu_job_submit(job);
+	mutex_unlock(&adev->mman.gtt_window_lock);
 
 	if (!dma_fence_wait_timeout(fence, false, adev->sdma_timeout))
 		r = -ETIMEDOUT;
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +4 -3
index 676e24fb8864..3d2f9d0e2d23 100644
@@ -1066,7 +1066,9 @@ amdgpu_vm_tlb_flush(struct amdgpu_vm_update_params *params,
 	}
 
 	/* Prepare a TLB flush fence to be attached to PTs */
-	if (!params->unlocked) {
+	if (!params->unlocked &&
+	    /* SI doesn't support pasid or KIQ/MES */
+	    params->adev->family > AMDGPU_FAMILY_SI) {
 		amdgpu_vm_tlb_fence_create(params->adev, vm, fence);
 
 		/* Makes sure no PD/PT is freed before the flush */
@@ -2908,8 +2910,7 @@ int amdgpu_vm_ioctl(struct drm_device *dev, void *data, struct drm_file *filp)
 	switch (args->in.op) {
 	case AMDGPU_VM_OP_RESERVE_VMID:
 		/* We only have requirement to reserve vmid from gfxhub */
-		amdgpu_vmid_alloc_reserved(adev, vm, AMDGPU_GFXHUB(0));
-		break;
+		return amdgpu_vmid_alloc_reserved(adev, vm, AMDGPU_GFXHUB(0));
 	case AMDGPU_VM_OP_UNRESERVE_VMID:
 		amdgpu_vmid_free_reserved(adev, vm, AMDGPU_GFXHUB(0));
 		break;
drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c +27 -0
index 7bc389d9f5c4..8acc912e7e4c 100644
@@ -103,12 +103,39 @@ static int gmc_v11_0_process_interrupt(struct amdgpu_device *adev,
 	uint32_t vmhub_index = entry->client_id == SOC21_IH_CLIENTID_VMC ?
 			       AMDGPU_MMHUB0(0) : AMDGPU_GFXHUB(0);
 	struct amdgpu_vmhub *hub = &adev->vmhub[vmhub_index];
+	bool retry_fault = !!(entry->src_data[1] & 0x80);
+	bool write_fault = !!(entry->src_data[1] & 0x20);
 	uint32_t status = 0;
 	u64 addr;
 
 	addr = (u64)entry->src_data[0] << 12;
 	addr |= ((u64)entry->src_data[1] & 0xf) << 44;
 
+	if (retry_fault) {
+		/* Returning 1 here also prevents sending the IV to the KFD */
+
+		/* Process it only if it's the first fault for this address */
+		if (entry->ih != &adev->irq.ih_soft &&
+		    amdgpu_gmc_filter_faults(adev, entry->ih, addr, entry->pasid,
+					     entry->timestamp))
+			return 1;
+
+		/* Delegate it to a different ring if the hardware hasn't
+		 * already done it.
+		 */
+		if (entry->ih == &adev->irq.ih) {
+			amdgpu_irq_delegate(adev, entry, 8);
+			return 1;
+		}
+
+		/* Try to handle the recoverable page faults by filling page
+		 * tables
+		 */
+		if (amdgpu_vm_handle_fault(adev, entry->pasid, 0, 0, addr,
+					   entry->timestamp, write_fault))
+			return 1;
+	}
+
 	if (!amdgpu_sriov_vf(adev)) {
 		/*
 		 * Issue a dummy read to wait for the status register to
drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c +27 -0
index f4a19357ccbc..3746d3918270 100644
@@ -91,6 +91,8 @@ static int gmc_v12_0_process_interrupt(struct amdgpu_device *adev,
 				       struct amdgpu_iv_entry *entry)
 {
 	struct amdgpu_vmhub *hub;
+	bool retry_fault = !!(entry->src_data[1] & 0x80);
+	bool write_fault = !!(entry->src_data[1] & 0x20);
 	uint32_t status = 0;
 	u64 addr;
 
@@ -102,6 +104,31 @@ static int gmc_v12_0_process_interrupt(struct amdgpu_device *adev,
 	else
 		hub = &adev->vmhub[AMDGPU_GFXHUB(0)];
 
+	if (retry_fault) {
+		/* Returning 1 here also prevents sending the IV to the KFD */
+
+		/* Process it only if it's the first fault for this address */
+		if (entry->ih != &adev->irq.ih_soft &&
+		    amdgpu_gmc_filter_faults(adev, entry->ih, addr, entry->pasid,
+					     entry->timestamp))
+			return 1;
+
+		/* Delegate it to a different ring if the hardware hasn't
+		 * already done it.
+		 */
+		if (entry->ih == &adev->irq.ih) {
+			amdgpu_irq_delegate(adev, entry, 8);
+			return 1;
+		}
+
+		/* Try to handle the recoverable page faults by filling page
+		 * tables
+		 */
+		if (amdgpu_vm_handle_fault(adev, entry->pasid, 0, 0, addr,
+					   entry->timestamp, write_fault))
+			return 1;
+	}
+
 	if (!amdgpu_sriov_vf(adev)) {
 		/*
 		 * Issue a dummy read to wait for the status register to
drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c +1 -1
index db6e41967f12..3c6568d50199 100644
@@ -1389,7 +1389,7 @@ static int sdma_v6_0_sw_init(struct amdgpu_ip_block *ip_block)
 			adev->userq_funcs[AMDGPU_HW_IP_DMA] = &userq_mes_funcs;
 		break;
 	case IP_VERSION(6, 0, 3):
-		if ((adev->sdma.instance[0].fw_version >= 27) && !adev->sdma.disable_uq)
+		if (adev->sdma.instance[0].fw_version >= 29 && !adev->sdma.disable_uq)
 			adev->userq_funcs[AMDGPU_HW_IP_DMA] = &userq_mes_funcs;
 		break;
 	case IP_VERSION(6, 1, 0):
drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c +2 -0
index b107ee80e472..1f6a22983c0d 100644
@@ -265,6 +265,8 @@ static int vcn_v4_0_5_sw_fini(struct amdgpu_ip_block *ip_block)
 	if (amdgpu_sriov_vf(adev))
 		amdgpu_virt_free_mm_table(adev);
 
+	amdgpu_vcn_sysfs_reset_mask_fini(adev);
+
 	for (i = 0; i < adev->vcn.num_vcn_inst; i++) {
 		r = amdgpu_vcn_suspend(adev, i);
 		if (r)
drivers/gpu/drm/amd/amdkfd/cwsr_trap_handler.h +36 -26

97 lines not on this page · raw message

drivers/gpu/drm/amd/amdkfd/cwsr_trap_handler_gfx12.asm +37 -0
index 5a1a1b1f897f..07999b4649de 100644
@@ -78,9 +78,16 @@ var SQ_WAVE_EXCP_FLAG_PRIV_RESTORE_PART_2_SHIFT	= SQ_WAVE_EXCP_FLAG_PRIV_ILLEGAL
 var SQ_WAVE_EXCP_FLAG_PRIV_RESTORE_PART_2_SIZE	= SQ_WAVE_EXCP_FLAG_PRIV_HOST_TRAP_SHIFT - SQ_WAVE_EXCP_FLAG_PRIV_ILLEGAL_INST_SHIFT
 var SQ_WAVE_EXCP_FLAG_PRIV_RESTORE_PART_3_SHIFT	= SQ_WAVE_EXCP_FLAG_PRIV_WAVE_START_SHIFT
 var SQ_WAVE_EXCP_FLAG_PRIV_RESTORE_PART_3_SIZE	= 32 - SQ_WAVE_EXCP_FLAG_PRIV_RESTORE_PART_3_SHIFT
+
+var SQ_WAVE_SCHED_MODE_DEP_MODE_SHIFT		= 0
+var SQ_WAVE_SCHED_MODE_DEP_MODE_SIZE		= 2
+
 var BARRIER_STATE_SIGNAL_OFFSET			= 16
 var BARRIER_STATE_VALID_OFFSET			= 0
 
+var TTMP11_SCHED_MODE_SHIFT			= 26
+var TTMP11_SCHED_MODE_SIZE			= 2
+var TTMP11_SCHED_MODE_MASK			= 0xC000000
 var TTMP11_DEBUG_TRAP_ENABLED_SHIFT		= 23
 var TTMP11_DEBUG_TRAP_ENABLED_MASK		= 0x800000
 
@@ -160,8 +167,19 @@ L_JUMP_TO_RESTORE:
 	s_branch	L_RESTORE
 
 L_SKIP_RESTORE:
+	// Assume most relaxed scheduling mode is set. Save and revert to normal mode.
+	s_getreg_b32	ttmp2, hwreg(HW_REG_WAVE_SCHED_MODE)
+	s_wait_alu	0
+	s_setreg_imm32_b32	hwreg(HW_REG_WAVE_SCHED_MODE, \
+		SQ_WAVE_SCHED_MODE_DEP_MODE_SHIFT, SQ_WAVE_SCHED_MODE_DEP_MODE_SIZE), 0
+
 	s_getreg_b32	s_save_state_priv, hwreg(HW_REG_WAVE_STATE_PRIV)	//save STATUS since we will change SCC
 
+	// Save SCHED_MODE[1:0] into ttmp11[27:26].
+	s_andn2_b32	ttmp11, ttmp11, TTMP11_SCHED_MODE_MASK
+	s_lshl_b32	ttmp2, ttmp2, TTMP11_SCHED_MODE_SHIFT
+	s_or_b32	ttmp11, ttmp11, ttmp2
+
 	// Clear SPI_PRIO: do not save with elevated priority.
 	// Clear ECC_ERR: prevents SQC store and triggers FATAL_HALT if setreg'd.
 	s_andn2_b32	s_save_state_priv, s_save_state_priv, SQ_WAVE_STATE_PRIV_ALWAYS_CLEAR_MASK
@@ -238,6 +256,13 @@ L_FETCH_2ND_TRAP:
 	s_cbranch_scc0	L_NO_SIGN_EXTEND_TMA
 	s_or_b32	ttmp15, ttmp15, 0xFFFF0000
 L_NO_SIGN_EXTEND_TMA:
+#if ASIC_FAMILY == CHIP_GFX12
+	// Move SCHED_MODE[1:0] from ttmp11 to unused bits in ttmp1[27:26] (return PC_HI).
+	// The second-level trap will restore from ttmp1 for backwards compatibility.
+	s_and_b32	ttmp2, ttmp11, TTMP11_SCHED_MODE_MASK
+	s_andn2_b32	ttmp1, ttmp1, TTMP11_SCHED_MODE_MASK
+	s_or_b32	ttmp1, ttmp1, ttmp2
+#endif
 
 	s_load_dword    ttmp2, [ttmp14, ttmp15], 0x10 scope:SCOPE_SYS		// debug trap enabled flag
 	s_wait_idle
@@ -287,6 +312,10 @@ L_EXIT_TRAP:
 	// STATE_PRIV.BARRIER_COMPLETE may have changed since we read it.
 	// Only restore fields which the trap handler changes.
 	s_lshr_b32	s_save_state_priv, s_save_state_priv, SQ_WAVE_STATE_PRIV_SCC_SHIFT
+
+	// Assume relaxed scheduling mode after this point.
+	restore_sched_mode(ttmp2)
+
 	s_setreg_b32	hwreg(HW_REG_WAVE_STATE_PRIV, SQ_WAVE_STATE_PRIV_SCC_SHIFT, \
 		SQ_WAVE_STATE_PRIV_POISON_ERR_SHIFT - SQ_WAVE_STATE_PRIV_SCC_SHIFT + 1), s_save_state_priv
 
@@ -1043,6 +1072,9 @@ L_SKIP_BARRIER_RESTORE:
 	s_and_b64	exec, exec, exec					// Restore STATUS.EXECZ, not writable by s_setreg_b32
 	s_and_b64	vcc, vcc, vcc						// Restore STATUS.VCCZ, not writable by s_setreg_b32
 
+	// Assume relaxed scheduling mode after this point.
+	restore_sched_mode(s_restore_tmp)
+
 	s_setreg_b32	hwreg(HW_REG_WAVE_STATE_PRIV), s_restore_state_priv	// SCC is included, which is changed by previous salu
 
 	// Make barrier and LDS state visible to all waves in the group.
@@ -1134,3 +1166,8 @@ function valu_sgpr_hazard
 	end
 #endif
 end
+
+function restore_sched_mode(s_tmp)
+	s_bfe_u32	s_tmp, ttmp11, (TTMP11_SCHED_MODE_SHIFT | (TTMP11_SCHED_MODE_SIZE << 0x10))
+	s_setreg_b32	hwreg(HW_REG_WAVE_SCHED_MODE), s_tmp
+end
drivers/gpu/drm/amd/amdkfd/kfd_queue.c +1 -0
index f1e7583650c4..80c4fa2b0975 100644
@@ -409,6 +409,7 @@ static u32 kfd_get_vgpr_size_per_cu(u32 gfxv)
 		vgpr_size = 0x80000;
 	else if (gfxv == 110000 ||		/* GFX_VERSION_PLUM_BONITO */
 		 gfxv == 110001 ||		/* GFX_VERSION_WHEAT_NAS */
+		 gfxv == 110501 ||		/* GFX_VERSION_GFX1151 */
 		 gfxv == 120000 ||		/* GFX_VERSION_GFX1200 */
 		 gfxv == 120001)		/* GFX_VERSION_GFX1201 */
 		vgpr_size = 0x60000;
drivers/gpu/drm/amd/amdkfd/kfd_topology.c +4 -0
index 811636af14ea..3eb32d58a120 100644
@@ -491,6 +491,10 @@ static ssize_t node_show(struct kobject *kobj, struct attribute *attr,
 			      dev->node_props.num_sdma_queues_per_engine);
 	sysfs_show_32bit_prop(buffer, offs, "num_cp_queues",
 			      dev->node_props.num_cp_queues);
+	sysfs_show_32bit_prop(buffer, offs, "cwsr_size",
+			      dev->node_props.cwsr_size);
+	sysfs_show_32bit_prop(buffer, offs, "ctl_stack_size",
+			      dev->node_props.ctl_stack_size);
 
 	if (dev->gpu) {
 		log_max_watch_addr =
drivers/gpu/drm/bridge/ti-sn65dsi83.c +9 -2
index 033c44326552..fffb47b62f43 100644
@@ -429,7 +429,14 @@ static void sn65dsi83_handle_errors(struct sn65dsi83 *ctx)
 	 */
 
 	ret = regmap_read(ctx->regmap, REG_IRQ_STAT, &irq_stat);
-	if (ret || irq_stat) {
+
+	/*
+	 * Some hardware (Toradex Verdin AM62) is known to report the
+	 * PLL_UNLOCK error interrupt while working without visible
+	 * problems. In lack of a reliable way to discriminate such cases
+	 * from user-visible PLL_UNLOCK cases, ignore that bit entirely.
+	 */
+	if (ret || irq_stat & ~REG_IRQ_STAT_CHA_PLL_UNLOCK) {
 		/*
 		 * IRQ acknowledged is not always possible (the bridge can be in
 		 * a state where it doesn't answer anymore). To prevent an
@@ -654,7 +661,7 @@ static void sn65dsi83_atomic_enable(struct drm_bridge *bridge,
 	if (ctx->irq) {
 		/* Enable irq to detect errors */
 		regmap_write(ctx->regmap, REG_IRQ_GLOBAL, REG_IRQ_GLOBAL_IRQ_EN);
-		regmap_write(ctx->regmap, REG_IRQ_EN, 0xff);
+		regmap_write(ctx->regmap, REG_IRQ_EN, 0xff & ~REG_IRQ_EN_CHA_PLL_UNLOCK_EN);
 	} else {
 		/* Use the polling task */
 		sn65dsi83_monitor_start(ctx);
drivers/gpu/drm/drm_buddy.c +238 -156

640 lines not on this page · raw message

drivers/gpu/drm/drm_displayid.c +37 -4

77 lines not on this page · raw message

drivers/gpu/drm/drm_displayid_internal.h +2 -0
index 957dd0619f5c..5b1b32f73516 100644
@@ -167,6 +167,8 @@ struct displayid_iter {
 
 	u8 version;
 	u8 primary_use;
+
+	u8 quirks;
 };
 
 void displayid_iter_edid_begin(const struct drm_edid *drm_edid,
drivers/gpu/drm/drm_gem.c +6 -2
index f884d155a832..3b9df655e837 100644
@@ -979,8 +979,10 @@ int drm_gem_change_handle_ioctl(struct drm_device *dev, void *data,
 	if (!obj)
 		return -ENOENT;
 
-	if (args->handle == args->new_handle)
-		return 0;
+	if (args->handle == args->new_handle) {
+		ret = 0;
+		goto out;
+	}
 
 	mutex_lock(&file_priv->prime.lock);
 
@@ -1012,6 +1014,8 @@ int drm_gem_change_handle_ioctl(struct drm_device *dev, void *data,
 
 out_unlock:
 	mutex_unlock(&file_priv->prime.lock);
+out:
+	drm_gem_object_put(obj);
 
 	return ret;
 }
drivers/gpu/drm/drm_gem_shmem_helper.c +1 -1
index 5d1349c34afd..365b5737ca2c 100644
@@ -863,4 +863,4 @@ EXPORT_SYMBOL_GPL(drm_gem_shmem_prime_import_no_map);
 
 MODULE_DESCRIPTION("DRM SHMEM memory-management helpers");
 MODULE_IMPORT_NS("DMA_BUF");
-MODULE_LICENSE("GPL v2");
+MODULE_LICENSE("GPL");
drivers/gpu/drm/drm_pagemap.c +13 -4
index 22c44807e3fe..445cf0e6589f 100644
@@ -3,6 +3,7 @@
  * Copyright © 2024-2025 Intel Corporation
  */
 
+#include <linux/dma-fence.h>
 #include <linux/dma-mapping.h>
 #include <linux/migrate.h>
 #include <linux/pagemap.h>
@@ -408,10 +409,14 @@ int drm_pagemap_migrate_to_devmem(struct drm_pagemap_devmem *devmem_allocation,
 		drm_pagemap_get_devmem_page(page, zdd);
 	}
 
-	err = ops->copy_to_devmem(pages, pagemap_addr, npages);
+	err = ops->copy_to_devmem(pages, pagemap_addr, npages,
+				  devmem_allocation->pre_migrate_fence);
 	if (err)
 		goto err_finalize;
 
+	dma_fence_put(devmem_allocation->pre_migrate_fence);
+	devmem_allocation->pre_migrate_fence = NULL;
+
 	/* Upon success bind devmem allocation to range and zdd */
 	devmem_allocation->timeslice_expiration = get_jiffies_64() +
 		msecs_to_jiffies(timeslice_ms);
@@ -596,7 +601,7 @@ int drm_pagemap_evict_to_ram(struct drm_pagemap_devmem *devmem_allocation)
 	for (i = 0; i < npages; ++i)
 		pages[i] = migrate_pfn_to_page(src[i]);
 
-	err = ops->copy_to_ram(pages, pagemap_addr, npages);
+	err = ops->copy_to_ram(pages, pagemap_addr, npages, NULL);
 	if (err)
 		goto err_finalize;
 
@@ -732,7 +737,7 @@ static int __drm_pagemap_migrate_to_ram(struct vm_area_struct *vas,
 	for (i = 0; i < npages; ++i)
 		pages[i] = migrate_pfn_to_page(migrate.src[i]);
 
-	err = ops->copy_to_ram(pages, pagemap_addr, npages);
+	err = ops->copy_to_ram(pages, pagemap_addr, npages, NULL);
 	if (err)
 		goto err_finalize;
 
@@ -813,11 +818,14 @@ EXPORT_SYMBOL_GPL(drm_pagemap_pagemap_ops_get);
  * @ops: Pointer to the operations structure for GPU SVM device memory
  * @dpagemap: The struct drm_pagemap we're allocating from.
  * @size: Size of device memory allocation
+ * @pre_migrate_fence: Fence to wait for or pipeline behind before migration starts.
+ * (May be NULL).
  */
 void drm_pagemap_devmem_init(struct drm_pagemap_devmem *devmem_allocation,
 			     struct device *dev, struct mm_struct *mm,
 			     const struct drm_pagemap_devmem_ops *ops,
-			     struct drm_pagemap *dpagemap, size_t size)
+			     struct drm_pagemap *dpagemap, size_t size,
+			     struct dma_fence *pre_migrate_fence)
 {
 	init_completion(&devmem_allocation->detached);
 	devmem_allocation->dev = dev;
@@ -825,6 +833,7 @@ void drm_pagemap_devmem_init(struct drm_pagemap_devmem *devmem_allocation,
 	devmem_allocation->ops = ops;
 	devmem_allocation->dpagemap = dpagemap;
 	devmem_allocation->size = size;
+	devmem_allocation->pre_migrate_fence = pre_migrate_fence;
 }
 EXPORT_SYMBOL_GPL(drm_pagemap_devmem_init);
 
drivers/gpu/drm/gma500/fbdev.c +0 -43

55 lines not on this page · raw message

drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c +17 -20
index 39c7c32e1e74..bcae382acdf5 100644
@@ -950,13 +950,13 @@ static int eb_lookup_vmas(struct i915_execbuffer *eb)
 		vma = eb_lookup_vma(eb, eb->exec[i].handle);
 		if (IS_ERR(vma)) {
 			err = PTR_ERR(vma);
-			goto err;
+			return err;
 		}
 
 		err = eb_validate_vma(eb, &eb->exec[i], vma);
 		if (unlikely(err)) {
 			i915_vma_put(vma);
-			goto err;
+			return err;
 		}
 
 		err = eb_add_vma(eb, &current_batch, i, vma);
@@ -965,19 +965,8 @@ static int eb_lookup_vmas(struct i915_execbuffer *eb)
 
 		if (i915_gem_object_is_userptr(vma->obj)) {
 			err = i915_gem_object_userptr_submit_init(vma->obj);
-			if (err) {
-				if (i + 1 < eb->buffer_count) {
-					/*
-					 * Execbuffer code expects last vma entry to be NULL,
-					 * since we already initialized this entry,
-					 * set the next value to NULL or we mess up
-					 * cleanup handling.
-					 */
-					eb->vma[i + 1].vma = NULL;
-				}
-
+			if (err)
 				return err;
-			}
 
 			eb->vma[i].flags |= __EXEC_OBJECT_USERPTR_INIT;
 			eb->args->flags |= __EXEC_USERPTR_USED;
@@ -985,10 +974,6 @@ static int eb_lookup_vmas(struct i915_execbuffer *eb)
 	}
 
 	return 0;
-
-err:
-	eb->vma[i].vma = NULL;
-	return err;
 }
 
 static int eb_lock_vmas(struct i915_execbuffer *eb)
@@ -3374,7 +3359,8 @@ i915_gem_do_execbuffer(struct drm_device *dev,
 
 	eb.exec = exec;
 	eb.vma = (struct eb_vma *)(exec + args->buffer_count + 1);
-	eb.vma[0].vma = NULL;
+	memset(eb.vma, 0, (args->buffer_count + 1) * sizeof(struct eb_vma));
+
 	eb.batch_pool = NULL;
 
 	eb.invalid_flags = __EXEC_OBJECT_UNKNOWN_FLAGS;
@@ -3583,7 +3569,18 @@ i915_gem_execbuffer2_ioctl(struct drm_device *dev, void *data,
 	if (err)
 		return err;
 
-	/* Allocate extra slots for use by the command parser */
+	/*
+	 * Allocate extra slots for use by the command parser.
+	 *
+	 * Note that this allocation handles two different arrays (the
+	 * exec2_list array, and the eventual eb.vma array introduced in
+	 * i915_gem_do_execbuffer()), that reside in virtually contiguous
+	 * memory. Also note that the allocation intentionally doesn't fill the
+	 * area with zeros, because the exec2_list part doesn't need to be, as
+	 * it's immediately overwritten by user data a few lines below.
+	 * However, the eb.vma part is explicitly zeroed later in
+	 * i915_gem_do_execbuffer().
+	 */
 	exec2_list = kvmalloc_array(count + 2, eb_element_size(),
 				    __GFP_NOWARN | GFP_KERNEL);
 	if (exec2_list == NULL) {
drivers/gpu/drm/i915/intel_memory_region.h +1 -1
index b3b75be9ced5..e9a4e6090fe0 100644
@@ -72,7 +72,7 @@ struct intel_memory_region {
 	u16 instance;
 	enum intel_region_id id;
 	char name[16];
-	char uabi_name[16];
+	char uabi_name[20];
 	bool private; /* not for userspace */
 
 	struct {
drivers/gpu/drm/imagination/pvr_gem.c +11 -0
index a66cf082af24..c07c9a915190 100644
@@ -28,6 +28,16 @@ static void pvr_gem_object_free(struct drm_gem_object *obj)
 	drm_gem_shmem_object_free(obj);
 }
 
+static struct dma_buf *pvr_gem_export(struct drm_gem_object *obj, int flags)
+{
+	struct pvr_gem_object *pvr_obj = gem_to_pvr_gem(obj);
+
+	if (pvr_obj->flags & DRM_PVR_BO_PM_FW_PROTECT)
+		return ERR_PTR(-EPERM);
+
+	return drm_gem_prime_export(obj, flags);
+}
+
 static int pvr_gem_mmap(struct drm_gem_object *gem_obj, struct vm_area_struct *vma)
 {
 	struct pvr_gem_object *pvr_obj = gem_to_pvr_gem(gem_obj);
@@ -42,6 +52,7 @@ static int pvr_gem_mmap(struct drm_gem_object *gem_obj, struct vm_area_struct *v
 static const struct drm_gem_object_funcs pvr_gem_object_funcs = {
 	.free = pvr_gem_object_free,
 	.print_info = drm_gem_shmem_object_print_info,
+	.export = pvr_gem_export,
 	.pin = drm_gem_shmem_object_pin,
 	.unpin = drm_gem_shmem_object_unpin,
 	.get_sg_table = drm_gem_shmem_object_get_sg_table,
drivers/gpu/drm/mediatek/mtk_ddp_comp.c +28 -5
index ac6620e10262..9672ea1f91a2 100644
@@ -621,15 +621,27 @@ int mtk_find_possible_crtcs(struct drm_device *drm, struct device *dev)
 	return ret;
 }
 
-int mtk_ddp_comp_init(struct device_node *node, struct mtk_ddp_comp *comp,
+static void mtk_ddp_comp_put_device(void *_dev)
+{
+	struct device *dev = _dev;
+
+	put_device(dev);
+}
+
+static void mtk_ddp_comp_clk_put(void *_clk)
+{
+	struct clk *clk = _clk;
+
+	clk_put(clk);
+}
+
+int mtk_ddp_comp_init(struct device *dev, struct device_node *node, struct mtk_ddp_comp *comp,
 		      unsigned int comp_id)
 {
 	struct platform_device *comp_pdev;
 	enum mtk_ddp_comp_type type;
 	struct mtk_ddp_comp_dev *priv;
-#if IS_REACHABLE(CONFIG_MTK_CMDQ)
 	int ret;
-#endif
 
 	if (comp_id >= DDP_COMPONENT_DRM_ID_MAX)
 		return -EINVAL;
@@ -651,6 +663,10 @@ int mtk_ddp_comp_init(struct device_node *node, struct mtk_ddp_comp *comp,
 	}
 	comp->dev = &comp_pdev->dev;
 
+	ret = devm_add_action_or_reset(dev, mtk_ddp_comp_put_device, comp->dev);
+	if (ret)
+		return ret;
+
 	if (type == MTK_DISP_AAL ||
 	    type == MTK_DISP_BLS ||
 	    type == MTK_DISP_CCORR ||
@@ -666,15 +682,22 @@ int mtk_ddp_comp_init(struct device_node *node, struct mtk_ddp_comp *comp,
 	    type == MTK_DSI)
 		return 0;
 
-	priv = devm_kzalloc(comp->dev, sizeof(*priv), GFP_KERNEL);
+	priv = devm_kzalloc(dev, sizeof(*priv), GFP_KERNEL);
 	if (!priv)
 		return -ENOMEM;
 
-	priv->regs = of_iomap(node, 0);
+	priv->regs = devm_of_iomap(dev, node, 0, NULL);
+	if (IS_ERR(priv->regs))
+		return PTR_ERR(priv->regs);
+
 	priv->clk = of_clk_get(node, 0);
 	if (IS_ERR(priv->clk))
 		return PTR_ERR(priv->clk);
 
+	ret = devm_add_action_or_reset(dev, mtk_ddp_comp_clk_put, priv->clk);
+	if (ret)
+		return ret;
+
 #if IS_REACHABLE(CONFIG_MTK_CMDQ)
 	ret = cmdq_dev_get_client_reg(comp->dev, &priv->cmdq_reg, 0);
 	if (ret)
drivers/gpu/drm/mediatek/mtk_ddp_comp.h +1 -1
index 7289b3dcf22f..3f3d43f4330d 100644
@@ -350,7 +350,7 @@ static inline void mtk_ddp_comp_encoder_index_set(struct mtk_ddp_comp *comp)
 int mtk_ddp_comp_get_id(struct device_node *node,
 			enum mtk_ddp_comp_type comp_type);
 int mtk_find_possible_crtcs(struct drm_device *drm, struct device *dev);
-int mtk_ddp_comp_init(struct device_node *comp_node, struct mtk_ddp_comp *comp,
+int mtk_ddp_comp_init(struct device *dev, struct device_node *comp_node, struct mtk_ddp_comp *comp,
 		      unsigned int comp_id);
 enum mtk_ddp_comp_type mtk_ddp_comp_get_type(unsigned int comp_id);
 void mtk_ddp_write(struct cmdq_pkt *cmdq_pkt, unsigned int value,
drivers/gpu/drm/mediatek/mtk_disp_ovl_adaptor.c +12 -0
index fe97bb97e004..c0af3e3b51d5 100644
@@ -527,6 +527,13 @@ bool mtk_ovl_adaptor_is_comp_present(struct device_node *node)
 	       type == OVL_ADAPTOR_TYPE_PADDING;
 }
 
+static void ovl_adaptor_put_device(void *_dev)
+{
+	struct device *dev = _dev;
+
+	put_device(dev);
+}
+
 static int ovl_adaptor_comp_init(struct device *dev, struct component_match **match)
 {
 	struct mtk_disp_ovl_adaptor *priv = dev_get_drvdata(dev);
@@ -560,6 +567,11 @@ static int ovl_adaptor_comp_init(struct device *dev, struct component_match **ma
 		if (!comp_pdev)
 			return -EPROBE_DEFER;
 
+		ret = devm_add_action_or_reset(dev, ovl_adaptor_put_device,
+					       &comp_pdev->dev);
+		if (ret)
+			return ret;
+
 		priv->ovl_adaptor_comp[id] = &comp_pdev->dev;
 
 		drm_of_component_match_add(dev, match, component_compare_of, node);
drivers/gpu/drm/mediatek/mtk_dp.c +1 -0
index bef6eeb30d3e..b0b1e158600f 100644
@@ -2087,6 +2087,7 @@ static int mtk_dp_dt_parse(struct mtk_dp *mtk_dp,
 	endpoint = of_graph_get_endpoint_by_regs(pdev->dev.of_node, 1, -1);
 	len = of_property_count_elems_of_size(endpoint,
 					      "data-lanes", sizeof(u32));
+	of_node_put(endpoint);
 	if (len < 0 || len > 4 || len == 3) {
 		dev_err(dev, "invalid data lane size: %d\n", len);
 		return -EINVAL;
drivers/gpu/drm/mediatek/mtk_drm_drv.c +2 -2
index 31ff2922758a..a94c51a83261 100644
@@ -1123,7 +1123,7 @@ static int mtk_drm_probe(struct platform_device *pdev)
 							    (void *)private->mmsys_dev,
 							    sizeof(*private->mmsys_dev));
 		private->ddp_comp[DDP_COMPONENT_DRM_OVL_ADAPTOR].dev = &ovl_adaptor->dev;
-		mtk_ddp_comp_init(NULL, &private->ddp_comp[DDP_COMPONENT_DRM_OVL_ADAPTOR],
+		mtk_ddp_comp_init(dev, NULL, &private->ddp_comp[DDP_COMPONENT_DRM_OVL_ADAPTOR],
 				  DDP_COMPONENT_DRM_OVL_ADAPTOR);
 		component_match_add(dev, &match, compare_dev, &ovl_adaptor->dev);
 	}
@@ -1189,7 +1189,7 @@ static int mtk_drm_probe(struct platform_device *pdev)
 						   node);
 		}
 
-		ret = mtk_ddp_comp_init(node, &private->ddp_comp[comp_id], comp_id);
+		ret = mtk_ddp_comp_init(dev, node, &private->ddp_comp[comp_id], comp_id);
 		if (ret) {
 			of_node_put(node);
 			goto err_node;
drivers/gpu/drm/mediatek/mtk_hdmi.c +15 -0
index b766dd5e6c8d..306e2c907311 100644
@@ -1345,6 +1345,13 @@ static const struct drm_bridge_funcs mtk_hdmi_bridge_funcs = {
 	.edid_read = mtk_hdmi_bridge_edid_read,
 };
 
+static void mtk_hdmi_put_device(void *_dev)
+{
+	struct device *dev = _dev;
+
+	put_device(dev);
+}
+
 static int mtk_hdmi_get_cec_dev(struct mtk_hdmi *hdmi, struct device *dev, struct device_node *np)
 {
 	struct platform_device *cec_pdev;
@@ -1369,6 +1376,10 @@ static int mtk_hdmi_get_cec_dev(struct mtk_hdmi *hdmi, struct device *dev, struc
 	}
 	of_node_put(cec_np);
 
+	ret = devm_add_action_or_reset(dev, mtk_hdmi_put_device, &cec_pdev->dev);
+	if (ret)
+		return ret;
+
 	/*
 	 * The mediatek,syscon-hdmi property contains a phandle link to the
 	 * MMSYS_CONFIG device and the register offset of the HDMI_SYS_CFG
@@ -1423,6 +1434,10 @@ static int mtk_hdmi_dt_parse_pdata(struct mtk_hdmi *hdmi,
 	if (!hdmi->ddc_adpt)
 		return dev_err_probe(dev, -EINVAL, "Failed to get ddc i2c adapter by node\n");
 
+	ret = devm_add_action_or_reset(dev, mtk_hdmi_put_device, &hdmi->ddc_adpt->dev);
+	if (ret)
+		return ret;
+
 	ret = mtk_hdmi_get_cec_dev(hdmi, dev, np);
 	if (ret)
 		return ret;
drivers/gpu/drm/mgag200/mgag200_mode.c +25 -0
index 951d715dea30..d019177462cf 100644
@@ -161,6 +161,30 @@ static void mgag200_set_startadd(struct mga_device *mdev,
 	WREG_ECRT(0x00, crtcext0);
 }
 
+/*
+ * Set the opmode for the hardware swapper for Big-Endian processor
+ * support for the frame buffer aperture and DMAWIN space.
+ */
+static void mgag200_set_datasiz(struct mga_device *mdev, u32 format)
+{
+#if defined(__BIG_ENDIAN)
+	u32 opmode = RREG32(MGAREG_OPMODE);
+
+	opmode &= ~(GENMASK(17, 16) | GENMASK(9, 8) | GENMASK(3, 2));
+
+	/* Big-endian byte-swapping */
+	switch (format) {
+	case DRM_FORMAT_RGB565:
+		opmode |= 0x10100;
+		break;
+	case DRM_FORMAT_XRGB8888:
+		opmode |= 0x20200;
+		break;
+	}
+	WREG32(MGAREG_OPMODE, opmode);
+#endif
+}
+
 void mgag200_init_registers(struct mga_device *mdev)
 {
 	u8 crtc11, misc;
@@ -496,6 +520,7 @@ void mgag200_primary_plane_helper_atomic_update(struct drm_plane *plane,
 	struct drm_atomic_helper_damage_iter iter;
 	struct drm_rect damage;
 
+	mgag200_set_datasiz(mdev, fb->format->format);
 	drm_atomic_helper_damage_iter_init(&iter, old_plane_state, plane_state);
 	drm_atomic_for_each_plane_damage(&iter, &damage) {
 		mgag200_handle_damage(mdev, shadow_plane_state->data, fb, &damage);
drivers/gpu/drm/msm/adreno/a6xx_catalog.c +1 -0
index 44df6410bce1..2adbc198ecf2 100644
@@ -1360,6 +1360,7 @@ static const u32 a750_ifpc_reglist_regs[] = {
 	REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE(2),
 	REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE(3),
 	REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE(4),
+	REG_A6XX_RBBM_PERFCTR_CNTL,
 	REG_A6XX_TPL1_NC_MODE_CNTL,
 	REG_A6XX_SP_NC_MODE_CNTL,
 	REG_A6XX_CP_DBG_ECO_CNTL,
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c +1 -1
index 4c7f3c642f6a..9cec333e23e1 100644
@@ -1255,7 +1255,7 @@ static void a6xx_get_gmu_registers(struct msm_gpu *gpu,
 		return;
 
 	/* Set the fence to ALLOW mode so we can access the registers */
-	gpu_write(gpu, REG_A6XX_GMU_AO_AHB_FENCE_CTRL, 0);
+	gmu_write(&a6xx_gpu->gmu, REG_A6XX_GMU_AO_AHB_FENCE_CTRL, 0);
 
 	_a6xx_get_gmu_registers(gpu, a6xx_state, &a6xx_gmu_reglist[2],
 		&a6xx_state->gmu_registers[3], false);
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c +4 -6
index 46f348972a97..6d28f2281c76 100644
@@ -247,14 +247,12 @@ static void dpu_encoder_phys_wb_setup_ctl(struct dpu_encoder_phys *phys_enc)
 		if (hw_cdm)
 			intf_cfg.cdm = hw_cdm->idx;
 
-		if (phys_enc->hw_pp->merge_3d && phys_enc->hw_pp->merge_3d->ops.setup_3d_mode)
-			phys_enc->hw_pp->merge_3d->ops.setup_3d_mode(phys_enc->hw_pp->merge_3d,
-					mode_3d);
+		if (hw_pp && hw_pp->merge_3d && hw_pp->merge_3d->ops.setup_3d_mode)
+			hw_pp->merge_3d->ops.setup_3d_mode(hw_pp->merge_3d, mode_3d);
 
[… more lines in the raw message]

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

drivers/gpu/drm/nouveau/dispnv50/atom.h +13 -0
index 93f8f4f64578..b43c4f9bbcdf 100644

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

drivers/gpu/drm/nouveau/dispnv50/wndw.c +1 -1
index ef9e410babbf..9a2c20fce0f3 100644

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

drivers/gpu/drm/nouveau/include/nvkm/subdev/gsp.h +4 -0
index 226c7ec56b8e..b8b97e10ae83 100644

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

drivers/gpu/drm/nouveau/nvkm/subdev/gsp/fwsec.c +42 -19

61 lines not on this page · raw message

drivers/gpu/drm/nouveau/nvkm/subdev/gsp/priv.h +3 -0
index c3494b7ac572..86bdd203bc10 100644

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

drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c +9 -1
index 32e6a065d6d7..2a7e80c6d70f 100644

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

drivers/gpu/drm/nova/Kconfig +1 -0
index bd1df0879191..3e637ad7b5ba 100644

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

drivers/gpu/drm/rockchip/rockchip_drm_drv.c +3 -0
index eb77bde9f628..e693160e9b7f 100644

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

drivers/gpu/drm/rockchip/rockchip_vop2_reg.c +42 -7

49 lines not on this page · raw message

drivers/gpu/drm/tilcdc/tilcdc_crtc.c +1 -1
index b5f60b2b2d0e..41802c9bd147 100644

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

drivers/gpu/drm/tilcdc/tilcdc_drv.c +35 -18

53 lines not on this page · raw message

drivers/gpu/drm/tilcdc/tilcdc_drv.h +1 -1
index b818448c83f6..58b276f82a66 100644

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

drivers/gpu/drm/ttm/ttm_bo_vm.c +6 -0
index b47020fca199..e6abc7b40b18 100644

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

drivers/gpu/drm/xe/xe_bo.c +4 -11
index 4410e28dee54..d5b8332a04ec 100644

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

drivers/gpu/drm/xe/xe_dma_buf.c +1 -1
index a7d67725c3ee..2650c5abb365 100644

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

drivers/gpu/drm/xe/xe_eu_stall.c +1 -1
index f5cfdf29fde3..33a3764e3e71 100644

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

drivers/gpu/drm/xe/xe_guc_ct.c +10 -4
index b7afe8e983cb..3aac1a7aa2e7 100644

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

drivers/gpu/drm/xe/xe_guc_submit.c +19 -1
index 94ed8159496f..474789bf6506 100644

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

drivers/gpu/drm/xe/xe_migrate.c +20 -5
index a36ce7dce8cc..3acdcbf41887 100644

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

drivers/gpu/drm/xe/xe_migrate.h +4 -2
index 4fad324b6253..bc55f650204b 100644

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

drivers/gpu/drm/xe/xe_oa.c +6 -4
index d0ceb67af83e..7fbce93f0719 100644

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

drivers/gpu/drm/xe/xe_svm.c +38 -13

51 lines not on this page · raw message

drivers/gpu/drm/xe/xe_vm.c +4 -1
index f0f699baa9f6..747aa8cff60d 100644

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

drivers/gpu/drm/xe/xe_vm_types.h +1 -1
index d6e2a0fdd4b3..fd5b5919c402 100644

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

drivers/hid/hid-logitech-dj.c +23 -33

56 lines not on this page · raw message

drivers/hwmon/dell-smm-hwmon.c +2 -2
index f0e8a9bc0d0e..8cf12b9bae2a 100644

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

drivers/infiniband/core/addr.c +10 -23
index 61596cda2b65..35ba852a172a 100644

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

drivers/infiniband/core/cma.c +3 -0
index 5b2d3ae3f9fc..ce511800b056 100644

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

drivers/infiniband/core/device.c +3 -1
index b4f3c835844a..e3ba236d7c09 100644

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

drivers/infiniband/core/verbs.c +1 -1
index 3a5f81402d2f..d279e301f5a1 100644

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

drivers/infiniband/hw/bnxt_re/hw_counters.h +3 -3
index 09d371d442aa..cebec033f4a0 100644

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

drivers/infiniband/hw/bnxt_re/ib_verbs.c +1 -6
index f19b55c13d58..ff91511bd338 100644

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

drivers/infiniband/hw/bnxt_re/qplib_rcfw.c +1 -1
index 295a9610f3e6..4dad0cfcfa98 100644

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

drivers/infiniband/hw/bnxt_re/qplib_res.c +3 -5
index 875d7b52c06a..4d674a3aee1a 100644

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

drivers/infiniband/hw/efa/efa_verbs.c +0 -4
index 22d3e25c3b9d..755bba8d58bb 100644

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

drivers/infiniband/hw/irdma/utils.c +2 -1
index 8b94d87b0192..b6c4ccf38eb7 100644

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

drivers/infiniband/hw/mana/cq.c +4 -0
index 1becc8779123..7600412b0739 100644

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

drivers/infiniband/sw/rxe/rxe_odp.c +3 -1
index f58e3ec6252f..4d4e3b324dd2 100644

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

drivers/infiniband/ulp/rtrs/rtrs-clt.c +1 -0
index 71387811b281..2b397a544cb9 100644

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

drivers/iommu/amd/init.c +12 -3
index 14eb9de33ccb..034edce816d0 100644

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

drivers/iommu/amd/iommu.c +1 -1
index 2e1865daa1ce..a38304f1a8df 100644

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

drivers/iommu/apple-dart.c +2 -0
index 95a4e62b8f63..9804022c7f59 100644

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

drivers/iommu/arm/arm-smmu/qcom_iommu.c +4 -6
index c5be95e56031..9c1166a3af6c 100644

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

drivers/iommu/exynos-iommu.c +3 -6
index b6edd178fe25..ce9e935cb84c 100644

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

drivers/iommu/iommu-sva.c +3 -0
index 1a51cfd82808..a0442faad952 100644

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

drivers/iommu/ipmmu-vmsa.c +2 -0
index ffa892f65714..02a2a55ffa0a 100644

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

drivers/iommu/mtk_iommu.c +2 -0
index 319974557f32..64ce041238fd 100644

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

drivers/iommu/mtk_iommu_v1.c +20 -5
index 10cc0b1197e8..44b965a2db92 100644

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

drivers/iommu/omap-iommu.c +1 -1
index 5c6f5943f44b..c0315c86cd18 100644

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

drivers/iommu/omap-iommu.h +0 -2
index 27697109ec79..50b39be61abc 100644

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

drivers/iommu/sun50i-iommu.c +2 -0
index de10b569d9a9..6306570d57db 100644

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

drivers/iommu/tegra-smmu.c +2 -3
index 36cdd5fbab07..f6f26a072820 100644

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

drivers/leds/leds-cros_ec.c +2 -3
index 377cf04e202a..bea3cc3fbfd2 100644

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

drivers/leds/leds-lp50xx.c +45 -22

67 lines not on this page · raw message

drivers/md/dm-bufio.c +6 -4
index e6d28be11c5c..5235f3e4924b 100644

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

drivers/md/dm-ebs-target.c +1 -1
index 6abb31ca9662..b354e74a670e 100644

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

drivers/md/dm-pcache/cache.c +4 -1
index d4385d76ac36..534bf07b794f 100644

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

drivers/md/dm-pcache/cache_segment.c +4 -1
index ae57cc261422..9d92e2b067ed 100644

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

drivers/md/md.c +1 -4
index cef5b2954ac5..7b1365143f58 100644

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

drivers/md/raid5.c +6 -4
index 8b5f8a12d417..41de29206402 100644

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

drivers/media/cec/core/cec-core.c +1 -0
index d7259599029f..dd6e24a0899b 100644

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

drivers/media/common/videobuf2/videobuf2-dma-contig.c +1 -0
index a13ec569c82f..7123c5fae92c 100644

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

drivers/media/i2c/adv7604.c +1 -3
index 8fe7c2f72883..516553fb17e9 100644

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

drivers/media/i2c/adv7842.c +6 -5
index 9780082db841..21c3d3682e0b 100644

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

drivers/media/i2c/imx219.c +6 -3
index c680aa6c3a55..300935b1ef24 100644

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

drivers/media/i2c/msp3400-kthreads.c +2 -0
index ecabc0e1d32e..1d9f41dd7c21 100644

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

drivers/media/i2c/tda1997x.c +0 -1
index 1087d2bddaf2..3532766cd795 100644

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

drivers/media/platform/amphion/vpu_malone.c +3 -20
index ba688566dffd..80802975c4f1 100644

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

drivers/media/platform/amphion/vpu_v4l2.c +3 -13
index fcb2eff813ac..47dff9a35bb4 100644

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

drivers/media/platform/amphion/vpu_v4l2.h +0 -10
index 4a87b06ae520..da9945f25e32 100644

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

drivers/media/platform/mediatek/mdp3/mtk-mdp3-core.c +14 -0
index 6559d72d5d42..6d26d4aa1eef 100644

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

drivers/media/platform/mediatek/vcodec/common/mtk_vcodec_fw_vpu.c +9 -5
index d7027d600208..3632037f78f5 100644

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

drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_drv.c +7 -5
index 46d176e6de63..3b81fae9f913 100644

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

drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_drv.h +1 -1
index d047d7c580fb..9d68808e8f9c 100644

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

drivers/media/platform/mediatek/vcodec/decoder/vdec_vpu_if.c +3 -2
index 145958206e38..40b97f114cf6 100644

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

drivers/media/platform/mediatek/vcodec/encoder/mtk_vcodec_enc_drv.c +7 -5
index fb1c3bdc2dae..82b8ff38e8f1 100644

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

drivers/media/platform/mediatek/vcodec/encoder/mtk_vcodec_enc_drv.h +1 -1
index 5b304a551236..0cddfa13594f 100644

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

drivers/media/platform/mediatek/vcodec/encoder/venc_vpu_if.c +3 -2
index 51bb7ee141b9..3c229b1f6b21 100644

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

drivers/media/platform/qcom/iris/iris_common.c +5 -2
index 9fc663bdaf3f..7f1c7fe144f7 100644

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

drivers/media/platform/renesas/rcar_drif.c +1 -0
index 11bf47fb8266..0844934f7aa6 100644

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

drivers/media/platform/samsung/exynos4-is/media-dev.c +6 -4
index c781853586fd..e9d7875cf01e 100644

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

drivers/media/platform/ti/davinci/vpif_capture.c +2 -2
index d053972888d1..243c6196b024 100644

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

drivers/media/platform/ti/davinci/vpif_display.c +2 -2
index 70c89549f4b6..1e7815e9f8e0 100644

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

drivers/media/platform/verisilicon/hantro_g2.c +69 -19

88 lines not on this page · raw message

drivers/media/platform/verisilicon/hantro_g2_hevc_dec.c +13 -4
index 0e212198dd65..e8c2e83379de 100644

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

drivers/media/platform/verisilicon/hantro_g2_regs.h +13 -0
index b943b1816db7..c614951121c7 100644

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

drivers/media/platform/verisilicon/hantro_g2_vp9_dec.c +0 -2
index 82a478ac645e..56c79e339030 100644

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

drivers/media/platform/verisilicon/hantro_hw.h +1 -0
index c9b6556f8b2b..5f2011529f02 100644

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

drivers/media/platform/verisilicon/imx8m_vpu_hw.c +2 -0
index f9f276385c11..5be0e2e76882 100644

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

drivers/media/rc/st_rc.c +1 -1
index 6539fa0a6e79..6b70bac5f45d 100644

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

drivers/mfd/altera-sysmgr.c +2 -0
index fb5f988e61f3..90c6902d537d 100644

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

drivers/mfd/max77620.c +11 -4
index 21d2ab3db254..3af2974b3023 100644

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

drivers/mtd/mtdpart.c +5 -2
index 994e8c51e674..2876501a7814 100644

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

drivers/mtd/spi-nor/winbond.c +24 -0
index 63a93c9eb917..fb855fe44733 100644

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

drivers/net/dsa/b53/b53_common.c +3 -0
index 62cafced758e..7d6ec2eb7c75 100644

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

drivers/net/ethernet/airoha/airoha_eth.c +26 -13
index 433a646e9831..0394ba6a90a9 100644

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

drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c +2 -0
index a56efc1bee33..450a573960e7 100644

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

drivers/net/ethernet/broadcom/Kconfig +4 -4
index 9fdef874f5ca..fe15d684990f 100644

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

drivers/net/ethernet/broadcom/bnge/bnge.h +1 -1
index 7aed5f81cd51..0c154995d9ab 100644

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

drivers/net/ethernet/broadcom/bnge/bnge_core.c +1 -1
index 2c72dd34d50d..312a9db4d75d 100644

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

drivers/net/ethernet/cadence/macb_main.c +2 -1
index ca2386b83473..064fccdcf699 100644

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

drivers/net/ethernet/google/gve/gve_main.c +1 -1
index 1be1b1ef31ee..e240b7d22a35 100644

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

drivers/net/ethernet/google/gve/gve_utils.c +2 -0
index ace9b8698021..b53b7fcdcdaf 100644

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

drivers/net/ethernet/intel/e1000/e1000_main.c +9 -1
index 292389aceb2d..7f078ec9c14c 100644

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

drivers/net/ethernet/intel/i40e/i40e.h +11 -0
index 801a57a925da..feec9e1e13b3 100644

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

drivers/net/ethernet/intel/i40e/i40e_ethtool.c +0 -12
index 86c72596617a..61c39e881b00 100644

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

drivers/net/ethernet/intel/i40e/i40e_main.c +1 -0
index 50be0a60ae13..07d32f2586c8 100644

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

drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c +2 -2
index 081a4526a2f0..cf831c649c9c 100644

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

drivers/net/ethernet/intel/iavf/iavf_main.c +2 -2
index c2fbe443ef85..4b0fc8f354bc 100644

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

drivers/net/ethernet/intel/idpf/idpf_lib.c +1 -1
index 8a941f0fb048..aaafe40f5eaf 100644

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

drivers/net/ethernet/intel/idpf/idpf_virtchnl.c +5 -0
index cbb5fa30f5a0..fc03d55bc9b9 100644

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

drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c +8 -0
index b90e23dc49de..b6449f0a9e7d 100644

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

drivers/net/ethernet/smsc/smc91x.c +1 -9
index 9d1a83a5fa7e..d16c178d1034 100644

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

drivers/net/ethernet/stmicro/stmmac/stmmac_main.c +15 -2
index 86e912471dea..0dd17179c85d 100644

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

drivers/net/ethernet/wangxun/Kconfig +1 -3
index d138dea7d208..ec278f99d295 100644

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

drivers/net/fjes/fjes_hw.c +9 -3
index b9b5554ea862..5ad2673f213d 100644

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

drivers/net/mdio/mdio-aspeed.c +7 -0
index e55be6dc9ae7..d6b9004c61dc 100644

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

drivers/net/mdio/mdio-realtek-rtl9300.c +2 -4
index 33694c3ff9a7..405a07075dd1 100644

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

drivers/net/phy/mediatek/mtk-ge-soc.c +1 -1
index cd09fbf92ef2..2c4bbc236202 100644

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

drivers/net/team/team_core.c +1 -1
index 25562b17debe..2fd3469d1046 100644

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

drivers/net/usb/asix_common.c +5 -0
index 7fd763917ae2..6ab3486072cb 100644

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

drivers/net/usb/ax88172a.c +1 -5
index f613e4bc68c8..758a423a459b 100644

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

drivers/net/usb/rtl8150.c +2 -0
index 278e6cb6f4d9..e40b0669d9f4 100644

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

drivers/net/usb/sr9700.c +2 -2
index 091bc2aca7e8..5d97e95a17b0 100644

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

drivers/net/wireless/intel/iwlwifi/iwl-drv.c +2 -2
index 607fcea6f4ef..0f002ef261fc 100644

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

drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c +2 -1
index aa702ba7c9f5..d6c35e8d02a5 100644

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

drivers/net/wireless/realtek/rtw88/sdio.c +3 -1
index 99d7c629eac6..e35de52d8eb4 100644

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

drivers/nvme/target/pci-epf.c +2 -2
index 2e78397a7373..9c5b0f78ce8d 100644

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

drivers/pci/controller/dwc/pci-meson.c +15 -3
index 787469d1b396..54b6a4196f17 100644

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

drivers/pci/controller/dwc/pcie-designware.c +7 -5
index c644216995f6..06eca858eb1b 100644

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

drivers/pci/controller/pcie-brcmstb.c +3 -7
index 9afbd02ded35..7e9b2f6a604a 100644

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

drivers/pci/pci-driver.c +4 -0
index 302d61783f6c..327b21c48614 100644

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

drivers/platform/mellanox/mlxbf-pmc.c +7 -7
index 16a2fd9fdd9b..5ec1ad471696 100644

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

drivers/platform/x86/dell/alienware-wmi-wmax.c +32 -0
index fadf7aac6779..01af6dde9057 100644

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

drivers/platform/x86/hp/hp-bioscfg/enum-attributes.c +2 -2
index c50ad5880503..f346aad8e9d8 100644

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

drivers/platform/x86/hp/hp-bioscfg/int-attributes.c +1 -1
index 6c7f4d5fa9cb..63b1fda2be4e 100644

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

drivers/platform/x86/hp/hp-bioscfg/order-list-attributes.c +5 -0
index c6e57bb9d8b7..6a31f47ce3f5 100644

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

drivers/platform/x86/hp/hp-bioscfg/passwdobj-attributes.c +5 -0
index 187b372123ed..ec79d9d50377 100644

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

drivers/platform/x86/hp/hp-bioscfg/string-attributes.c +1 -1
index 27758b779b2d..7b885d25650c 100644

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

drivers/platform/x86/ibm_rtl.c +1 -1
index 231b37909801..139956168cf9 100644

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

drivers/platform/x86/intel/pmt/discovery.c +5 -3
index 32713a194a55..e500aa327d23 100644

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

drivers/platform/x86/msi-laptop.c +3 -0
index c4b150fa093f..ddef6b78d2fa 100644

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

drivers/platform/x86/samsung-galaxybook.c +6 -3
index 3c13e13d4885..755cb82bdb60 100644

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

drivers/pmdomain/imx/gpc.c +2 -3
index a34b260274f7..de695f1944ab 100644

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

drivers/pmdomain/mediatek/mtk-pm-domains.c +6 -15
index 9c9323c8c93a..269634bcd9a4 100644

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

drivers/power/supply/max77705_charger.c +10 -4
index b1a227bf72e2..1044bf58aeac 100644

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

drivers/powercap/intel_rapl_common.c +3 -0
index c7e7f9bf5313..57bebd07c7d0 100644

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

drivers/powercap/intel_rapl_msr.c +3 -0
index 4ed06c71a3ac..c6b9a7debc35 100644

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

drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c +1 -0
index fde33f54e99e..d07093d7cc3f 100644

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

drivers/vfio/pci/nvgrace-gpu/main.c +2 -2
index e346392b72f6..3dc3c2432b5e 100644

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

drivers/vfio/pci/pds/dirty.c +5 -2
index 481992142f79..4915a7c1c491 100644

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

drivers/vfio/pci/vfio_pci_rdwr.c +18 -7
index 6192788c8ba3..25380b7dfe18 100644

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

drivers/video/fbdev/gbefb.c +3 -2
index 4c36a3e409be..cb6ff15a21db 100644

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

drivers/video/fbdev/pxafb.c +6 -6
index b96a8a96bce8..e418eee825fb 100644

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

drivers/video/fbdev/tcx.c +1 -1
index f9a0085ad72b..ca9e84e8d860 100644

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

fs/erofs/zdata.c +5 -5
index bc80cfe482f7..683703aee5ef 100644

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

fs/lockd/svc4proc.c +1 -3
index 109e5caae8c7..4b6f18d97734 100644

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

fs/lockd/svclock.c +12 -9
index a31dc9588eb8..d66e82851599 100644

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

fs/lockd/svcproc.c +1 -4
index f53d5177f267..5817ef272332 100644

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

fs/locks.c +10 -2
index 04a3f0e20724..bf5e0d05a026 100644

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

fs/nfsd/nfs4state.c +14 -6
index 8a6960500217..bdd20fddbb98 100644

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

fs/nfsd/vfs.c +12 -2
index 9cb20d4aeab1..9f0b8bbc4144 100644

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

fs/ntfs3/frecord.c +29 -6
index e5a005d216f3..295f6936a3e5 100644

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

fs/smb/server/smb2pdu.c +3 -1
index 6a94cda0927d..2b59c282cda5 100644

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

include/drm/drm_buddy.h +8 -3
index 04afd7c21a82..c2e05a281252 100644

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

include/drm/drm_edid.h +6 -0
index 3d1aecfec9b2..04f7a7f1f108 100644

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

include/drm/drm_pagemap.h +14 -3
index f6e7e234c089..70a7991f784f 100644

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

include/kunit/run-in-irq-context.h +33 -20

53 lines not on this page · raw message

include/linux/compiler_types.h +13 -0
index 0a1b9598940d..8128a445f048 100644

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

include/linux/genalloc.h +1 -0
index 0bd581003cd5..60de63e46b33 100644

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

include/linux/huge_mm.h +3 -5
index 71ac78b9f834..240cbc676480 100644

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

include/linux/kasan.h +16 -0
index d12e1a5f5a9a..cde493cb7702 100644

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

include/linux/kexec.h +2 -2
index ff7e231b0485..8a22bc9b8c6c 100644

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

include/linux/mm.h +4 -4
index 7c79b3369b82..8631c9424987 100644

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

include/linux/vfio_pci_core.h +9 -1
index f5c93787f8e0..7aa29428982a 100644

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

include/net/dsa.h +1 -0
index d73ea0880066..5cb456bf4639 100644

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

include/uapi/rdma/irdma-abi.h +1 -1
index f7788d33376b..36f20802bcc8 100644

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

include/uapi/rdma/rdma_user_cm.h +3 -1
index 5ded174687ee..838f8d460256 100644

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

kernel/cgroup/cpuset.c +16 -5
index 4dcd633fd6df..61b56b6ca66a 100644

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

kernel/kexec_core.c +12 -4
index fa00b239c5d9..08ae3c64caca 100644

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

kernel/sched/deadline.c +1 -1
index 19b1a8b81c76..d3be71d5a9cc 100644

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

kernel/sched/debug.c +4 -4
index 02e16b70a790..41caa22e0680 100644

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

kernel/sched/ext.c +15 -7
index b959a70471c1..31eda2a56920 100644

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

kernel/sched/fair.c +183 -66

249 lines not on this page · raw message

kernel/sched/rt.c +1 -1
index 7936d4333731..fb07dcfc60a2 100644

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

kernel/sched/sched.h +2 -2
index adfb6e3409d7..92ec751799f5 100644

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

kernel/sched/syscalls.c +3 -2
index 77ae87f36e84..bf360a6fbb80 100644

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

kernel/trace/fgraph.c +8 -2
index 484ad7a18463..599f2939cd94 100644

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

lib/idr.c +2 -0
index e2adc457abb4..457430cff8c5 100644

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

mm/damon/tests/core-kunit.h +127 -7

134 lines not on this page · raw message

mm/damon/tests/sysfs-kunit.h +25 -0
index 7b5c7b307da9..ce7218469f20 100644

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

mm/damon/tests/vaddr-kunit.h +24 -2
index fce38dd53cf8..30dc5459f1d2 100644

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

mm/huge_memory.c +30 -41

71 lines not on this page · raw message

mm/kasan/common.c +32 -0
index d4c14359feaf..589be3d86735 100644

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

mm/kasan/hw_tags.c +1 -1
index 1c373cc4b3fa..cbef5e450954 100644

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

mm/kasan/shadow.c +3 -1
index 5d2a876035d6..5e47ae7fdd59 100644

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

mm/page_alloc.c +12 -12
index ed82ee55e66a..6e644f2744c2 100644

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

mm/page_owner.c +1 -1
index 589ec37c94aa..bc26764142ba 100644

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

mm/swapfile.c +33 -7
index a1b4b9d80e3b..82524f8595ed 100644

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

mm/vmalloc.c +4 -4
index 798b2ed21e46..33e705ccafba 100644

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

net/bluetooth/mgmt.c +6 -0
index 262bf984d2aa..211951eb832a 100644

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

net/bridge/br_private.h +1 -0
index 7280c4e9305f..b9b2981c4841 100644

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

net/dsa/dsa.c +35 -32

67 lines not on this page · raw message

net/ipv4/fib_semantics.c +10 -16
index a5f3c8459758..0caf38e44c73 100644

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

net/ipv4/fib_trie.c +4 -3
index 59a6f0a9638f..7e2c17fec3fc 100644

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

net/ipv4/ip_gre.c +4 -2
index 761a53c6a89a..8178c44a3cdd 100644

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

net/ipv6/calipso.c +2 -1
index df1986973430..21f6ed126253 100644

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

net/ipv6/ip6_gre.c +12 -3
index c82a75510c0e..d19d86ed4376 100644

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

net/ipv6/route.c +12 -1
index aee6a10b112a..a3e051dc66ee 100644

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

net/mac80211/cfg.c +0 -10
index c52b0456039d..e18df59951a8 100644

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

net/mac80211/rx.c +5 -0
index 5b4c3fe9970a..5091a3c15b0b 100644

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

net/mptcp/options.c +10 -0
index f24ae7d40e88..43df4293f58b 100644

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

net/mptcp/protocol.h +2 -4
index 6ca97096607c..0e8b0a650108 100644

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

net/mptcp/subflow.c +0 -6
index af707ce0f624..a8c281bc5377 100644

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

net/nfc/core.c +7 -2
index ae1c842f9c64..82f023f37754 100644

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

net/openvswitch/vport-netdev.c +13 -4
index 91a11067e458..6574f9bcdc02 100644

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

net/rose/af_rose.c +1 -1
index 543f9e8ebb69..fad6518e6e39 100644

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

net/unix/af_unix.c +8 -3
index 833c3616d2a2..f6f01f514933 100644

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

net/wireless/sme.c +1 -1
index 3a028ff287fb..4e629ca305bc 100644

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

rust/kernel/maple_tree.rs +10 -1
index e72eec56bf57..265d6396a78a 100644

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

samples/ftrace/ftrace-direct-modify.c +4 -4
index da3a9f2091f5..1ba1927b548e 100644

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

samples/ftrace/ftrace-direct-multi-modify.c +4 -4
index 8f7986d698d8..7a7822dfeb50 100644

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

samples/ftrace/ftrace-direct-multi.c +2 -2
index db326c81a27d..3fe6ddaf0b69 100644

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

samples/ftrace/ftrace-direct-too.c +2 -2
index 3d0fa260332d..bf2411aa6fd7 100644

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

samples/ftrace/ftrace-direct.c +2 -2
index 956834b0d19a..5368c8c39cbb 100644

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

scripts/Makefile.build +14 -12
index 52c08c4eb0b9..5037f4715d74 100644

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

scripts/mod/devicetable-offsets.c +3 -0
index d3d00e85edf7..0470ba7c796d 100644

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

scripts/mod/file2alias.c +9 -0
index b3333560b95e..4e99393a35f1 100644

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

security/integrity/ima/ima_kexec.c +1 -3
index 7362f68f2d8b..5beb69edd12f 100644

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

sound/soc/codecs/cs35l41.c +4 -3
index 173d7c59b725..5001a546a3e7 100644

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

sound/soc/codecs/lpass-tx-macro.c +2 -1
index 1da34cb3505f..c7d4dc553e6a 100644

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

sound/soc/codecs/pm4125.c +32 -8
index 706fc668ffe2..3d7b07624ee6 100644

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

sound/soc/codecs/wcd937x.c +34 -9

43 lines not on this page · raw message

sound/soc/codecs/wcd939x-sdw.c +7 -1
index d369100a2457..da342a0c95a5 100644

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

sound/soc/qcom/qdsp6/q6adm.c +71 -75

146 lines not on this page · raw message

sound/soc/qcom/qdsp6/q6apm-dai.c +2 -0
index 4ecaff45c518..786ab3222515 100644

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

sound/soc/qcom/qdsp6/q6asm-dai.c +4 -3
index b616ce316d2f..0eae8c6e42b8 100644

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

sound/soc/qcom/sc7280.c +1 -1
index af412bd0c89f..c444dae563c7 100644

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

sound/soc/qcom/sc8280xp.c +1 -1
index 187f37ffe328..ed8b04c6022e 100644

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

sound/soc/qcom/sdw.c +59 -46

105 lines not on this page · raw message

sound/soc/qcom/sdw.h +1 -0
index 392e3455f1b1..b8bc5beb0522 100644

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

sound/soc/qcom/sm8250.c +1 -1
index f5b75a06e5bd..ce5b0059207f 100644

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

sound/soc/qcom/x1e80100.c +1 -1
index 444f2162889f..2e3599516aa2 100644

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

sound/soc/renesas/rz-ssi.c +47 -17

64 lines not on this page · raw message

sound/soc/stm/stm32_sai.c +4 -10
index fa821e3fb427..00cf24ceca2d 100644

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

sound/soc/stm/stm32_sai_sub.c +37 -14

51 lines not on this page · raw message

tools/mm/page_owner_sort.c +5 -1
index 880e36df0c11..82d6f6b31348 100644

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

tools/sched_ext/scx_show_state.py +5 -2
index 7cdcc6729ea4..aec4a4498140 100644

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

tools/testing/radix-tree/idr-test.c +21 -0
index 2f830ff8396c..945144e98507 100644

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

tools/testing/selftests/drivers/net/psp.py +4 -2
index 4ae7a785ff10..473573e216e3 100755

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

tools/testing/selftests/ftrace/test.d/ftrace/func_traceonoff_triggers.tc +3 -2
index aee22289536b..1b57771dbfdf 100644

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

tools/testing/selftests/mm/uffd-unit-tests.c +1 -1
index f917b4c4c943..44627d4010f2 100644

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

tools/testing/selftests/net/tap.c +5 -11
index 247c3b3ac1c9..51a209014f1c 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.