Skip to contentSkip to conversation

Linux 7.3.5

DISCUSSION Greg Kroah-Hartman 1 participant 2 messages Nov 17 Stable branch

lore
Share & tools
lore

Greg Kroah-Hartman

author maintainer
#0 lore raw

I'm announcing the release of the 7.3.5 kernel.

All users of the 7.3 kernel series must upgrade.

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

thanks,

greg k-h

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

 Documentation/ABI/testing/sysfs-fs-f2fs                              |    2 
 Documentation/admin-guide/pm/intel_idle.rst                          |   12 
 Documentation/arch/arm64/silicon-errata.rst                          |    3 
 Documentation/filesystems/overlayfs.rst                              |    3 
 Documentation/filesystems/resctrl.rst                                |   87 +-
 Documentation/hwmon/asus_rog_ryujin.rst                              |    6 
 Documentation/mm/vmemmap_dedup.rst                                   |   15 
 Makefile                                                             |    2 
 arch/arm64/include/asm/sdei.h                                        |    3 
 arch/arm64/include/asm/suspend.h                                     |    2 
 arch/arm64/kernel/entry-common.c                                     |   40 +
 arch/arm64/kernel/machine_kexec_file.c                               |    2 
 arch/arm64/kernel/sdei.c                                             |   59 +
 arch/arm64/kernel/topology.c                                         |   12 
 arch/arm64/kvm/mmu.c                                                 |  129 +--
 arch/arm64/kvm/pkvm.c                                                |    3 
 arch/arm64/kvm/vgic/vgic-mmio-v3.c                                   |   10 
 arch/arm64/mm/mmap.c                                                 |    4 
 arch/arm64/mm/proc.S                                                 |    8 
 arch/mips/mm/cex-gen.S                                               |   16 
 arch/mips/pci/ops-mace.c                                             |   26 
 arch/mips/pci/pci-ip32.c                                             |    9 
 arch/mips/sgi-ip32/ip32-irq.c                                        |   45 -
 arch/openrisc/kernel/or32_ksyms.c                                    |    1 
 arch/x86/boot/startup/sme.c                                          |    2 
 arch/x86/entry/syscall_32.c                                          |    4 
 arch/x86/entry/syscall_64.c                                          |   26 
 arch/x86/include/asm/checksum_32.h                                   |    2 
 arch/x86/include/asm/vmware.h                                        |   24 
 arch/x86/kernel/acpi/cppc.c                                          |   15 
 arch/x86/kernel/cpu/bugs.c                                           |   12 
 arch/x86/kernel/cpu/resctrl/internal.h                               |    4 
 arch/x86/kernel/cpu/resctrl/monitor.c                                |    4 
 arch/x86/kernel/nmi.c                                                |    8 
 arch/x86/kernel/x86_init.c                                           |    2 
 arch/x86/kvm/mmu/mmu.c                                               |   10 
 arch/x86/kvm/mmu/paging_tmpl.h                                       |   11 
 arch/x86/kvm/vmx/nested.c                                            |    1 
 arch/x86/kvm/x86.c                                                   |   31 
 arch/x86/mm/tlb.c                                                    |   16 
 block/bio.c                                                          |    3 
 block/blk-iocost.c                                                   |    3 
 block/blk-mq.c                                                       |   13 
 block/elevator.c                                                     |   30 
 block/ioctl.c                                                        |    4 
 drivers/acpi/battery.c                                               |   12 
 drivers/acpi/cppc_acpi.c                                             |   61 +
 drivers/acpi/utils.c                                                 |   41 +
 drivers/ata/libata-pmp.c                                             |   14 
 drivers/ata/libata-scsi.c                                            |   25 
 drivers/block/ublk_drv.c                                             |    1 
 drivers/block/virtio_blk.c                                           |    2 
 drivers/bluetooth/btqca.c                                            |    3 
 drivers/char/hw_random/virtio-rng.c                                  |    7 
 drivers/clk/nuvoton/clk-ma35d1.c                                     |    7 
 drivers/cpufreq/amd-pstate.c                                         |   25 
 drivers/cpufreq/cppc_cpufreq.c                                       |   26 
 drivers/cxl/core/features.c                                          |    2 
 drivers/dma-buf/dma-buf-mapping.c                                    |    2 
 drivers/dma/qcom/bam_dma.c                                           |   10 
 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c                             |    6 
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h                           |    3 
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c                     |   17 
 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c                               |   21 
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c                           |   41 -
 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c                        |   44 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c                          |    5 
 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c                              |    7 
 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c                              |    3 
 drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c                             |    4 
 drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c                            |   19 
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c                               |   16 
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c                          |    1 
 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c                               |    5 
 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c                                |    5 
 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c                                |    5 
 drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c                               |    2 
 drivers/gpu/drm/amd/amdgpu/ih_v6_0.c                                 |   13 
 drivers/gpu/drm/amd/amdgpu/mes_v11_0.c                               |    4 
 drivers/gpu/drm/amd/amdgpu/mes_v12_0.c                               |    4 
 drivers/gpu/drm/amd/amdgpu/navi10_ih.c                               |   41 +
 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c               |    3 
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_freesync.c           |   27 
 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/dcn401_clk_mgr.c       |    3 
 drivers/gpu/drm/amd/display/dc/core/dc.c                             |    6 
 drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c                |   31 
 drivers/gpu/drm/amd/display/dc/hwss/hw_sequencer.h                   |    3 
 drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c   |    6 
 drivers/gpu/drm/amd/display/dc/optc/dcn20/dcn20_optc.c               |    7 
 drivers/gpu/drm/amd/display/dc/optc/dcn30/dcn30_optc.h               |   18 
 drivers/gpu/drm/amd/display/dc/optc/dcn31/dcn31_optc.h               |   22 
 drivers/gpu/drm/amd/display/dc/optc/dcn314/dcn314_optc.h             |   18 
 drivers/gpu/drm/amd/display/dc/optc/dcn32/dcn32_optc.h               |   11 
 drivers/gpu/drm/amd/display/dc/optc/dcn35/dcn35_optc.h               |   11 
 drivers/gpu/drm/amd/display/dc/optc/dcn401/dcn401_optc.h             |   12 
 drivers/gpu/drm/amd/display/dc/optc/dcn42/dcn42_optc.h               |    2 
 drivers/gpu/drm/amd/display/dc/optc/dcn60/dcn60_optc.h               |    2 
 drivers/gpu/drm/amd/display/dc/resource/dcn32/dcn32_resource.c       |   15 
 drivers/gpu/drm/amd/display/dc/resource/dcn32/dcn32_resource.h       |    6 
 drivers/gpu/drm/amd/display/dc/resource/dcn401/dcn401_resource.h     |    6 
 drivers/gpu/drm/amd/display/modules/freesync/freesync.c              |    6 
 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c                 |   20 
 drivers/gpu/drm/bridge/nwl-dsi.c                                     |   17 
 drivers/gpu/drm/display/drm_dp_helper.c                              |    3 
 drivers/gpu/drm/drm_crtc.c                                           |   18 
 drivers/gpu/drm/drm_panic.c                                          |    7 
 drivers/gpu/drm/etnaviv/etnaviv_buffer.c                             |   40 -
 drivers/gpu/drm/etnaviv/etnaviv_drv.c                                |    6 
 drivers/gpu/drm/i915/display/intel_ddi.c                             |    2 
 drivers/gpu/drm/i915/display/intel_display_device.c                  |    5 
 drivers/gpu/drm/i915/display/intel_dp.c                              |    4 
 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c                |   22 
 drivers/gpu/drm/i915/display/intel_plane.c                           |   11 
 drivers/gpu/drm/i915/display/intel_psr.c                             |   96 +-
 drivers/gpu/drm/i915/display/intel_psr_regs.h                        |    4 
 drivers/gpu/drm/i915/display/intel_quirks.c                          |   24 
 drivers/gpu/drm/i915/display/intel_quirks.h                          |    1 
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c                       |    2 
 drivers/gpu/drm/loongson/lsdc_gem.c                                  |   12 
 drivers/gpu/drm/loongson/lsdc_plane.c                                |    2 
 drivers/gpu/drm/loongson/lsdc_ttm.c                                  |   14 
 drivers/gpu/drm/loongson/lsdc_ttm.h                                  |    2 
 drivers/gpu/drm/nouveau/nvkm/core/subdev.c                           |    1 
 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gf100.c                  |   20 
 drivers/gpu/drm/scheduler/sched_entity.c                             |   29 
 drivers/gpu/drm/v3d/v3d_gem.c                                        |    5 
 drivers/gpu/drm/v3d/v3d_sched.c                                      |    2 
 drivers/gpu/drm/vc4/vc4_gem.c                                        |   14 
 drivers/gpu/drm/vc4/vc4_hdmi.c                                       |   10 
 drivers/gpu/drm/vc4/vc4_hdmi_phy.c                                   |    5 
 drivers/hwmon/aquacomputer_d5next.c                                  |   58 +
 drivers/hwmon/asus_rog_ryujin.c                                      |   54 +
 drivers/hwmon/asus_wmi_sensors.c                                     |   13 
 drivers/hwmon/chipcap2.c                                             |  192 +++--
 drivers/hwmon/coretemp.c                                             |   13 
 drivers/hwmon/corsair-cpro.c                                         |    3 
 drivers/hwmon/gpd-fan.c                                              |    1 
 drivers/hwmon/gpio-fan.c                                             |    7 
 drivers/hwmon/hp-wmi-sensors.c                                       |   29 
 drivers/hwmon/lm75.c                                                 |    9 
 drivers/hwmon/lm87.c                                                 |    7 
 drivers/hwmon/nct6683.c                                              |    4 
 drivers/hwmon/peci/dimmtemp.c                                        |   21 
 drivers/hwmon/pmbus/pmbus_core.c                                     |   51 -
 drivers/hwmon/pmbus/q54sj108a2.c                                     |    2 
 drivers/hwmon/sht15.c                                                |   22 
 drivers/hwmon/sht4x.c                                                |    4 
 drivers/hwmon/tmp108.c                                               |   26 
 drivers/idle/intel_idle.c                                            |   11 
 drivers/iommu/amd/init.c                                             |   41 +
 drivers/iommu/amd/iommu.c                                            |   17 
 drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-sva.c                      |    7 
 drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c                          |   89 ++
 drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h                          |    5 
 drivers/iommu/iommufd/io_pagetable.c                                 |    2 
 drivers/iommu/iommufd/iova_bitmap.c                                  |   19 
 drivers/iommu/virtio-iommu.c                                         |    6 
 drivers/media/pci/intel/ipu6/ipu6-fw-isys.c                          |   88 +-
 drivers/media/pci/intel/ipu6/ipu6-isys-video.c                       |    4 
 drivers/media/pci/intel/ipu6/ipu6-isys.c                             |    6 
 drivers/media/pci/intel/ipu6/ipu6-isys.h                             |    5 
 drivers/media/platform/microchip/microchip-isc-base.c                |   20 
 drivers/media/platform/microchip/microchip-isc-regs.h                |   16 
 drivers/media/platform/microchip/microchip-isc.h                     |    4 
 drivers/media/platform/microchip/microchip-sama5d2-isc.c             |   20 
 drivers/media/platform/microchip/microchip-sama7g5-isc.c             |   20 
 drivers/media/usb/uvc/uvc_driver.c                                   |   20 
 drivers/mtd/spi-nor/macronix.c                                       |    2 
 drivers/net/can/dev/netlink.c                                        |    4 
 drivers/net/can/dev/skb.c                                            |   10 
 drivers/net/can/usb/peak_usb/pcan_usb_fd.c                           |    7 
 drivers/net/ethernet/atheros/atl1c/atl1c_main.c                      |   33 
 drivers/net/ethernet/jme.c                                           |   37 -
 drivers/net/ethernet/jme.h                                           |    1 
 drivers/net/ethernet/ti/am65-cpsw-nuss.c                             |    4 
 drivers/net/veth.c                                                   |    5 
 drivers/net/vxlan/vxlan_core.c                                       |   14 
 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c          |    7 
 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c            |    2 
 drivers/net/wireless/realtek/rtw88/mac80211.c                        |    2 
 drivers/net/wireless/realtek/rtw88/reg.h                             |    2 
 drivers/net/wireless/realtek/rtw88/tx.c                              |    9 
 drivers/net/wireless/realtek/rtw88/tx.h                              |    3 
 drivers/net/wireless/realtek/rtw88/usb.c                             |   68 +
 drivers/net/wireless/realtek/rtw88/usb.h                             |    5 
 drivers/net/wireless/rsi/rsi_91x_core.c                              |    2 
 drivers/nvme/common/keyring.c                                        |    1 
 drivers/nvme/host/core.c                                             |   21 
 drivers/nvme/host/multipath.c                                        |    2 
 drivers/nvme/host/pci.c                                              |    2 
 drivers/nvme/host/pr.c                                               |    8 
 drivers/nvme/host/rdma.c                                             |    7 
 drivers/nvme/host/tcp.c                                              |  213 ++++--
 drivers/nvme/target/admin-cmd.c                                      |   16 
 drivers/nvme/target/configfs.c                                       |    4 
 drivers/nvme/target/core.c                                           |    8 
 drivers/nvme/target/nvmet.h                                          |    8 
 drivers/pci/controller/cadence/pcie-cadence-plat.c                   |   33 
 drivers/pci/controller/cadence/pcie-cadence.c                        |   16 
 drivers/pci/controller/cadence/pcie-cadence.h                        |    2 
 drivers/pci/controller/dwc/pcie-designware.c                         |    2 
 drivers/pci/controller/dwc/pcie-designware.h                         |    1 
 drivers/platform/chrome/cros_ec_ishtp.c                              |    2 
 drivers/platform/chrome/cros_usbpd_notify.c                          |   41 -
 drivers/ptp/ptp_sysfs.c                                              |    6 
 drivers/scsi/aic7xxx/aic79xx_core.c                                  |    4 
 drivers/scsi/aic7xxx/aic79xx_osm.h                                   |   26 
 drivers/scsi/aic7xxx/aic7xxx_core.c                                  |    8 
 drivers/scsi/aic7xxx/aic7xxx_pci.c                                   |   20 
 drivers/scsi/scsi_bsg.c                                              |    8 
 drivers/target/target_core_device.c                                  |   18 
 drivers/target/target_core_fabric_lib.c                              |   10 
 drivers/target/target_core_tpg.c                                     |   10 
 drivers/target/target_core_user.c                                    |    5 
 drivers/thermal/intel/int340x_thermal/int3403_thermal.c              |    3 
 drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c         |    6 
 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c     |    2 
 drivers/vdpa/solidrun/snet_ctrl.c                                    |    3 
 drivers/vdpa/vdpa_user/iova_domain.c                                 |   11 
 drivers/vhost/scsi.c                                                 |    7 
 drivers/vhost/vdpa.c                                                 |    8 
 drivers/vhost/vhost.c                                                |    3 
 drivers/vhost/vringh.c                                               |   27 
 drivers/vhost/vsock.c                                                |   34 
 fs/9p/v9fs.c                                                         |   18 
 fs/9p/vfs_inode.c                                                    |    8 
 fs/btrfs/ioctl.c                                                     |   24 
 fs/btrfs/sysfs.c                                                     |    1 
 fs/ceph/addr.c                                                       |    6 
 fs/erofs/fileio.c                                                    |   18 
 fs/ext2/file.c                                                       |    3 
 fs/ext2/inode.c                                                      |   13 
 fs/f2fs/checkpoint.c                                                 |   13 
 fs/f2fs/data.c                                                       |   28 
 fs/f2fs/f2fs.h                                                       |   10 
 fs/f2fs/gc.c                                                         |   11 
 fs/f2fs/node.c                                                       |   75 +-
 fs/f2fs/segment.c                                                    |    3 
 fs/f2fs/super.c                                                      |   24 
 fs/f2fs/sysfs.c                                                      |    2 
 fs/fat/inode.c                                                       |    2 
 fs/nfsd/nfs2acl.c                                                    |   64 +
 fs/nfsd/nfs3proc.c                                                   |   58 +
 fs/nfsd/nfs3xdr.c                                                    |    2 
 fs/nfsd/nfs4proc.c                                                   |   60 +
 fs/nfsd/nfs4recover.c                                                |   49 +
 fs/nfsd/nfs4state.c                                                  |   24 
 fs/nfsd/nfs4xdr.c                                                    |    2 
 fs/nfsd/nfsctl.c                                                     |   56 +
 fs/nfsd/nfsproc.c                                                    |    2 
 fs/nfsd/state.h                                                      |    2 
 fs/nfsd/vfs.c                                                        |  108 ---
 fs/nfsd/vfs.h                                                        |   21 
 fs/nfsd/xdr3.h                                                       |    2 
 fs/notify/inotify/inotify_fsnotify.c                                 |    2 
 fs/ntfs/ea.c                                                         |    5 
 fs/ntfs3/xattr.c                                                     |   25 
 fs/ocfs2/cluster/tcp.c                                               |    5 
 fs/ocfs2/dcache.h                                                    |    5 
 fs/ocfs2/dlm/dlmmaster.c                                             |   70 +
 fs/ocfs2/dlmglue.c                                                   |   34 
 fs/ocfs2/filecheck.c                                                 |    2 
 fs/ocfs2/journal.c                                                   |   15 
 fs/ocfs2/journal.h                                                   |    1 
 fs/ocfs2/move_extents.c                                              |   70 +
 fs/ocfs2/super.c                                                     |    3 
 fs/ocfs2/xattr.c                                                     |  120 +++
 fs/open.c                                                            |    1 
 fs/overlayfs/dir.c                                                   |   46 -
 fs/overlayfs/export.c                                                |    4 
 fs/overlayfs/inode.c                                                 |    8 
 fs/overlayfs/namei.c                                                 |   13 
 fs/overlayfs/overlayfs.h                                             |   21 
 fs/overlayfs/readdir.c                                               |    6 
 fs/overlayfs/super.c                                                 |   12 
 fs/overlayfs/util.c                                                  |   13 
 fs/proc/task_mmu.c                                                   |    2 
 fs/smb/server/mgmt/user_session.c                                    |    4 
 fs/smb/server/smb2pdu.c                                              |   65 +
 fs/smb/server/smbacl.c                                               |   43 +
 fs/smb/server/vfs.c                                                  |    4 
 fs/smb/server/vfs.h                                                  |    2 
 fs/smb/server/vfs_cache.c                                            |   58 +
 fs/udf/balloc.c                                                      |   11 
 fs/udf/super.c                                                       |   80 ++
 fs/udf/truncate.c                                                    |    7 
 fs/xfs/libxfs/xfs_attr_leaf.c                                        |    9 
 fs/xfs/libxfs/xfs_bmap.c                                             |   14 
 fs/xfs/libxfs/xfs_bmap.h                                             |   10 
 fs/xfs/libxfs/xfs_btree.c                                            |    4 
 fs/xfs/scrub/attr.c                                                  |  102 ++
 fs/xfs/scrub/attr_repair.c                                           |   16 
 fs/xfs/scrub/dir.c                                                   |  110 ++-
 fs/xfs/scrub/dir_repair.c                                            |  100 ++
 fs/xfs/scrub/quota_repair.c                                          |   33 
 fs/xfs/xfs_discard.c                                                 |   26 
 fs/xfs/xfs_file.c                                                    |    2 
 fs/xfs/xfs_healthmon.c                                               |    2 
 fs/xfs/xfs_ioctl32.c                                                 |    4 
 fs/xfs/xfs_ioend.c                                                   |    2 
 fs/xfs/xfs_iomap.c                                                   |   28 
 fs/xfs/xfs_iomap.h                                                   |    3 
 fs/xfs/xfs_pnfs.c                                                    |   52 +
 include/acpi/acpi_bus.h                                              |    7 
 include/acpi/cppc_acpi.h                                             |    6 
 include/asm-generic/tlb.h                                            |    3 
 include/crypto/mldsa.h                                               |    6 
 include/dt-bindings/clock/nuvoton,ma35d1-clk.h                       |    3 
 include/linux/assoc_array_priv.h                                     |    2 
 include/linux/blkdev.h                                               |    4 
 include/linux/can/can-ml.h                                           |    3 
 include/linux/can/dev.h                                              |    2 
 include/linux/can/skb.h                                              |    4 
 include/linux/damon.h                                                |   10 
 include/linux/huge_mm.h                                              |    5 
 include/linux/hugetlb.h                                              |   15 
 include/linux/ksm.h                                                  |    6 
 include/linux/memfd.h                                                |    9 
 include/linux/mmu_notifier.h                                         |    3 
 include/linux/mmzone.h                                               |    2 
 include/linux/nfs4.h                                                 |    6 
 include/linux/shmem_fs.h                                             |   15 
 include/linux/srcu.h                                                 |   36 +
 include/linux/sunrpc/clnt.h                                          |    3 
 include/linux/sunrpc/svc.h                                           |    7 
 include/linux/userfaultfd_k.h                                        |    2 
 include/net/espintcp.h                                               |    5 
 include/net/inet_frag.h                                              |    9 
 include/net/netns/can.h                                              |    2 
 include/net/sctp/sm.h                                                |    1 
 include/sound/cs35l56.h                                              |    4 
 include/sound/hwdep.h                                                |    1 
 include/uapi/linux/iommufd.h                                         |    6 
 io_uring/cancel.c                                                    |   26 
 io_uring/poll.c                                                      |   62 +
 io_uring/rsrc.c                                                      |   21 
 io_uring/sqpoll.c                                                    |   26 
 kernel/events/core.c                                                 |    9 
 kernel/fork.c                                                        |   20 
 kernel/panic.c                                                       |    2 
 kernel/sched/fair.c                                                  |    4 
 lib/assoc_array.c                                                    |  355 ++++++----
 lib/base64.c                                                         |    3 
 lib/crypto/Kconfig                                                   |    6 
 lib/crypto/mldsa.c                                                   |   15 
 lib/crypto/tests/mldsa_kunit.c                                       |    9 
 mm/cma.c                                                             |   14 
 mm/damon/core.c                                                      |   32 
 mm/damon/sysfs-schemes.c                                             |    8 
 mm/filemap.c                                                         |   84 +-
 mm/gup.c                                                             |   68 +
 mm/huge_memory.c                                                     |  146 +++-
 mm/hugetlb.c                                                         |   92 +-
 mm/hugetlb_vmemmap.c                                                 |    8 
 mm/internal.h                                                        |   38 -
 mm/khugepaged.c                                                      |   75 +-
 mm/ksm.c                                                             |   66 +
 mm/madvise.c                                                         |    9 
 mm/memcontrol.c                                                      |    5 
 mm/memfd.c                                                           |    2 
 mm/memory-tiers.c                                                    |   29 
 mm/memory.c                                                          |  129 ++-
 mm/mempolicy.c                                                       |    4 
 mm/migrate.c                                                         |    5 
 mm/mm_init.c                                                         |    2 
 mm/mmap.c                                                            |    8 
 mm/mmu_notifier.c                                                    |   24 
 mm/mremap.c                                                          |  103 +-
 mm/nommu.c                                                           |    2 
 mm/page-writeback.c                                                  |    8 
 mm/page_alloc.c                                                      |   30 
 mm/page_alloc.h                                                      |   14 
 mm/rmap.c                                                            |   23 
 mm/shmem.c                                                           |  141 ++-
 mm/shmem_quota.c                                                     |   28 
 mm/swapfile.c                                                        |    7 
 mm/truncate.c                                                        |   13 
 mm/userfaultfd.c                                                     |   57 -
 mm/util.c                                                            |   13 
 mm/vma.c                                                             |   54 +
 mm/vma_init.c                                                        |    3 
 mm/vmscan.c                                                          |   29 
 net/9p/trans_usbg.c                                                  |   89 +-
 net/9p/trans_virtio.c                                                |    5 
 net/9p/trans_xen.c                                                   |   10 
 net/batman-adv/bat_iv_ogm.c                                          |    5 
 net/batman-adv/distributed-arp-table.c                               |    1 
 net/batman-adv/main.c                                                |   12 
 net/batman-adv/multicast_forw.c                                      |    5 
 net/batman-adv/tp_meter.c                                            |    2 
 net/batman-adv/translation-table.c                                   |  133 ++-
 net/batman-adv/types.h                                               |    8 
 net/bluetooth/hci_sync.c                                             |   25 
 net/bluetooth/l2cap_core.c                                           |   47 +
 net/can/af_can.c                                                     |   54 -
 net/can/bcm.c                                                        |   50 -
 net/can/gw.c                                                         |    7 
 net/can/isotp.c                                                      |  230 ++++--
 net/can/proc.c                                                       |   69 +
 net/can/raw.c                                                        |  274 ++++---
 net/core/dev.c                                                       |    4 
 net/core/filter.c                                                    |   23 
 net/core/sock.c                                                      |    6 
 net/ipv4/cipso_ipv4.c                                                |    9 
 net/ipv4/inet_connection_sock.c                                      |    6 
 net/ipv4/inet_fragment.c                                             |    5 
 net/ipv4/inet_hashtables.c                                           |    2 
 net/ipv4/inet_timewait_sock.c                                        |    4 
 net/ipv4/syncookies.c                                                |    2 
 net/ipv4/tcp_fastopen.c                                              |    2 
 net/ipv4/xfrm4_output.c                                              |    7 
 net/ipv6/addrconf.c                                                  |    3 
 net/ipv6/datagram.c                                                  |    4 
 net/ipv6/inet6_hashtables.c                                          |    2 
 net/ipv6/raw.c                                                       |    3 
 net/l2tp/l2tp_core.c                                                 |   13 
 net/mac80211/tdls.c                                                  |    3 
 net/mac80211/tx.c                                                    |    2 
 net/mptcp/pm_kernel.c                                                |    1 
 net/mptcp/subflow.c                                                  |   11 
 net/qrtr/af_qrtr.c                                                   |   53 +
 net/sched/sch_generic.c                                              |   41 +
 net/sched/sch_qfq.c                                                  |    3 
 net/sched/sch_taprio.c                                               |    5 
 net/sctp/sm_make_chunk.c                                             |   14 
 net/sctp/socket.c                                                    |   57 +
 net/smc/smc_rx.c                                                     |   39 +
 net/sunrpc/rpcb_clnt.c                                               |   22 
 net/sunrpc/svc.c                                                     |   42 +
 net/wireless/reg.c                                                   |    3 
 net/xfrm/espintcp.c                                                  |   43 -
 net/xfrm/xfrm_interface_core.c                                       |    8 
 net/xfrm/xfrm_policy.c                                               |   11 
 rust/kernel/cpufreq.rs                                               |    4 
 sound/core/hwdep.c                                                   |    2 
 sound/core/ump_convert.c                                             |    2 
 sound/hda/codecs/realtek/alc269.c                                    |   45 +
 sound/hda/codecs/side-codecs/tas2781_hda.c                           |   27 
 sound/pci/cs46xx/dsp_spos.c                                          |    2 
 sound/pci/cs46xx/dsp_spos_scb_lib.c                                  |    3 
 sound/soc/amd/yc/acp6x-mach.c                                        |    7 
 sound/soc/codecs/cs35l56-sdw.c                                       |   27 
 sound/soc/codecs/cs35l56-shared.c                                    |   38 +
 sound/soc/codecs/cs35l56.c                                           |   17 
 sound/soc/codecs/cs35l56.h                                           |    1 
 sound/soc/codecs/hdac_hda.c                                          |   25 
 sound/soc/codecs/tas2770.c                                           |   14 
 sound/soc/qcom/qdsp6/q6apm.c                                         |    6 
 sound/soc/qcom/qdsp6/q6prm.c                                         |    3 
 sound/soc/sof/intel/hda-codec.c                                      |   23 
 sound/soc/sof/intel/hda-sdw-bpt.c                                    |    6 
 sound/usb/bcd2000/bcd2000.c                                          |   20 
 sound/usb/caiaq/input.c                                              |    2 
 sound/usb/line6/capture.c                                            |   29 
 sound/usb/midi.c                                                     |   64 +
 sound/usb/qcom/qc_audio_offload.c                                    |    7 
 sound/usb/usx2y/us122l.c                                             |   27 
 sound/usb/usx2y/usX2Yhwdep.c                                         |    5 
 sound/usb/usx2y/usb_stream.c                                         |    9 
 sound/usb/usx2y/usbusx2yaudio.c                                      |   43 +
 tools/perf/tests/tool_pmu.c                                          |   79 ++
 tools/perf/util/evsel.c                                              |   30 
 tools/perf/util/hwmon_pmu.c                                          |    2 
 tools/perf/util/tool_pmu.c                                           |    2 
 tools/testing/selftests/filesystems/fscontext_ns/fscontext_ns_test.c |    2 
 tools/testing/selftests/net/fib_nexthops.sh                          |   40 -
 466 files changed, 7065 insertions(+), 2708 deletions(-)

Akshay Jindal (1):
iommu/amd: Skip non-IVMD entries when parsing IVRS memory definitions

Alex Hung (1):
drm/amd/display: Avoid closing unowned DDC pins

Alex Kazinsky (2):
wifi: rsi: Skip TX aggregation setup for non-QoS frames
ALSA: cs46xx: Handle SCB creation failures before dereferencing

Alexandr (1):

      ALSA: hda/realtek: Enable mute and mic-mute LEDs on HP ENVY 17-cr0xxx

Alexei Solcanu (1):
hwmon: (gpd-fan) Reset both fans to automatic on duo boards

Alexei Starovoitov (1):
net: reject a negative TCP header offset in qdisc_pkt_len_segs_init()

Ali Ahmet Memiş (3):
ACPI: utils: Add exclusive AML evaluation helpers
ACPI: battery: Evaluate battery methods exclusively
thermal: intel: int340x: Evaluate _TMP exclusively

Amir Goldstein (2):
ovl: inherit FMODE_NONOTIFY when opening directory realfiles selftests/fscontext_ns: expect EINVAL for overlay descendant userns create

Andrea Parri (1):
iommufd/iova_bitmap: Ensure that iova_bitmap_set() handles the full IOVA

Andrew Luebke (1):
scsi: aic79xx: Fix NULL pointer dereference in device reset

Andrew Morton (2):
block: restore the iterator when rejecting a misaligned bio
openrisc: export __mulsi3 for modules

André Draszik (2):
drm/drm_crtc: ensure dma_fence_ops remain valid during device unbind drm/drm_crtc: fix race with dma_fence_signal() in ::get_driver_name()

Andy Shevchenko (1):
intel_idle: Use 2-argument strscpy()

Antti Laakso (1):
media: ipu6: Rename pointer to firmware context

Arnaldo Carvalho de Melo (1):
perf evsel: Close the fds opened so far when disabling missing features

Arnd Bergmann (1):
mm/vmscan: avoid false-positive -Wuninitialized warning, again

Ashok Raj (1):

      cxl/features: Ensure that count is set before access to ent[] __counted_by()

Babu Moger (2):
x86/resctrl: Correct ABMC counter ID field width x86,fs/resctrl: Keep mbm_assign_mode in default mode at boot

Baek Kyu, Kim (2):
hwmon: (corsair-cpro) Cache fan target only after a successful command
hwmon: (gpio-fan) Update the speed cache before dropping the PM reference

Balakrishnan Sambath (4):
media: microchip-isc: store the unshifted PFE_CFG0 BPS value
media: microchip-isc: fix WB offset and gain register field masking
media: microchip-isc: fix ISC_PFG_CFG0_BPS macro name typo
media: microchip-isc: fix SBGGR10 Bayer pattern

Baolin Wang (1):
mm: memory: fix truncation removing mapped folios

Bartosz Golaszewski (1):
dmaengine: qcom: bam_dma: free interrupt before the clock in error path

Bas Nieuwenhuizen (1):
drm/amdgpu: Check cs flags.

Binbin Deng (1):
xfs: set healthmon mount cookie before publishing it

Breno Leitao (2):
x86/bugs: Select the BHI mitigation based on the attack vector properly x86/nmi: Ignore negative NMI handler durations

Bryam Vargas (1):
net/smc: don't spin in smc_rx_recvmsg() while a pipe holds spliced data

Ce Sun (1):
drm/amdgpu: skip RAS error count reset in debug mode

Cen Zhang (7):
ocfs2: validate move extents against a stable EOF
ocfs2: keep locking_state within the cluster connection lifetime ocfs2/dlm: serialize migration MLE cleanup on failure
ocfs2: stop recovery before shutting down local allocators ocfs2/cluster: unlink socket containers before releasing resources
ocfs2: wait for filecheck kobject release after a failed add
ocfs2: cache the mount context for dentry lock callbacks

Chao Yu (6):
f2fs: fix to avoid folio->mapping dereference in is_{meta, node}_folio()
f2fs: fix to check continuousness in f2fs_sync_meta_pages() correctly
f2fs: zone: fix to avoid bio split on sequential zone
f2fs: fix to avoid potential reference count leak in do_garbage_collect()
f2fs: fix to invalidate curseg if change_curseg() fails
f2fs: fix to use bio_in_atomic() in f2fs_write_end_io()

Cheng Ming Lin (1):
mtd: spi-nor: macronix: Restore fallback parameters for MX25L12805D

Chengfeng Ye (3):
xfrm: retry inexact policy lookup after node reinsertion net/9p/usbg: clear stale request context after abort
batman-adv: Close OGM aggregation before transmission

Chris Down (1):
mm: make swapoff interruptible when unusing mms/shmem

Chris Mason (21):
io_uring/cancel: drop sqd->lock while SQPOLL waits mm/mempolicy: charge shared policy nodes
mm/shmem: stop retrying folios that cannot be split mm/shmem: preserve data in clean folios when splitting fails mm/huge_memory: fix truncate racing with PMD zapping mm/huge_memory: fix zapping migration entries for device-private THPs mm/khugepaged: preserve dirty bits when collapsing PTE-mapped THPs mm/gup: fix clearing folios in memfd_pin_folios()
mm/gup: fix out-of-bounds write for nr_pages == 0 in GUP-fast mm/mmu_notifier: set ->mm only after mmgrab()
mm/memory: reject remote COW faults on PFN mappings
mm: fix unkillable fault loop on MAP_DROPPABLE memory
mm: fix deadlock of mremap() against UFFDIO_MOVE
mm/ksm: check large swap-cache folios before mapping them mm/vma: call ->may_split() before a partial merge
ovl: fail the mount if the casefold flag has changed
ovl: do not let chattr change the casefold flag
ovl: fix whiteout creation in casefolded directories
ovl: look up the index by the decoded origin
x86/mm: Fix global ASID handed out to two processes mm/shmem: honour F_SEAL_EXEC when an ACL is set

Chris Simpson (1):
ALSA: hda/realtek: Enable bass speakers on Alienware m17 R3

Christian Aurich Zanettini Martins (1):

      nvme-rdma: fix NULL queue->ctrl dereference on reconnect

Christian Gmeiner (2):
drm/etnaviv: Fix NULL dereference on unbind without PPU flop reset drm/etnaviv: Flush the tile status cache through both the PE and BLT

Christian Loehle (3):
ACPI: CPPC: Validate FFH register fields before hardware access
ACPI: CPPC: Accept requests to retain immutable autonomous selection
cpufreq: CPPC: Select the frequency-invariance callback per CPU

Christoph Hellwig (1):
xfs: fix recovery of partial attr removals

Chuck Lever (7):
NFSD: Replace nfsd_write()'s "stable" argument with "iocb_flags"
NFSD: Move version-specific ACCESS maps into per-version code
NFSD: map fh_verify() status codes for NFS_ACLv2 replies
NFSD: Send a meaningful CB_RECALL_ANY keep count
NFSD: Move the cld upcall message out of the caller's stack frame
NFSD: Complete a cld upcall when the daemon closes the pipe
NFSD: Complete a cld upcall when copying its reply fails

ChunYuZhiQiang (1):
can: dev: can_fill_info(): don't wake up controller if interface is down

Cong Zhang (1):
virtio_blk: use synchronous quiesce in virtblk_freeze_priv()

Cunhao Lu (2):
can: skb: make echo skb freeing safe in any IRQ context
can: dev: can_put_echo_skb(): free skb on invalid echo index

Daeho Jeong (3):
f2fs: return -EIO for a lost inode block after cp_error
f2fs: release a removed xattr node in roll-forward recovery
f2fs: expose resizable_tail feature via sysfs

Daehyeon Ko (2):
vhost/vsock: size receive SKBs from declared payload sched/fair: Clear throttle state when leaving the fair class

Daejun Park (9):
xfs: don't skip free extents in later batches of a whole-AG FITRIM
xfs: don't skip free extents of the longest length in a whole-AG FITRIM
nvme: unregister when pr_register() is given a zero new key
xfs: mark the inode preallocated for pNFS write layouts past EOF
xfs: add a flag to convert unwritten extents without allocating blocks
xfs: refuse a pNFS LAYOUTCOMMIT of a range without blocks
xfs: clamp a pNFS LAYOUTCOMMIT extent before computing its end
xfs: cap the block count of xfs_iomap_write_direct() at one extent
xfs: clamp the pNFS layout range to the maximum file size

Danish Khateeb (1):
perf/core: Don't send SIGTRAP after exec removed the event

Dariusz Marcinkiewicz (1):
drm/amdgpu: check amdgpu_vm_ready() in dma-buf move notify

Darrick J. Wong (6):
xfs: break out xattr entry checks into separate functions
xfs: check for buffer overruns when examining local/remote xattr entries
xfs: refactor directory data block walking loops in scrub
xfs: improve dirent bounds checking in scrub and repair
xfs: reinitialize dquot block if non-first dquot can't load
xfs: forcibly reset quota timers when upgrading to bigtime during repair

David Carlier (1):
media: ipu6: Fix firmware config leak on stream start

David Hildenbrand (Arm) (28):
mm/shmem: discard whole new large folios on fallocate rollback
mm/shmem: rescan after nonuniform folio splitting
mm/shmem: fix truncate hang in large swap entry
mm/shmem: preserve allocation errors when swapping in large entries
mm/shmem: fix truncate loop after boundary swapin failure
mm/shmem: fix accounting of swapin-error markers
mm/shmem: fix truncation of files containing only swapin-error markers
fork: take mmap_lock before copying mm_struct
mm/shmem: make shmem_file() check the file's inode
mm/truncate: look again if a folio left the mapping
mm/filemap: finish fault cleanup before dropping the fault lock
mm/rmap: handle device-exclusive entries in folio_referenced_one() mm/huge_memory: fix list corruption when deferred_split_scan() races with deferred_split_folio() mm/huge_memory: properly handle refcounted PUD mappings on fork
mm: fix address wraparound when scanning large folio PTEs
mm/vma: write lock source VMA before duplicating it in __split_vma()
mm/gup: recheck the PUD under PTL in follow_pud_mask()
mm/gup: check for overflow when converting nr_pages to bytes in GUP-fast mm/userfaultfd: write-lock the VMA before waking waiters when unregistering mm/mremap: use pudp_huge_get_and_clear() when moving huge PUDs
mm/mremap: recheck PUDs under the page table lock
mm/madvise: fix data loss from MADV_FREE on a KSM page
mm/ksm: reset the unstable trees of all nodes
mm/ksm: fix use of a freed anon_vma at swap-in
mm/huge_memory: split huge PUDs when adjusting VMA boundaries
mm/vma: don't leak the charge for stack growth
mm/memory-tiers: unregister empty tiers outside memory_tier_lock mm/userfaultfd: only allocate anon_vma in CoW mappings

David Lee (1):
sctp: hold shkey across socket migration

Devin Wittmayer (1):
drm/panic: Fix kmsg screen hang on a long log line

Dom Cobley (1):
drm/vc4: hdmi: power down the BCM2712 PHY when the output is disabled

Erhan Bilgili (2):
drm/amdgpu: Fix duplicate dependency fence releases drm/amdgpu: Report MES ring wait timeouts.

Eric Biggers (4):
lib/crypto: mips: Disable Octeon SHA code on little-endian kernels lib/crypto: mldsa: Check pk_len before doing pointer arithmetic lib/crypto: mldsa: Explicitly check that 'alg' is a valid value lib/crypto: mldsa: Add __must_check to mldsa_verify()

Eric Dumazet (1):
inet: frags: limit the truesize of a reassembly queue

Esben Haabendal (2):
drm/bridge: nwl-dsi: Cleanup endpoint mux control selection drm/bridge: nwl-dsi: Limit LCDIF specific sync override

Evanshenf (3):
drm/loongson: Fix framebuffer selection in async cursor updates drm/loongson: Fix double free on BO initialization failure drm/loongson: Handle buffer mapping failures when clearing a BO

Ewan D. Milne (1):
nvmet: don't return memory contents beyond valid data when reading ANA log page

Fang Xieyan (3):
vringh: bound top-level re-entry into indirect tables
vringh: reject empty / undersized indirect descriptor tables
vhost: fix used ring index wrap in vhost_add_used_n_in_order

Federico Musto (1):
net: atl1c: drop oversized RX frames instead of panicking

Finn Zeruhn (1):
drm/dp: keep MOT set between messages when no_zero_sized is set

Fourie Zhang (1):
xfrm4: use a full socket for local errors

Franck Baur (1):
net: jme: keep RX MAC clock enabled for WoL

Fuad Tabba (1):
KVM: arm64: Use kvm_s2_fault_vma_info in gmem_abort()

Gael Blivet (1):
ksmbd: look up stream size by exact xattr name

Gianluca Balboni (1):

      ASoC: amd: yc: Add DMI quirk for HP OmniBook 3 Laptop 16-by0xxx

Greg Kroah-Hartman (1):

      Linux 7.3.5

Gregory Price (Meta) (1):
mm/page_alloc: let the highest memory node recover from hopeless state

Guanglei Zhu (1):
ceph: clamp the inline data length in ceph_fill_inline_data()

Guenter Roeck (16):
hwmon: (aquacomputer_d5next) Check maxcollection when probing AQUAERO devices
hwmon: (asus_wmi_sensors) Avoid global struct mutation
hwmon: (hp-wmi-sensors) Avoid global struct mutation
hwmon: (hp-wmi-sensors) Fix unbounded loops in scale_numeric_sensor()
hwmon: (lm87) Fix drvdata type confusion in vrm_show() and vrm_store()
hwmon: (nct6683) Fix incorrect struct cast in show_pwm() and store_pwm()
hwmon: (peci/dimmtemp) Fix devres leak and UAF on concurrent unbind
hwmon: (pmbus/q54sj108a2) Add missing NULL pointer check
hwmon: (pmbus) Check return value from pmbus_thermal_add_sensor()
hwmon: (pmbus) Release devres allocated memory after devm_thermal_of_zone_register error
hwmon: (pmbus) Fix return value check from thermal zone registration
hwmon: (lm75) Fix setting polarity mask for chips with 16-bit config register
hwmon: (tmp108) Fix initial conversion delay and wait until ready
hwmon: (coretemp) Check for NULL platform device in hotplug callbacks
hwmon: (coretemp) Set nr_cores only after core_data allocation succeeds
hwmon: (sht4x) Convert update_interval to jiffies in pending data check

Guixin Liu (1):
nvme-tcp: Validate the queue state under the queue lock in the address attribute

Hemanth Selam (1):
platform/chrome: Fix typos in comments

Hengyu Liang (4):
btrfs: fix chattr failing on nodatasum files that have the compress flag fs/proc/task_mmu: return -ENOTTY for unknown pagemap ioctls
l2tp: only return sessions of the given tunnel in l2tp_session_get()
erofs: fix metadata reads at the end of file-backed images

Hugo Sales (1):
drm/amdgpu: Clamp the ATIF backlight curve to its 99 points

Hui Su (1):
perf evsel: Restrict incremental open error unwind

Hungyu Lin (6):
ext2: preserve completed DIO bytes when buffered fallback fails mm/page-writeback: avoid 32-bit overflow in dirty threshold shares mm/migrate: untag addresses when querying page nodes
inotify: do not coalesce rename events
block: Return the soft block size for compat BLKBSZGET
ext2: preserve IOMAP_F_DIRTY for extending direct writes

HyeongJun An (1):
ALSA: ump: Fix dropped data bytes at UMP System message conversion

Hyungjung Joo (1):
net/9p/usbg: clear stale client pointer on close

Hyunwoo Kim (1):
net: restore refcount ordering for lockless socket access

Ian Bridges (6):
ksmbd: require DELETE access for delete-on-close opens
ksmbd: enforce the read-only share flag when creating a stream
ksmbd: revert fsids on durable reconnect and replay failure
ksmbd: do not read past the DACL in the access denied debug message
ksmbd: grant a POSIX ACL group entry only to the group's members
ksmbd: let the owner read and change the DACL when no ACE names it

Ido Schimmel (1):
vxlan: Stop rejecting dynamic FDB entries with a nexthop ID

Ilia Mirkin (1):
drm/nouveau/devinit/gf100-: try to avoid double-running vbios scripts

Imre Kaloz (4):
scsi: aic7xxx: Use default settings on the SGI O2 onboard controllers
MIPS: mm: Fix the cache error vector jump for XKPHYS kernels
MIPS: sgi-ip32: Mask MACE PCI interrupts in CRIME only
MIPS: sgi-ip32: Leave MACE PCI control alone in config accesses

Jack Blessed Kimani (1):
ksmbd: fix NULL pointer dereference in session_user_name() and session_account_type()

Jamal Hadi Salim (2):
bpf: Fix skb_pull() BUG in __bpf_redirect_neigh() net/sched: clamp skb->queue_mapping before indexing the tx queue

James Calligeros (1):
ASoC: tas2770: Fix error detection in tas2770_set_dai_tdm_idle

James Clark (1):
net: ethernet: ti: am65-cpsw-nuss: Enable timestamping of unicast PTP packets

James Fairweather (1):
platform/chrome: cros_usbpd_notify: Only use drvdata when parent is GOOG0004

Janne Grunau (1):
wifi: brcmfmac: cfg80211: Report port_authorized for 4-way HS offload

Jared Wuerzburger (1):
ALSA: hda/realtek: Fix internal mic on Minisforum V3 and V3 SE

Jarkko Sakkinen (1):
nvme-keyring: Add a missing key_put() call to nvme_tls_key_lookup()

Jason Gunthorpe (1):
iommu/arm-smmu-v3: Handle ARM erratum for CONT under invalidation with SVA

Jason Perlow (1):
wifi: brcmfmac: map msgbuf RX packet IDs bidirectional

Javier Carrasco (11):
hwmon: chipcap2: fix command error diagnostics
hwmon: chipcap2: fix off-by-one in command mode retry loop
hwmon: chipcap2: fix be16 handling
hwmon: chipcap2: defer probe when IRQs are unavailable
hwmon: chipcap2: fix IRQ teardown ordering
hwmon: chipcap2: disable device after hwmon teardown
hwmon: chipcap2: enable IRQ processing when regulator is already enabled
hwmon: chipcap2: balance regulator state
hwmon: chipcap2: do not discard pending alarms on disable
hwmon: chipcap2: serialize access to the alarm indicators
hwmon: chipcap2: synchronize ready IRQ state

Jeff Layton (4):
NFSD: report listener creation failures through extack
SUNRPC: report local rpcbind calls that get no answer
NFSD: stop registering with rpcbind after a failure in listener_set
nfsd: shorten extack string returned with dodgy listener

Jens Axboe (3):
io_uring/sqpoll: don't attach to a thread that is canceling io_uring/poll: don't poll a writer for a read side hangup io_uring/poll: don't poll a writer for urgent data

Jesse Zhang (11):
drm/amdgpu: sign extend the addresses GEM_OP(GET_MAPPING_INFO) returns drm/amdgpu: parse CS IBs at the BO offset their VA mapping starts at drm/amdgpu: keep the CS user fence BO in GTT
drm/amdkfd: use the queue's process info for the WPTR BO eviction fence drm/amdgpu/userq: validate the moved individual BOs on restore drm/amdgpu/gfx12: disallow GFXOFF while updating the SPM VMID drm/amdgpu: drop the dma-buf reference when a KFD import fails drm/amdgpu: unlock the VM and BO when attaching a KFD BO fails drm/amdgpu: rewrite all PTEs of the BOs after a VM reset drm/amdgpu: don't walk the CS chunks when allocating them failed drm/amdgpu: don't drop the gang dependency fence twice

Jiale Yao (1):
hwmon: (aquacomputer_d5next) reject short status reports

Jianyun Gao (1):
xfs: fix temporary cursor leak in btree shift corruption paths

Jinjie Ruan (1):
arm64: kexec_file: Fix elf_headers memory leak in retry loop

Jinwang Li (1):
Bluetooth: L2CAP: Ignore connection responses with wrong ident

Johannes Weiner (2):
mm: page_alloc: do not give all non-blocking requests reserve access
mm: page_alloc: remove ALLOC_NON_BLOCK from ALLOC_RESERVES

Joonhoe Kim (1):
net: qrtr: announce local services again once our HELLO is sent

Jose Maria Casanova Crespo (1):
drm/v3d: Initialize timedout_batches when running a CSD job

Josef Bacik (14):
tmpfs: keep the quota soft limits of an unused id
tmpfs: preserve explicitly disabled quota limits
mm/mglru: don't use stack pointers when walking PUD and PMD tables mm/memfd: make f_pos accesses atomic
mm/filemap: read mapping->a_ops->free_folio under i_lock mm/filemap: don't lose a folio lock wakeup to a signal
blk-mq: end the request if getting a keyslot fails mm/khugepaged: always recheck the pmd in try_collapse_pte_mapped_thp() mm/khugepaged: fix PMD table lock leak in try_collapse_pte_mapped_thp() mm/userfaultfd: wake all waiters on unregister mm/mmu_gather: fix flushing ranges with 4 GiB or larger mm/mmu_notifier: finish non-blocking interval invalidation on error mm/mremap: fix moving PUD leaves
mm: fix unmap_mapping_range() beyond 4 GiB on 32-bit

Joseph Qi (5):
ocfs2: find the xattr entry again after defragmenting a bucket
ocfs2: find the xattr entry again after converting a block to a bucket
ocfs2: do not read the entry array of an empty xattr bucket
ocfs2: do not index before the entry array when dividing an empty bucket
ocfs2: do not read the entry array of an empty xattr block

Jouni Högander (5):
drm/i915/psr: Clear selective fetch area when duplicating plane state drm/i915/display: Add enabled pipe planes into state for selective fetch drm/i915/psr: Disable linked plane sel fetch as well drm/i915/psr: Fix SFF and CFF CTL register bit definitions drm/i915/psr: Don't clip plane state destination rectangle

Jun Yang (1):
sctp: re-point retained control chunks on association migration

Kairui Song (1):
mm/mglru: use explicit tier range in read_ctrl_pos()

Kaixuan Li (2):
can: isotp: check the frame type, not just the length
f2fs: bound the SIT/NAT bitmaps by the checkpoint pack

Kent Russell (1):
drm/amdgpu: Ensure that harvest information gets set

Kevin Mitchell (1):
iommu/amd: remove obsolete domain pointer warning on release

Kevin Wang (1):
drm/amd/pm: populate unique ID for smu 13.0.7

Kiryl Shutsemau (Meta) (3):
mm/hugetlb_vmemmap: map the shared tail page writable
arm64: sdei: Run the event handler on the kernel vectors
arm64: sdei: Preserve the interrupted context's exception registers

Krystian Kaniewski (1):
blk-mq: fix out-of-bounds read in blk_mq_free_rqs

Kyle Zeng (4):
batman-adv: mcast: validate tracker padding before forwarding mm/khugepaged: flush deferred unmaps before dropping a failed folio net/sched: sch_qfq: prevent aggregate self-replacement
mptcp: pm: kernel: use RCU to free endpoint listeners

Kylie C (1):
drm/amd/display: Don't select zero V_TOTAL_MIN/MAX on seamless boot

Lance Yang (2):
mm/ksm: fix userfaultfd protection during merge and unmerge
khugepaged: fix readahead lock inversion in collapse_file()

Laveesh Bansal (1):
block: only serialize elevator switches of the same queue

Lee Jones (1):
ASoC: SOF: Intel: hda-sdw-bpt: Stop active DMA before closing BPT streams

Li Zhe (2):
mm/hugetlb: fix mremap move length truncation mm/hugetlb: fix mremap deadlock when PMD sharing is possible

Linmao Li (1):
PCI: cadence: Store the core controller in platform drvdata

Linus Torvalds (9):
assoc_array: don't lose objects when a shortcut is split on a word boundary
assoc_array: don't lose objects when a root shortcut is split at level 4
assoc_array: move in-place insertion into a function of its own
assoc_array: fill the segment cache in one place
assoc_array: move node splitting into a function of its own
assoc_array: move shortcut creation into a function of its own
assoc_array: choose between splitting a node and a shortcut without gotos
assoc_array: don't chain a new shortcut onto an existing one
assoc_array: keep gc's cleanup out of the live tree on allocation failure

Liu Changjie (1):
can: peak_usb: pcan_usb_fd_decode_buf(): accept short uCAN end-of-list records

Lorenzo Stoakes (ARM) (1):
mm/vma: update VMA iterator state on error in new VMA merge

Lu Yao (1):
drm/i915/gem: Reset err for each fence entry

Lucas Tanure (2):
drm/vc4: hdmi: always cancel the scrambling work synchronously drm/vc4: hdmi: enable scrambling before the TMDS clock starts

Marc Zyngier (1):
KVM: arm64: vgic: Stop the target vcpu when disabling LPIs

Marco Ziliani (1):
ata: libata-pmp: disable the SEMB port on Marvell 88SM9705

Martin Belanger (1):
nvme-tcp: skip TLS control records while waiting for the ICResp

Masafumi Suzuki (1):
sctp: account for chunk padding in sctp_init_cause()

Matheus Alves de Almeida (1):
fat: hold truncate_lock in fat_write_failed()

Matthew Schwartz (1):
drm/amd/display: Keep the nominal vtotal while VRR is inactive

Matthias Goergens (4):
udf: don't let the extent type hide an exhausted free-space table extent
udf: check the unallocated space table when it is loaded
udf: fix preallocation discarding before an empty allocation extent
udf: don't use eloc after the end of the unallocated space table

Maíra Canal (3):
drm/vc4: Publish the output fence outside of job_lock drm/vc4: Drop the BO reservations outside of job_lock drm/v3d: Widen cache_clean_lock over the whole L2TCACTL sequence

Mehmet Fide (4):
wifi: rtw88: usb: route bmc frames via the high queue only for DTIM delivery
wifi: rtw88: usb: bound what the driver feeds the after-DTIM queue
wifi: rtw88: usb: only let the frames a dozing station needs use the after-DTIM queue
wifi: rtw88: widen the ATIM window while an AP interface is up

Melissa Wen (1):
drm/amd/display: Signal PQ EOTF in FreeSync infopacket for DP HDR

Michael Bommarito (1):
9p/trans_virtio: reject mount tags longer than NAME_MAX at probe

Michael Grzeschik (6):
net/9p/usbg: also disable endpoints on p9_usbg_close net/9p/usbg: set client to Disconnected on usb9pfs_disable net/9p/usbg: always reset completion when disconnecting net/9p/usbg: call disable_usb9pfs() from usb9pfs_disable() net/9p/usbg: fix out_req buffer leak in disable_usb9pfs net/9p/usbg: remove bogus context initialization in alloc_requests

Michael McAllister (1):
Bluetooth: qca: Fix the WCN3950 NVM baud rate offset

Miguel Ojeda (1):
rust: cpufreq: fix undocumented_unsafe_blocks in PolicyCpu::from_cpu()

Mike Rapoport (Microsoft) (2):
mm/cma: accept memory of multi-range CMA areas mm/cma: accept memory of CMA areas reserved at a fixed address

Mikhail Gavrilov (1):
drm/amd/display: set allow_freesync before validating a new stream

Milan Milicevic (2):
drm/amdgpu: clear RB_OVERFLOW bit when enabling interrupts for navi10_ih drm/amdgpu: publish IH enabled before PSP programs IH_RB_CNTL

Miquel Raynal (4):
clk: nuvoton: ma35d1: Keep the clock count in the driver
dt-bindings: clock: ma35d1: Drop CLK_MAX_IDX define
dt-bindings: clock: ma35d1: Add missing WDT/WWDT parent clocks
clk: nuvoton: ma35d1: Add missing WDT/WWDT parent clocks

Misha Nasledov (1):
drm/amd/display: Drop clock requirements on DCN32 when no displays are active

Mitul Golani (1):
drm/i915/display: Allow port sync on PTL

Mohamed Yassine Jebabli (1):
ALSA: hda/tas2781: Only accept CRC-less V1 data if all entries are valid

Mohit Sharma (1):
ASoC: qcom: q6apm: Guard callbacks until probe data is ready

Myeonghun Pak (1):
hwmon: (sht15) Stop deferred work before releasing its resources

Naman Jain (1):
x86/init: Initialize wall clock in get_rtc_noop()

Nathan Chancellor (1):
lib/base64: silence clang-24 -Wconstant-conversion with diag pragmas

Nicholas Hobson (1):
ALSA: usb-audio: keep MIDI input running for Roland TD-11

Nickolai Zeldovich (1):
panic: zero the dynamically allocated taint buffer

Oliver Hartkopp (5):
can: replace ARPHRD_CAN type checks with can_get_ml_priv()
can: isotp: check the return values of can_rx_register() in isotp_bind()
can: protect the receive lists with a per-device lock
can: raw, isotp: copy socket options outside of lock_sock()
can: proc: skip stats calculation after reset in can_stat_update()

Peter Ujfalusi (2):
ASoC: hdac_hda: Allocate the private data at codec driver bind
ASoC: hdac_hda: Restore the codec device type on unbind

Ping-Ke Shih (1):
wifi: rtw88: TX report with long timeout for non-PCIE devices

Prike Liang (3):
drm/amdgpu/userq: wait for GPU reset before mapping or unmapping queues drm/amdgpu: finish GPU recovery callbacks before restarting schedulers drm/amdgpu: stop the schedulers before preparing the GPU reset

Qihang (2):
xfrm: interface: validate the IP header on xmit
cipso: fix optlen corruption in cipso_v4_delopt()

Qiliang Yuan (2):
srcu: Add list_splice_init_srcu()
nvme: wait for SRCU readers before splicing the namespace list

Rafael J. Wysocki (1):
intel_idle: Adjust state names and descriptions for _LPI states

Ray Zhang (1):
net: count last skb of each sk_backlog pass in __release_sock()

Reid Downing (1):
xfs: fix wrong compat fields in xfs_ioctl32_bstat_copyin()

Ricardo Ribalda (2):
media: uvcvideo: Add autosuspend quirk for AVerMedia Live Gamer HD 2
media: uvcvideo: Force UVC version for Avermedia GC515

Richard Fitzgerald (1):
ASoC: cs35l56: Wait for firmware timer expiry before system suspend

Rik van Riel (1):
mm/cma: don't release CMA pages still in use

Ritesh Harjani (IBM) (1):
mm/huge_memory: set the mmu_gather page size in zap_huge_pud()

Roman Demidov (1):
drm/amd/display: Fix NULL deref in dcn401_update_clocks_update_dtb_dto

Roman Li (1):
drm/amd/display: Reset DET of HUBPs without a plane before outstanding updates

Rosen Penev (2):
x86/csum: Relax the len and proto constraints in 32-bit csum_ipv6_magic() drm/nouveau/nvkm: clear use.enabled when subdev init fails

Runyu Xiao (2):
can: proc: reset pkg_stats atomics individually
ALSA: usb-audio: Protect Roland control activation

SJ Park (5):
mm/damon/core: remove unreachable damos charge_{target,addr}_from mm/damon/sysfs-schemes: read sysfs_filter->sz_range only once mm/damon/sysfs-schemes: hold damon_sysfs_lock in target_metric_store() mm/damon/core: move static variable last_nr_regions to damon_ctx mm/damon/core: move static variable rotation to damon_ctx

Sabrina Dubroca (1):
xfrm: espintcp: reorder operations within espintcp_init_sk

Saim Masood (1):
ALSA: hda/realtek: Fix speakers on ASUS ExpertBook PM3606CHA

Salvatore Dipietro (1):
mm/page_alloc: avoid direct reclaim and compaction for costly __GFP_NORETRY allocations

Samarth Narang (1):
mm/ksm: keep soft-dirty when merging a page

Samiullah Khawaja (1):

      mm/gup: check folio->mapping under folio lock in memfd_pin_folios()

Sasha Levin (1):
nvme-pci: add NVME_QUIRK_DMAPOOL_ALIGN_512 for KIOXIA XG10d

Sean Christopherson (5):
KVM: x86/mmu: Conditionally resched when retrying gPTE walk on A/D update failure
KVM: x86: Conditionally resched when restarting REP string emulation
KVM: nVMX: Process each host MSR entry at most once when unwinding failed VM-Entry
KVM: x86/mmu: Cap number of parent PTEs per SP at 1000 (the arbitrary rmap limit)
KVM: x86: Unconditionally reset MMU context when emulating INIT

Shakeel Butt (1):
io_uring/sqpoll: do the return-to-userspace work in the SQPOLL thread

Shang En Sim (2):
io_uring/cancel: count all requests that a CANCEL_ALL cancels io_uring/poll: cancel all matching requests in one pass

Shao Mingyin (2):
scsi: target: tcmu: Fix divide-by-zero in data_pages_per_blk store
nvmet: bound the traddr and trsvcid configfs writes

Shuai Liu (1):
io_uring/sqpoll: don't set IO_SQ_THREAD_SHOULD_STOP on thread exit

Shubham Antil (1):
vhost-scsi: zero misaligned I/O bounce pages

Sinan Turunc (3):
ALSA: line6: Reject capture buffers smaller than two packets
ALSA: usx2y: Require a buffer of two URBs
ALSA: usx2y: Guard the playback copy

Siwei Zhang (2):
Bluetooth: L2CAP: Reject signalling responses in invalid states
Bluetooth: L2CAP: Only accept connection responses to outstanding requests

Stefano Garzarella (1):
9p: fix privport option setting wrong RDMA field

Sumit Kumar (1):
PCI: dwc: Set DMA_BYPASS bit in outbound IATU CTRL2 register

Suravee Suthikulpanit (1):
iommu/amd: Force device table to maximum size

Sven Eckelmann (10):
batman-adv: tpmeter: fix u32 truncation of reported bytes
batman-adv: dat: initialize orig_node of unfilled candidate slots
batman-adv: fix skb leak when hard_iface is being released
batman-adv: stop originator purge worker before freeing TT
batman-adv: tt: ignore ROAM flag of received ADD changes
batman-adv: tt: don't drop local events queued during TVLV update
batman-adv: tt: only transmit local ROAM flag together with DEL
batman-adv: tt: clear ROAM flag when re-adding a pending local client
batman-adv: tt: send ROAM_ADV on each roamed back client
batman-adv: tt: only update flags for TT events

T.J. Mercier (1):
mm: memcontrol: fix NULL pointer deref and UAF from high_work_func() on dying memcg

Tal Zussman (1):
vhost-vdpa: fix pinned page leak in vhost_vdpa_pa_map() error path

Thomas Gleixner (1):
x86/entry: Fix ptrace regression

Thorsten Blum (2):
hwrng: virtio - prevent use-after-free after a failed restore x86/boot: Fix off-by-one error in sme_clear_pgd()

Toke Høiland-Jørgensen (1):

      wifi: mac80211: reinstate IEEE80211_TX_CTL_AMPDU flag in ieee80211_tx_prep_agg()

Tvrtko Ursulin (2):
drm/sched: Fix out of bounds entity priority check drm/sched: Adjust run-queue when changing priority at runtime

Valentin Kindschi (2):
Bluetooth: hci_sync: re-enable legacy advertising on resume
Bluetooth: hci_sync: pause advertising for the scan address update

Vas Zayarskiy (1):
hwmon: (aquacomputer_d5next) Avoid truncating scaled sensor readings

Vidya Srinivas (2):
drm/i915/display: Single scaler per pipe on WCL drm/i915/display: Disable pipe joiner on WCL

Vincent Donnefort (2):
KVM: arm64: Pass kvm_s2_fault_desc to fault_supports_stage2_huge_mapping()
KVM: arm64: Use kvm_s2_fault_vma_info in pkvm_mem_abort()

Vincent Mailhol (1):
can: dev: can_dropped_invalid_skb: drop CAN XL frames on non-CAN XL devices

Vishnu Santhosh (1):
dmaengine: qcom: bam_dma: Defer IRQ trigger type to device tree

Vladimir Oltean (1):
PCI: cadence: Preserve all error codes in cdns_plat_pcie_probe()

Wayne Lin (1):
drm/amd/display: add missing CRC engine 1 registers

Wei Wang (1):
arm64: suspend: Save and restore TPIDR2_EL0 across CPU suspend

Weigang He (1):
wifi: mac80211: reload TDLS header pointer after skb_linearize()

Weiming Shi (1):
smb/server: prevent file publication after tree disconnect

Wentao Liang (1):
ALSA: caiaq: free the EP4 URB when input setup fails

Werner Sembach (1):
drm/i915/display: Add quirk to force backlight type on some TUXEDO devices

Xia Yan (2):
veth: keep carrier off when resizing channels with a down peer
ipv6: fix device binding after failed datagram connect

Yafang Shao (1):
mm/migrate: snapshot the source nid before the misplaced migration

Yehyeong Lee (1):
9p/xen: validate the response size from the backend

Yifei Gao (1):
9p/xen: fix refcount leak in p9_xen_response() on wrong tag

Yili Zhang (1):
dma-buf: Fix IOVA offset when linking phys vecs to sgt

Yilin Zhang (1):
mptcp: do not use Fast Open on MP_JOIN subflows

Yingjie Wang (4):
scsi: bsg: Report synchronous data copyback failures
scsi: bsg: Report io_uring data copyback failures
ipv6: reject wrapped temporary address preferred lifetimes
nvmet: reject keep-alive timeouts that would overflow

Yitang Yang (1):
ublk: add missing DEL_DEV_ASYNC to unprivileged permission check

Yizhou Zhao (2):
net/9p/usbg: fix prefix matching in device lookup net/9p/usbg: Fix use-after-free in disable_usb9pfs()

Yu Zhang (2):
scsi: target: Fix demo-mode dynamic ACL dev-entry UAF vs LUN teardown
ptp: fix use-after-free in extts_fifo_show() reading tsevqs unlocked

YuanZhe Liu (6):
ALSA: us122l: Add missing NULL check in usb_stream_hwdep_mmap()
ALSA: us122l: Fix NULL dereference at hwdep open and release
ALSA: usx2y: Initialize idle URBs before submitting streams
ALSA: hwdep: Serialize DSP load requests
ALSA: bcd2000: Fix use-after-free of MIDI URBs on file close
ALSA: usx2y: Refuse a retried DSP load after a failure

Yuanfu Xie (1):
9p: don't decrement a server-owned zero nlink

Yuanhe Shu (1):
scsi: target: Verify the iSCSI ISID is null-terminated

Yuansheng Yang (1):
io_uring/rsrc: hold uring_lock across index-alloc put_user

Yuejie Shi (1):
fs/ntfs3: validate the EA value length in ntfs_read_ea()

Yuho Choi (2):
iommu/virtio: Reset device before deleting virtqueues on probe failure vdpa/snet: Don't discard the DPU error in snet_send_ctrl_msg()

Yuqiang Sun (2):
nvme: Do not drop the cdev reference twice when cdev_device_add() fails
ALSA: usb-audio: qcom: Check the return value of qmi_handle_init()

Zac Lanzon (1):
hwmon: (asus_rog_ryujin) Fix pump control source on the Ryujin III

Zack Rusin (1):
x86/vmware: Fix i386 high-bandwidth hypercall arguments

Zenghui Yu (Huawei) (1):
mm/page_alloc: mark pages freed by __free_pages_core() as not tagged

Zhan Xusheng (1):
ntfs: don't allow compression on volumes with clusters larger than 4K

Zhao Gongyi (2):
arm64: mm: validate /dev/mem mmap ranges without overflow
ata: libata-scsi: reject data-in commands with a data-out buffer

Zhao Zhang (1):
9p: fix caches_show() out-of-bounds write

Zhe Liu (1):
blk-iocost: account flush sequence latency only once

Zhou Qiuyue (1):
ipv6: raw: fix use-after-free in rawv6_send_hdrinc()

Zijing Yin (1):
wifi: cfg80211: fix out-of-bounds read in valid_rule()

chenglong.ma (1):
vduse: fix VA/PA confusion in the coherent page fault path

guolingxing (2):
btrfs: sysfs: restore NOFS context on early return in btrfs_sysfs_add_block_group_type()
btrfs: prevent deleting the wrong subvolume by ID

renpanpan (1):
drm/amdgpu: Only enable HDMI audio if display supports it

[email protected] (1):
PCI: cadence: Remove device links to PHY

author maintainer
#1 lore raw
Documentation/ABI/testing/sysfs-fs-f2fs +1 -1
index 0cebc89799dd..4f3915948176 100644
@@ -271,7 +271,7 @@ Description:	Shows all enabled kernel features.
 		inode_crtime, lost_found, verity, sb_checksum,
 		casefold, readonly, compression, test_dummy_encryption_v2,
 		atomic_write, pin_file, encrypted_casefold, linear_lookup,
-		fserror.
+		fserror, resizable_tail.
 
 What:		/sys/fs/f2fs/<disk>/inject_rate
 Date:		May 2016
Documentation/admin-guide/pm/intel_idle.rst +7 -5
index 996e5bd83c42..d1a6251790b8 100644
@@ -145,11 +145,13 @@ for the other idle state types (C2 and C3) the target residency value is 3 times
 the exit latency (again, that is because it reflects the target residency to
 exit latency ratio in the majority of cases for the processor models recognized
 by ``intel_idle``).  The name of the idle state (to be returned by the ``name``
-idle state attribute in ``sysfs``) is either "Cx_LPI" (if it comes from ``_LPI``
-processing) or "Cx_ACPI", where x is the index of that idle state in the final
-list (note that the minimum value of x is 1, because 0 is reserved for the
-"polling" state), and its target residency is based on the exit latency value.
-All of the idle states in the final list are enabled by default in this case.
+idle state attribute in ``sysfs``) either is equal to the state name value that
+comes from ``_LPI`` processing (with the possible fallback to "Cx_LPI" if the
+state name is not provided) or it is "Cx_ACPI", where x is the index of that
+idle state in the final list (note that the minimum value of x is 1, because 0
+is reserved for the "polling" state), and its target residency is based on the
+exit latency value.  All of the idle states in the final list are enabled by
+default in this case.
 
 
 .. _intel-idle-initialization:
Documentation/arch/arm64/silicon-errata.rst +2 -1
index 99a1eb4b833d..95faec78b7f7 100644
@@ -273,7 +273,8 @@ stable kernels.
 +----------------+-----------------+-----------------+-----------------------------+
 | ARM            | MMU L1          | #3878312        | N/A                         |
 +----------------+-----------------+-----------------+-----------------------------+
-| ARM            | MMU S3          | #3995052        | N/A                         |
+| ARM            | MMU S3          | #3995052,       | N/A                         |
+|                |                 | #3673557        |                             |
 +----------------+-----------------+-----------------+-----------------------------+
 | ARM            | GIC-700         | #2941627        | ARM64_ERRATUM_2941627       |
 +----------------+-----------------+-----------------+-----------------------------+
Documentation/filesystems/overlayfs.rst +2 -1
index 16c35b491dad..4c241d220bc2 100644
@@ -731,7 +731,8 @@ When decoding an overlay file handle, the following steps are followed:
 
  1. Find underlying layer by UUID and path type information.
  2. Decode the underlying filesystem file handle to underlying dentry.
- 3. For a lower file handle, lookup the handle in index directory by name.
+ 3. For a lower file handle, encode the decoded underlying inode again and
+    lookup that handle in index directory by name.
  4. If a whiteout is found in index, return ESTALE. This represents an
     overlay object that was deleted after its file handle was encoded.
  5. For a non-directory, instantiate a disconnected overlay dentry from the
Documentation/filesystems/resctrl.rst +51 -36

155 lines not on this page · raw message

Documentation/hwmon/asus_rog_ryujin.rst +6 -0
index b0d7ce8dd921..24dccef2d2df 100644
@@ -33,6 +33,12 @@ Usage notes
 As these are USB HIDs, the driver can be loaded automatically by the kernel and
 supports hot swapping.
 
+The pump of the RYUJIN III also has a 4-pin cable for a motherboard fan header.
+The cooler either hands the pump to its internal controller, which follows the
+PWM of the header its 4-pin cable is plugged into, or runs it at the pump duty
+set over USB. Writing pwm1 selects the duty set over USB. Writing pwm2 sets
+only the internal fan duty and leaves the pump control as it is.
+
 Sysfs entries
 -------------
 
Documentation/mm/vmemmap_dedup.rst +13 -2
index 9fa8642ded48..66d58fbea5b1 100644
@@ -131,8 +131,19 @@ pages of ``struct page`` (page 1 to page 7) are tail pages.
 The optimization is only applied when the size of the struct page is a power
 of 2. In this case, all tail pages of the same order are identical. See
 compound_head(). This allows us to remap the tail pages of the vmemmap to a
-shared, read-only page. The head page is also remapped to a new page. This
-allows the original vmemmap pages to be freed.
+shared page. The head page is also remapped to a new page. This allows the
+original vmemmap pages to be freed.
+
+The shared page is mapped writable. A lockless get of a page reference can
+read a non-zero refcount before the remap and attempt its atomic update
+after it. The refcount of a tail page is zero, so the update fails without
+changing the page. Nothing else may write to the shared page: it is shared
+by all HugeTLB pages of the same size in the zone, and a stray write would
+corrupt all of them.
+
+HugeTLB pages whose vmemmap is optimized when the memmap is first set up at
+boot keep a read-only mapping of the shared page. Nothing can do a lockless
+get on them before they are handed to HugeTLB.
 
 Here is how things look after remapping::
 
Makefile +1 -1
index 05c5b682ad50..51e278ccea9c 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 7
 PATCHLEVEL = 3
-SUBLEVEL = 4
+SUBLEVEL = 5
 EXTRAVERSION =
 NAME = Baby Opossum Posse
 
arch/arm64/include/asm/sdei.h +2 -1
index b2248bd3cb58..a78a5337ff85 100644
@@ -44,7 +44,8 @@ asmlinkage unsigned long __sdei_handler(struct pt_regs *regs,
 					struct sdei_registered_event *arg);
 
 unsigned long do_sdei_event(struct pt_regs *regs,
-			    struct sdei_registered_event *arg);
+			    struct sdei_registered_event *arg,
+			    unsigned long vbar);
 
 unsigned long sdei_arch_get_entry_point(int conduit);
 #define sdei_arch_get_entry_point(x)	sdei_arch_get_entry_point(x)
arch/arm64/include/asm/suspend.h +1 -1
index e9ce68d50ba4..a5abf0615594 100644
@@ -2,7 +2,7 @@
 #ifndef __ASM_SUSPEND_H
 #define __ASM_SUSPEND_H
 
-#define NR_CTX_REGS 14
+#define NR_CTX_REGS 15
 #define NR_CALLEE_SAVED_REGS 12
 
 /*
arch/arm64/kernel/entry-common.c +39 -1
index 72c03ccea59f..92b2fe0b2784 100644
@@ -30,6 +30,7 @@
 #include <asm/stacktrace.h>
 #include <asm/sysreg.h>
 #include <asm/system_misc.h>
+#include <asm/vectors.h>
 
 /*
  * Handle IRQ/context state management when entering from kernel mode.
@@ -1002,6 +1003,7 @@ asmlinkage void noinstr __noreturn handle_bad_stack(struct pt_regs *regs)
 asmlinkage noinstr unsigned long
 __sdei_handler(struct pt_regs *regs, struct sdei_registered_event *arg)
 {
+	unsigned long elr, spsr, esr, far, vbar;
 	irqentry_state_t state;
 	unsigned long ret;
 
@@ -1027,10 +1029,46 @@ __sdei_handler(struct pt_regs *regs, struct sdei_registered_event *arg)
 	else if (cpu_has_pan())
 		set_pstate_pan(0);
 
+	/*
+	 * Nothing saved the interrupted context's exception registers on the
+	 * way in, and it may be in the middle of exception entry or return
+	 * (SDEI ignores DAIF). Save them before anything can take an exception
+	 * and overwrite them.
+	 */
+	elr = read_sysreg(elr_el1);
+	spsr = read_sysreg(spsr_el1);
+	esr = read_sysreg(esr_el1);
+	far = read_sysreg(far_el1);
+
+	/*
+	 * With KPTI, VBAR_EL1 holds the trampoline vectors from the return to
+	 * EL0 until the next exception from EL0 maps the kernel. They only
+	 * handle exceptions from EL0: an exception taken here would run their
+	 * empty current-EL half and never come back. Switch to the kernel
+	 * vectors. The IRQ-like resume keeps using the interrupted VBAR, so it
+	 * still goes through the trampoline.
+	 */
+	vbar = read_sysreg(vbar_el1);
+	if (arm64_kernel_unmapped_at_el0() &&
+	    vbar == (unsigned long)raw_cpu_read(this_cpu_vector)) {
+		write_sysreg((unsigned long)vectors, vbar_el1);
+		isb();
+	}
+
 	state = irqentry_nmi_enter(regs);
-	ret = do_sdei_event(regs, arg);
+	ret = do_sdei_event(regs, arg, vbar);
 	irqentry_nmi_exit(regs, state);
 
+	/*
+	 * Put them back unconditionally. An unchanged ELR does not rule out a
+	 * nested exception: one may have returned to the same address.
+	 */
+	write_sysreg(elr, elr_el1);
+	write_sysreg(spsr, spsr_el1);
+	write_sysreg(esr, esr_el1);
+	write_sysreg(far, far_el1);
+	write_sysreg(vbar, vbar_el1);
+
 	return ret;
 }
 #endif /* CONFIG_ARM_SDE_INTERFACE */
arch/arm64/kernel/machine_kexec_file.c +2 -0
index 854d872dfd0f..14f453dd0946 100644
@@ -112,6 +112,8 @@ int load_other_segments(struct kimage *image,
 			vfree(headers);
 			goto out_err;
 		}
+
+		vfree(image->elf_headers);
 		image->elf_headers = headers;
 		image->elf_load_addr = kbuf.mem;
 		image->elf_headers_sz = headers_sz;
arch/arm64/kernel/sdei.c +48 -11

87 lines not on this page · raw message

arch/arm64/kernel/topology.c +11 -1
index b8baba281166..44305b997a02 100644
@@ -470,6 +470,12 @@ static void amu_read_core_const_ctrs(void *val)
 	cpu_read_corecnt(&ctrs->corecnt);
 }
 
+static bool cpc_ffh_reg_valid(const struct cpc_reg *reg)
+{
+	return reg->bit_width && reg->bit_width <= 64 &&
+	       reg->bit_offset <= 64 - reg->bit_width;
+}
+
 static u64 cpc_ffh_extract_bits(const struct cpc_reg *reg, u64 val)
 {
 	val &= GENMASK_ULL(reg->bit_offset + reg->bit_width - 1,
@@ -506,7 +512,8 @@ int cpc_read_ffh_fb_ctrs(int cpu, struct cpc_reg *reg1, u64 *val1,
 	struct amu_ffh_ctrs ctrs;
 	int ret;
 
-	if (!is_amu_ctr_reg(reg1) || !is_amu_ctr_reg(reg2))
+	if (!is_amu_ctr_reg(reg1) || !is_amu_ctr_reg(reg2) ||
+	    !cpc_ffh_reg_valid(reg1) || !cpc_ffh_reg_valid(reg2))
 		return -EINVAL;
 
 	ret = counters_read_on_cpu(cpu, amu_read_core_const_ctrs, &ctrs);
@@ -530,6 +537,9 @@ int cpc_read_ffh(int cpu, struct cpc_reg *reg, u64 *val)
 {
 	int ret = -EOPNOTSUPP;
 
+	if (!cpc_ffh_reg_valid(reg))
+		return -EINVAL;
+
 	switch ((u64)reg->address) {
 	case CPC_FFH_CTR_CORE:
 		ret = counters_read_on_cpu(cpu, cpu_read_corecnt, val);
arch/arm64/kvm/mmu.c +69 -60

269 lines not on this page · raw message

arch/arm64/kvm/pkvm.c +3 -0
index 8e4c6e4bec12..c298a5b9b12a 100644
@@ -414,6 +414,9 @@ int pkvm_pgtable_stage2_map(struct kvm_pgtable *pgt, u64 addr, u64 size,
 	u64 end = addr + size;
 	int ret;
 
+	if (WARN_ON_ONCE(!PAGE_ALIGNED(addr | size)))
+		return -EINVAL;
+
 	lockdep_assert_held_write(&kvm->mmu_lock);
 	mapping = pkvm_mapping_iter_first(&pgt->pkvm_mappings, addr, end - 1);
 
arch/arm64/kvm/vgic/vgic-mmio-v3.c +10 -0
index 5ab789accc9d..9e6200c5adce 100644
@@ -303,9 +303,19 @@ static void vgic_mmio_write_v3r_ctlr(struct kvm_vcpu *vcpu,
 		if (ctlr != GICR_CTLR_ENABLE_LPIS)
 			return;
 
+		/*
+		 * Yes, disabling LPIs is painful, since it can be done from
+		 * a *remote* vcpu! So let's not take any chance, and make
+		 * sure that the target vCPU has written their LRs back to the
+		 * irq structures, and release any reference they would have.
+		 *
+		 * If it hurts, don't do it.
+		 */
+		kvm_arm_halt_guest(vcpu->kvm);
 		vgic_flush_pending_lpis(vcpu);
 		vgic_its_invalidate_all_caches(vcpu->kvm);
 		atomic_set_release(&vgic_cpu->ctlr, 0);
+		kvm_arm_resume_guest(vcpu->kvm);
 	} else {
 		ctlr = atomic_cmpxchg_acquire(&vgic_cpu->ctlr, 0,
 					      GICR_CTLR_ENABLE_LPIS);
arch/arm64/mm/mmap.c +3 -1
index 32e0771d6477..e212270d4e09 100644
@@ -61,7 +61,9 @@ int valid_phys_addr_range(phys_addr_t addr, size_t size)
  */
 int valid_mmap_phys_addr_range(unsigned long pfn, size_t size)
 {
-	return !(((pfn << PAGE_SHIFT) + size) & ~PHYS_MASK);
+	const phys_addr_t limit = PHYS_MASK + 1;
+
+	return size <= limit && pfn <= (limit - size) >> PAGE_SHIFT;
 }
 
 static int __init adjust_protection_map(void)
arch/arm64/mm/proc.S +8 -0
index 12aacc74f764..b1516630904d 100644
@@ -113,6 +113,10 @@ SYM_FUNC_START(cpu_do_suspend)
 alternative_if ARM64_HAS_TCR2
 	mrs	x2, REG_TCR2_EL1
 	str	x2, [x0, #104]
+alternative_else_nop_endif
+alternative_if ARM64_SME
+	mrs_s	x2, SYS_TPIDR2_EL0
+	str	x2, [x0, #112]
 alternative_else_nop_endif
 	ret
 SYM_FUNC_END(cpu_do_suspend)
@@ -152,6 +156,10 @@ alternative_if ARM64_HAS_TCR2
 	ldr	x2, [x0, #104]
 	msr	REG_TCR2_EL1, x2
 alternative_else_nop_endif
+alternative_if ARM64_SME
+	ldr	x2, [x0, #112]
+	msr_s	SYS_TPIDR2_EL0, x2
+alternative_else_nop_endif
 
 	msr	sctlr_el1, x12
 	set_this_cpu_offset x13
arch/mips/mm/cex-gen.S +16 -0
index e528583d1331..6989fe274aab 100644
@@ -8,6 +8,7 @@
  *
  * Cache error handler
  */
+#include <asm/addrspace.h>
 #include <asm/asm.h>
 #include <asm/regdef.h>
 #include <asm/mipsregs.h>
@@ -37,6 +38,21 @@
 	nop
 	nop
 
+#if defined(CONFIG_64BIT) && VMLINUX_LOAD_ADDRESS >= XKPHYS && \
+    VMLINUX_LOAD_ADDRESS < XKSEG
+	/*
+	 * An XKPHYS kernel may lie outside the 256MB region a j from the
+	 * vector reaches, so jump to the handler's uncached XKPHYS address.
+	 */
+	PTR_LA	k0, cache_parity_error
+	PTR_LI	k1, TO_PHYS_MASK
+	and	k0, k0, k1
+	PTR_LI	k1, UNCAC_BASE
+	or	k0, k0, k1
+	jr	k0
+	nop
+#else
 	j	cache_parity_error
 	nop
+#endif
 	END(except_vec2_generic)
arch/mips/pci/ops-mace.c +19 -7
index 951d8070fb48..8827e5f2ea46 100644
@@ -35,15 +35,27 @@ static inline int mkaddr(struct pci_bus *bus, unsigned int devfn,
 		(reg & 0xfc);
 }
 
+/*
+ * On CRIME 1.1, a MACE PCI register read followed by two register writes
+ * can hang the machine under DMA load, so every register write in this
+ * file is followed by a read.  Config cycles to empty slots end in a
+ * master abort; ack it with interrupts still off so the bridge error
+ * interrupt does not report it.
+ */
+static void mace_pci_ack_abort(void)
+{
+	u32 error = mace->pci.error;
+
+	if (error & MACEPCI_ERROR_MASTER_ABORT) {
+		mace->pci.error = error & ~MACEPCI_ERROR_MASTER_ABORT;
+		mace->pci.error;
+	}
+}
 
 static int
 mace_pci_read_config(struct pci_bus *bus, unsigned int devfn,
 		     int reg, int size, u32 *val)
 {
-	u32 control = mace->pci.control;
-
-	/* disable master aborts interrupts during config read */
-	mace->pci.control = control & ~MACEPCI_CONTROL_MAR_INT;
 	mace->pci.config_addr = mkaddr(bus, devfn, reg);
 	switch (size) {
 	case 1:
@@ -56,9 +68,7 @@ mace_pci_read_config(struct pci_bus *bus, unsigned int devfn,
 		*val = mace->pci.config_data.l;
 		break;
 	}
-	/* ack possible master abort */
-	mace->pci.error &= ~MACEPCI_ERROR_MASTER_ABORT;
-	mace->pci.control = control;
+	mace_pci_ack_abort();
 	/*
 	 * someone forgot to set the ultra bit for the onboard
 	 * scsi chips; we fake it here
@@ -77,6 +87,7 @@ mace_pci_write_config(struct pci_bus *bus, unsigned int devfn,
 		      int reg, int size, u32 val)
 {
 	mace->pci.config_addr = mkaddr(bus, devfn, reg);
+	mace->pci.error;
 	switch (size) {
 	case 1:
 		mace->pci.config_data.b[(reg & 3) ^ 3] = val;
@@ -88,6 +99,7 @@ mace_pci_write_config(struct pci_bus *bus, unsigned int devfn,
 		mace->pci.config_data.l = val;
 		break;
 	}
+	mace_pci_ack_abort();
 
 	DPRINTK("write%d: reg=%08x,val=%02x\n", size * 8, reg, val);
 
arch/mips/pci/pci-ip32.c +7 -2
index 7ae89d0c7099..41ec8453c865 100644
@@ -77,6 +77,8 @@ static irqreturn_t macepci_error(int irq, void *dev)
 	}
 
 	mace->pci.error = flags;
+	/* follow the write with a read, see mace_pci_ack_abort() */
+	mace->pci.error;
 
 	return IRQ_HANDLED;
 }
@@ -125,10 +127,13 @@ static int __init mace_init(void)
 {
 	PCIBIOS_MIN_IO = 0x1000;
 
-	/* Clear any outstanding errors and enable interrupts */
+	/*
+	 * Clear any outstanding errors and enable interrupts.  PCI interrupts
+	 * are masked in CRIME, so the per-slot enables stay on.
+	 */
 	mace->pci.error_addr = 0;
 	mace->pci.error = 0;
-	mace->pci.control = 0xff008500;
+	mace->pci.control = 0xff0085ff;
 
 	printk("MACE PCI rev %d\n", mace->pci.rev);
 
arch/mips/sgi-ip32/ip32-irq.c +3 -42

69 lines not on this page · raw message

arch/openrisc/kernel/or32_ksyms.c +1 -0
index 84a937a64e2a..5aabef30ca09 100644
@@ -35,6 +35,7 @@ DECLARE_EXPORT(__divsi3);
 DECLARE_EXPORT(__umodsi3);
 DECLARE_EXPORT(__modsi3);
 DECLARE_EXPORT(__muldi3);
+DECLARE_EXPORT(__mulsi3);
 DECLARE_EXPORT(__ashrdi3);
 DECLARE_EXPORT(__ashldi3);
 DECLARE_EXPORT(__lshrdi3);
arch/x86/boot/startup/sme.c +1 -1
index c07a2c381ed1..2d5cb3f7eee6 100644
@@ -99,7 +99,7 @@ static void __init sme_clear_pgd(struct sme_populate_pgd_data *ppd)
 	pgd_t *pgd_p;
 
 	pgd_start = ppd->vaddr & PGDIR_MASK;
-	pgd_end = ppd->vaddr_end & PGDIR_MASK;
+	pgd_end = (ppd->vaddr_end - 1) & PGDIR_MASK;
 
 	pgd_size = (((pgd_end - pgd_start) / PGDIR_SIZE) + 1) * sizeof(pgd_t);
 
arch/x86/entry/syscall_32.c +4 -0
index 91123a90710c..4c36e8db0e34 100644
@@ -77,6 +77,10 @@ static __always_inline void do_syscall_32_irqs_on(struct pt_regs *regs, unsigned
 	if (likely(nr < IA32_NR_syscalls)) {
 		nr = array_index_nospec(nr, IA32_NR_syscalls);
 		regs->ax = ia32_sys_call(regs, (unsigned int)nr);
+	} else {
+		/* See comment in do_syscall_64() */
+		if (nr != -1UL)
+			regs->ax = -ENOSYS;
 	}
 }
 
arch/x86/entry/syscall_64.c +22 -4
index 966d3d1b7586..bb95ad0ab786 100644
@@ -64,15 +64,20 @@ static __always_inline bool do_syscall_x64(struct pt_regs *regs, unsigned long n
 	return false;
 }
 
-static __always_inline void do_syscall_x32(struct pt_regs *regs, unsigned long nr)
+static __always_inline bool do_syscall_x32(struct pt_regs *regs, unsigned long nr)
 {
+	if (!IS_ENABLED(CONFIG_X86_X32_ABI))
+		return false;
+
 	/* Adjust the starting offset of the table */
 	nr -= __X32_SYSCALL_BIT;
 
-	if (IS_ENABLED(CONFIG_X86_X32_ABI) && likely(nr < X32_NR_syscalls)) {
+	if (likely(nr < X32_NR_syscalls)) {
 		nr = array_index_nospec(nr, X32_NR_syscalls);
 		regs->ax = x32_sys_call(regs, (unsigned int)nr);
+		return true;
 	}
+	return false;
 }
 
 /* Returns true to return using SYSRET, or false to use IRET */
@@ -81,8 +86,21 @@ __visible noinstr bool do_syscall_64(struct pt_regs *regs, long nr)
 	if (likely(syscall_enter_from_user_mode_randomize_stack(regs, &nr))) {
 		instrumentation_begin();
 
-		if (!do_syscall_x64(regs, nr))
-			do_syscall_x32(regs, nr);
+		if (unlikely(!do_syscall_x64(regs, nr))) {
+			/*
+			 * The special treatment of syscall number -1 is a
+			 * historical bogosity as the original code used -1 to
+			 * indicate syscall abort, which is not distinguishable
+			 * from a syscall which is invoked with syscall number
+			 * -1. The historic behavior is to keep the return value
+			 * in regs->ax unmodified in that case, which means it's
+			 * either the preset value -ENOSYS or a value which was
+			 * written by a tracer. If the syscall number is invalid
+			 * but not -1 then overwrite any tracer modification.
+			 */
+			if (!do_syscall_x32(regs, nr) && nr != -1L)
+				regs->ax = -ENOSYS;
+		}
 
 		instrumentation_end();
 	}
arch/x86/include/asm/checksum_32.h +1 -1
index 17da95387997..f74873a5e351 100644
@@ -159,7 +159,7 @@ static inline __sum16 csum_ipv6_magic(const struct in6_addr *saddr,
 	    "adcl $0, %0	;\n"
 	    : "=&r" (sum)
 	    : "r" (saddr), "r" (daddr),
-	      "r" (htonl(len)), "r" (htonl(proto)), "0" (sum)
+	      "g" (htonl(len)), "g" (htonl(proto)), "0" (sum)
 	    : "memory");
 
 	return csum_fold(sum);
arch/x86/include/asm/vmware.h +14 -10
index 4220dae14a2d..fb011cef01e7 100644
@@ -276,20 +276,22 @@ unsigned long vmware_hypercall_hb_out(unsigned long cmd, unsigned long in2,
 
 	asm_inline volatile (
 		UNWIND_HINT_SAVE
+		"mov %[in6], %%" _ASM_AX "\n\t"
 		"push %%" _ASM_BP "\n\t"
 		UNWIND_HINT_UNDEFINED
-		"mov %[in6], %%" _ASM_BP "\n\t"
+		"mov %%" _ASM_AX ", %%" _ASM_BP "\n\t"
+		"mov %[magic], %%eax\n\t"
 		"rep outsb\n\t"
 		"pop %%" _ASM_BP "\n\t"
 		UNWIND_HINT_RESTORE
-		: "=a" (out0), "=b" (*out1)
-		: "a" (VMWARE_HYPERVISOR_MAGIC),
-		  "b" (cmd),
+		: "=&a" (out0), "=b" (*out1)
+		: "b" (cmd),
 		  "c" (in2),
 		  "d" (in3 | VMWARE_HYPERVISOR_PORT_HB),
 		  "S" (in4),
 		  "D" (in5),
-		  [in6] VMW_BP_CONSTRAINT (in6)
+		  [in6] VMW_BP_CONSTRAINT(in6),
+		  [magic] "i" (VMWARE_HYPERVISOR_MAGIC)
 		: "cc", "memory");
 	return out0;
 }
@@ -304,20 +306,22 @@ unsigned long vmware_hypercall_hb_in(unsigned long cmd, unsigned long in2,
 
 	asm_inline volatile (
 		UNWIND_HINT_SAVE
+		"mov %[in6], %%" _ASM_AX "\n\t"
 		"push %%" _ASM_BP "\n\t"
 		UNWIND_HINT_UNDEFINED
-		"mov %[in6], %%" _ASM_BP "\n\t"
+		"mov %%" _ASM_AX ", %%" _ASM_BP "\n\t"
+		"mov %[magic], %%eax\n\t"
 		"rep insb\n\t"
 		"pop %%" _ASM_BP "\n\t"
 		UNWIND_HINT_RESTORE
-		: "=a" (out0), "=b" (*out1)
-		: "a" (VMWARE_HYPERVISOR_MAGIC),
-		  "b" (cmd),
+		: "=&a" (out0), "=b" (*out1)
+		: "b" (cmd),
 		  "c" (in2),
 		  "d" (in3 | VMWARE_HYPERVISOR_PORT_HB),
 		  "S" (in4),
 		  "D" (in5),
-		  [in6] VMW_BP_CONSTRAINT (in6)
+		  [in6] VMW_BP_CONSTRAINT(in6),
+		  [magic] "i" (VMWARE_HYPERVISOR_MAGIC)
 		: "cc", "memory");
 	return out0;
 }
arch/x86/kernel/acpi/cppc.c +15 -0
index bbade0da5130..174b734e8261 100644
@@ -6,6 +6,8 @@
 
 #include <linux/bitfield.h>
 
+#include <linux/limits.h>
+
 #include <acpi/cppc_acpi.h>
 #include <asm/msr.h>
 #include <asm/processor.h>
@@ -45,10 +47,20 @@ bool cpc_ffh_supported(void)
 	return true;
 }
 
+static bool cpc_ffh_reg_valid(const struct cpc_reg *reg)
+{
+	return reg->address <= U32_MAX && reg->bit_width &&
+	       reg->bit_width <= 64 &&
+	       reg->bit_offset <= 64 - reg->bit_width;
+}
+
 int cpc_read_ffh(int cpunum, struct cpc_reg *reg, u64 *val)
 {
 	int err;
 
+	if (!cpc_ffh_reg_valid(reg))
+		return -EINVAL;
+
 	err = rdmsrq_safe_on_cpu(cpunum, reg->address, val);
 	if (!err) {
 		u64 mask = GENMASK_ULL(reg->bit_offset + reg->bit_width - 1,
@@ -65,6 +77,9 @@ int cpc_write_ffh(int cpunum, struct cpc_reg *reg, u64 val)
 	u64 rd_val;
 	int err;
 
+	if (!cpc_ffh_reg_valid(reg))
+		return -EINVAL;
+
 	err = rdmsrq_safe_on_cpu(cpunum, reg->address, &rd_val);
 	if (!err) {
 		u64 mask = GENMASK_ULL(reg->bit_offset + reg->bit_width - 1,
arch/x86/kernel/cpu/bugs.c +5 -7
index 000ebee2d247..4ced10c6ba0d 100644
@@ -2088,14 +2088,12 @@ static void __init bhi_select_mitigation(void)
 	if (bhi_mitigation != BHI_MITIGATION_AUTO)
 		return;
 
-	if (cpu_attack_vector_mitigated(CPU_MITIGATE_GUEST_HOST)) {
-		if (cpu_attack_vector_mitigated(CPU_MITIGATE_USER_KERNEL))
-			bhi_mitigation = BHI_MITIGATION_ON;
-		else
-			bhi_mitigation = BHI_MITIGATION_VMEXIT_ONLY;
-	} else {
+	if (cpu_attack_vector_mitigated(CPU_MITIGATE_USER_KERNEL))
+		bhi_mitigation = BHI_MITIGATION_ON;
+	else if (cpu_attack_vector_mitigated(CPU_MITIGATE_GUEST_HOST))
+		bhi_mitigation = BHI_MITIGATION_VMEXIT_ONLY;
+	else
 		bhi_mitigation = BHI_MITIGATION_OFF;
-	}
 }
 
 static void __init bhi_update_mitigation(void)
arch/x86/kernel/cpu/resctrl/internal.h +2 -2
index e3cfa0c10e92..ffd74a68671b 100644
@@ -214,8 +214,8 @@ union l3_qos_abmc_cfg {
 			      bw_src   :12,
 			      reserved1: 3,
 			      is_clos  : 1,
-			      cntr_id  : 5,
-			      reserved : 9,
+			      cntr_id  :12,
+			      reserved : 2,
 			      cntr_en  : 1,
 			      cfg_en   : 1;
 	} split;
arch/x86/kernel/cpu/resctrl/monitor.c +2 -2
index 3838e0a13d36..a6a9090c4808 100644
@@ -470,8 +470,8 @@ int __init rdt_get_l3_mon_config(struct rdt_resource *r)
 		r->mon.mbm_cntr_assignable = true;
 		r->mon.mbm_cntr_configurable = true;
 		cpuid_count(0x80000020, 5, &eax, &ebx, &ecx, &edx);
-		r->mon.num_mbm_cntrs = (ebx & GENMASK(15, 0)) + 1;
-		hw_res->mbm_cntr_assign_enabled = true;
+		/* cntr_id is 12 bits and can only encode 4096 counters. */
+		r->mon.num_mbm_cntrs = min((ebx & GENMASK(15, 0)) + 1, BIT(12));
 	}
 
 	r->mon_capable = true;
arch/x86/kernel/nmi.c +8 -0
index 3c9f60d6ca5a..cb46da482c85 100644
@@ -115,6 +115,14 @@ static void nmi_check_duration(struct nmiaction *action, u64 duration)
 {
 	int remainder_ns, decimal_msecs;
 
+	/* sched_clock() went backwards? */
+	if ((s64)duration < 0) {
+		pr_warn_once("NMI handler (%ps): sched_clock() went backwards by %lld ns on CPU%d\n",
+			     action->handler, -(s64)duration,
+			     smp_processor_id());
+		return;
+	}
+
 	if (duration < nmi_longest_ns || duration < action->max_duration)
 		return;
 
arch/x86/kernel/x86_init.c +1 -1
index 252c5827d063..3b9b41820c84 100644
@@ -37,7 +37,7 @@ static void iommu_shutdown_noop(void) { }
 bool __init bool_x86_init_noop(void) { return false; }
 void x86_op_int_noop(int cpu) { }
 int set_rtc_noop(const struct timespec64 *now) { return -EINVAL; }
-void get_rtc_noop(struct timespec64 *now) { }
+void get_rtc_noop(struct timespec64 *now) { *now = (struct timespec64){0}; }
 
 static __initconst const struct of_device_id of_cmos_match[] = {
 	{ .compatible = "motorola,mc146818" },
arch/x86/kvm/mmu/mmu.c +10 -0
index e56497089b59..2c2ff20f8ad0 100644
@@ -2310,6 +2310,16 @@ static struct kvm_mmu_page *kvm_mmu_find_shadow_page(struct kvm *kvm,
 			continue;
 		}
 
+		/*
+		 * Note!  Unlike fully direct MMUs, direct SPs in indirect MMUs
+		 * can have an arbitrary number of parents, e.g if the guest is
+		 * mapping a huge PTE at many points in its page tables.
+		 */
+		if (pte_list_count(&sp->parent_ptes) >= RMAP_RECYCLE_THRESHOLD) {
+			kvm_mmu_prepare_zap_page(kvm, sp, &invalid_list);
+			break;
+		}
+
 		/* unsync and write-flooding only apply to indirect SPs. */
 		if (sp->role.direct)
 			goto out;
arch/x86/kvm/mmu/paging_tmpl.h +10 -1
index 6e0153f23136..7454dac59b3a 100644
@@ -339,6 +339,13 @@ static int FNAME(walk_addr_generic)(struct guest_walker *walker,
 	gpa_t real_gpa;
 	gfn_t gfn;
 
+	/*
+	 * KVM might sleep/resched when retrying the walk if the updating A/D
+	 * fails because the gPTE changed between reading the gPTE and trying
+	 * the CMPXHG to set A/D bits.
+	 */
+	might_sleep();
+
 	trace_kvm_mmu_pagetable_walk(addr, access);
 retry_walk:
 	walker->level = w->cpu_role.base.level;
@@ -479,8 +486,10 @@ static int FNAME(walk_addr_generic)(struct guest_walker *walker,
 							addr, write_fault);
 		if (unlikely(ret < 0))
 			goto error;
-		else if (ret)
+		else if (ret) {
+			cond_resched();
 			goto retry_walk;
+		}
 	}
 
 	return 1;
arch/x86/kvm/vmx/nested.c +1 -0
index 5165275128fc..a1450c55e946 100644
@@ -5059,6 +5059,7 @@ static void nested_vmx_restore_host_state(struct kvm_vcpu *vcpu)
 					__func__, j, h.index, h.value);
 				goto vmabort;
 			}
+			break;
 		}
 	}
 
arch/x86/kvm/x86.c +19 -12
index c76498d1a162..56a19a7260d3 100644
@@ -6515,10 +6515,12 @@ int x86_emulate_instruction(struct kvm_vcpu *vcpu, gpa_t cr2_or_gpa,
 	} else if (vcpu->arch.complete_userspace_io) {
 		writeback = false;
 		r = 0;
-	} else if (r == EMULATION_RESTART)
+	} else if (r == EMULATION_RESTART) {
+		cond_resched();
 		goto restart;
-	else
+	} else {
 		r = 1;
+	}
 
 writeback:
 	if (writeback) {
@@ -9661,18 +9663,23 @@ void kvm_vcpu_reset(struct kvm_vcpu *vcpu, bool init_event)
 	kvm_x86_call(set_efer)(vcpu, 0);
 	kvm_x86_call(update_exception_bitmap)(vcpu);
 
+	if (old_cr0 & X86_CR0_PG)
+		kvm_make_request(KVM_REQ_TLB_FLUSH_GUEST, vcpu);
+
 	/*
-	 * On the standard CR0/CR4/EFER modification paths, there are several
-	 * complex conditions determining whether the MMU has to be reset and/or
-	 * which PCIDs have to be flushed.  However, CR0.WP and the paging-related
-	 * bits in CR4 and EFER are irrelevant if CR0.PG was '0'; and a reset+flush
-	 * is needed anyway if CR0.PG was '1' (which can only happen for INIT, as
-	 * CR0 will be '0' prior to RESET).  So we only need to check CR0.PG here.
+	 * Unconditionally reset the MMU, even though super strictly speaking,
+	 * a MMU reset is only necessary if and only one of the page role bits
+	 * is changing.  All of the CR0/CR4/EFER bits effectively get covered
+	 * by checking CR0.PG=1, as CR0.WP and the paging-related bits in CR4
+	 * and EFER are irrelevant if CR0.PG was '0'.  Subtly, if the vCPU was
+	 * in guest mode (L2) or SMM (although emulating INIT in SMM _should_
+	 * be impossible), an MMU reset is also necessary as "guest mode" and
+	 * "smm" are both encoded in the shadow page role.  As a result, the
+	 * only scenarios where an MMU reset is *not* needed is if the vCPU is
+	 * in Real Mode or Unpaged Protected Mode, and micro-optimizing those
+	 * paths are not worth the risk of running with a stale MMU context.
 	 */
-	if (old_cr0 & X86_CR0_PG) {
-		kvm_make_request(KVM_REQ_TLB_FLUSH_GUEST, vcpu);
-		kvm_mmu_reset_context(vcpu);
-	}
+	kvm_mmu_reset_context(vcpu);
 
 	/*
 	 * Intel's SDM states that all TLB entries are flushed on INIT.  AMD's
arch/x86/mm/tlb.c +11 -5
index 0c4da320831c..53dcab39566f 100644
@@ -320,13 +320,19 @@ static u16 allocate_global_asid(void)
 
 	lockdep_assert_held(&global_asid_lock);
 
-	/* The previous allocation hit the edge of available address space */
-	if (last_global_asid >= MAX_ASID_AVAILABLE - 1)
-		reset_global_asid_space();
-
 	asid = find_next_zero_bit(global_asid_used, MAX_ASID_AVAILABLE, last_global_asid);
 
-	if (asid >= MAX_ASID_AVAILABLE && !global_asid_available) {
+	/*
+	 * Nothing is free between last_global_asid and MAX_ASID_AVAILABLE.
+	 * Flush lazy-freed ASIDs and reset the search space.
+	 */
+	if (asid >= MAX_ASID_AVAILABLE) {
+		reset_global_asid_space();
+		asid = find_next_zero_bit(global_asid_used, MAX_ASID_AVAILABLE,
+					  last_global_asid);
+	}
+
+	if (asid >= MAX_ASID_AVAILABLE) {
 		/* This should never happen. */
 		VM_WARN_ONCE(1, "Unable to allocate global ASID despite %d available\n",
 				global_asid_available);
block/bio.c +3 -0
index f95b63c0604a..90104e6abbcf 100644
@@ -1285,6 +1285,7 @@ int bio_iov_iter_get_pages(struct bio *bio, struct iov_iter *iter,
 			   unsigned mem_align_mask, unsigned len_align_mask)
 {
 	iov_iter_extraction_t flags = 0;
+	struct iov_iter saved_iter;
 
 	if (WARN_ON_ONCE(bio_flagged(bio, BIO_CLONED)))
 		return -EIO;
@@ -1303,6 +1304,7 @@ int bio_iov_iter_get_pages(struct bio *bio, struct iov_iter *iter,
 	if (bio->bi_bdev && blk_queue_pci_p2pdma(bio->bi_bdev->bd_disk->queue))
 		flags |= ITER_ALLOW_P2PDMA;
 
+	saved_iter = *iter;
 	do {
 		ssize_t ret;
 
@@ -1320,6 +1322,7 @@ int bio_iov_iter_get_pages(struct bio *bio, struct iov_iter *iter,
 				bio_release_pages(bio, false);
 				bio_clear_flag(bio, BIO_PAGE_PINNED);
 				bio->bi_vcnt = 0;
+				*iter = saved_iter;
 			}
 			if (!bio->bi_vcnt)
 				return ret;
block/blk-iocost.c +3 -0
index 7b8af094ab37..23445d701433 100644
@@ -2851,6 +2851,9 @@ static void ioc_rqos_done(struct rq_qos *rqos, struct request *rq)
 	if (!ioc->enabled || !rq->alloc_time_ns || !rq->start_time_ns)
 		return;
 
+	if (unlikely(rq->rq_flags & RQF_FLUSH_SEQ))
+		return;
+
 	switch (req_op(rq)) {
 	case REQ_OP_READ:
 		pidx = QOS_RLAT;
block/blk-mq.c +7 -6
index 5a5dc66fc3b1..e21d69767fd4 100644
@@ -3193,16 +3193,15 @@ void blk_mq_submit_bio(struct bio *bio)
 
 	blk_mq_bio_to_request(rq, bio, nr_segs);
 
+	if (bio_zone_write_plugging(bio))
+		blk_zone_write_plug_init_request(rq);
+
 	ret = blk_crypto_rq_get_keyslot(rq);
 	if (ret != BLK_STS_OK) {
-		bio_endio_status(bio, ret);
-		blk_mq_free_request(rq);
+		blk_mq_end_request(rq, ret);
 		return;
 	}
 
-	if (bio_zone_write_plugging(bio))
-		blk_zone_write_plug_init_request(rq);
-
 	if (op_is_flush(bio->bi_opf) && blk_insert_flush(rq))
 		return;
 
@@ -3485,8 +3484,10 @@ void blk_mq_free_rqs(struct blk_mq_tag_set *set, struct blk_mq_tags *tags,
 
 	if (blk_mq_is_shared_tags(set->flags))
 		drv_tags = set->shared_tags;
-	else
+	else if (hctx_idx < set->nr_hw_queues)
 		drv_tags = set->tags[hctx_idx];
+	else
+		drv_tags = NULL;
 
 	if (tags->static_rqs && set->ops->exit_request) {
 		int i;
block/elevator.c +17 -13
index 2161b6eea680..66edf1a5768a 100644
@@ -812,25 +812,29 @@ ssize_t elv_iosched_store(struct gendisk *disk, const char *buf,
 	 * reference during concurrent disk deletion:
 	 *   update_nr_hwq_lock -> kn->active (via del_gendisk -> kobject_del)
 	 *   kn->active -> update_nr_hwq_lock (via this sysfs write path)
-	 *
-	 * Use the writer lock instead of the reader lock of update_nr_hwq_lock
-	 * to serialize the two-stage elevator switch steps in
-	 * elevator_change(): the core switch step under the elevator lock and
-	 * the elevator_change_done() step outside the elevator lock.
 	 */
-	if (!down_write_trylock(&set->update_nr_hwq_lock)) {
+	if (!down_read_trylock(&set->update_nr_hwq_lock)) {
 		ret = -EBUSY;
 		goto out;
 	}
-	if (!blk_queue_no_elv_switch(q)) {
-		ret = elevator_change(q, &ctx);
-		if (!ret)
-			ret = count;
-	} else {
-		ret = -ENOENT;
+
+	/*
+	 * The reader lock is shared, so use QUEUE_FLAG_NO_ELV_SWITCH to allow
+	 * only one switch of this queue at a time, and none once the disk is
+	 * going away.
+	 */
+	if (test_and_set_bit(QUEUE_FLAG_NO_ELV_SWITCH, &q->queue_flags)) {
+		ret = -EBUSY;
+		goto out_unlock;
 	}
-	up_write(&set->update_nr_hwq_lock);
 
+	ret = elevator_change(q, &ctx);
+	if (!ret)
+		ret = count;
+
+	blk_queue_flag_clear(QUEUE_FLAG_NO_ELV_SWITCH, q);
+out_unlock:
+	up_read(&set->update_nr_hwq_lock);
 out:
 	if (ctx.type)
 		elevator_put(ctx.type);
block/ioctl.c +2 -2
index 64b4e6c0f696..fb2f4b4d2505 100644
@@ -835,8 +835,8 @@ long compat_blkdev_ioctl(struct file *file, unsigned cmd, unsigned long arg)
 		return compat_put_ulong(argp, bdev_nr_sectors(bdev));
 
 	/* The data is compatible, but the command number is different */
-	case BLKBSZGET_32: /* get the logical block size (cf. BLKSSZGET) */
-		return put_int(argp, bdev_logical_block_size(bdev));
+	case BLKBSZGET_32: /* get the soft block size (cf. BLKSSZGET) */
+		return put_int(argp, block_size(bdev));
 	case BLKBSZSET_32:
 		return blkdev_bszset(file, mode, argp);
 	case BLKGETSIZE64_32:
drivers/acpi/battery.c +5 -7
index 670853ec3a4d..7169ac7e83f3 100644
@@ -583,9 +583,8 @@ static int acpi_battery_get_info(struct acpi_battery *battery)
 		struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL };
 		acpi_status status = AE_ERROR;
 
-		status = acpi_evaluate_object(battery->device->handle,
-					      use_bix ? "_BIX":"_BIF",
-					      NULL, &buffer);
+		status = acpi_evaluate_object_exclusive(battery->device->handle,
+							use_bix ? "_BIX" : "_BIF", NULL, &buffer);
 
 		if (ACPI_FAILURE(status)) {
 			acpi_handle_info(battery->device->handle,
@@ -624,8 +623,7 @@ static int acpi_battery_get_state(struct acpi_battery *battery)
 			msecs_to_jiffies(cache_time)))
 		return 0;
 
-	status = acpi_evaluate_object(battery->device->handle, "_BST",
-				      NULL, &buffer);
+	status = acpi_evaluate_object_exclusive(battery->device->handle, "_BST", NULL, &buffer);
 	if (ACPI_FAILURE(status)) {
 		acpi_handle_info(battery->device->handle,
 				 "_BST evaluation failed: %s",
@@ -675,8 +673,8 @@ static int acpi_battery_set_alarm(struct acpi_battery *battery)
 	    !test_bit(ACPI_BATTERY_ALARM_PRESENT, &battery->flags))
 		return -ENODEV;
 
-	status = acpi_execute_simple_method(battery->device->handle, "_BTP",
-					    battery->alarm);
+	status = acpi_execute_simple_method_exclusive(battery->device->handle, "_BTP",
+						      battery->alarm);
 	if (ACPI_FAILURE(status))
 		return -ENODEV;
 
drivers/acpi/cppc_acpi.c +55 -6

131 lines not on this page · raw message

drivers/acpi/utils.c +41 -0

65 lines not on this page · raw message

drivers/ata/libata-pmp.c +14 -0
index 904f418387d1..43991e54eb08 100644
@@ -482,6 +482,20 @@ static void sata_pmp_quirks(struct ata_port *ap)
 			if (link->pmp == 4)
 				link->flags |= ATA_LFLAG_DISABLED;
 		}
+	} else if (vendor == 0x1b4b && devid == 0x9705) {
+		/*
+		 * Marvell 88SM9705 quirks
+		 *
+		 * 1-to-5 PMP with an extra SEMB port.  It reports 6 ports and
+		 * port 5 is the SEMB, which never answers SRST: EH spends about
+		 * a minute per round retrying it, and disk discovery waits for
+		 * that.  Seen behind a Marvell 88SE9235 in the Synology DX1215
+		 * and DX1222.
+		 */
+		ata_for_each_link(link, ap, EDGE) {
+			if (link->pmp == 5)
+				link->flags |= ATA_LFLAG_DISABLED;
+		}
 	}
 }
 
drivers/ata/libata-scsi.c +25 -0
index b86ac50f16b9..023de0e633b7 100644
@@ -1984,6 +1984,18 @@ static int ata_scsi_translate(struct ata_device *dev, struct scsi_cmnd *cmd,
 	if (xlat_func(qc))
 		goto done;
 
+	/*
+	 * A data-out request may contain pages pinned without write access.
+	 * Reject a translated data-in command before issuing it, since its
+	 * completion handler may write to the buffer even if the device fails.
+	 */
+	if (unlikely(cmd->sc_data_direction == DMA_TO_DEVICE &&
+		     ata_is_data(qc->tf.protocol) &&
+		     !(qc->tf.flags & ATA_TFLAG_WRITE))) {
+		ata_scsi_set_sense(dev, cmd, ABORTED_COMMAND, 0x4b, 0x0a);
+		goto done;
+	}
+
 	return ata_scsi_qc_issue(ap, qc);
 
 done:
@@ -2015,6 +2027,12 @@ static void ata_scsi_rbuf_fill(struct ata_device *dev, struct scsi_cmnd *cmd,
 	unsigned long flags;
 	unsigned int len;
 
+	/* A data-out request may contain pages pinned without write access. */
+	if (cmd->sc_data_direction == DMA_TO_DEVICE) {
+		ata_scsi_set_sense(dev, cmd, ABORTED_COMMAND, 0x4b, 0x0a);
+		return;
+	}
+
 	spin_lock_irqsave(&ata_scsi_rbuf_lock, flags);
 
 	memset(ata_scsi_rbuf, 0, ATA_SCSI_RBUF_SIZE);
@@ -3108,6 +3126,13 @@ static unsigned int atapi_xlat(struct ata_queued_cmd *qc)
 
 	qc->complete_fn = atapi_qc_complete;
 
+	/* atapi_fixup_inquiry() writes to the buffer on successful completion. */
+	if (scmd->sc_data_direction == DMA_TO_DEVICE &&
+	    scmd->cmnd[0] == INQUIRY) {
+		ata_scsi_set_sense(dev, scmd, ABORTED_COMMAND, 0x4b, 0x0a);
+		return 1;
+	}
+
 	qc->tf.flags |= ATA_TFLAG_ISADDR | ATA_TFLAG_DEVICE;
 	if (scmd->sc_data_direction == DMA_TO_DEVICE) {
 		qc->tf.flags |= ATA_TFLAG_WRITE;
drivers/block/ublk_drv.c +1 -0
index 1ef01ce18f4f..959e6594013a 100644
@@ -5833,6 +5833,7 @@ static int ublk_ctrl_uring_cmd_permission(struct ublk_device *ub,
 	case UBLK_CMD_STOP_DEV:
 	case UBLK_CMD_ADD_DEV:
 	case UBLK_CMD_DEL_DEV:
+	case UBLK_CMD_DEL_DEV_ASYNC:
 	case UBLK_CMD_SET_PARAMS:
 	case UBLK_CMD_START_USER_RECOVERY:
 	case UBLK_CMD_END_USER_RECOVERY:
drivers/block/virtio_blk.c +1 -1
index c8bfbf8435ac..10ba8b0b863b 100644
@@ -1596,7 +1596,7 @@ static int virtblk_freeze_priv(struct virtio_device *vdev)
 
 	/* Ensure no requests in virtqueues before deleting vqs. */
 	memflags = blk_mq_freeze_queue(q);
-	blk_mq_quiesce_queue_nowait(q);
+	blk_mq_quiesce_queue(q);
 	blk_mq_unfreeze_queue(q, memflags);
 
 	/* Ensure we don't receive any more interrupts */
drivers/bluetooth/btqca.c +2 -1
index 22b08ab05b82..002307000d3c 100644
@@ -426,7 +426,8 @@ static int qca_tlv_check_data(struct hci_dev *hdev,
 				tlv_nvm->data[0] |= 0x80;
 
 				/* UART Baud Rate */
-				if (soc_type >= QCA_WCN3991)
+				if (soc_type == QCA_WCN3950 ||
+				    soc_type >= QCA_WCN3991)
 					tlv_nvm->data[1] = nvm_baud_rate;
 				else
 					tlv_nvm->data[2] = nvm_baud_rate;
drivers/char/hw_random/virtio-rng.c +7 -0
index 5e83ffa105e4..a9ff520975a7 100644
@@ -190,6 +190,7 @@ static int probe_common(struct virtio_device *vdev)
 err_find:
 	ida_free(&rng_index_ida, index);
 err_ida:
+	vdev->priv = NULL;
 	kfree(vi);
 	return err;
 }
@@ -198,6 +199,11 @@ static void remove_common(struct virtio_device *vdev)
 {
 	struct virtrng_info *vi = vdev->priv;
 
+	if (!vi) {
+		virtio_reset_device(vdev);
+		return;
+	}
+
 	vi->hwrng_removed = true;
 	vi->data_avail = 0;
 	vi->data_idx = 0;
@@ -207,6 +213,7 @@ static void remove_common(struct virtio_device *vdev)
 	virtio_reset_device(vdev);
 	vdev->config->del_vqs(vdev);
 	ida_free(&rng_index_ida, vi->index);
+	vdev->priv = NULL;
 	kfree(vi);
 }
 
drivers/clk/nuvoton/clk-ma35d1.c +5 -2
index 9f65d0623517..c914079cee2d 100644
@@ -17,6 +17,7 @@
 static DEFINE_SPINLOCK(ma35d1_lock);
 
 #define PLL_MAX_NUM		5
+#define	MA35D1_CLK_COUNT	238
 
 /* Clock Control Registers Offset */
 #define REG_CLK_PWRCTL		0x00
@@ -467,12 +468,12 @@ static int ma35d1_clocks_probe(struct platform_device *pdev)
 	int ret;
 
 	ma35d1_hw_data = devm_kzalloc(dev,
-				      struct_size(ma35d1_hw_data, hws, CLK_MAX_IDX),
+				      struct_size(ma35d1_hw_data, hws, MA35D1_CLK_COUNT),
 				      GFP_KERNEL);
 	if (!ma35d1_hw_data)
 		return -ENOMEM;
 
-	ma35d1_hw_data->num = CLK_MAX_IDX;
+	ma35d1_hw_data->num = MA35D1_CLK_COUNT;
 	hws = ma35d1_hw_data->hws;
 
 	clk_base = devm_platform_ioremap_resource(pdev, 0);
@@ -543,6 +544,8 @@ static int ma35d1_clocks_probe(struct platform_device *pdev)
 	hws[HCLK3] = ma35d1_clk_fixed_factor(dev, "hclk3", "sysclk1_mux", 1, 2);
 	hws[PCLK3] = ma35d1_clk_fixed_factor(dev, "pclk3", "sysclk1_mux", 1, 2);
 	hws[PCLK4] = ma35d1_clk_fixed_factor(dev, "pclk4", "sysclk1_mux", 1, 2);
+	hws[PCLK3_DIV4096] = ma35d1_clk_fixed_factor(dev, "pclk3_div4096", "pclk3", 1, 4096);
+	hws[PCLK4_DIV4096] = ma35d1_clk_fixed_factor(dev, "pclk4_div4096", "pclk4", 1, 4096);
 
 	hws[USBPHY0] = ma35d1_clk_fixed("usbphy0", 480000000);
 	hws[USBPHY1] = ma35d1_clk_fixed("usbphy1", 480000000);
drivers/cpufreq/amd-pstate.c +20 -5
index 6e00d200920a..28b9d4d062b9 100644
@@ -1796,7 +1796,7 @@ EXPORT_SYMBOL_FOR_PSTATE_UT(amd_pstate_get_status);
 
 int amd_pstate_update_status(const char *buf, size_t size)
 {
-	int mode_idx;
+	int cpu, mode_idx, ret = 0;
 
 	if (size > strlen("passive") || size < strlen("active"))
 		return -EINVAL;
@@ -1805,12 +1805,27 @@ int amd_pstate_update_status(const char *buf, size_t size)
 	if (mode_idx < 0)
 		return mode_idx;
 
-	if (mode_state_machine[cppc_state][mode_idx]) {
-		guard(mutex)(&amd_pstate_driver_lock);
-		return mode_state_machine[cppc_state][mode_idx](mode_idx);
+	guard(mutex)(&amd_pstate_driver_lock);
+
+	if (!mode_state_machine[cppc_state][mode_idx])
+		return 0;
+
+	if (mode_idx == AMD_PSTATE_PASSIVE &&
+	    !cpu_feature_enabled(X86_FEATURE_CPPC)) {
+		cpus_read_lock();
+		/* Check offline CPUs too, before changing or removing the driver. */
+		for_each_present_cpu(cpu) {
+			if (cppc_auto_sel_is_immutable(cpu)) {
+				ret = -EOPNOTSUPP;
+				break;
+			}
+		}
+		cpus_read_unlock();
+		if (ret)
+			return ret;
 	}
 
-	return 0;
+	return mode_state_machine[cppc_state][mode_idx](mode_idx);
 }
 EXPORT_SYMBOL_FOR_PSTATE_UT(amd_pstate_update_status);
 
drivers/cpufreq/cppc_cpufreq.c +18 -8
index 5f20c4a7ba2f..782b97acf5dc 100644
@@ -42,6 +42,7 @@ MODULE_PARM_DESC(fie_disabled, "Disable Frequency Invariance Engine (FIE)");
 /* Frequency invariance support */
 struct cppc_freq_invariance {
 	int cpu;
+	bool pcc_work_initialized;
 	struct irq_work irq_work;
 	struct kthread_work work;
 	struct cppc_perf_fb_ctrs prev_perf_fb_ctrs;
@@ -152,7 +153,7 @@ static struct scale_freq_data cppc_sftd_pcc = {
 
 static void cppc_cpufreq_cpu_fie_init(struct cpufreq_policy *policy)
 {
-	struct scale_freq_data *sftd = &cppc_sftd;
+	struct scale_freq_data *sftd;
 	struct cppc_freq_invariance *cppc_fi;
 	int cpu, ret;
 
@@ -169,7 +170,7 @@ static void cppc_cpufreq_cpu_fie_init(struct cpufreq_policy *policy)
 
 			kthread_init_work(&cppc_fi->work, cppc_scale_freq_workfn);
 			init_irq_work(&cppc_fi->irq_work, cppc_irq_work);
-			sftd = &cppc_sftd_pcc;
+			cppc_fi->pcc_work_initialized = true;
 		}
 
 		ret = cppc_get_perf_ctrs(cpu, &cppc_fi->prev_perf_fb_ctrs);
@@ -185,8 +186,15 @@ static void cppc_cpufreq_cpu_fie_init(struct cpufreq_policy *policy)
 		}
 	}
 
-	/* Register for freq-invariance */
-	topology_set_scale_freq_source(sftd, policy->cpus);
+	/* A shared policy may contain both PCC and non-PCC counters. */
+	for_each_cpu(cpu, policy->cpus) {
+		cppc_fi = &per_cpu(cppc_freq_inv, cpu);
+		if (cppc_fi->pcc_work_initialized)
+			sftd = &cppc_sftd_pcc;
+		else
+			sftd = &cppc_sftd;
+		topology_set_scale_freq_source(sftd, cpumask_of(cpu));
+	}
 }
 
 /*
@@ -209,11 +217,12 @@ static void cppc_cpufreq_cpu_fie_exit(struct cpufreq_policy *policy)
 	topology_clear_scale_freq_source(SCALE_FREQ_SOURCE_CPPC, policy->related_cpus);
 
 	for_each_cpu(cpu, policy->related_cpus) {
-		if (!cppc_perf_ctrs_in_pcc_cpu(cpu))
-			continue;
 		cppc_fi = &per_cpu(cppc_freq_inv, cpu);
+		if (!cppc_fi->pcc_work_initialized)
+			continue;
 		irq_work_sync(&cppc_fi->irq_work);
 		kthread_cancel_work_sync(&cppc_fi->work);
+		cppc_fi->pcc_work_initialized = false;
 	}
 }
 
@@ -890,6 +899,7 @@ static ssize_t store_auto_select(struct cpufreq_policy *policy,
 				 const char *buf, size_t count)
 {
 	struct cppc_cpudata *cpu_data = policy->driver_data;
+	bool old_auto_sel = cpu_data->perf_ctrls.auto_sel;
 	bool val;
 	int ret;
 
@@ -918,8 +928,8 @@ static ssize_t store_auto_select(struct cpufreq_policy *policy,
 		if (ret) {
 			cpu_data->perf_ctrls.min_perf = old_min_perf;
 			cpu_data->perf_ctrls.max_perf = old_max_perf;
-			cppc_set_auto_sel(policy->cpu, false);
-			cpu_data->perf_ctrls.auto_sel = false;
+			cppc_set_auto_sel(policy->cpu, old_auto_sel);
+			cpu_data->perf_ctrls.auto_sel = old_auto_sel;
 			return ret;
 		}
 	}
drivers/cxl/core/features.c +1 -1
index ba6d2a5acb74..754fe5eb4b76 100644
@@ -97,6 +97,7 @@ get_supported_features(struct cxl_features_state *cxlfs)
 		kvmalloc_flex(*entries, ent, count);
 	if (!entries)
 		return NULL;
+	entries->num_features = count;
 
 	struct cxl_mbox_get_sup_feats_out *mbox_out __free(kvfree) =
 		kvmalloc(cxl_mbox->payload_size, GFP_KERNEL);
@@ -174,7 +175,6 @@ get_supported_features(struct cxl_features_state *cxlfs)
 		start += num_entries;
 	} while (remain_feats);
 
-	entries->num_features = count;
 	entries->num_user_features = user_feats;
 
 	return no_free_ptr(entries);
drivers/dma-buf/dma-buf-mapping.c +1 -1
index 833be519e1e6..ef0f22854d01 100644
@@ -156,7 +156,7 @@ struct sg_table *dma_buf_phys_vec_to_sgt(struct dma_buf_attachment *attach,
 						       phys_vec[i].paddr);
 		} else if (dma_use_iova(dma->state)) {
 			ret = dma_iova_link(attach->dev, dma->state,
-					    phys_vec[i].paddr, 0,
+					    phys_vec[i].paddr, mapped_len,
 					    phys_vec[i].len, dir,
 					    DMA_ATTR_MMIO);
 			if (ret)
drivers/dma/qcom/bam_dma.c +6 -4
index 05a3b1f9e0c2..f67a93a37d48 100644
@@ -1332,8 +1332,8 @@ static int bam_dma_probe(struct platform_device *pdev)
 	for (i = 0; i < bdev->num_channels; i++)
 		bam_channel_init(bdev, &bdev->channels[i], i);
 
-	ret = devm_request_irq(bdev->dev, bdev->irq, bam_dma_irq,
-			IRQF_TRIGGER_HIGH, "bam_dma", bdev);
+	ret = request_irq(bdev->irq, bam_dma_irq, IRQF_TRIGGER_NONE,
+			  "bam_dma", bdev);
 	if (ret)
 		goto err_bam_channel_exit;
 
@@ -1366,7 +1366,7 @@ static int bam_dma_probe(struct platform_device *pdev)
 	ret = dma_async_device_register(&bdev->common);
 	if (ret) {
 		dev_err(bdev->dev, "failed to register dma async device\n");
-		goto err_bam_channel_exit;
+		goto err_free_irq;
 	}
 
 	ret = of_dma_controller_register(pdev->dev.of_node, bam_dma_xlate,
@@ -1385,6 +1385,8 @@ static int bam_dma_probe(struct platform_device *pdev)
 
 err_unregister_dma:
 	dma_async_device_unregister(&bdev->common);
+err_free_irq:
+	free_irq(bdev->irq, bdev);
 err_bam_channel_exit:
 	for (i = 0; i < bdev->num_channels; i++)
 		tasklet_kill(&bdev->channels[i].vc.task);
@@ -1410,7 +1412,7 @@ static void bam_dma_remove(struct platform_device *pdev)
 	/* mask all interrupts for this execution environment */
 	writel_relaxed(0, bam_addr(bdev, 0,  BAM_IRQ_SRCS_MSK_EE));
 
-	devm_free_irq(bdev->dev, bdev->irq, bdev);
+	free_irq(bdev->irq, bdev);
 
 	for (i = 0; i < bdev->num_channels; i++) {
 		bam_dma_terminate_all(&bdev->channels[i].vc.chan);
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c +5 -1
index 8b8acf98fdfe..53475f8a3ff1 100644
@@ -405,7 +405,11 @@ int amdgpu_atif_query_backlight_caps(struct amdgpu_atif *atif)
 			characteristics.max_input_signal;
 	atif->backlight_caps.ac_level = characteristics.ac_level;
 	atif->backlight_caps.dc_level = characteristics.dc_level;
-	atif->backlight_caps.data_points = characteristics.number_of_points;
+	if (characteristics.number_of_points > ATIF_QBTC_MAX_DATA_POINTS)
+		pr_warn(FW_BUG "ATIF: backlight curve has %u points, using the first %u\n",
+			characteristics.number_of_points, ATIF_QBTC_MAX_DATA_POINTS);
+	atif->backlight_caps.data_points = min_t(u8, characteristics.number_of_points,
+						 ATIF_QBTC_MAX_DATA_POINTS);
 	memcpy(atif->backlight_caps.luminance_data,
 	       characteristics.data_points,
 	       sizeof(atif->backlight_caps.luminance_data));
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h +2 -1
index f462b40220eb..8e0b3db5c15e 100644
@@ -345,7 +345,8 @@ int amdgpu_amdkfd_gpuvm_map_bo_to_kernel(struct kgd_mem *mem, void **kptr,
 					 u64 *size, u32 domain);
 void amdgpu_amdkfd_gpuvm_unmap_bo_from_kernel(struct kgd_mem *mem);
 
-int amdgpu_amdkfd_map_gtt_bo_to_gart(struct amdgpu_bo *bo, struct amdgpu_bo **bo_gart);
+int amdgpu_amdkfd_map_gtt_bo_to_gart(struct amdgpu_bo *bo, struct amdgpu_bo **bo_gart,
+				     struct amdkfd_process_info *process_info);
 
 int amdgpu_amdkfd_gpuvm_restore_process_bos(void *process_info,
 					    struct dma_fence __rcu **ef);
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c +12 -5
index c5c2a73ddd94..6c657d6060d6 100644
@@ -975,11 +975,11 @@ static int kfd_mem_attach(struct amdgpu_device *adev, struct kgd_mem *mem,
 			ret = amdgpu_vm_lock_pd(vm, &exec, 0);
 			drm_exec_retry_on_contention(&exec);
 			if (unlikely(ret))
-				goto unwind;
+				goto unlock;
 			ret = drm_exec_lock_obj(&exec, &bo[i]->tbo.base);
 			drm_exec_retry_on_contention(&exec);
 			if (unlikely(ret))
-				goto unwind;
+				goto unlock;
 		}
 
 		bo_va = amdgpu_vm_bo_find(vm, bo[i]);
@@ -1005,6 +1005,8 @@ static int kfd_mem_attach(struct amdgpu_device *adev, struct kgd_mem *mem,
 
 	return 0;
 
+unlock:
+	drm_exec_fini(&exec);
 unwind:
 	for (; i >= 0; i--) {
 		if (!attachment[i])
@@ -2261,11 +2263,13 @@ int amdgpu_amdkfd_gpuvm_sync_memory(
  * amdgpu_amdkfd_map_gtt_bo_to_gart - Map BO to GART and increment reference count
  * @bo: Buffer object to be mapped
  * @bo_gart: Return bo reference
+ * @process_info: KFD process info of the queue the BO is for
  *
  * Before return, bo reference count is incremented. To release the reference and unpin/
  * unmap the BO, call amdgpu_amdkfd_free_kernel_mem.
  */
-int amdgpu_amdkfd_map_gtt_bo_to_gart(struct amdgpu_bo *bo, struct amdgpu_bo **bo_gart)
+int amdgpu_amdkfd_map_gtt_bo_to_gart(struct amdgpu_bo *bo, struct amdgpu_bo **bo_gart,
+				     struct amdkfd_process_info *process_info)
 {
 	int ret;
 
@@ -2287,8 +2291,8 @@ int amdgpu_amdkfd_map_gtt_bo_to_gart(struct amdgpu_bo *bo, struct amdgpu_bo **bo
 		goto err_map_bo_gart_failed;
 	}
 
-	amdgpu_amdkfd_remove_eviction_fence(
-		bo, bo->vm_bo->vm->process_info->eviction_fence);
+	/* bo->vm_bo can be the VM of any file which opened the BO */
+	amdgpu_amdkfd_remove_eviction_fence(bo, process_info->eviction_fence);
 
 	amdgpu_bo_unreserve(bo);
 
@@ -2473,6 +2477,9 @@ static int import_obj_create(struct amdgpu_device *adev,
 
 err_remove_mem:
 	remove_kgd_mem_from_kfd_bo_list(*mem, avm->process_info);
+	amdgpu_sync_free(&(*mem)->sync);
+	mutex_destroy(&(*mem)->lock);
+	dma_buf_put(dma_buf);
 	drm_vma_node_revoke(&obj->vma_node, drm_priv);
 err_free_mem:
 	kfree(*mem);
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c +14 -7
index 86a3dc3655b3..a03a15cfca96 100644
@@ -149,7 +149,12 @@ static int amdgpu_cs_p1_user_fence(struct amdgpu_cs_parser *p,
 	if (size != PAGE_SIZE || data->offset > (size - 8))
 		return -EINVAL;
 
-	if (amdgpu_ttm_tt_get_usermm(p->uf_bo->tbo.ttm))
+	if (amdgpu_ttm_tt_is_userptr(p->uf_bo->tbo.ttm))
+		return -EINVAL;
+
+	/* The GPU writes the user fence through the GART */
+	if (p->uf_bo->preferred_domains != AMDGPU_GEM_DOMAIN_GTT &&
+	    p->uf_bo->allowed_domains != AMDGPU_GEM_DOMAIN_GTT)
 		return -EINVAL;
 
 	*offset = data->offset;
@@ -188,18 +193,22 @@ static int amdgpu_cs_pass1(struct amdgpu_cs_parser *p,
 	int ret;
 	int i;
 
+	if (cs->in.flags)
+		return -EINVAL;
+
 	chunk_array = memdup_array_user(u64_to_user_ptr(cs->in.chunks),
 					cs->in.num_chunks,
 					sizeof(uint64_t));
 	if (IS_ERR(chunk_array))
 		return PTR_ERR(chunk_array);
 
-	p->nchunks = cs->in.num_chunks;
-	p->chunks = kvmalloc_objs(struct amdgpu_cs_chunk, p->nchunks);
+	/* parser_fini() walks nchunks chunks, set it once they exist */
+	p->chunks = kvmalloc_objs(struct amdgpu_cs_chunk, cs->in.num_chunks);
 	if (!p->chunks) {
 		ret = -ENOMEM;
 		goto free_chunk;
 	}
+	p->nchunks = cs->in.num_chunks;
 
 	for (i = 0; i < p->nchunks; i++) {
 		struct drm_amdgpu_cs_chunk __user *chunk_ptr = NULL;
@@ -1071,7 +1080,7 @@ static int amdgpu_cs_patch_ibs(struct amdgpu_cs_parser *p,
 		if (r)
 			return r;
 
-		kptr += va_start - (m->start * AMDGPU_GPU_PAGE_SIZE);
+		kptr += va_start - (m->start * AMDGPU_GPU_PAGE_SIZE) + m->offset;
 
 		if (ring->funcs->parse_cs) {
 			memcpy(ib->ptr, kptr, ib->length_dw * 4);
@@ -1309,10 +1318,8 @@ static int amdgpu_cs_submit(struct amdgpu_cs_parser *p,
 		fence = &p->jobs[i]->base.s_fence->scheduled;
 		dma_fence_get(fence);
 		r = drm_sched_job_add_dependency(&leader->base, fence);
-		if (r) {
-			dma_fence_put(fence);
+		if (r)
 			return r;
-		}
 	}
 
 	if (p->gang_size > 1) {
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +22 -19

73 lines not on this page · raw message

drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c +40 -4

63 lines not on this page · raw message

drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c +5 -0
index 9adf3eed8822..ccadbcf38d3f 100644
@@ -547,6 +547,11 @@ amdgpu_dma_buf_move_notify(struct dma_buf_attachment *attach)
 				continue;
 		}
 
+		if (!amdgpu_vm_ready(vm)) {
+			dma_resv_unlock(resv);
+			continue;
+		}
+
 		/* Reserve fences for two SDMA page table updates */
 		r = dma_resv_reserve_fences(resv, 2);
 		if (!r)
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c +5 -2
index afd8502a2bc4..cd05921aede5 100644
@@ -1033,6 +1033,7 @@ int amdgpu_gem_va_ioctl(struct drm_device *dev, void *data,
 int amdgpu_gem_op_ioctl(struct drm_device *dev, void *data,
 			struct drm_file *filp)
 {
+	struct amdgpu_device *adev = drm_to_adev(dev);
 	struct drm_amdgpu_gem_op *args = data;
 	struct drm_gem_object *gobj;
 	struct amdgpu_vm_bo_base *base;
@@ -1139,7 +1140,8 @@ int amdgpu_gem_op_ioctl(struct drm_device *dev, void *data,
 
 		amdgpu_vm_bo_va_for_each_valid_mapping(bo_va, mapping) {
 			if (num_mappings < args->num_entries) {
-				vm_entries[num_mappings].addr = mapping->start * AMDGPU_GPU_PAGE_SIZE;
+				vm_entries[num_mappings].addr =
+					amdgpu_gmc_sign_extend(mapping->start * AMDGPU_GPU_PAGE_SIZE);
 				vm_entries[num_mappings].size = (mapping->last - mapping->start + 1) * AMDGPU_GPU_PAGE_SIZE;
 				vm_entries[num_mappings].offset = mapping->offset;
 				vm_entries[num_mappings].flags = mapping->flags;
@@ -1149,7 +1151,8 @@ int amdgpu_gem_op_ioctl(struct drm_device *dev, void *data,
 
 		amdgpu_vm_bo_va_for_each_invalid_mapping(bo_va, mapping) {
 			if (num_mappings < args->num_entries) {
-				vm_entries[num_mappings].addr = mapping->start * AMDGPU_GPU_PAGE_SIZE;
+				vm_entries[num_mappings].addr =
+					amdgpu_gmc_sign_extend(mapping->start * AMDGPU_GPU_PAGE_SIZE);
 				vm_entries[num_mappings].size = (mapping->last - mapping->start + 1) * AMDGPU_GPU_PAGE_SIZE;
 				vm_entries[num_mappings].offset = mapping->offset;
 				vm_entries[num_mappings].flags = mapping->flags;
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c +2 -1
index 35eb87591740..37cf1b808950 100644
@@ -1485,7 +1485,8 @@ int amdgpu_ras_reset_error_count(struct amdgpu_device *adev,
 		return -EOPNOTSUPP;
 	}
 
-	if (!amdgpu_ras_is_supported(adev, block))
+	if (!amdgpu_ras_is_supported(adev, block) ||
+	    !amdgpu_ras_mgr_get_debug_mode(adev))
 		return -EOPNOTSUPP;
 
 	if (amdgpu_sriov_vf(adev))
drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c +1 -3
index d6ae9974c952..4f31021b2152 100644
@@ -447,10 +447,8 @@ int amdgpu_sync_push_to_job(struct amdgpu_sync *sync, struct amdgpu_job *job)
 
 		dma_fence_get(f);
 		r = drm_sched_job_add_dependency(&job->base, f);
-		if (r) {
-			dma_fence_put(f);
+		if (r)
 			return r;
-		}
 	}
 	return 0;
 }
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c +11 -8
index b3dc5dd49a64..053ead0d690f 100644
@@ -365,6 +365,8 @@ static int amdgpu_userq_unmap_helper(struct amdgpu_usermode_queue *queue)
 		adev->userq_funcs[queue->queue_type];
 	int r;
 
+	/* The reset changes the queue state and the MES is unusable meanwhile */
+	guard(rwsem_read)(&adev->reset_domain->sem);
 	if ((queue->state == AMDGPU_USERQ_STATE_MAPPED) ||
 	    (queue->state == AMDGPU_USERQ_STATE_PREEMPTED)) {
 		trace_amdgpu_userq_state_start(queue);
@@ -391,6 +393,8 @@ static int amdgpu_userq_map_helper(struct amdgpu_usermode_queue *queue)
 		adev->userq_funcs[queue->queue_type];
 	int r;
 
+	/* The reset changes the queue state and the MES is unusable meanwhile */
+	guard(rwsem_read)(&adev->reset_domain->sem);
 	if (queue->state == AMDGPU_USERQ_STATE_UNMAPPED) {
 		trace_amdgpu_userq_state_start(queue);
 
@@ -751,12 +755,7 @@ amdgpu_userq_create(struct drm_file *filp, union drm_amdgpu_userq *args)
 	if (!adev->userq_halt_for_enforce_isolation ||
 	    ((queue->queue_type != AMDGPU_HW_IP_GFX) &&
 	     (queue->queue_type != AMDGPU_HW_IP_COMPUTE))) {
-		/* Serialize the map against an in-progress GPU reset (MES is
-		 * unresponsive during recovery), matching amdgpu_userq_detach_doorbell().
-		 */
-		down_read(&adev->reset_domain->sem);
 		r = amdgpu_userq_map_helper(queue);
-		up_read(&adev->reset_domain->sem);
 		if (r) {
 			drm_file_err(uq_mgr->file, "Failed to map Queue\n");
 			trace_amdgpu_userq_create_end(queue, r);
@@ -973,7 +972,11 @@ static int amdgpu_userq_validate_vm(void *param, struct amdgpu_bo *bo)
 	return ttm_bo_validate(&bo->tbo, &bo->placement, &ctx);
 }
 
-/* Handle all BOs on the invalidated list, validate them and update the PTs */
+/*
+ * Handle all individual BOs which were moved, lock and validate them and
+ * update the PTs. An evicted individual BO lands on the needs_update list,
+ * the evicted one only holds imported DMA-bufs of compute VMs.
+ */
 static int
 amdgpu_userq_bo_validate(struct amdgpu_device *adev, struct drm_exec *exec,
 			 struct amdgpu_vm *vm)
@@ -984,8 +987,8 @@ amdgpu_userq_bo_validate(struct amdgpu_device *adev, struct drm_exec *exec,
 	int ret;
 
 	spin_lock(&vm->individual_lock);
-	while (!list_empty(&vm->individual.evicted)) {
-		bo_va = list_first_entry(&vm->individual.evicted,
+	while (!list_empty(&vm->individual.needs_update)) {
+		bo_va = list_first_entry(&vm->individual.needs_update,
 					 struct amdgpu_bo_va,
 					 base.vm_status);
 		bo = bo_va->base.bo;
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +12 -4
index fc3a8d38d514..c07f1115f654 100644
@@ -269,19 +269,27 @@ static void amdgpu_vm_bo_reset_state_machine(struct amdgpu_vm *vm)
 
 	/*
 	 * Don't use list splice here, we need the special handling for the root
-	 * PD and set the moved flag appropriately.
+	 * PD. All mappings must be written again, also of the vm_bos which are
+	 * already waiting for an update of some of them, e.g. after a map with
+	 * a delayed update, so set the moved flag for everything that needs an
+	 * update.
 	 */
 	amdgpu_vm_assert_locked(vm);
 	list_for_each_entry_safe(vm_bo, tmp, &vm->kernel.idle, vm_status)
 		amdgpu_vm_bo_needs_update(vm_bo);
+	list_for_each_entry(vm_bo, &vm->kernel.needs_update, vm_status)
+		vm_bo->moved = true;
+
 	list_for_each_entry_safe(vm_bo, tmp, &vm->always_valid.idle, vm_status)
 		amdgpu_vm_bo_needs_update(vm_bo);
+	list_for_each_entry(vm_bo, &vm->always_valid.needs_update, vm_status)
+		vm_bo->moved = true;
 
 	spin_lock(&vm->individual_lock);
-	list_for_each_entry_safe(vm_bo, tmp, &vm->individual.idle, vm_status) {
-		vm_bo->moved = true;
+	list_for_each_entry_safe(vm_bo, tmp, &vm->individual.idle, vm_status)
 		list_move(&vm_bo->vm_status, &vm->individual.needs_update);
-	}
+	list_for_each_entry(vm_bo, &vm->individual.needs_update, vm_status)
+		vm_bo->moved = true;
 	spin_unlock(&vm->individual_lock);
 }
 
drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c +0 -1
index eb8cf0d9d9c5..652266e93766 100644
@@ -234,7 +234,6 @@ static int amdgpu_vm_sdma_update(struct amdgpu_vm_update_params *p,
 		dma_fence_get(fence);
 		r = drm_sched_job_add_dependency(&p->job->base, fence);
 		if (r) {
-			dma_fence_put(fence);
 			dma_resv_iter_end(&cursor);
 			return r;
 		}
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c +3 -2
index f2977fe6d824..04b18056a906 100644
@@ -1705,8 +1705,9 @@ static void dce_v10_0_afmt_setmode(struct drm_encoder *encoder,
 	WREG32(mmAFMT_RAMP_CONTROL2 + dig->afmt->offset, 0x00000001);
 	WREG32(mmAFMT_RAMP_CONTROL3 + dig->afmt->offset, 0x00000001);
 
-	/* enable audio after to setting up hw */
-	dce_v10_0_audio_enable(adev, dig->afmt->pin, true);
+	/* Only enable audio if the display supports it */
+	if (connector->display_info.has_audio)
+		dce_v10_0_audio_enable(adev, dig->afmt->pin, true);
 }
 
 static void dce_v10_0_afmt_enable(struct drm_encoder *encoder, bool enable)
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c +3 -2
index c68de0fe1d7d..585b0a50279f 100644
@@ -1748,8 +1748,9 @@ static void dce_v6_0_afmt_setmode(struct drm_encoder *encoder,
 		dce_v6_0_audio_dp_enable(encoder, 1);
 	}
 
-	/* enable audio after setting up hw */
-	dce_v6_0_audio_enable(adev, dig->afmt->pin, true);
+	/* Only enable audio if the display supports it */
+	if (connector->display_info.has_audio)
+		dce_v6_0_audio_enable(adev, dig->afmt->pin, true);
 }
 
 static void dce_v6_0_afmt_enable(struct drm_encoder *encoder, bool enable)
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c +3 -2
index c3906270f25e..1390efa4ea51 100644
@@ -1653,8 +1653,9 @@ static void dce_v8_0_afmt_setmode(struct drm_encoder *encoder,
 	WREG32(mmAFMT_RAMP_CONTROL2 + offset, 0x00000001);
 	WREG32(mmAFMT_RAMP_CONTROL3 + offset, 0x00000001);
 
-	/* enable audio after setting up hw */
-	dce_v8_0_audio_enable(adev, dig->afmt->pin, true);
+	/* Only enable audio if the display supports it */
+	if (connector->display_info.has_audio)
+		dce_v8_0_audio_enable(adev, dig->afmt->pin, true);
 }
 
 static void dce_v8_0_afmt_enable(struct drm_encoder *encoder, bool enable)
drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c +2 -0
index d69c43f1e194..60debaa23762 100644
@@ -4080,6 +4080,7 @@ static void gfx_v12_0_update_spm_vmid(struct amdgpu_device *adev,
 {
 	u32 reg, data;
 
+	amdgpu_gfx_off_ctrl(adev, false);
 	reg = SOC15_REG_OFFSET(GC, 0, regRLC_SPM_MC_CNTL);
 	if (amdgpu_sriov_is_pp_one_vf(adev))
 		data = RREG32_NO_KIQ(reg);
@@ -4093,6 +4094,7 @@ static void gfx_v12_0_update_spm_vmid(struct amdgpu_device *adev,
 		WREG32_SOC15_NO_KIQ(GC, 0, regRLC_SPM_MC_CNTL, data);
 	else
 		WREG32_SOC15(GC, 0, regRLC_SPM_MC_CNTL, data);
+	amdgpu_gfx_off_ctrl(adev, true);
 
 	if (ring
 	    && amdgpu_sriov_is_pp_one_vf(adev)
drivers/gpu/drm/amd/amdgpu/ih_v6_0.c +12 -1
index 333e9c30c091..535c84e55558 100644
@@ -168,8 +168,19 @@ static int ih_v6_0_toggle_ring_interrupts(struct amdgpu_device *adev,
 		tmp = REG_SET_FIELD(tmp, IH_RB_CNTL, ENABLE_INTR, (enable ? 1 : 0));
 
 	if (amdgpu_sriov_vf(adev) && amdgpu_sriov_reg_indirect_ih(adev)) {
-		if (psp_reg_program(&adev->psp, ih_regs->psp_reg_id, tmp))
+		/*
+		 * PSP programming of IH_RB_CNTL is slow enough for MSI to
+		 * arrive before this call returns. Publish ih->enabled first
+		 * so amdgpu_ih_process() consumes that IV and rearms.
+		 */
+		if (enable) {
+			ih->enabled = true;
+			smp_wmb();
+		}
+		if (psp_reg_program(&adev->psp, ih_regs->psp_reg_id, tmp)) {
+			ih->enabled = false;
 			return -ETIMEDOUT;
+		}
 	} else {
 		WREG32(ih_regs->ih_rb_cntl, tmp);
 	}
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c +3 -1
index c57bcb9a98b1..10bed6f38f30 100644
@@ -218,8 +218,10 @@ static int mes_v11_0_submit_pkt_and_poll_completion(struct amdgpu_mes *mes,
 	r = amdgpu_fence_wait_polling(ring,
 				      seq - ring->fence_drv.num_fences_mask,
 				      timeout);
-	if (r < 1)
+	if (r < 1) {
+		r = -ETIMEDOUT;
 		goto error_undo;
+	}
 
 	api_status = (struct MES_API_STATUS *)((char *)pkt + api_status_off);
 	api_status->api_completion_fence_addr = status_gpu_addr;
drivers/gpu/drm/amd/amdgpu/mes_v12_0.c +3 -1
index ee72afdb0a1d..bb9892d1bd05 100644
@@ -195,8 +195,10 @@ static int mes_v12_0_submit_pkt_and_poll_completion(struct amdgpu_mes *mes,
 	r = amdgpu_fence_wait_polling(ring,
 				      seq - ring->fence_drv.num_fences_mask,
 				      timeout);
-	if (r < 1)
+	if (r < 1) {
+		r = -ETIMEDOUT;
 		goto error_undo;
+	}
 
 	api_status = (struct MES_API_STATUS *)((char *)pkt + api_status_off);
 	api_status->api_completion_fence_addr = status_gpu_addr;
drivers/gpu/drm/amd/amdgpu/navi10_ih.c +40 -1

53 lines not on this page · raw message

drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c +2 -1
index 87fb42d3c713..64673007ccde 100644
@@ -303,7 +303,8 @@ static int init_user_queue(struct process_queue_manager *pqm,
 		}
 
 		retval = amdgpu_amdkfd_map_gtt_bo_to_gart(q_properties->wptr_bo,
-							  &(*q)->wptr_bo_gart);
+							  &(*q)->wptr_bo_gart,
+							  pqm->process->kgd_process_info);
 		if (retval) {
 			pr_err("Failed to map wptr bo to GART\n");
 			goto free_gang_ctx_bo;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_freesync.c +26 -1
index 7e484adb4120..a51cf46d0e44 100644
@@ -128,6 +128,14 @@ void amdgpu_dm_get_freesync_config_for_crtc(
 					vrefresh >= aconnector->min_vfreq &&
 					vrefresh <= aconnector->max_vfreq;
 
+	/*
+	 * DC reads allow_freesync while validating the new state, for example
+	 * to keep SubVP off a single FreeSync display, but it is otherwise set
+	 * only on the first flip after the commit.  Set it here, so that a
+	 * stream created by this commit is not validated without it.
+	 */
+	new_crtc_state->stream->allow_freesync = new_crtc_state->vrr_supported;
+
 	if (new_crtc_state->vrr_supported) {
 		new_crtc_state->stream->ignore_msa_timing_param = true;
 		fs_vid_mode = new_crtc_state->freesync_config.state == VRR_STATE_ACTIVE_FIXED;
@@ -154,6 +162,18 @@ void amdgpu_dm_get_freesync_config_for_crtc(
 }
 EXPORT_IF_KUNIT(amdgpu_dm_get_freesync_config_for_crtc);
 
+#define DP_HDR_SDP_EOTF_IDX 2
+
+static bool dm_dp_in_hdr_mode(const struct dc_stream_state *stream)
+{
+	const struct dc_info_packet *hdr = &stream->hdr_static_metadata;
+
+	if (!dc_is_dp_signal(stream->signal) || !hdr->valid)
+		return false;
+
+	return hdr->sb[DP_HDR_SDP_EOTF_IDX] == HDMI_EOTF_SMPTE_ST2084;
+}
+
 void amdgpu_dm_update_freesync_state_on_stream(
 	struct amdgpu_display_manager *dm,
 	struct dm_crtc_state *new_crtc_state,
@@ -169,6 +189,7 @@ void amdgpu_dm_update_freesync_state_on_stream(
 	bool pack_sdp_v1_3 = false;
 	struct amdgpu_dm_connector *aconn;
 	enum vrr_packet_type packet_type = PACKET_TYPE_VRR;
+	enum color_transfer_func app_tf;
 
 	if (!new_stream)
 		return;
@@ -220,12 +241,16 @@ void amdgpu_dm_update_freesync_state_on_stream(
 					&new_stream->adaptive_sync_infopacket);
 	}
 
+	app_tf = dm_dp_in_hdr_mode(new_stream) ?
+		 TRANSFER_FUNC_PQ2084 :
+		 TRANSFER_FUNC_UNKNOWN;
+
 	mod_freesync_build_vrr_infopacket(
 		dm->freesync_module,
 		new_stream,
 		&vrr_params,
 		packet_type,
-		TRANSFER_FUNC_UNKNOWN,
+		app_tf,
 		&vrr_infopacket,
 		pack_sdp_v1_3);
 
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/dcn401_clk_mgr.c +3 -0
index 6ee3da89d058..135eeef68ac4 100644
@@ -538,6 +538,9 @@ static void dcn401_update_clocks_update_dtb_dto(struct clk_mgr_internal *clk_mgr
 		otg_master = resource_get_otg_master_for_stream(
 				&context->res_ctx, context->streams[i]);
 		ASSERT(otg_master);
+		if (!otg_master)
+			continue;
+
 		ASSERT(otg_master->clock_source);
 		ASSERT(otg_master->clock_source->funcs->program_pix_clk);
 		ASSERT(otg_master->stream_res.pix_clk_params.controller_id >= CONTROLLER_ID_D0);
drivers/gpu/drm/amd/display/dc/core/dc.c +5 -1
index 519ac878ada1..60b903edff2f 100644
@@ -2452,6 +2452,8 @@ static enum dc_status dc_commit_state_no_check(struct dc *dc, struct dc_state *c
 		 * update pending complete before optimizing bandwidth.
 		 */
 		hwss_wait_for_odm_update_pending_complete(dc, context);
+		/* No DET may stay allocated to a HUBP without a plane (e.g. left over from VBIOS) */
+		hwss_reset_unused_det(dc, context);
 		/* pplib is notified if disp_num changed */
 		dc->hwss.optimize_bandwidth(dc, context);
 		/* Need to do otg sync again as otg could be out of sync due to otg
@@ -4885,8 +4887,10 @@ static void commit_planes_for_stream(struct dc *dc,
 	dc_exit_ips_for_hw_access(dc);
 
 	dc_z10_restore(dc);
-	if (update_type == UPDATE_TYPE_FULL && dc->optimized_required)
+	if (update_type == UPDATE_TYPE_FULL && dc->optimized_required) {
+		hwss_reset_unused_det(dc, dc->current_state);
 		hwss_process_outstanding_hw_updates(dc, dc->current_state);
+	}
 
 	if (update_type != UPDATE_TYPE_FAST && dc->res_pool->funcs->prepare_mcache_programming)
 		dc->res_pool->funcs->prepare_mcache_programming(dc, context);
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c +31 -0
index ef4987d449cb..d4dbdf7d0506 100644
@@ -3047,6 +3047,37 @@ void hwss_wait_for_odm_update_pending_complete(struct dc *dc, struct dc_state *c
 	hwss_wait_for_all_blank_complete(dc, context);
 }
 
+void hwss_reset_unused_det(struct dc *dc, struct dc_state *context)
+{
+	struct hubbub *hubbub = dc->res_pool->hubbub;
+	unsigned int i, j;
+
+	if (!hubbub || !hubbub->funcs->program_det_segments)
+		return;
+
+	for (i = 0; i < dc->res_pool->pipe_count; i++) {
+		struct hubp *hubp = dc->res_pool->hubps[i];
+		bool hubp_in_use = false;
+
+		if (!hubp)
+			continue;
+
+		for (j = 0; j < dc->res_pool->pipe_count; j++) {
+			const struct pipe_ctx *pipe = &context->res_ctx.pipe_ctx[j];
+
+			/* A plane-less pipe renders from the DPG, its HUBP (assigned with the stream) needs no DET */
+			if (pipe->plane_state && pipe->plane_res.hubp &&
+					pipe->plane_res.hubp->inst == hubp->inst) {
+				hubp_in_use = true;
+				break;
+			}
+		}
+
+		if (!hubp_in_use)
+			hubbub->funcs->program_det_segments(hubbub, hubp->inst, 0);
+	}
+}
+
 void hwss_wait_for_no_pipes_pending(struct dc *dc, struct dc_state *context)
 {
 	int i;
drivers/gpu/drm/amd/display/dc/hwss/hw_sequencer.h +3 -0
index cdf2562a9a40..0d64a0c1913d 100644
@@ -1807,6 +1807,9 @@ void hwss_wait_for_odm_update_pending_complete(struct dc *dc,
 void hwss_wait_for_no_pipes_pending(struct dc *dc,
 		struct dc_state *context);
 
+void hwss_reset_unused_det(struct dc *dc,
+		struct dc_state *context);
+
 void hwss_wait_for_outstanding_hw_updates(struct dc *dc,
 		struct dc_state *dc_context);
 
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c +1 -5
index 24e3bbec15ff..8ff364d465de 100644
@@ -2601,12 +2601,8 @@ bool dp_is_sink_present(struct dc_link *link)
 	 * which indicates we need additional delay
 	 */
 
-	if (dal_ddc_open(ddc, GPIO_MODE_INPUT,
-			 GPIO_DDC_CONFIG_TYPE_MODE_I2C) != GPIO_RESULT_OK) {
-		dal_ddc_close(ddc);
-
+	if (dal_ddc_open(ddc, GPIO_MODE_INPUT, GPIO_DDC_CONFIG_TYPE_MODE_I2C) != GPIO_RESULT_OK)
 		return present;
-	}
 
 	/*
 	 * Read GPIO: DP sink is present if both clock and data pins are zero
drivers/gpu/drm/amd/display/dc/optc/dcn20/dcn20_optc.c +7 -0
index 73cc8a713556..2cdfe3d7a0ea 100644
@@ -449,6 +449,13 @@ void optc2_lock_doublebuffer_disable(struct timing_generator *optc)
 void optc2_setup_manual_trigger(struct timing_generator *optc)
 {
 	struct optc *optc1 = DCN10TG_FROM_TG(optc);
+	uint32_t v_total, v_total_max;
+
+	REG_GET(OTG_V_TOTAL_MAX, OTG_V_TOTAL_MAX, &v_total_max);
+	if (!v_total_max) {
+		REG_GET(OTG_V_TOTAL, OTG_V_TOTAL, &v_total);
+		optc->funcs->set_vtotal_min_max(optc, v_total, v_total);
+	}
 
 	/* Set the min/max selectors unconditionally so that
 	 * DMCUB fw may change OTG timings when necessary
drivers/gpu/drm/amd/display/dc/optc/dcn30/dcn30_optc.h +18 -0
index 16c5610b49ac..b801989f10cf 100644
@@ -91,6 +91,12 @@
 	SRI(OTG_CRC0_WINDOWA_Y_CONTROL, OTG, inst),\
 	SRI(OTG_CRC0_WINDOWB_X_CONTROL, OTG, inst),\
 	SRI(OTG_CRC0_WINDOWB_Y_CONTROL, OTG, inst),\
+	SRI(OTG_CRC1_DATA_RG, OTG, inst),\
+	SRI(OTG_CRC1_DATA_B, OTG, inst),\
+	SRI(OTG_CRC1_WINDOWA_X_CONTROL, OTG, inst),\
+	SRI(OTG_CRC1_WINDOWA_Y_CONTROL, OTG, inst),\
+	SRI(OTG_CRC1_WINDOWB_X_CONTROL, OTG, inst),\
+	SRI(OTG_CRC1_WINDOWB_Y_CONTROL, OTG, inst),\
 	SR(GSL_SOURCE_SELECT),\
 	SRI(OTG_TRIGA_MANUAL_TRIG, OTG, inst),\
 	SRI(OTG_DRR_CONTROL, OTG, inst)
@@ -229,6 +235,7 @@
 	SF(OTG0_OTG_GSL_CONTROL, OTG_GSL_CHECK_ALL_FIELDS, mask_sh),\
 	SF(OTG0_OTG_CRC_CNTL, OTG_CRC_CONT_EN, mask_sh),\
 	SF(OTG0_OTG_CRC_CNTL, OTG_CRC0_SELECT, mask_sh),\
+	SF(OTG0_OTG_CRC_CNTL, OTG_CRC1_SELECT, mask_sh),\
 	SF(OTG0_OTG_CRC_CNTL, OTG_CRC_EN, mask_sh),\
 	SF(OTG0_OTG_CRC_CNTL2, OTG_CRC_DSC_MODE, mask_sh),\
 	SF(OTG0_OTG_CRC_CNTL2, OTG_CRC_DATA_STREAM_COMBINE_MODE, mask_sh),\
@@ -245,6 +252,17 @@
 	SF(OTG0_OTG_CRC0_WINDOWB_X_CONTROL, OTG_CRC0_WINDOWB_X_END, mask_sh),\
 	SF(OTG0_OTG_CRC0_WINDOWB_Y_CONTROL, OTG_CRC0_WINDOWB_Y_START, mask_sh),\
 	SF(OTG0_OTG_CRC0_WINDOWB_Y_CONTROL, OTG_CRC0_WINDOWB_Y_END, mask_sh),\
+	SF(OTG0_OTG_CRC1_DATA_RG, CRC1_R_CR, mask_sh),\
+	SF(OTG0_OTG_CRC1_DATA_RG, CRC1_G_Y, mask_sh),\
+	SF(OTG0_OTG_CRC1_DATA_B, CRC1_B_CB, mask_sh),\
+	SF(OTG0_OTG_CRC1_WINDOWA_X_CONTROL, OTG_CRC1_WINDOWA_X_START, mask_sh),\
+	SF(OTG0_OTG_CRC1_WINDOWA_X_CONTROL, OTG_CRC1_WINDOWA_X_END, mask_sh),\
+	SF(OTG0_OTG_CRC1_WINDOWA_Y_CONTROL, OTG_CRC1_WINDOWA_Y_START, mask_sh),\
+	SF(OTG0_OTG_CRC1_WINDOWA_Y_CONTROL, OTG_CRC1_WINDOWA_Y_END, mask_sh),\
+	SF(OTG0_OTG_CRC1_WINDOWB_X_CONTROL, OTG_CRC1_WINDOWB_X_START, mask_sh),\
+	SF(OTG0_OTG_CRC1_WINDOWB_X_CONTROL, OTG_CRC1_WINDOWB_X_END, mask_sh),\
+	SF(OTG0_OTG_CRC1_WINDOWB_Y_CONTROL, OTG_CRC1_WINDOWB_Y_START, mask_sh),\
+	SF(OTG0_OTG_CRC1_WINDOWB_Y_CONTROL, OTG_CRC1_WINDOWB_Y_END, mask_sh),\
 	SF(OTG0_OTG_TRIGA_MANUAL_TRIG, OTG_TRIGA_MANUAL_TRIG, mask_sh),\
 	SF(GSL_SOURCE_SELECT, GSL0_READY_SOURCE_SEL, mask_sh),\
 	SF(GSL_SOURCE_SELECT, GSL1_READY_SOURCE_SEL, mask_sh),\
drivers/gpu/drm/amd/display/dc/optc/dcn31/dcn31_optc.h +20 -2
index 119a954fe3e5..85223414c909 100644
@@ -83,6 +83,12 @@
 	SRI(OTG_CRC0_WINDOWA_Y_CONTROL, OTG, inst),\
 	SRI(OTG_CRC0_WINDOWB_X_CONTROL, OTG, inst),\
 	SRI(OTG_CRC0_WINDOWB_Y_CONTROL, OTG, inst),\
+	SRI(OTG_CRC1_DATA_RG, OTG, inst),\
+	SRI(OTG_CRC1_DATA_B, OTG, inst),\
+	SRI(OTG_CRC1_WINDOWA_X_CONTROL, OTG, inst),\
+	SRI(OTG_CRC1_WINDOWA_Y_CONTROL, OTG, inst),\
+	SRI(OTG_CRC1_WINDOWB_X_CONTROL, OTG, inst),\
+	SRI(OTG_CRC1_WINDOWB_Y_CONTROL, OTG, inst),\
 	SR(GSL_SOURCE_SELECT),\
 	SRI(OTG_TRIGA_MANUAL_TRIG, OTG, inst),\
 	SRI(OTG_GLOBAL_CONTROL1, OTG, inst),\
@@ -205,7 +211,9 @@
 	SF(OTG0_OTG_GSL_CONTROL, OTG_GSL_CHECK_ALL_FIELDS, mask_sh),\
 	SF(OTG0_OTG_CRC_CNTL, OTG_CRC_CONT_EN, mask_sh),\
 	SF(OTG0_OTG_CRC_CNTL, OTG_CRC0_SELECT, mask_sh),\
+	SF(OTG0_OTG_CRC_CNTL, OTG_CRC1_SELECT, mask_sh),\
 	SF(OTG0_OTG_CRC_CNTL, OTG_CRC_EN, mask_sh),\
+	SF(OTG0_OTG_CRC_CNTL, OTG_CRC1_EN, mask_sh),\
 	SF(OTG0_OTG_CRC0_DATA_RG, CRC0_R_CR, mask_sh),\
 	SF(OTG0_OTG_CRC0_DATA_RG, CRC0_G_Y, mask_sh),\
 	SF(OTG0_OTG_CRC0_DATA_B, CRC0_B_CB, mask_sh),\
@@ -217,6 +225,17 @@
 	SF(OTG0_OTG_CRC0_WINDOWB_X_CONTROL, OTG_CRC0_WINDOWB_X_END, mask_sh),\
 	SF(OTG0_OTG_CRC0_WINDOWB_Y_CONTROL, OTG_CRC0_WINDOWB_Y_START, mask_sh),\
 	SF(OTG0_OTG_CRC0_WINDOWB_Y_CONTROL, OTG_CRC0_WINDOWB_Y_END, mask_sh),\
+	SF(OTG0_OTG_CRC1_DATA_RG, CRC1_R_CR, mask_sh),\
+	SF(OTG0_OTG_CRC1_DATA_RG, CRC1_G_Y, mask_sh),\
+	SF(OTG0_OTG_CRC1_DATA_B, CRC1_B_CB, mask_sh),\
+	SF(OTG0_OTG_CRC1_WINDOWA_X_CONTROL, OTG_CRC1_WINDOWA_X_START, mask_sh),\
+	SF(OTG0_OTG_CRC1_WINDOWA_X_CONTROL, OTG_CRC1_WINDOWA_X_END, mask_sh),\
+	SF(OTG0_OTG_CRC1_WINDOWA_Y_CONTROL, OTG_CRC1_WINDOWA_Y_START, mask_sh),\
+	SF(OTG0_OTG_CRC1_WINDOWA_Y_CONTROL, OTG_CRC1_WINDOWA_Y_END, mask_sh),\
+	SF(OTG0_OTG_CRC1_WINDOWB_X_CONTROL, OTG_CRC1_WINDOWB_X_START, mask_sh),\
+	SF(OTG0_OTG_CRC1_WINDOWB_X_CONTROL, OTG_CRC1_WINDOWB_X_END, mask_sh),\
+	SF(OTG0_OTG_CRC1_WINDOWB_Y_CONTROL, OTG_CRC1_WINDOWB_Y_START, mask_sh),\
+	SF(OTG0_OTG_CRC1_WINDOWB_Y_CONTROL, OTG_CRC1_WINDOWB_Y_END, mask_sh),\
 	SF(OTG0_OTG_TRIGA_MANUAL_TRIG, OTG_TRIGA_MANUAL_TRIG, mask_sh),\
 	SF(GSL_SOURCE_SELECT, GSL0_READY_SOURCE_SEL, mask_sh),\
 	SF(GSL_SOURCE_SELECT, GSL1_READY_SOURCE_SEL, mask_sh),\
@@ -264,8 +283,7 @@
 	SF(OTG0_INTERRUPT_DEST, OTG0_IHC_OTG_VERTICAL_INTERRUPT2_DEST, mask_sh)
 
 #define OPTC_COMMON_MASK_SH_LIST_DCN31X(mask_sh)\
-	OPTC_COMMON_MASK_SH_LIST_DCN3_1(mask_sh),\
-	SF(OTG0_OTG_CRC_CNTL, OTG_CRC1_EN, mask_sh)
+	OPTC_COMMON_MASK_SH_LIST_DCN3_1(mask_sh)
 
 void dcn31_timing_generator_init(struct optc *optc1);
 
drivers/gpu/drm/amd/display/dc/optc/dcn314/dcn314_optc.h +18 -0
index 7b43c3ecd46b..956eecf0a43a 100644
@@ -84,6 +84,12 @@
 	SRI(OTG_CRC0_WINDOWA_Y_CONTROL, OTG, inst),\
 	SRI(OTG_CRC0_WINDOWB_X_CONTROL, OTG, inst),\
 	SRI(OTG_CRC0_WINDOWB_Y_CONTROL, OTG, inst),\
+	SRI(OTG_CRC1_DATA_RG, OTG, inst),\
+	SRI(OTG_CRC1_DATA_B, OTG, inst),\
+	SRI(OTG_CRC1_WINDOWA_X_CONTROL, OTG, inst),\
+	SRI(OTG_CRC1_WINDOWA_Y_CONTROL, OTG, inst),\
+	SRI(OTG_CRC1_WINDOWB_X_CONTROL, OTG, inst),\
+	SRI(OTG_CRC1_WINDOWB_Y_CONTROL, OTG, inst),\
 	SR(GSL_SOURCE_SELECT),\
 	SRI(OTG_TRIGA_MANUAL_TRIG, OTG, inst),\
 	SRI(OTG_GLOBAL_CONTROL1, OTG, inst),\
@@ -204,6 +210,7 @@
 	SF(OTG0_OTG_GSL_CONTROL, OTG_GSL_CHECK_ALL_FIELDS, mask_sh),\
 	SF(OTG0_OTG_CRC_CNTL, OTG_CRC_CONT_EN, mask_sh),\
 	SF(OTG0_OTG_CRC_CNTL, OTG_CRC0_SELECT, mask_sh),\
+	SF(OTG0_OTG_CRC_CNTL, OTG_CRC1_SELECT, mask_sh),\
 	SF(OTG0_OTG_CRC_CNTL, OTG_CRC_EN, mask_sh),\
 	SF(OTG0_OTG_CRC_CNTL, OTG_CRC1_EN, mask_sh),\
 	SF(OTG0_OTG_CRC0_DATA_RG, CRC0_R_CR, mask_sh),\
@@ -217,6 +224,17 @@
 	SF(OTG0_OTG_CRC0_WINDOWB_X_CONTROL, OTG_CRC0_WINDOWB_X_END, mask_sh),\
 	SF(OTG0_OTG_CRC0_WINDOWB_Y_CONTROL, OTG_CRC0_WINDOWB_Y_START, mask_sh),\
 	SF(OTG0_OTG_CRC0_WINDOWB_Y_CONTROL, OTG_CRC0_WINDOWB_Y_END, mask_sh),\
+	SF(OTG0_OTG_CRC1_DATA_RG, CRC1_R_CR, mask_sh),\
+	SF(OTG0_OTG_CRC1_DATA_RG, CRC1_G_Y, mask_sh),\
+	SF(OTG0_OTG_CRC1_DATA_B, CRC1_B_CB, mask_sh),\
+	SF(OTG0_OTG_CRC1_WINDOWA_X_CONTROL, OTG_CRC1_WINDOWA_X_START, mask_sh),\
+	SF(OTG0_OTG_CRC1_WINDOWA_X_CONTROL, OTG_CRC1_WINDOWA_X_END, mask_sh),\
+	SF(OTG0_OTG_CRC1_WINDOWA_Y_CONTROL, OTG_CRC1_WINDOWA_Y_START, mask_sh),\
+	SF(OTG0_OTG_CRC1_WINDOWA_Y_CONTROL, OTG_CRC1_WINDOWA_Y_END, mask_sh),\
+	SF(OTG0_OTG_CRC1_WINDOWB_X_CONTROL, OTG_CRC1_WINDOWB_X_START, mask_sh),\
+	SF(OTG0_OTG_CRC1_WINDOWB_X_CONTROL, OTG_CRC1_WINDOWB_X_END, mask_sh),\
+	SF(OTG0_OTG_CRC1_WINDOWB_Y_CONTROL, OTG_CRC1_WINDOWB_Y_START, mask_sh),\
+	SF(OTG0_OTG_CRC1_WINDOWB_Y_CONTROL, OTG_CRC1_WINDOWB_Y_END, mask_sh),\
 	SF(OTG0_OTG_TRIGA_MANUAL_TRIG, OTG_TRIGA_MANUAL_TRIG, mask_sh),\
 	SF(GSL_SOURCE_SELECT, GSL0_READY_SOURCE_SEL, mask_sh),\
 	SF(GSL_SOURCE_SELECT, GSL1_READY_SOURCE_SEL, mask_sh),\
drivers/gpu/drm/amd/display/dc/optc/dcn32/dcn32_optc.h +11 -0
index 60c01ec28b65..492760779226 100644
@@ -146,6 +146,17 @@
 	SF(OTG0_OTG_CRC0_WINDOWB_X_CONTROL, OTG_CRC0_WINDOWB_X_END, mask_sh),\
 	SF(OTG0_OTG_CRC0_WINDOWB_Y_CONTROL, OTG_CRC0_WINDOWB_Y_START, mask_sh),\
 	SF(OTG0_OTG_CRC0_WINDOWB_Y_CONTROL, OTG_CRC0_WINDOWB_Y_END, mask_sh),\
+	SF(OTG0_OTG_CRC1_DATA_RG, CRC1_R_CR, mask_sh),\
+	SF(OTG0_OTG_CRC1_DATA_RG, CRC1_G_Y, mask_sh),\
+	SF(OTG0_OTG_CRC1_DATA_B, CRC1_B_CB, mask_sh),\
+	SF(OTG0_OTG_CRC1_WINDOWA_X_CONTROL, OTG_CRC1_WINDOWA_X_START, mask_sh),\
+	SF(OTG0_OTG_CRC1_WINDOWA_X_CONTROL, OTG_CRC1_WINDOWA_X_END, mask_sh),\
+	SF(OTG0_OTG_CRC1_WINDOWA_Y_CONTROL, OTG_CRC1_WINDOWA_Y_START, mask_sh),\
+	SF(OTG0_OTG_CRC1_WINDOWA_Y_CONTROL, OTG_CRC1_WINDOWA_Y_END, mask_sh),\
+	SF(OTG0_OTG_CRC1_WINDOWB_X_CONTROL, OTG_CRC1_WINDOWB_X_START, mask_sh),\
+	SF(OTG0_OTG_CRC1_WINDOWB_X_CONTROL, OTG_CRC1_WINDOWB_X_END, mask_sh),\
+	SF(OTG0_OTG_CRC1_WINDOWB_Y_CONTROL, OTG_CRC1_WINDOWB_Y_START, mask_sh),\
+	SF(OTG0_OTG_CRC1_WINDOWB_Y_CONTROL, OTG_CRC1_WINDOWB_Y_END, mask_sh),\
 	SF(OTG0_OTG_TRIGA_MANUAL_TRIG, OTG_TRIGA_MANUAL_TRIG, mask_sh),\
 	SF(GSL_SOURCE_SELECT, GSL0_READY_SOURCE_SEL, mask_sh),\
 	SF(GSL_SOURCE_SELECT, GSL1_READY_SOURCE_SEL, mask_sh),\
drivers/gpu/drm/amd/display/dc/optc/dcn35/dcn35_optc.h +0 -11
index 82e0818c8f9f..196596cc9fb6 100644
@@ -32,23 +32,12 @@
 #define OPTC_COMMON_MASK_SH_LIST_DCN3_5(mask_sh)\
 	OPTC_COMMON_MASK_SH_LIST_DCN3_2(mask_sh),\
 	SF(OTG0_OTG_CRC_CNTL, OTG_CRC_WINDOW_DB_EN, mask_sh),\
-	SF(OTG0_OTG_CRC1_DATA_RG, CRC1_R_CR, mask_sh),\
-	SF(OTG0_OTG_CRC1_DATA_RG, CRC1_G_Y, mask_sh),\
-	SF(OTG0_OTG_CRC1_DATA_B,  CRC1_B_CB, mask_sh),\
 	SF(OTG0_OTG_CRC2_DATA_RG, CRC2_R_CR, mask_sh),\
 	SF(OTG0_OTG_CRC2_DATA_RG, CRC2_G_Y, mask_sh),\
 	SF(OTG0_OTG_CRC2_DATA_B,  CRC2_B_CB, mask_sh),\
 	SF(OTG0_OTG_CRC3_DATA_RG, CRC3_R_CR, mask_sh),\
 	SF(OTG0_OTG_CRC3_DATA_RG, CRC3_G_Y, mask_sh),\
 	SF(OTG0_OTG_CRC3_DATA_B,  CRC3_B_CB, mask_sh),\
-	SF(OTG0_OTG_CRC1_WINDOWA_X_CONTROL, OTG_CRC1_WINDOWA_X_START, mask_sh),\
-	SF(OTG0_OTG_CRC1_WINDOWA_X_CONTROL, OTG_CRC1_WINDOWA_X_END, mask_sh),\
-	SF(OTG0_OTG_CRC1_WINDOWA_Y_CONTROL, OTG_CRC1_WINDOWA_Y_START, mask_sh),\
-	SF(OTG0_OTG_CRC1_WINDOWA_Y_CONTROL, OTG_CRC1_WINDOWA_Y_END, mask_sh),\
-	SF(OTG0_OTG_CRC1_WINDOWB_X_CONTROL, OTG_CRC1_WINDOWB_X_START, mask_sh),\
-	SF(OTG0_OTG_CRC1_WINDOWB_X_CONTROL, OTG_CRC1_WINDOWB_X_END, mask_sh),\
-	SF(OTG0_OTG_CRC1_WINDOWB_Y_CONTROL, OTG_CRC1_WINDOWB_Y_START, mask_sh),\
-	SF(OTG0_OTG_CRC1_WINDOWB_Y_CONTROL, OTG_CRC1_WINDOWB_Y_END, mask_sh),\
 	SF(OTG0_OTG_CRC0_WINDOWA_X_CONTROL_READBACK, OTG_CRC0_WINDOWA_X_START_READBACK, mask_sh),\
 	SF(OTG0_OTG_CRC0_WINDOWA_X_CONTROL_READBACK, OTG_CRC0_WINDOWA_X_END_READBACK, mask_sh),\
 	SF(OTG0_OTG_CRC0_WINDOWA_Y_CONTROL_READBACK, OTG_CRC0_WINDOWA_Y_START_READBACK, mask_sh),\
drivers/gpu/drm/amd/display/dc/optc/dcn401/dcn401_optc.h +12 -0
index 3add972ca2ff..9e4e9d75400a 100644
@@ -110,6 +110,7 @@
 	SF(OTG0_OTG_GSL_CONTROL, OTG_GSL_CHECK_ALL_FIELDS, mask_sh),\
 	SF(OTG0_OTG_CRC_CNTL, OTG_CRC_CONT_EN, mask_sh),\
 	SF(OTG0_OTG_CRC_CNTL, OTG_CRC0_SELECT, mask_sh),\
+	SF(OTG0_OTG_CRC_CNTL, OTG_CRC1_SELECT, mask_sh),\
 	SF(OTG0_OTG_CRC_CNTL, OTG_CRC_EN, mask_sh),\
 	SF(OTG0_OTG_CRC_CNTL, OTG_CRC1_EN, mask_sh),\
 	SF(OTG0_OTG_CRC0_DATA_RG, CRC0_R_CR, mask_sh),\
@@ -123,6 +124,17 @@
 	SF(OTG0_OTG_CRC0_WINDOWB_X_CONTROL, OTG_CRC0_WINDOWB_X_END, mask_sh),\
 	SF(OTG0_OTG_CRC0_WINDOWB_Y_CONTROL, OTG_CRC0_WINDOWB_Y_START, mask_sh),\
 	SF(OTG0_OTG_CRC0_WINDOWB_Y_CONTROL, OTG_CRC0_WINDOWB_Y_END, mask_sh),\
+	SF(OTG0_OTG_CRC1_DATA_RG, CRC1_R_CR, mask_sh),\
+	SF(OTG0_OTG_CRC1_DATA_RG, CRC1_G_Y, mask_sh),\
+	SF(OTG0_OTG_CRC1_DATA_B, CRC1_B_CB, mask_sh),\
+	SF(OTG0_OTG_CRC1_WINDOWA_X_CONTROL, OTG_CRC1_WINDOWA_X_START, mask_sh),\
+	SF(OTG0_OTG_CRC1_WINDOWA_X_CONTROL, OTG_CRC1_WINDOWA_X_END, mask_sh),\
+	SF(OTG0_OTG_CRC1_WINDOWA_Y_CONTROL, OTG_CRC1_WINDOWA_Y_START, mask_sh),\
+	SF(OTG0_OTG_CRC1_WINDOWA_Y_CONTROL, OTG_CRC1_WINDOWA_Y_END, mask_sh),\
+	SF(OTG0_OTG_CRC1_WINDOWB_X_CONTROL, OTG_CRC1_WINDOWB_X_START, mask_sh),\
+	SF(OTG0_OTG_CRC1_WINDOWB_X_CONTROL, OTG_CRC1_WINDOWB_X_END, mask_sh),\
+	SF(OTG0_OTG_CRC1_WINDOWB_Y_CONTROL, OTG_CRC1_WINDOWB_Y_START, mask_sh),\
+	SF(OTG0_OTG_CRC1_WINDOWB_Y_CONTROL, OTG_CRC1_WINDOWB_Y_END, mask_sh),\
 	SF(OTG0_OTG_TRIGA_MANUAL_TRIG, OTG_TRIGA_MANUAL_TRIG, mask_sh),\
 	SF(GSL_SOURCE_SELECT, GSL0_READY_SOURCE_SEL, mask_sh),\
 	SF(GSL_SOURCE_SELECT, GSL1_READY_SOURCE_SEL, mask_sh),\
drivers/gpu/drm/amd/display/dc/optc/dcn42/dcn42_optc.h +2 -0
index bc641f6ecd7e..bdda94489a23 100644
@@ -137,6 +137,7 @@
 	SF(OTG0_OTG_GSL_CONTROL, OTG_GSL_CHECK_ALL_FIELDS, mask_sh),\
 	SF(OTG0_OTG_CRC_CNTL, OTG_CRC_CONT_EN, mask_sh),\
 	SF(OTG0_OTG_CRC_CNTL, OTG_CRC0_SELECT, mask_sh),\
+	SF(OTG0_OTG_CRC_CNTL, OTG_CRC1_SELECT, mask_sh),\
 	SF(OTG0_OTG_CRC_CNTL, OTG_CRC_EN, mask_sh),\
 	SF(OTG0_OTG_CRC_CNTL, OTG_CRC1_EN, mask_sh),\
 	SF(OTG0_OTG_CRC0_DATA_R, CRC0_R_CR, mask_sh),\
@@ -316,6 +317,7 @@
 	SF(OTG0_OTG_GSL_CONTROL, OTG_GSL_CHECK_ALL_FIELDS, mask_sh),\
 	SF(OTG0_OTG_CRC_CNTL, OTG_CRC_CONT_EN, mask_sh),\
 	SF(OTG0_OTG_CRC_CNTL, OTG_CRC0_SELECT, mask_sh),\
+	SF(OTG0_OTG_CRC_CNTL, OTG_CRC1_SELECT, mask_sh),\
 	SF(OTG0_OTG_CRC_CNTL, OTG_CRC_EN, mask_sh),\
 	SF(OTG0_OTG_CRC_CNTL, OTG_CRC1_EN, mask_sh),\
 	SF(OTG0_OTG_CRC0_DATA_R, CRC0_R_CR, mask_sh),\
drivers/gpu/drm/amd/display/dc/optc/dcn60/dcn60_optc.h +2 -0
index ba207c0e498e..ec40c9180030 100644
@@ -109,7 +109,9 @@
 	SF(OTG0_OTG_GSL_CONTROL, OTG_GSL_FORCE_DELAY, mask_sh),\
 	SF(OTG0_OTG_CRC_CNTL, OTG_CRC_CONT_EN, mask_sh),\
 	SF(OTG0_OTG_CRC_CNTL, OTG_CRC0_SELECT, mask_sh),\
+	SF(OTG0_OTG_CRC_CNTL, OTG_CRC1_SELECT, mask_sh),\
 	SF(OTG0_OTG_CRC_CNTL, OTG_CRC_EN, mask_sh),\
+	SF(OTG0_OTG_CRC_CNTL, OTG_CRC1_EN, mask_sh),\
 	SF(OTG0_OTG_CRC0_DATA_R, CRC0_R_CR, mask_sh),\
 	SF(OTG0_OTG_CRC0_DATA_G, CRC0_G_Y, mask_sh),\
 	SF(OTG0_OTG_CRC0_DATA_B, CRC0_B_CB, mask_sh),\
drivers/gpu/drm/amd/display/dc/resource/dcn32/dcn32_resource.c +14 -1
index a2e66761b8ec..81227df68680 100644
@@ -1941,8 +1941,21 @@ static bool dml1_validate(struct dc *dc, struct dc_state *context, enum dc_valid
 	out = dcn32_internal_validate_bw(dc, context, pipes, &pipe_cnt, &vlevel, validate_mode);
 	DC_FP_END();
 
-	if (pipe_cnt == 0)
+	if (pipe_cnt == 0) {
+		/* The context is a copy of the previous state, so without this the
+		 * clocks the last display needed stay applied with all displays off.
+		 */
+		context->bw_ctx.bw.dcn.clk.socclk_khz = 0;
+		context->bw_ctx.bw.dcn.clk.dppclk_khz = 0;
+		context->bw_ctx.bw.dcn.clk.dcfclk_khz = 0;
+		context->bw_ctx.bw.dcn.clk.dcfclk_deep_sleep_khz = 0;
+		context->bw_ctx.bw.dcn.clk.dramclk_khz = 0;
+		context->bw_ctx.bw.dcn.clk.fclk_khz = 0;
+		context->bw_ctx.bw.dcn.clk.p_state_change_support = true;
+		context->bw_ctx.bw.dcn.clk.fclk_p_state_change_support = true;
+		context->bw_ctx.bw.dcn.clk.num_ways = 0;
 		goto validate_out;
+	}
 
 	if (!out)
 		goto validate_fail;
drivers/gpu/drm/amd/display/dc/resource/dcn32/dcn32_resource.h +6 -0
index 68e7140f1505..fa8cc89cb3f7 100644
@@ -1054,6 +1054,12 @@ unsigned int dcn32_get_max_hw_cursor_size(const struct dc *dc,
       SRI_ARR(OTG_CRC0_WINDOWA_Y_CONTROL, OTG, inst),                          \
       SRI_ARR(OTG_CRC0_WINDOWB_X_CONTROL, OTG, inst),                          \
       SRI_ARR(OTG_CRC0_WINDOWB_Y_CONTROL, OTG, inst),                          \
+      SRI_ARR(OTG_CRC1_DATA_RG, OTG, inst),                                    \
+      SRI_ARR(OTG_CRC1_DATA_B, OTG, inst),                                     \
+      SRI_ARR(OTG_CRC1_WINDOWA_X_CONTROL, OTG, inst),                          \
+      SRI_ARR(OTG_CRC1_WINDOWA_Y_CONTROL, OTG, inst),                          \
+      SRI_ARR(OTG_CRC1_WINDOWB_X_CONTROL, OTG, inst),                          \
+      SRI_ARR(OTG_CRC1_WINDOWB_Y_CONTROL, OTG, inst),                          \
       SR_ARR(GSL_SOURCE_SELECT, inst),                                         \
       SRI_ARR(OTG_TRIGA_MANUAL_TRIG, OTG, inst),                               \
       SRI_ARR(OTG_GLOBAL_CONTROL1, OTG, inst),                                 \
drivers/gpu/drm/amd/display/dc/resource/dcn401/dcn401_resource.h +6 -0
index 8e3473f86490..3cfc1a39a103 100644
@@ -535,6 +535,12 @@ int dcn401_get_power_profile(const struct dc_state *context);
 	SRI_ARR(OTG_CRC0_WINDOWA_Y_CONTROL, OTG, inst),                          \
 	SRI_ARR(OTG_CRC0_WINDOWB_X_CONTROL, OTG, inst),                          \
 	SRI_ARR(OTG_CRC0_WINDOWB_Y_CONTROL, OTG, inst),                          \
+	SRI_ARR(OTG_CRC1_DATA_RG, OTG, inst),                                    \
+	SRI_ARR(OTG_CRC1_DATA_B, OTG, inst),                                     \
+	SRI_ARR(OTG_CRC1_WINDOWA_X_CONTROL, OTG, inst),                          \
+	SRI_ARR(OTG_CRC1_WINDOWA_Y_CONTROL, OTG, inst),                          \
+	SRI_ARR(OTG_CRC1_WINDOWB_X_CONTROL, OTG, inst),                          \
+	SRI_ARR(OTG_CRC1_WINDOWB_Y_CONTROL, OTG, inst),                          \
 	SR_ARR(GSL_SOURCE_SELECT, inst),                                         \
 	SRI_ARR(OTG_TRIGA_MANUAL_TRIG, OTG, inst),                               \
 	SRI_ARR(OTG_GLOBAL_CONTROL1, OTG, inst),                                 \
drivers/gpu/drm/amd/display/modules/freesync/freesync.c +2 -4
index 4bd060e30799..f154a619b533 100644
@@ -1281,10 +1281,8 @@ void mod_freesync_handle_v_update(struct mod_freesync *mod_freesync,
 	 * If VRR is inactive, set vtotal min and max to nominal vtotal
 	 */
 	 if (in_out_vrr->state == VRR_STATE_INACTIVE) {
-		in_out_vrr->adjust.v_total_min =
-			mod_freesync_calc_v_total_from_refresh(stream,
-				in_out_vrr->max_refresh_in_uhz);
-		in_out_vrr->adjust.v_total_max = in_out_vrr->adjust.v_total_min;
+		in_out_vrr->adjust.v_total_min = stream->timing.v_total;
+		in_out_vrr->adjust.v_total_max = stream->timing.v_total;
 		return;
 	}
 }
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c +20 -0
index 8285d4a91589..13e7e33fa0eb 100644
@@ -2912,6 +2912,25 @@ static int smu_v13_0_7_mode1_reset(struct smu_context *smu)
    return ret;
 }
 
+static void smu_v13_0_7_get_unique_id(struct smu_context *smu)
+{
+	SmuMetricsExternal_t metrics_external;
+	SmuMetrics_t *metrics = &metrics_external.SmuMetrics;
+	struct amdgpu_device *adev = smu->adev;
+	u32 upper32 = 0, lower32 = 0;
+	int ret;
+
+	ret = smu_cmn_get_metrics_table(smu, &metrics_external, false);
+	if (ret)
+		goto out;
+
+	upper32 = metrics->PublicSerialNumberUpper;
+	lower32 = metrics->PublicSerialNumberLower;
+
+out:
+	adev->unique_id = ((u64)upper32 << 32) | lower32;
+}
+
 static void smu_v13_0_7_init_msg_ctl(struct smu_context *smu)
 {
 	struct amdgpu_device *adev = smu->adev;
@@ -2995,6 +3014,7 @@ static const struct pptable_funcs smu_v13_0_7_ppt_funcs = {
 	.enable_uclk_shadow = smu_v13_0_enable_uclk_shadow,
 	.set_wbrf_exclusion_ranges = smu_v13_0_set_wbrf_exclusion_ranges,
 	.interrupt_work = smu_v13_0_interrupt_work,
+	.get_unique_id = smu_v13_0_7_get_unique_id,
 };
 
 void smu_v13_0_7_set_ppt_funcs(struct smu_context *smu)
drivers/gpu/drm/bridge/nwl-dsi.c +11 -6
index 09992529f3d8..1aab46e1a168 100644
@@ -110,6 +110,8 @@ struct nwl_dsi {
 	int error;
 
 	struct nwl_dsi_transfer *xfer;
+
+	unsigned int endpoint;
 };
 
 static const struct regmap_config nwl_dsi_regmap_config = {
@@ -821,10 +823,13 @@ static int nwl_dsi_bridge_atomic_check(struct drm_bridge *bridge,
 				       struct drm_connector_state *conn_state)
 {
 	struct drm_display_mode *adjusted_mode = &crtc_state->adjusted_mode;
+	struct nwl_dsi *dsi = bridge_to_dsi(bridge);
 
 	/* At least LCDIF + NWL needs active high sync */
-	adjusted_mode->flags |= (DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_PVSYNC);
-	adjusted_mode->flags &= ~(DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_NVSYNC);
+	if (dsi->endpoint == NWL_DSI_ENDPOINT_LCDIF) {
+		adjusted_mode->flags |= (DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_PVSYNC);
+		adjusted_mode->flags &= ~(DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_NVSYNC);
+	}
 
 	/*
 	 * Do a full modeset if crtc_state->active is changed to be true.
@@ -1088,13 +1093,12 @@ static int nwl_dsi_parse_dt(struct nwl_dsi *dsi)
 static int nwl_dsi_select_input(struct nwl_dsi *dsi)
 {
 	struct device_node *remote;
-	u32 use_dcss = 1;
 	int ret;
 
 	remote = of_graph_get_remote_node(dsi->dev->of_node, 0,
 					  NWL_DSI_ENDPOINT_LCDIF);
 	if (remote) {
-		use_dcss = 0;
+		dsi->endpoint = NWL_DSI_ENDPOINT_LCDIF;
 	} else {
 		remote = of_graph_get_remote_node(dsi->dev->of_node, 0,
 						  NWL_DSI_ENDPOINT_DCSS);
@@ -1103,11 +1107,12 @@ static int nwl_dsi_select_input(struct nwl_dsi *dsi)
 				      "No valid input endpoint found\n");
 			return -EINVAL;
 		}
+		dsi->endpoint = NWL_DSI_ENDPOINT_DCSS;
 	}
 
 	DRM_DEV_INFO(dsi->dev, "Using %s as input source\n",
-		     (use_dcss) ? "DCSS" : "LCDIF");
-	ret = mux_control_try_select(dsi->mux, use_dcss);
+		     (dsi->endpoint == NWL_DSI_ENDPOINT_DCSS) ? "DCSS" : "LCDIF");
[… more lines in the raw message]

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

drivers/gpu/drm/display/drm_dp_helper.c +2 -1
index 488fd123a01a..7676285c19f8 100644

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

drivers/gpu/drm/drm_crtc.c +12 -6
index 63ead8ba6756..5295ec122e0d 100644

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

drivers/gpu/drm/drm_panic.c +6 -1
index d28ce8878e05..fef47625c526 100644

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

drivers/gpu/drm/etnaviv/etnaviv_buffer.c +18 -22
index 03b2576af67f..99c91a9eecf1 100644

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

drivers/gpu/drm/etnaviv/etnaviv_drv.c +4 -2
index 08aca9035fc1..ec1352c1b09f 100644

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

drivers/gpu/drm/i915/display/intel_ddi.c +1 -1
index 02a53c9848e1..8de6e13cf2dd 100644

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

drivers/gpu/drm/i915/display/intel_display_device.c +4 -1
index f17fc2c68472..c74256359c25 100644

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

drivers/gpu/drm/i915/display/intel_dp.c +2 -2
index 3152122e6aef..d79b6367cd57 100644

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

drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c +21 -1
index 266e042e0023..d84def79c4bf 100644

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

drivers/gpu/drm/i915/display/intel_plane.c +11 -0
index d0f99a87c42e..c1c5a6128614 100644

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

drivers/gpu/drm/i915/display/intel_psr.c +43 -53

96 lines not on this page · raw message

drivers/gpu/drm/i915/display/intel_psr_regs.h +2 -2
index 16a9e3af198d..428f3da04500 100644

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

drivers/gpu/drm/i915/display/intel_quirks.c +24 -0
index 7d7db774d8c7..96eb9a40df9b 100644

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

drivers/gpu/drm/i915/display/intel_quirks.h +1 -0
index 970a4fe52faf..4996419ae76b 100644

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

drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c +1 -1
index d5aadced7da0..7fdd41a190b4 100644

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

drivers/gpu/drm/loongson/lsdc_gem.c +8 -4
index 2fb03487c983..9eba4e1a5ba6 100644

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

drivers/gpu/drm/loongson/lsdc_plane.c +1 -1
index bcc0ffa17bdf..7b9c65c30a9d 100644

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

drivers/gpu/drm/loongson/lsdc_ttm.c +9 -5
index d7441d96a0dc..7b30dea039ee 100644

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

drivers/gpu/drm/loongson/lsdc_ttm.h +1 -1
index 843e1475064e..df47d9bb0d03 100644

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

drivers/gpu/drm/nouveau/nvkm/core/subdev.c +1 -0
index aab5a73f467a..ff6858f5e5d3 100644

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

drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gf100.c +20 -0
index 5368e705e7fd..186e09ea0cb1 100644

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

drivers/gpu/drm/scheduler/sched_entity.c +14 -15
index 673ca9cbf362..0206bbad2ce0 100644

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

drivers/gpu/drm/v3d/v3d_gem.c +2 -3
index bc88ebdcdbea..cf3df526e773 100644

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

drivers/gpu/drm/v3d/v3d_sched.c +2 -0
index e6283a75bcdf..002116efc874 100644

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

drivers/gpu/drm/vc4/vc4_gem.c +11 -3
index 6ee4bd77d433..0fef9b48d3c6 100644

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

drivers/gpu/drm/vc4/vc4_hdmi.c +5 -5
index d4672aa81d85..f2043f907dc5 100644

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

drivers/gpu/drm/vc4/vc4_hdmi_phy.c +5 -0
index 56e6a35da357..5040f014bf7e 100644

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

drivers/hwmon/aquacomputer_d5next.c +46 -12

58 lines not on this page · raw message

drivers/hwmon/asus_rog_ryujin.c +53 -1

54 lines not on this page · raw message

drivers/hwmon/asus_wmi_sensors.c +5 -8
index c2dd7ff882f2..502996e97cf1 100644

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

drivers/hwmon/chipcap2.c +128 -64

192 lines not on this page · raw message

drivers/hwmon/coretemp.c +10 -3
index 9ed21c8c093a..2d7487b2f80a 100644

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

drivers/hwmon/corsair-cpro.c +2 -1
index e6d31d367698..6ce5da37de03 100644

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

drivers/hwmon/gpd-fan.c +1 -0
index ed212615b2fe..b3b75f99f588 100644

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

drivers/hwmon/gpio-fan.c +4 -3
index 3f78375eeb44..08b58b49be5b 100644

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

drivers/hwmon/hp-wmi-sensors.c +16 -13
index cfa0d6ad0fb3..12950666c981 100644

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

drivers/hwmon/lm75.c +2 -7
index 2d2d752aeac9..917ac250a648 100644

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

drivers/hwmon/lm87.c +5 -2
index c09074f44708..bb4e15b66355 100644

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

drivers/hwmon/nct6683.c +2 -2
index e1c36c95affb..f34cb62305be 100644

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

drivers/hwmon/peci/dimmtemp.c +14 -7
index bd3e8715dfec..617a4cc0f65c 100644

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

drivers/hwmon/pmbus/pmbus_core.c +30 -21

51 lines not on this page · raw message

drivers/hwmon/pmbus/q54sj108a2.c +2 -0
index ecac405d7536..b018a611d9b6 100644

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

drivers/hwmon/sht15.c +14 -8
index 7bb2105d1ae2..48d93c61345c 100644

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

drivers/hwmon/sht4x.c +3 -1
index 0bb9227674a8..f38c106b7090 100644

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

drivers/hwmon/tmp108.c +11 -15
index 91d20a1ce112..862b944d3e60 100644

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

drivers/idle/intel_idle.c +8 -3
index 651408df9c24..ec951c148d4a 100644

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

drivers/iommu/amd/init.c +36 -5

41 lines not on this page · raw message

drivers/iommu/amd/iommu.c +4 -13
index 893cd2be11a2..b19496f8c1b0 100644

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

drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-sva.c +7 -0
index 0a429c64fbf3..3f50298a1c14 100644

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

drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c +73 -16

89 lines not on this page · raw message

drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h +5 -0
index dd2fee2f560e..094ce28c862f 100644

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

drivers/iommu/iommufd/io_pagetable.c +1 -1
index 283ab372e8da..5ac736cf5bb5 100644

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

drivers/iommu/iommufd/iova_bitmap.c +18 -1
index dac3e657d498..908c70f5362e 100644

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

drivers/iommu/virtio-iommu.c +4 -2
index 587fc13197f1..fa72ae23b8af 100644

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

drivers/media/pci/intel/ipu6/ipu6-fw-isys.c +52 -36

88 lines not on this page · raw message

drivers/media/pci/intel/ipu6/ipu6-isys-video.c +2 -2
index 3ac48d2076da..89eb265737d7 100644

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

drivers/media/pci/intel/ipu6/ipu6-isys.c +3 -3
index 24db2763de54..e13fbbae8c98 100644

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

drivers/media/pci/intel/ipu6/ipu6-isys.h +2 -3
index 7fb8cb820912..0b139ab24431 100644

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

drivers/media/platform/microchip/microchip-isc-base.c +11 -9
index 21d108eb93c7..963d5fd53b58 100644

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

drivers/media/platform/microchip/microchip-isc-regs.h +11 -5
index e77e1d9a1db8..fe145b142b82 100644

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

drivers/media/platform/microchip/microchip-isc.h +3 -1
index f5e322c2e36b..d7bcd74efff9 100644

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

drivers/media/platform/microchip/microchip-sama5d2-isc.c +10 -10
index 5bd109e93a8f..5e41eee45dbd 100644

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

drivers/media/platform/microchip/microchip-sama7g5-isc.c +10 -10
index d978ce448a4d..9e78ea07b013 100644

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

drivers/media/usb/uvc/uvc_driver.c +20 -0
index e289cc71ba98..73b97ec578ec 100644

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

drivers/mtd/spi-nor/macronix.c +2 -0
index e97f5cbd9aad..c854a1163a47 100644

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

drivers/net/can/dev/netlink.c +2 -2
index 766d455950f5..b958c04d53db 100644

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

drivers/net/can/dev/skb.c +6 -4
index 14edec5afb57..9e274147ffe5 100644

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

drivers/net/can/usb/peak_usb/pcan_usb_fd.c +6 -1
index 0d46f4ce5dca..39f0740421c3 100644

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

drivers/net/ethernet/atheros/atl1c/atl1c_main.c +33 -0
index e58f1d2c26bd..eddd8406867f 100644

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

drivers/net/ethernet/jme.c +32 -5
index 25ec5f757c68..acb4d41f56e1 100644

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

drivers/net/ethernet/jme.h +1 -0
index 860494ff3714..ec5dfddf7322 100644

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

drivers/net/ethernet/ti/am65-cpsw-nuss.c +3 -1
index 6330540979d7..f54cfcb7d153 100644

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

drivers/net/veth.c +3 -2
index 7db389ae866d..c1859ffcdaf1 100644

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

drivers/net/vxlan/vxlan_core.c +3 -11
index 3390e341d1e5..7ecd73a5a374 100644

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

drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c +7 -0
index 872c48806d09..62d072b6369e 100644

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

drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c +1 -1
index 069ba7016654..ff47d4827722 100644

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

drivers/net/wireless/realtek/rtw88/mac80211.c +2 -0
index 0b622d7663b6..2a9b09fa76e7 100644

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

drivers/net/wireless/realtek/rtw88/reg.h +2 -0
index 08e9494977e0..0b9ba6f37680 100644

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

drivers/net/wireless/realtek/rtw88/tx.c +5 -4
index 8786bbb421c2..701ed7c4f3f7 100644

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

drivers/net/wireless/realtek/rtw88/tx.h +2 -1
index d34cdeca16f1..168f48e87853 100644

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

drivers/net/wireless/realtek/rtw88/usb.c +64 -4

68 lines not on this page · raw message

drivers/net/wireless/realtek/rtw88/usb.h +5 -0
index 9b695b688b24..94ff21dd0846 100644

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

drivers/net/wireless/rsi/rsi_91x_core.c +1 -1
index ead4d4e04328..3281fc94e107 100644

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

drivers/nvme/common/keyring.c +1 -0
index 32d16c53133b..87cb51e1f5a7 100644

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

drivers/nvme/host/core.c +16 -5
index af71d02b8476..a0811b49710c 100644

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

drivers/nvme/host/multipath.c +0 -2
index 99ecc73393e5..0920fa9616de 100644

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

drivers/nvme/host/pci.c +2 -0
index 77317e5d00f9..b7c5a18b899b 100644

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

drivers/nvme/host/pr.c +6 -2
index fe7dbe264815..d8b6ac4d83bb 100644

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

drivers/nvme/host/rdma.c +4 -3
index 5b9b540693b5..ff7b9e379614 100644

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

drivers/nvme/host/tcp.c +176 -37

213 lines not on this page · raw message

drivers/nvme/target/admin-cmd.c +15 -1
index 7764a3c0195c..3704493dbec9 100644

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

drivers/nvme/target/configfs.c +2 -2
index 83b86180c50f..61107bcfc895 100644

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

drivers/nvme/target/core.c +7 -1
index 07a74c2e1f58..0f5e94bf12bd 100644

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

drivers/nvme/target/nvmet.h +8 -0
index 2032db380f99..215315ebe42d 100644

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

drivers/pci/controller/cadence/pcie-cadence-plat.c +9 -24
index a1ea24fc3b63..4a24302cc5b2 100644

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

drivers/pci/controller/cadence/pcie-cadence.c +1 -15
index a1eada56edba..0ac980249941 100644

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

drivers/pci/controller/cadence/pcie-cadence.h +0 -2
index b4d51adefea5..4a96e1869e53 100644

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

drivers/pci/controller/dwc/pcie-designware.c +2 -0
index 593388f29bdd..9297d0e607e3 100644

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

drivers/pci/controller/dwc/pcie-designware.h +1 -0
index 0735ae940924..668a5ba1c6f5 100644

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

drivers/platform/chrome/cros_ec_ishtp.c +1 -1
index 3766cef81fe8..b21a27ad3762 100644

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

drivers/platform/chrome/cros_usbpd_notify.c +22 -19

41 lines not on this page · raw message

drivers/ptp/ptp_sysfs.c +5 -1
index dc398c6b7528..7d09256aca72 100644

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

drivers/scsi/aic7xxx/aic79xx_core.c +3 -1
index 3602a1fc40e4..4abc7948187f 100644

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

drivers/scsi/aic7xxx/aic79xx_osm.h +21 -5
index 793fe19993a9..3bcfcfe18f08 100644

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

drivers/scsi/aic7xxx/aic7xxx_core.c +6 -2
index b9761f9f0bbc..8ad82171e925 100644

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

drivers/scsi/aic7xxx/aic7xxx_pci.c +19 -1
index 2d4c85426dc3..5a04c7d55e4b 100644

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

drivers/scsi/scsi_bsg.c +5 -3
index 5eec248a77a6..e4a65d7a2374 100644

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

drivers/target/target_core_device.c +15 -3
index 9db2201aa553..c5d5d6a91fee 100644

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

drivers/target/target_core_fabric_lib.c +10 -0
index 2853b95b2c59..ad024009df56 100644

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

drivers/target/target_core_tpg.c +9 -1
index ccff9f6e4826..e615e5e30427 100644

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

drivers/target/target_core_user.c +5 -0
index edc2afd5f4ee..839d5b2e7250 100644

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

drivers/thermal/intel/int340x_thermal/int3403_thermal.c +1 -2
index 264c9bc8e645..2262de1e14d9 100644

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

drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c +5 -1
index 965700ee6962..9451fea1f65c 100644

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

drivers/thermal/intel/int340x_thermal/processor_thermal_device.c +1 -1
index b0284c2e2e74..9bdb65f54b6a 100644

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

drivers/vdpa/solidrun/snet_ctrl.c +2 -1
index e284c3a06717..09afa0487fd6 100644

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

drivers/vdpa/vdpa_user/iova_domain.c +10 -1
index b6c958224b7c..28a977248a0d 100644

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

drivers/vhost/scsi.c +6 -1
index 4f8c0260bc9e..ddc9bea190de 100644

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

drivers/vhost/vdpa.c +2 -6
index a31786796d4c..c7a9702c2447 100644

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

drivers/vhost/vhost.c +1 -2
index 44cac11b68d2..0226c4c59709 100644

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

drivers/vhost/vringh.c +14 -13
index 9066f9f12ba1..f027f669460f 100644

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

drivers/vhost/vsock.c +16 -18
index abed1fbcf66c..35f75e23c749 100644

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

fs/9p/v9fs.c +6 -12
index 274c5157135d..b30ca5145fae 100644

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

fs/9p/vfs_inode.c +8 -0
index 3829554ca369..2d7e0c1a5353 100644

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

fs/btrfs/ioctl.c +24 -0
index 576cd76ca0bf..beae9dcb5a3e 100644

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

fs/btrfs/sysfs.c +1 -0
index 39cb01ee441a..71b1ec6c0643 100644

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

fs/ceph/addr.c +6 -0
index e07a7b1d3663..f32a533f4100 100644

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

fs/erofs/fileio.c +15 -3
index ebb81a7ffd4c..ac846cfbc563 100644

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

fs/ext2/file.c +2 -1
index b9020df7d89e..d4a0a528c342 100644

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

fs/ext2/inode.c +6 -7
index a9245f0cda4d..53edda7217f3 100644

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

fs/f2fs/checkpoint.c +6 -7
index 4b59f30ef45d..a84517023e54 100644

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

fs/f2fs/data.c +23 -5
index cfd81bfc28a2..e0abc159b796 100644

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

fs/f2fs/f2fs.h +5 -5
index 0c85d90307f7..f0024647153d 100644

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

fs/f2fs/gc.c +4 -7
index 0a00180c21dc..6220d55709e9 100644

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

fs/f2fs/node.c +63 -12

75 lines not on this page · raw message

fs/f2fs/segment.c +2 -1
index f3a73b6c24c3..75f78ed7eb90 100644

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

fs/f2fs/super.c +24 -0
index b9adad85e18c..b18ea09bcbe2 100644

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

fs/f2fs/sysfs.c +2 -0
index 811e350a1430..5ee12547171c 100644

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

fs/fat/inode.c +2 -0
index f775a004cae1..065658642e7f 100644

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

fs/nfsd/nfs2acl.c +63 -1

64 lines not on this page · raw message

fs/nfsd/nfs3proc.c +56 -2

58 lines not on this page · raw message

fs/nfsd/nfs3xdr.c +2 -0
index e481804bb120..f418cab0bd61 100644

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

fs/nfsd/nfs4proc.c +55 -5

60 lines not on this page · raw message

fs/nfsd/nfs4recover.c +38 -11

49 lines not on this page · raw message

fs/nfsd/nfs4state.c +20 -4
index 3bdde4c1bb8e..f0a795940137 100644

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

fs/nfsd/nfs4xdr.c +1 -1
index ebd0dc8f00fc..f7d2884aba44 100644

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

fs/nfsd/nfsctl.c +53 -3

56 lines not on this page · raw message

fs/nfsd/nfsproc.c +1 -1
index aaeb222b62ba..48182f78d6be 100644

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

fs/nfsd/state.h +2 -0
index 9661c08b879e..df35c35890d4 100644

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

fs/nfsd/vfs.c +27 -81

108 lines not on this page · raw message

fs/nfsd/vfs.h +18 -3
index 4af2ff9e9dfe..bdb58422a3fb 100644

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

fs/nfsd/xdr3.h +1 -1
index 344203874b4c..cad875d14231 100644

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

fs/notify/inotify/inotify_fsnotify.c +1 -1
index 7c326ec2e8a8..6e3af6452dcc 100644

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

fs/ntfs/ea.c +5 -0
index 6ac551fe8ea6..9e00588ff9b5 100644

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

fs/ntfs3/xattr.c +14 -11
index 594ef6860b93..fb7276d4a428 100644

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

fs/ocfs2/cluster/tcp.c +3 -2
index 474fe1414cee..0ba26bd2eba1 100644

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

fs/ocfs2/dcache.h +2 -3
index 7f246c5692d8..046ab9a80769 100644

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

fs/ocfs2/dlm/dlmmaster.c +61 -9

70 lines not on this page · raw message

fs/ocfs2/dlmglue.c +17 -17
index 1a83241b6d41..a2a33c34fdf9 100644

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

fs/ocfs2/filecheck.c +2 -0
index 75334e4bd082..e3b79bc749f5 100644

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

fs/ocfs2/journal.c +12 -3
index a3938a03e93b..674e70dfbb5c 100644

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

fs/ocfs2/journal.h +1 -0
index 19fc920d26b1..4b52bf7b0938 100644

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

fs/ocfs2/move_extents.c +39 -31

70 lines not on this page · raw message

fs/ocfs2/super.c +3 -0
index 169c576f06bf..e5482c556552 100644

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

fs/ocfs2/xattr.c +107 -13

120 lines not on this page · raw message

fs/open.c +1 -0
index 6b1c14e684a9..d7d9fcc666ab 100644

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

fs/overlayfs/dir.c +25 -21

46 lines not on this page · raw message

fs/overlayfs/export.c +2 -2
index 9aae20c59608..bd998a3d8b95 100644

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

fs/overlayfs/inode.c +8 -0
index 7e1ac70c5d97..e3aa0931bea9 100644

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

fs/overlayfs/namei.c +10 -3
index c6127edb9be9..64d63b260709 100644

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

fs/overlayfs/overlayfs.h +10 -11
index 91cdd7e15696..a5aa22cc79a8 100644

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

fs/overlayfs/readdir.c +4 -2
index 80366424b3dc..e23331212a29 100644

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

fs/overlayfs/super.c +11 -1
index 861b0775f9dd..c06bfe9765e2 100644

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

fs/overlayfs/util.c +11 -2
index b41f4788e4f0..04103a6741ba 100644

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

fs/proc/task_mmu.c +1 -1
index a2db957aa799..2eaa79ab1138 100644

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

fs/smb/server/mgmt/user_session.c +4 -0
index 1b30e432ebfd..d131809dd08a 100644

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

fs/smb/server/smb2pdu.c +45 -20

65 lines not on this page · raw message

fs/smb/server/smbacl.c +36 -7

43 lines not on this page · raw message

fs/smb/server/vfs.c +2 -2
index 7453b6e72bd4..674e4fcd80cb 100644

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

fs/smb/server/vfs.h +2 -0
index 53044549571a..7cdd49678667 100644

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

fs/smb/server/vfs_cache.c +42 -16

58 lines not on this page · raw message

fs/udf/balloc.c +7 -4
index 30cec5600149..75124188e745 100644

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

fs/udf/super.c +79 -1

80 lines not on this page · raw message

fs/udf/truncate.c +4 -3
index 0990f94b8551..75151a59f0da 100644

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

fs/xfs/libxfs/xfs_attr_leaf.c +8 -1
index 02ca50442b46..5b1fd6271420 100644

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

fs/xfs/libxfs/xfs_bmap.c +12 -2
index d64defeda645..fce2705c67d2 100644

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

fs/xfs/libxfs/xfs_bmap.h +9 -1
index d5f2729305fa..76d25e5d5d9c 100644

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

fs/xfs/libxfs/xfs_btree.c +2 -2
index 60ef7f08b1d3..b978ddc13c15 100644

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

fs/xfs/scrub/attr.c +80 -22

102 lines not on this page · raw message

fs/xfs/scrub/attr_repair.c +13 -3
index c7695d4cc8e7..ad688f9f7ce9 100644

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

fs/xfs/scrub/dir.c +100 -10

110 lines not on this page · raw message

fs/xfs/scrub/dir_repair.c +81 -19

100 lines not on this page · raw message

fs/xfs/scrub/quota_repair.c +27 -6
index b4f33f432b12..3be56d73dd66 100644

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

fs/xfs/xfs_discard.c +18 -8
index 906221ffe9ba..cdf660344c28 100644

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

fs/xfs/xfs_file.c +1 -1
index d8202da15aca..59bd9a24b3ef 100644

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

fs/xfs/xfs_healthmon.c +1 -1
index 2bdd747f1ead..05d6f0494139 100644

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

fs/xfs/xfs_ioctl32.c +2 -2
index c66e192448a8..e411f9453bfb 100644

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

fs/xfs/xfs_ioend.c +1 -1
index 40695d18dac0..aced9a023db1 100644

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

fs/xfs/xfs_iomap.c +25 -3
index 7c6238fed61e..373ff0e64f14 100644

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

fs/xfs/xfs_iomap.h +2 -1
index f2520a9b3a13..8fc0c6fc8bea 100644

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

fs/xfs/xfs_pnfs.c +36 -16

52 lines not on this page · raw message

include/acpi/acpi_bus.h +7 -0
index a10a591c18b2..8b1d329455f7 100644

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

include/acpi/cppc_acpi.h +6 -0
index 94a6277edab2..a32b09ec3394 100644

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

include/asm-generic/tlb.h +1 -2
index bdcc2778ac64..32ffffd9d7b9 100644

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

include/crypto/mldsa.h +4 -2
index 3ef2676787c9..b156f166a141 100644

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

include/dt-bindings/clock/nuvoton,ma35d1-clk.h +2 -1
index ba2d70f776a6..764d837d6162 100644

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

include/linux/assoc_array_priv.h +1 -1
index dca733ef6750..37a9f76e1505 100644

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

include/linux/blkdev.h +1 -3
index 4f7905c3412b..3989bb0dd43b 100644

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

include/linux/can/can-ml.h +3 -0
index 1e99fda2b380..cfefa4a385be 100644

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

include/linux/can/dev.h +1 -1
index 6d0710d6f571..346faddee02e 100644

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

include/linux/can/skb.h +2 -2
index 5d27843862fc..87ace09c0d8b 100644

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

include/linux/damon.h +10 -0
index 0c8b7ddef9ab..9772309b2b58 100644

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

include/linux/huge_mm.h +2 -3
index c745f7ad2298..fac05120ab77 100644

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

include/linux/hugetlb.h +6 -9
index 45ada75dc04e..77d62c930dc3 100644

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

include/linux/ksm.h +3 -3
index d39d0d5483a2..a0d358a1feb6 100644

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

include/linux/memfd.h +9 -0
index c159e40e3f34..272479317cf1 100644

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

include/linux/mmu_notifier.h +2 -1
index a11a44eef521..5db78e5761c5 100644

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

include/linux/mmzone.h +2 -0
index 94f9c3ff5416..da8dd04fb462 100644

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

include/linux/nfs4.h +6 -0
index 1a3981c26b23..41b7cdcc674f 100644

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

include/linux/shmem_fs.h +6 -9
index 5663dff53186..842cc0f96147 100644

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

include/linux/srcu.h +36 -0
index 7d9bc06df98d..1c221861ba43 100644

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

include/linux/sunrpc/clnt.h +2 -1
index 3c2b8c355ab3..30344c0d6a9d 100644

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

include/linux/sunrpc/svc.h +5 -2
index 2db1b9ec5658..5fa9417e034d 100644

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

include/linux/userfaultfd_k.h +0 -2
index a4351cffc60c..4c0924c73166 100644

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

include/net/espintcp.h +3 -2
index c70efd704b6d..7cad3c6822df 100644

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

include/net/inet_frag.h +9 -0
index b02d2472b003..c1fb419a9cf0 100644

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

include/net/netns/can.h +1 -1
index 48b79f7e6236..54f23681e0d4 100644

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

include/net/sctp/sm.h +1 -0
index 3bfd261a53cc..76605d1ee839 100644

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

include/sound/cs35l56.h +4 -0
index 747e10ec1a27..ce6383c2c60c 100644

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

include/sound/hwdep.h +1 -0
index b0da633184cd..7357727f0660 100644

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

include/uapi/linux/iommufd.h +6 -0
index 5d47d1421c1f..63a86354e822 100644

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

io_uring/cancel.c +24 -2
index 75a21ecfe69c..6be224ab53dc 100644

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

io_uring/poll.c +55 -7

62 lines not on this page · raw message

io_uring/rsrc.c +16 -5
index d69baa47c7e7..c1ab760c4591 100644

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

io_uring/sqpoll.c +25 -1
index 49c52284ecdd..d387488db2de 100644

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

kernel/events/core.c +9 -0
index c4217c996f5a..9b90b6831de7 100644

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

kernel/fork.c +14 -6
index 8ad34646962d..48d7ca064404 100644

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

kernel/panic.c +1 -1
index cec271601935..f08453f0d8b4 100644

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

kernel/sched/fair.c +2 -2
index b35e23f93bcd..913630c0b059 100644

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

lib/assoc_array.c +219 -136

355 lines not on this page · raw message

lib/base64.c +3 -0
index 325c7332b049..e46be3a55585 100644

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

lib/crypto/Kconfig +3 -3
index 56f308dd0273..83b4a211c15d 100644

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

lib/crypto/mldsa.c +11 -4
index c96fddc4e7dc..80e0e63b418a 100644

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

lib/crypto/tests/mldsa_kunit.c +9 -0
index ec64e10c97f2..d0ee704a3694 100644

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

mm/cma.c +11 -3
index a10ea37a261d..9ec1d1fd5dff 100644

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

mm/damon/core.c +27 -5
index e018635774be..85bcb6da9ad0 100644

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

mm/damon/sysfs-schemes.c +5 -3
index 974c456a9e09..20eb8c242f2f 100644

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

mm/filemap.c +42 -42

84 lines not on this page · raw message

mm/gup.c +51 -17

68 lines not on this page · raw message

mm/huge_memory.c +109 -37

146 lines not on this page · raw message

mm/hugetlb.c +55 -37

92 lines not on this page · raw message

mm/hugetlb_vmemmap.c +5 -3
index 917db0984143..8e5981888937 100644

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

mm/internal.h +34 -4
index 38b1165212c9..526ad50e3c1d 100644

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

mm/khugepaged.c +51 -24

75 lines not on this page · raw message

mm/ksm.c +52 -14

66 lines not on this page · raw message

mm/madvise.c +9 -0
index 54d8397059ba..222c10eb61eb 100644

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

mm/memcontrol.c +5 -0
index b5137e86bed7..b303bfc6b46e 100644

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

mm/memfd.c +2 -0
index 0f6fff004f5e..0e3ff3eebfa8 100644

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

mm/memory-tiers.c +13 -16
index 54851d8a195b..ddc135f55eb8 100644

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

mm/memory.c +87 -42

129 lines not on this page · raw message

mm/mempolicy.c +2 -2
index 839c3fe985a0..d9de3b5d5ebe 100644

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

mm/migrate.c +3 -2
index 15b45832bcfa..ee78577177d6 100644

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

mm/mm_init.c +0 -2
index 1533aebafb68..36ec1ef0712c 100644

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

mm/mmap.c +1 -7
index 4bf26b0f1e6e..6f22cd76be4f 100644

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

mm/mmu_notifier.c +18 -6
index df69ba6e797f..a7bae5de5fed 100644

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

mm/mremap.c +44 -59

103 lines not on this page · raw message

mm/nommu.c +1 -1
index ed44510e3770..6e0f9c7da236 100644

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

mm/page-writeback.c +5 -3
index eeab25d6ce36..1d6aab8781a5 100644

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

mm/page_alloc.c +25 -5
index 8ca2289d0491..8714425ffe84 100644

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

mm/page_alloc.h +8 -6
index 2b1017a91928..a9b72cb9520e 100644

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

mm/rmap.c +19 -4
index 6b3480330b92..9ffd3e833e08 100644

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

mm/shmem.c +94 -47

141 lines not on this page · raw message

mm/shmem_quota.c +15 -13
index d0b92d6da50f..eeca9efd448a 100644

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

mm/swapfile.c +5 -2
index 601979b97f95..278060e24113 100644

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

mm/truncate.c +11 -2
index 29782aced8ba..b7c5d3384748 100644

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

mm/userfaultfd.c +15 -42

57 lines not on this page · raw message

mm/util.c +13 -0
index bf0513d1d3d0..e31eb565445c 100644

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

mm/vma.c +37 -17

54 lines not on this page · raw message

mm/vma_init.c +3 -0
index baa7e82f47e3..d661f229a734 100644

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

mm/vmscan.c +17 -12
index 6a53762d5544..88fd31d13585 100644

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

net/9p/trans_usbg.c +64 -25

89 lines not on this page · raw message

net/9p/trans_virtio.c +5 -0
index b0d0094ec8e2..9fa63e3ebf67 100644

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

net/9p/trans_xen.c +10 -0
index f9fb2db7a066..71a4d276321e 100644

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

net/batman-adv/bat_iv_ogm.c +5 -0
index 53fbdbbe8f4f..1c2ab79adabc 100644

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

net/batman-adv/distributed-arp-table.c +1 -0
index 011cfdc47fab..86791ddc148f 100644

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

net/batman-adv/main.c +9 -3
index d89d44706269..5d5a0be323e6 100644

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

net/batman-adv/multicast_forw.c +4 -1
index ac97cd8b81dc..9ffed1f237b6 100644

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

net/batman-adv/tp_meter.c +1 -1
index 022eb13e8ec4..56feb02d2b7e 100644

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

net/batman-adv/translation-table.c +91 -42

133 lines not on this page · raw message

net/batman-adv/types.h +7 -1
index 9bdc5a3e799e..db0d4f680e65 100644

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

net/bluetooth/hci_sync.c +20 -5
index a92a81846e9d..5b99da7028b9 100644

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

net/bluetooth/l2cap_core.c +45 -2

47 lines not on this page · raw message

net/can/af_can.c +31 -23

54 lines not on this page · raw message

net/can/bcm.c +16 -34

50 lines not on this page · raw message

net/can/gw.c +4 -3
index 5793cb2420ed..54bb5bd3242a 100644

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

net/can/isotp.c +142 -88

230 lines not on this page · raw message

net/can/proc.c +41 -28

69 lines not on this page · raw message

net/can/raw.c +163 -111

274 lines not on this page · raw message

net/core/dev.c +3 -1
index cc7b32ab5608..f803d8ba866f 100644

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

net/core/filter.c +15 -8
index 70dc621672f2..d3e5a2843d5e 100644

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

net/core/sock.c +2 -4
index e8551df8330f..1108543f9fec 100644

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

net/ipv4/cipso_ipv4.c +7 -2
index 1aacbbeffbc6..e65a3f29d2ca 100644

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

net/ipv4/inet_connection_sock.c +3 -3
index 8e891c8141f8..a1fe2531cb59 100644

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

net/ipv4/inet_fragment.c +5 -0
index c18da91c1f03..0b8d22ffafca 100644

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

net/ipv4/inet_hashtables.c +1 -1
index 58d54965036a..7ffa9171d6de 100644

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

net/ipv4/inet_timewait_sock.c +2 -2
index d4c781a0667f..74ff40d42e56 100644

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

net/ipv4/syncookies.c +1 -1
index 644030561537..4b2d2713653b 100644

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

net/ipv4/tcp_fastopen.c +1 -1
index 471c78be5513..e40477b6b554 100644

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

net/ipv4/xfrm4_output.c +5 -2
index 0ae67d537499..fffa3c4f456e 100644

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

net/ipv6/addrconf.c +2 -1
index a2d3fb187f76..3350330c3f1c 100644

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

net/ipv6/datagram.c +4 -0
index 38d7b4845281..9672ac979f47 100644

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

net/ipv6/inet6_hashtables.c +1 -1
index aa5fa1dd062f..1eea584d80df 100644

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

net/ipv6/raw.c +3 -0
index b965258cf9e5..bdea825434ea 100644

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

net/l2tp/l2tp_core.c +11 -2
index 7e042a3e648c..0cd3e38bf662 100644

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

net/mac80211/tdls.c +2 -1
index f663d28d9209..71db07aa301b 100644

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

net/mac80211/tx.c +2 -0
index 5714634c8103..27bae2a4fa86 100644

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

net/mptcp/pm_kernel.c +1 -0
index 1a7750813235..f7396628490e 100644

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

net/mptcp/subflow.c +11 -0
index 2c72cb50fbf3..0b67b46ef872 100644

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

net/qrtr/af_qrtr.c +45 -8

53 lines not on this page · raw message

net/sched/sch_generic.c +36 -5

41 lines not on this page · raw message

net/sched/sch_qfq.c +3 -0
index 6f3b7273cb16..e900890e9c54 100644

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

net/sched/sch_taprio.c +5 -0
index 39ac5b97aa3a..0eb0803047a1 100644

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

net/sctp/sm_make_chunk.c +11 -3
index 84a4c97d0f75..0896ec6c75ce 100644

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

net/sctp/socket.c +47 -10

57 lines not on this page · raw message

net/smc/smc_rx.c +38 -1
index 197fddc6271f..63c178c10bf1 100644

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

net/sunrpc/rpcb_clnt.c +19 -3
index 4c0b7fefee4e..84c06f99e1c7 100644

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

net/sunrpc/svc.c +41 -1

42 lines not on this page · raw message

net/wireless/reg.c +3 -0
index 11665e0a7efc..44226687349e 100644

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

net/xfrm/espintcp.c +26 -17

43 lines not on this page · raw message

net/xfrm/xfrm_interface_core.c +8 -0
index 688306bf62c5..9835fbe63ccb 100644

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

net/xfrm/xfrm_policy.c +9 -2
index 513c9f228334..f6f40ba713d5 100644

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

rust/kernel/cpufreq.rs +2 -2
index b75d692846a2..f31671129c98 100644

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

sound/core/hwdep.c +2 -0
index c6de5345e946..fb9034897c56 100644

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

sound/core/ump_convert.c +1 -1
index 0a7972d91ec5..ecbd894f4c83 100644

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

sound/hda/codecs/realtek/alc269.c +43 -2

45 lines not on this page · raw message

sound/hda/codecs/side-codecs/tas2781_hda.c +26 -1
index e0da299df780..9162173ccb10 100644

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

sound/pci/cs46xx/dsp_spos.c +2 -0
index a77e6f5a14ad..57b0a6321e0b 100644

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

sound/pci/cs46xx/dsp_spos_scb_lib.c +2 -1
index fd19365026b4..c5208e42cde9 100644

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

sound/soc/amd/yc/acp6x-mach.c +7 -0
index 1be8504571ad..96b0bfeddc06 100644

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

sound/soc/codecs/cs35l56-sdw.c +26 -1
index e10f04d677f4..a49ad69644b5 100644

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

sound/soc/codecs/cs35l56-shared.c +38 -0
index 7b3e37d462d6..b37f65cd4d33 100644

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

sound/soc/codecs/cs35l56.c +17 -0
index 279db3f13f1e..573cc71a1910 100644

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

sound/soc/codecs/cs35l56.h +1 -0
index f7cf8aa653e2..b46f410f0e09 100644

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

sound/soc/codecs/hdac_hda.c +24 -1
index 40d602f79314..9e45b20940f2 100644

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

sound/soc/codecs/tas2770.c +7 -7
index e79754edac5c..355fcbfd01c7 100644

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

sound/soc/qcom/qdsp6/q6apm.c +4 -2
index a79bbb34c777..8a756249e588 100644

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

sound/soc/qcom/qdsp6/q6prm.c +3 -0
index 1f3ce4cc0837..bcc73127d54d 100644

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

sound/soc/sof/intel/hda-codec.c +4 -19
index fd371850b0d6..32fcc1cd3f92 100644

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

sound/soc/sof/intel/hda-sdw-bpt.c +6 -0
index ba9fbd662b85..9d97d8676251 100644

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

sound/usb/bcd2000/bcd2000.c +17 -3
index 2bd49bf82748..0fd086cac955 100644

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

sound/usb/caiaq/input.c +2 -0
index 8d924330c54c..309a361ca9f7 100644

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

sound/usb/line6/capture.c +29 -0
index ceee51eeda0d..32922b7f2ffc 100644

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

sound/usb/midi.c +37 -27

64 lines not on this page · raw message

sound/usb/qcom/qc_audio_offload.c +7 -0
index e4bfd43a2488..5ee568e0454c 100644

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

sound/usb/usx2y/us122l.c +19 -8
index a5db0d044ef9..9b4ec9bdc138 100644

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

sound/usb/usx2y/usX2Yhwdep.c +5 -0
index 7f153a2fcdd8..3800c5b5887c 100644

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

sound/usb/usx2y/usb_stream.c +4 -5
index 3122cf653273..7d621280fba3 100644

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

sound/usb/usx2y/usbusx2yaudio.c +42 -1

43 lines not on this page · raw message

tools/perf/tests/tool_pmu.c +79 -0

79 lines not on this page · raw message

tools/perf/util/evsel.c +21 -9
index d4cb455f4a7d..5db43520f25e 100644

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

tools/perf/util/hwmon_pmu.c +1 -1
index ed544dca70c3..96aeb379e169 100644

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

tools/perf/util/tool_pmu.c +1 -1
index 5c30854b4644..d2f7591747d9 100644

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

tools/testing/selftests/filesystems/fscontext_ns/fscontext_ns_test.c +1 -1
index 0f30a3e6e197..535bf1f4e1a3 100644

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

tools/testing/selftests/net/fib_nexthops.sh +28 -12
index 431d7bed7622..adbec51917eb 100755

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

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

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