Skip to contentSkip to conversation

Linux 6.18.44

DISCUSSION Greg Kroah-Hartman 1 participant 2 messages Aug 9 Stable branch

lore
Share & tools
lore

Greg Kroah-Hartman

author maintainer
#0 lore raw

I'm announcing the release of the 6.18.44 kernel.

All users of the 6.18 kernel series must upgrade.

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

thanks,

greg k-h

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

 Documentation/hwmon/ina2xx.rst                            |   25 -
 Documentation/virt/kvm/api.rst                            |    6 
 Makefile                                                  |    2 
 arch/arm64/kvm/arm.c                                      |   25 -
 arch/arm64/kvm/mmu.c                                      |    4 
 arch/powerpc/boot/simpleboot.c                            |    2 
 arch/powerpc/boot/treeboot-akebono.c                      |    2 
 arch/powerpc/boot/treeboot-currituck.c                    |    2 
 arch/powerpc/platforms/ps3/mm.c                           |    1 
 arch/riscv/kernel/unaligned_access_speed.c                |    4 
 arch/riscv/mm/init.c                                      |    4 
 arch/s390/kvm/pci.c                                       |   78 ++-
 arch/s390/kvm/pci.h                                       |    2 
 arch/s390/pci/pci_mmio.c                                  |    1 
 arch/um/drivers/vector_kern.c                             |    3 
 arch/x86/boot/string.c                                    |   11 
 arch/x86/kernel/cpu/mshyperv.c                            |   28 -
 arch/x86/kvm/svm/avic.c                                   |    8 
 arch/x86/kvm/vmx/vmx_ops.h                                |    8 
 drivers/accel/qaic/qaic_control.c                         |    2 
 drivers/ata/ahci_ceva.c                                   |   18 
 drivers/ata/libata-eh.c                                   |    8 
 drivers/ata/libata-sata.c                                 |    2 
 drivers/ata/sata_mv.c                                     |    2 
 drivers/block/ublk_drv.c                                  |    9 
 drivers/bluetooth/btintel.c                               |    3 
 drivers/bluetooth/btmtk.c                                 |   50 --
 drivers/bluetooth/btusb.c                                 |   30 -
 drivers/cpufreq/powernow-k8.c                             |    1 
 drivers/dibs/dibs_loopback.c                              |   47 +
 drivers/dma/idxd/cdev.c                                   |    4 
 drivers/dma/sun6i-dma.c                                   |   11 
 drivers/gpio/gpio-pca953x.c                               |   15 
 drivers/gpio/gpio-pch.c                                   |   28 -
 drivers/gpio/gpio-sloppy-logic-analyzer.c                 |   10 
 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c                    |   39 -
 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c                   |   71 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c                   |   15 
 drivers/gpu/drm/amd/amdgpu/amdgpu_eviction_fence.c        |    3 
 drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c               |   30 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c                   |   12 
 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c                  |   10 
 drivers/gpu/drm/amd/amdkfd/kfd_events.c                   |   23 
 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c    |    2 
 drivers/gpu/drm/amd/amdkfd/kfd_queue.c                    |    2 
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c         |  243 +++++++---
 drivers/gpu/drm/amd/display/dc/core/dc.c                  |   45 +
 drivers/gpu/drm/amd/display/dc/dc.h                       |    1 
 drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c     |   20 
 drivers/gpu/drm/amd/display/dc/hwss/dcn30/dcn30_hwseq.c   |   16 
 drivers/gpu/drm/amd/pm/amdgpu_dpm.c                       |   12 
 drivers/gpu/drm/amd/pm/amdgpu_pm.c                        |    8 
 drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h                   |    3 
 drivers/gpu/drm/armada/armada_fbdev.c                     |   12 
 drivers/gpu/drm/bridge/display-connector.c                |   11 
 drivers/gpu/drm/display/drm_dp_helper.c                   |   12 
 drivers/gpu/drm/drm_exec.c                                |    6 
 drivers/gpu/drm/drm_fb_helper.c                           |   41 -
 drivers/gpu/drm/drm_fbdev_dma.c                           |   12 
 drivers/gpu/drm/drm_fbdev_shmem.c                         |   12 
 drivers/gpu/drm/drm_fbdev_ttm.c                           |   12 
 drivers/gpu/drm/drm_gpusvm.c                              |   12 
 drivers/gpu/drm/drm_gpuvm.c                               |    3 
 drivers/gpu/drm/exynos/exynos_drm_fbdev.c                 |    9 
 drivers/gpu/drm/gma500/fbdev.c                            |   12 
 drivers/gpu/drm/i915/display/intel_ddi.c                  |    2 
 drivers/gpu/drm/i915/display/intel_dp.c                   |    9 
 drivers/gpu/drm/i915/display/intel_fbdev.c                |    9 
 drivers/gpu/drm/i915/display/intel_hdmi.c                 |   26 +
 drivers/gpu/drm/i915/display/intel_hdmi.h                 |    2 
 drivers/gpu/drm/i915/display/intel_vrr.c                  |   10 
 drivers/gpu/drm/mediatek/mtk_crtc.c                       |    6 
 drivers/gpu/drm/mediatek/mtk_disp_ovl_adaptor.c           |    7 
 drivers/gpu/drm/msm/msm_fbdev.c                           |    9 
 drivers/gpu/drm/omapdrm/omap_fbdev.c                      |    9 
 drivers/gpu/drm/panthor/panthor_fw.c                      |   47 +
 drivers/gpu/drm/radeon/radeon_fbdev.c                     |   13 
 drivers/gpu/drm/tegra/fbdev.c                             |   18 
 drivers/gpu/drm/vc4/vc4_irq.c                             |    2 
 drivers/gpu/drm/vc4/vc4_validate.c                        |   29 -
 drivers/gpu/drm/vmwgfx/ttm_object.c                       |    7 
 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c                      |   39 +
 drivers/gpu/drm/vmwgfx/vmwgfx_cursor_plane.c              |   49 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c                   |   20 
 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c                     |   13 
 drivers/gpu/drm/vmwgfx/vmwgfx_page_dirty.c                |    4 
 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c                  |    4 
 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c                    |   13 
 drivers/gpu/drm/vmwgfx/vmwgfx_vkms.c                      |   17 
 drivers/gpu/drm/xe/Makefile                               |    1 
 drivers/gpu/drm/xe/xe_bo.h                                |   56 ++
 drivers/gpu/drm/xe/xe_bo_types.h                          |    6 
 drivers/gpu/drm/xe/xe_device_types.h                      |    2 
 drivers/gpu/drm/xe/xe_exec.c                              |   22 
 drivers/gpu/drm/xe/xe_gt_debugfs.c                        |    4 
 drivers/gpu/drm/xe/xe_guc_capture.c                       |   11 
 drivers/gpu/drm/xe/xe_hw_engine.c                         |    2 
 drivers/gpu/drm/xe/xe_hw_engine_types.h                   |    8 
 drivers/gpu/drm/xe/xe_migrate.c                           |   90 ++-
 drivers/gpu/drm/xe/xe_migrate.h                           |    4 
 drivers/gpu/drm/xe/xe_oa.c                                |    7 
 drivers/gpu/drm/xe/xe_oa_types.h                          |    3 
 drivers/gpu/drm/xe/xe_pagefault.c                         |   65 ++
 drivers/gpu/drm/xe/xe_pagefault.h                         |   19 
 drivers/gpu/drm/xe/xe_pagefault_types.h                   |  136 +++++
 drivers/gpu/drm/xe/xe_pat.c                               |    6 
 drivers/gpu/drm/xe/xe_pat.h                               |   10 
 drivers/gpu/drm/xe/xe_pci.c                               |    1 
 drivers/gpu/drm/xe/xe_pci_types.h                         |    1 
 drivers/gpu/drm/xe/xe_pt.c                                |   31 -
 drivers/gpu/drm/xe/xe_reg_whitelist.c                     |  119 ++++-
 drivers/gpu/drm/xe/xe_reg_whitelist.h                     |    4 
 drivers/gpu/drm/xe/xe_vm.c                                |  107 +++-
 drivers/hid/hid-logitech-dj.c                             |   28 -
 drivers/hv/channel_mgmt.c                                 |    6 
 drivers/hv/hv.c                                           |  206 ++++----
 drivers/hv/hyperv_vmbus.h                                 |   22 
 drivers/hv/mshv_eventfd.c                                 |   43 +
 drivers/hv/mshv_irq.c                                     |    6 
 drivers/hv/mshv_portid_table.c                            |    6 
 drivers/hv/mshv_root.h                                    |    2 
 drivers/hv/mshv_root_hv_call.c                            |    6 
 drivers/hv/mshv_root_main.c                               |    8 
 drivers/hv/mshv_synic.c                                   |    6 
 drivers/hv/vmbus_drv.c                                    |   19 
 drivers/hwmon/Kconfig                                     |    2 
 drivers/hwmon/adt7470.c                                   |  129 +++--
 drivers/hwmon/ina2xx.c                                    |  107 +++-
 drivers/hwmon/lm90.c                                      |    4 
 drivers/hwmon/ltc4282.c                                   |    4 
 drivers/hwmon/nct6775-core.c                              |   20 
 drivers/hwmon/npcm750-pwm-fan.c                           |   11 
 drivers/hwmon/nzxt-smart2.c                               |    2 
 drivers/hwmon/pmbus/pmbus_core.c                          |    7 
 drivers/hwmon/sht3x.c                                     |    9 
 drivers/i2c/busses/i2c-amd-mp2-plat.c                     |    4 
 drivers/i2c/busses/i2c-bcm-iproc.c                        |   11 
 drivers/i2c/busses/i2c-imx.c                              |   54 ++
 drivers/i2c/busses/i2c-jz4780.c                           |    5 
 drivers/i2c/busses/i2c-k1.c                               |   10 
 drivers/i2c/busses/i2c-qcom-cci.c                         |   18 
 drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-iommufd.c       |   15 
 drivers/iommu/io-pgfault.c                                |   24 -
 drivers/iommu/iommufd/device.c                            |    2 
 drivers/iommu/iommufd/eventq.c                            |    2 
 drivers/iommu/iommufd/viommu.c                            |   22 
 drivers/media/platform/chips-media/wave5/wave5-hw.c       |    3 
 drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c  |    5 
 drivers/media/platform/chips-media/wave5/wave5-vpuapi.h   |    1 
 drivers/media/platform/qcom/camss/camss-csid-340.c        |   28 -
 drivers/net/can/c_can/c_can_main.c                        |    8 
 drivers/net/can/ctucanfd/ctucanfd_base.c                  |   14 
 drivers/net/can/ctucanfd/ctucanfd_pci.c                   |    3 
 drivers/net/can/dev/skb.c                                 |    2 
 drivers/net/can/softing/softing_fw.c                      |   46 +
 drivers/net/can/usb/ems_usb.c                             |   43 +
 drivers/net/can/usb/etas_es58x/es58x_core.c               |    1 
 drivers/net/can/usb/gs_usb.c                              |    4 
 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c         |    1 
 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c          |   13 
 drivers/net/can/usb/peak_usb/pcan_usb_core.c              |    1 
 drivers/net/can/usb/peak_usb/pcan_usb_fd.c                |   40 +
 drivers/net/can/usb/peak_usb/pcan_usb_pro.c               |   20 
 drivers/net/dsa/mt7530-mdio.c                             |   11 
 drivers/net/dsa/mt7530.c                                  |   58 --
 drivers/net/ethernet/intel/e1000/e1000_main.c             |    2 
 drivers/net/ethernet/intel/ice/ice_dpll.c                 |   19 
 drivers/net/ethernet/intel/ice/ice_ethtool.c              |   10 
 drivers/net/ethernet/intel/ice/ice_main.c                 |   10 
 drivers/net/ethernet/intel/ice/ice_vf_lib.c               |   27 +
 drivers/net/ethernet/intel/ice/ice_vf_lib_private.h       |    1 
 drivers/net/ethernet/intel/ice/virt/queues.c              |   21 
 drivers/net/ethernet/intel/idpf/idpf_lib.c                |    2 
 drivers/net/ethernet/intel/idpf/idpf_txrx.c               |    5 
 drivers/net/ethernet/intel/idpf/idpf_txrx.h               |    2 
 drivers/net/ethernet/intel/igbvf/netdev.c                 |    2 
 drivers/net/ethernet/intel/igc/igc_main.c                 |    3 
 drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c      |    2 
 drivers/net/ethernet/mediatek/mtk_eth_soc.c               |    2 
 drivers/net/ethernet/nvidia/forcedeth.c                   |    4 
 drivers/net/ethernet/qlogic/qede/qede_main.c              |   44 -
 drivers/net/ethernet/realtek/rtase/rtase_main.c           |    3 
 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c           |   14 
 drivers/net/ethernet/wangxun/libwx/wx_lib.c               |    2 
 drivers/net/phy/phylink.c                                 |   29 -
 drivers/net/veth.c                                        |    4 
 drivers/net/vxlan/vxlan_core.c                            |   21 
 drivers/net/vxlan/vxlan_mdb.c                             |    4 
 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c |   13 
 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bus.h    |    6 
 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c   |   46 +
 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c   |    6 
 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c   |    6 
 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.h   |    1 
 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c    |    3 
 drivers/net/wireless/marvell/mwifiex/11n_rxreorder.c      |    2 
 drivers/of/address.c                                      |   22 
 drivers/of/of_reserved_mem.c                              |   14 
 drivers/phy/qualcomm/phy-qcom-m31-eusb2.c                 |    2 
 drivers/phy/xilinx/phy-zynqmp.c                           |   62 +-
 drivers/pinctrl/Kconfig                                   |    2 
 drivers/pinctrl/devicetree.c                              |    4 
 drivers/pinctrl/pinctrl-amd.c                             |    3 
 drivers/pinctrl/qcom/pinctrl-msm.c                        |    8 
 drivers/pinctrl/qcom/pinctrl-sc8280xp.c                   |   21 
 drivers/power/supply/bq25890_charger.c                    |    2 
 drivers/power/supply/max17040_battery.c                   |    6 
 drivers/ptp/ptp_netc.c                                    |   15 
 drivers/s390/block/dasd_eckd.c                            |   11 
 drivers/s390/block/dasd_ioctl.c                           |    2 
 drivers/s390/crypto/pkey_cca.c                            |   15 
 drivers/s390/crypto/zcrypt_api.c                          |    2 
 drivers/s390/crypto/zcrypt_ccamisc.c                      |   89 +++
 drivers/s390/crypto/zcrypt_ccamisc.h                      |    6 
 drivers/s390/net/qeth_core_main.c                         |    3 
 drivers/s390/scsi/zfcp_aux.c                              |    1 
 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c                    |   10 
 drivers/scsi/libiscsi.c                                   |    2 
 drivers/scsi/libiscsi_tcp.c                               |    8 
 drivers/scsi/libsas/sas_init.c                            |   37 -
 drivers/scsi/scsi_debug.c                                 |    8 
 drivers/spi/spi-cadence.c                                 |  129 ++++-
 drivers/spi/spi-nxp-fspi.c                                |   83 +++
 drivers/spi/spi-qcom-qspi.c                               |    3 
 drivers/spi/spi-qpic-snand.c                              |   22 
 drivers/target/target_core_iblock.c                       |    6 
 drivers/target/target_core_transport.c                    |   12 
 drivers/thunderbolt/xdomain.c                             |   40 +
 drivers/ufs/core/ufshcd.c                                 |   41 -
 drivers/usb/typec/ucsi/ucsi.c                             |   90 +--
 drivers/usb/typec/ucsi/ucsi.h                             |    1 
 fs/afs/fsclient.c                                         |    5 
 fs/afs/internal.h                                         |    3 
 fs/binfmt_misc.c                                          |   22 
 fs/btrfs/raid56.c                                         |    4 
 fs/btrfs/super.c                                          |    8 
 fs/btrfs/zoned.c                                          |   17 
 fs/erofs/Kconfig                                          |   14 
 fs/erofs/decompressor_lzma.c                              |    3 
 fs/iomap/ioend.c                                          |   21 
 fs/netfs/buffered_read.c                                  |    4 
 fs/netfs/read_pgpriv2.c                                   |    1 
 fs/netfs/write_issue.c                                    |    7 
 fs/proc/task_mmu.c                                        |   33 +
 fs/smb/client/cifssmb.c                                   |   12 
 fs/smb/client/inode.c                                     |    1 
 fs/smb/server/connection.h                                |    5 
 fs/smb/server/smb2pdu.c                                   |   10 
 fs/smb/server/smb_common.c                                |   37 +
 fs/smb/server/vfs_cache.c                                 |    6 
 include/asm-generic/mshyperv.h                            |    2 
 include/drm/drm_exec.h                                    |   20 
 include/drm/drm_fb_helper.h                               |   12 
 include/hyperv/hvhdk.h                                    |    6 
 include/hyperv/hvhdk_mini.h                               |    3 
 include/linux/alloc_tag.h                                 |    3 
 include/linux/can/core.h                                  |    1 
 include/linux/can/skb.h                                   |    2 
 include/linux/cleanup.h                                   |    7 
 include/linux/dma/qcom_bam_dma.h                          |   21 
 include/linux/file.h                                      |  125 +++++
 include/linux/iommu.h                                     |    5 
 include/linux/libata.h                                    |    2 
 include/linux/netfilter/nf_conntrack_sip.h                |    2 
 include/linux/slab.h                                      |    8 
 include/linux/thunderbolt.h                               |    3 
 include/linux/userfaultfd_k.h                             |    5 
 include/net/bluetooth/hci.h                               |   54 ++
 include/net/bluetooth/hci_core.h                          |   12 
 include/net/bluetooth/mgmt.h                              |    2 
 include/net/ip_vs.h                                       |   45 +
 include/net/neighbour.h                                   |    8 
 include/net/netfilter/nf_conntrack_expect.h               |    5 
 include/net/netfilter/nf_tables.h                         |    4 
 include/net/xdp_sock.h                                    |    1 
 include/net/xsk_buff_pool.h                               |   13 
 include/scsi/libsas.h                                     |    1 
 include/uapi/linux/rkisp1-config.h                        |    6 
 io_uring/net.c                                            |    1 
 kernel/audit.c                                            |   11 
 kernel/auditfilter.c                                      |    6 
 kernel/events/uprobes.c                                   |    2 
 kernel/sched/cpufreq_schedutil.c                          |   11 
 kernel/sched/deadline.c                                   |    3 
 kernel/trace/fprobe.c                                     |    6 
 kernel/trace/trace_events.c                               |    4 
 kernel/trace/trace_events_filter.c                        |    3 
 kernel/trace/trace_fprobe.c                               |   12 
 kernel/trace/trace_mmiotrace.c                            |   13 
 kernel/trace/trace_probe.c                                |    6 
 lib/alloc_tag.c                                           |    9 
 lib/assoc_array.c                                         |    3 
 lib/test_fortify/Makefile                                 |    1 
 mm/huge_memory.c                                          |   12 
 mm/hugetlb.c                                              |   12 
 mm/memcontrol-v1.h                                        |    6 
 mm/migrate_device.c                                       |    5 
 mm/mm_init.c                                              |   15 
 mm/page_reporting.c                                       |    6 
 mm/percpu-km.c                                            |    2 
 mm/slab.h                                                 |   28 +
 mm/slab_common.c                                          |   13 
 mm/slub.c                                                 |   76 +--
 mm/util.c                                                 |    2 
 net/bluetooth/hci_conn.c                                  |   14 
 net/bluetooth/hci_event.c                                 |   79 ++-
 net/bluetooth/hci_sync.c                                  |  140 ++++-
 net/bluetooth/hidp/core.c                                 |   30 -
 net/bluetooth/iso.c                                       |  301 ++++++++----
 net/bluetooth/l2cap_core.c                                |    5 
 net/bluetooth/mgmt.c                                      |   96 +++-
 net/bluetooth/sco.c                                       |   22 
 net/bridge/br_mrp.c                                       |    2 
 net/bridge/br_multicast.c                                 |    1 
 net/bridge/br_netfilter_hooks.c                           |    6 
 net/can/af_can.c                                          |   14 
 net/can/bcm.c                                             |    2 
 net/can/isotp.c                                           |  333 ++++++++++----
 net/can/j1939/bus.c                                       |    2 
 net/can/j1939/j1939-priv.h                                |    3 
 net/can/j1939/main.c                                      |    8 
 net/can/j1939/socket.c                                    |    1 
 net/can/j1939/transport.c                                 |    6 
 net/can/raw.c                                             |    7 
 net/core/lwt_bpf.c                                        |    4 
 net/core/pktgen.c                                         |    4 
 net/core/skbuff.c                                         |   18 
 net/handshake/handshake-test.c                            |    8 
 net/handshake/handshake.h                                 |    2 
 net/handshake/netlink.c                                   |   56 +-
 net/handshake/request.c                                   |   65 ++
 net/ipv4/route.c                                          |    2 
 net/ipv4/udp_tunnel_nic.c                                 |   32 -
 net/ipv6/fib6_rules.c                                     |    1 
 net/ipv6/ip6_output.c                                     |    2 
 net/ipv6/ndisc.c                                          |    2 
 net/mac80211/s1g.c                                        |    4 
 net/mpls/af_mpls.c                                        |    1 
 net/netfilter/ipset/ip_set_hash_gen.h                     |    2 
 net/netfilter/ipvs/ip_vs_app.c                            |    4 
 net/netfilter/ipvs/ip_vs_conn.c                           |    3 
 net/netfilter/ipvs/ip_vs_core.c                           |  180 +++----
 net/netfilter/ipvs/ip_vs_proto_sctp.c                     |   19 
 net/netfilter/ipvs/ip_vs_proto_tcp.c                      |   48 --
 net/netfilter/ipvs/ip_vs_proto_udp.c                      |   54 --
 net/netfilter/ipvs/ip_vs_xmit.c                           |   42 +
 net/netfilter/nf_conntrack_broadcast.c                    |    1 
 net/netfilter/nf_conntrack_core.c                         |    7 
 net/netfilter/nf_conntrack_expect.c                       |    1 
 net/netfilter/nf_conntrack_h323_main.c                    |   12 
 net/netfilter/nf_conntrack_helper.c                       |    5 
 net/netfilter/nf_conntrack_netlink.c                      |   18 
 net/netfilter/nf_conntrack_sip.c                          |    4 
 net/netfilter/nf_nat_sip.c                                |    2 
 net/netfilter/nf_tables_api.c                             |   34 -
 net/netfilter/nft_payload.c                               |   12 
 net/netfilter/xt_hashlimit.c                              |   16 
 net/openvswitch/actions.c                                 |   12 
 net/openvswitch/meter.c                                   |   33 -
 net/rds/ib.c                                              |    4 
 net/rds/ib_cm.c                                           |    4 
 net/rds/tcp.c                                             |   14 
 net/sctp/associola.c                                      |    3 
 net/sctp/sm_make_chunk.c                                  |   17 
 net/smc/smc_core.c                                        |    2 
 net/tipc/socket.c                                         |    2 
 net/unix/af_unix.c                                        |    1 
 net/xdp/xsk.c                                             |   71 ++
 net/xdp/xsk_buff_pool.c                                   |    3 
 security/keys/keyring.c                                   |   14 
 security/keys/trusted-keys/trusted_dcp.c                  |   15 
 sound/core/pcm_native.c                                   |    7 
 sound/core/seq/seq_timer.c                                |    9 
 sound/core/timer.c                                        |    2 
 sound/core/ump.c                                          |    1 
 sound/hda/codecs/realtek/alc269.c                         |    4 
 sound/pci/lx6464es/lx6464es.c                             |    5 
 sound/pci/lx6464es/lx_core.c                              |    5 
 sound/soc/codecs/max98090.c                               |    5 
 sound/soc/codecs/max98095.c                               |    5 
 sound/soc/codecs/tas2562.c                                |   30 -
 sound/soc/codecs/tas2781-i2c.c                            |    4 
 sound/soc/fsl/fsl_asrc.c                                  |    2 
 sound/soc/fsl/fsl_easrc.c                                 |    2 
 sound/soc/sdca/sdca_functions.c                           |    2 
 sound/usb/6fire/chip.c                                    |    4 
 sound/usb/endpoint.c                                      |   14 
 sound/usb/midi.c                                          |    2 
 sound/usb/midi2.c                                         |    4 
 sound/usb/mixer_quirks.c                                  |    2 
 tools/testing/kunit/kunit_kernel.py                       |   38 +
 tools/testing/kunit/kunit_tool_test.py                    |   42 +
 tools/testing/selftests/clone3/clone3_set_tid.c           |    2 
 tools/testing/selftests/filesystems/fclog.c               |    4 
 tools/testing/selftests/lkdtm/tests.txt                   |    2 
 tools/testing/selftests/mm/mlock-random-test.c            |    2 
 tools/testing/selftests/net/.gitignore                    |    7 
 tools/testing/selftests/net/af_unix/.gitignore            |    9 
 tools/testing/selftests/net/af_unix/Makefile              |    2 
 tools/testing/selftests/net/af_unix/unix_connreset.c      |  177 +++++++
 tools/testing/selftests/net/af_unix/unix_listen.c         |  187 +++++++
 tools/testing/selftests/seccomp/seccomp_bpf.c             |    3 
 402 files changed, 5649 insertions(+), 2190 deletions(-)

Aaron Ma (1):
ice: wait for reset completion in ice_resume()

Abdun Nihaal (3):
gpio: sloppy-logic-analyzer: Fix memory leak in gpio_la_poll_probe()
cpufreq: powernow-k8: Fix possible memory leak in powernowk8_cpu_init()
can: kvaser_usb: kvaser_usb_hydra_get_busparams(): fix memory leak in kvaser_usb_hydra_get_busparams()

Aboorva Devarajan (1):
mm/util: don't read __page_2 for order-1 folios in snapshot_page()

Aldo Ariel Panzardo (1):
Bluetooth: SCO: give the socket its own sco_conn reference

Alexander Kaplan (2):
drm/i915/dp: Ignore the sink's DSC max FRL rate without a PCON DSC encoder drm/dp: Read the PCON max FRL bandwidth only for HDMI DFPs

Alexandru Elisei (1):
KVM: arm64: Reject guest_memfd memslots when the VM has MTE

Andrei Kuchynski (2):
usb: typec: ucsi: Fix race condition and ordering in port unregistration
usb: typec: ucsi: Correct teardown ordering in ucsi_init() error path

Anirudh Srinivasan (1):
riscv: drop __init from vec_check_unaligned_access_speed_all_cpus

Arvind Yadav (2):
drm/xe/bo: Add purgeable bo state tracking and field madv to xe_bo drm/xe/vm: Prevent binding of purged buffer objects

Ashutosh Dixit (10):
drm/xe/rtp: Refactor OAG MMIO trigger register whitelisting drm/xe/rtp: Add RING_FORCE_TO_NONPRIV_DENY to OA whitelists drm/xe/rtp: Maintain OA whitelists separately drm/xe/rtp: Keep track of non-OA nonpriv slots drm/xe/rtp: Generalize whitelist_apply_to_hwe drm/xe/rtp: Save OA nonpriv registers to register save/restore lists drm/xe/rtp: Toggle 'deny' bit to (de-)whitelist OA regs drm/xe/rtp: (De-)whitelist OA registers for all hwe's for a gt drm/xe/oa: (De-)whitelist OA registers on OA stream open/release drm/xe/rtp: Ensure locking/ref counting for OA whitelists

Asim Viladi Oglu Manizada (1):
sctp: prevent peer transport count overflow

Aswin Karuvally (1):
s390/qeth: Check CAP_NET_ADMIN for private ioctls

Avi Weiss (4):
can: ctucanfd: use self-test mode for PRESUME_ACK
can: ctucanfd: unmap BAR0 using base address
can: ctucanfd: handle bus error interrupts
can: ctucanfd: mark error-active controller status valid

Bart Van Assche (2):
scsi: ufs: core: Revert "Delegate the interrupt service routine to a threaded IRQ handler" drm/fb-helper: Fix a locking bug in an error path

Baul Lee (4):
ALSA: ump: fix double free of out_cvts on rawmidi error
ALSA: usb-audio: fix use-after-free in ump_to_endpoint()
ALSA: usb-audio: fix stack info leak in RME Digiface status
ALSA: usb-audio: fix OOB write in snd_usbmidi_akai_output()

Benjamin Block (1):
scsi: zfcp: Fix memory leak during adapter release by destroying gid_pn_req

Benjamin Boortz (2):
pinctrl: microchip-sgpio: add missing select REGMAP_MMIO
pinctrl: bm1880: add missing select GENERIC_PINCONF

Benjamin Tissoires (1):
HID: logitech-dj: fix wrong detection of bad DJ_SHORT output report

Breno Leitao (2):
mm: memcg: initialize *locked in memcg1_oom_prepare() stub
uprobes: Fix NULL pointer dereference in hprobe_expire()

Bryan O'Donoghue (1):
media: qcom: camss: Fix RDI streaming for CSID 340

Candice Li (1):
drm/amdgpu: restore UMD profile pstate after runtime resume

Carlo Caione (1):
of/address: Fix NULL bus dereference in of_pci_range_parser_one()

Carlos Song (1):
i2c: imx: mark I2C adapter when hardware is powered down

Charles Keepax (1):
ASoC: SDCA: Ensure that Control Range is large enough for header

Charles Vosburgh (1):
sctp: validate Adaptation Indication parameter length

Chengfeng Ye (2):
Bluetooth: hci_sync: Fix advertising data UAFs
net: pktgen: fix proc entry use-after-free

Chenguang Zhao (4):
forcedeth: fix UAF of txrx_stats in nv_remove
net: ethernet: mtk_eth_soc: pass eth to mtk_handle_irq_rx in poll_controller
net: sxgbe: free TX rings on RX allocation failure
net: sxgbe: check descriptor ring allocation failures

Chris Gellermann (2):
selftests/mm: fix potential wild pointer access of getline due to missing init selftests/clone3: fix wild pointer access of getline due to missing init

Christian Brauner (7):
binfmt_misc: restore write access when removing an entry
binfmt_misc: use exe_file_deny_write_access() for the interpreter clone
binfmt_misc: reject a flag character as the field delimiter
binfmt_misc: don't let an 'F' entry pin its own instance
file: add FD_{ADD,PREPARE}()
file: ensure cleanup
net/handshake: convert handshake_nl_accept_doit() to FD_PREPARE()

Christian Marangi (1):
net: phylink: put link_gpio if phylink_create fails

Christoph Hellwig (1):
iomap: add a separate bio_set for iomap_split_ioend

Chuck Lever (4):
net/handshake: Take a long-lived file reference at submit net/handshake: hand off the pinned file reference to accept_doit net/handshake: Close the submit-side sock_hold race net/handshake: Drain pending requests at net namespace exit

Daniel Golle (2):
net: dsa: mt7530: check bus->read() errors in the MDIO regmap backend
net: dsa: mt7530: error out on failed reads in MT7531 PHY polling

David Carlier (1):
igc: remove napi_synchronize() in igc_down()

David Corvaglia (1):
net: bridge: mrp: fix Option TLV length in MRP_Test frames

David Francis (1):
drm/amdkfd: Handle invalid event type in CRIU event restore

David Gow (1):
kunit: tool: Terminate kernel under test on SIGINT

David Howells (3):
afs: Fix afs_fs_fetch_data() to set call->async
afs: Fix afs_fs_fetch_data() to subtract transferred from len
afs: Fix UAF when sending a message

David Lee (1):
netfilter: ipset: do not update comments from kernel-side hash adds

Dawei Feng (3):
smb: client: fix buffer leaks in SMB1 read and write
e1000: fix memory leak in e1000_probe()
ice: fix memory leak in ice_lbtest_prepare_rings()

Dawid Osuchowski (1):
ice: fix VF interrupts cleanup

Denis V. Lunev (1):
qede: sync udp_tunnel ports outside qede_lock in the recovery path

Eckhart Mohr (1):
ALSA: hda/realtek: Add quirk for TongFang X6SP45xU

Eric Dumazet (7):
net: do not send ICMP/NDISC Redirects when peer allocation fails
net: udp_tunnel: fix memory leak in udp_tunnel_nic_unregister()
vxlan: re-fetch eth header after route_shortcircuit()
vxlan: unclone skb head before modifying eth header in route_shortcircuit()
vxlan: use neigh_ha_snapshot() in route_shortcircuit()
vxlan: use pskb_network_may_pull() for transmit path header pulls
vxlan: use pskb_network_may_pull() in route_shortcircuit()

Fabian Lippold (1):
ALSA: hda/realtek: add quirk for HP Dragonfly Folio G3 2-in-1

Fabrice Derepas (1):
KEYS: trusted: dcp: fix key_len validation and calc_blob_len() return type

Fan Wu (1):
wifi: brcmfmac: drain bus_reset work on device removal

Farhan Ali (5):
KVM: s390: pci: Reject adapter interrupt forwarding if already enabled
KVM: s390: pci: Fix memory accounting for pinned/unpinned pages
KVM: s390: pci: Fix missing error codes and memory unaccounting
KVM: s390: pci: Fix NULL dereference on AIBV allocation failure
KVM: s390: pci: Validate AIBV and AISB before pinning guest pages

Frank Sorenson (1):
cifs: add fscache_resize_cookie() to cifs_setsize()

Gabriele Monaco (1):
sched/deadline: Use revised wakeup rule only for running dl_server

Gang Ba (1):
drm/amdkfd: Fix missing authorization check in KFD_IOC_DBG_TRAP_DISABLE

Greg Kroah-Hartman (3):
Bluetooth: btusb: Fix short read errors in btusb_qca_send_vendor_req()
Bluetooth: btmtk: Fix short read errors in btmtk_usb_uhw_reg_read() Linux 6.18.44

Gregory Price (1):
mm/vmstat: fold stranded per-cpu node stats when a node comes online

Guangshuo Li (2):
scsi: ufs: core: Cancel RTC work in active-active suspend
can: etas_es58x: es58x_read_bulk_callback(): fix RX buffer leak on URB resubmit failure

Guenter Roeck (8):
hwmon: (nct6775-core) Fix number of temperature registers for NCT6116
hwmon: (ina2xx) Fix various overflow issues
hwmon: (ltc4282) Fix reading the minimum alarm voltage
hwmon: (sht3x) Fix unaligned accesses
hwmon: (lm90) Only report alarms if driver is ready
hwmon: (nzxt-smart2) DMA-align output buffer
hwmon: (nct6775-core) Prevent access to unsupported weight registers
hwmon: (pmbus) Fix return value from pmbus_update_byte_data()

H. Nikolaus Schaller (1):
i2c: jz4780: Cache host clock rate at probe to prevent CCF prepare_lock deadlock

Haibo Chen (1):
spi: spi-nxp-fspi: add per-SoC SDR/DTR clock rate limits for all supported SoCs

Haidar Lee (2):
ASoC: tas2562: fix DVC coefficient write order
ASoC: tas2562: fix broken entries in the volume lookup table

Haofeng Li (1):
selftests/lkdtm: rename STACKLEAK_ERASING to KSTACK_ERASE

Harald Freudenberger (3):
s390/zcrypt: Fix wrong domain value verification with EP11 CPRBs s390/zcrypt: Fix buffer over-read in cca_cipher2protkey s390/zcrypt: Fix missing mem scrub at clear key import in cca_clr2cipherkey()

Harkirat Gill (1):
drm/amdgpu: cap GTT size to physical RAM on APUs

Harry Yoo (Oracle) (2):
lib/alloc_tag: introduce mem_alloc_profiling_permanently_disabled() mm/slab: prevent unbounded recursion in free path with new kmalloc type

Hidayath Khan (1):
dibs: fix use-after-free of dmb_node in loopback attach/detach/unregister

Himal Prasad Ghimiray (1):
drm/xe/vm: Fix BO prefetch with CONSULT_MEM_ADVISE_PREF_LOC

Holger Dengler (2):
s390/zcrypt: Validate length for CCA AES cipher key requests s390/zcrypt: Validate length for CCA ECC private key requests

Honglei Huang (1):
drm/gpusvm: publish dpagemap early to avoid device mapping leak on error

Hongling Zeng (1):
dmaengine: sun6i-dma: Fix reclaim descriptors while terminating DMA

Hongyan Xu (1):
hwmon: (npcm750-pwm-fan): stop fan timer on device detach

HyeongJun An (3):
scsi: libiscsi: Fix stale-data leak into the SCSI sense buffer
scsi: libiscsi_tcp: Bound SCSI Response data segment to the connection buffer
HID: logitech-dj: Fix maxfield check in DJ short report validation

Ian Ray (2):
hwmon: (ina2xx) Make it easier to add more devices
hwmon: (ina2xx) Add support for INA234

Ibrahim Hashimov (1):
scsi: scsi_debug: Fix REPORT ZONES alloc_len underflow OOB write

Ilia Gavrilov (1):
rds: Fix inet6_addr_lst NULL dereference when IPv6 is disabled

Ilya Maximets (3):
net: openvswitch: fix potential UAF on meter attach failure
net: openvswitch: fix skb leak on flow key update failure during recirculation
net: openvswitch: fix skb leak on flow key update failure during ct

Jackson Lee (1):
media: chips-media: wave5: Support CBP profile

James Gao (1):
can: peak_usb: add bounds check for USB channel index

Jan Höppner (1):
s390/dasd: Fix potential NULL pointer dereference

Jani Nikula (1):
drm/i915/vrr: require valid min/max vfreq for VRR

Jason Xing (3):
xsk: fix buffer leak in xsk_drop_skb() for AF_XDP multi-buffer Tx
xsk: use a smaller new lock for shared pool case
xsk: drain continuation descs after overflow in xsk_build_skb()

Jens Axboe (1):
io_uring/net: initialize mshot_len for send

Jerome Tollet (1):
drm/i915/hdmi: Poll for 200 msec for TMDS_Scrambler_Status

Jiale Yao (1):
Bluetooth: L2CAP: fix UAF in l2cap_le_connect_rsp

Jianing Li (1):
power: supply: max17040: handle missing status supplier

Jiawen Wu (1):
net: libwx: fix FDIR ATR queue mismatch for software VLAN packets

Jinank Jain (1):
mshv: adjust interrupt control structure for ARM64

Jiri Slaby (SUSE) (1):
drm/amd/display: use proper context for logging

Johannes Thumshirn (2):
btrfs: zoned: fix deadlock between metadata writeback and transaction commit
btrfs: zoned: reset meta_write_pointer on zone reset

John Ericson (2):
af_unix: fix listen() succeeding on sockets in the wrong state selftests/net/af_unix: test listen() rejects wrong socket states

Jonas Gorski (1):
i2c: iproc: reset bus after timeout if START_BUSY is stuck

Jonas Rebmann (1):
hwmon: (ina2xx) Shift INA234 shunt and current registers

Jori Koolstra (1):
selftest: fix headers in fclog.c

Jose Maria Casanova Crespo (1):
drm/vc4: Supply the overflow slot size in BPOS, not the whole bin BO size

Joshua Hay (1):
idpf: adjust TxQ ring count minimum

Julian Anastasov (3):
ipvs: fix the checksum validations
ipvs: fix places with wrong packet offsets
ipvs: do not mangle ICMP replies for non-first fragments

Jun Guo (2):
spi: spi-cadence: supports transmission with bits_per_word of 16 and 32
spi: spi-cadence: enable SPI_CONTROLLER_MUST_TX

Junjie Cao (1):
gpio: pch: use raw_spinlock_t for the register lock

Karl Mehltretter (2):
riscv: mm: Fix out-of-bounds page-table walk during memory hot-remove
pinctrl: devicetree: don't free uninitialized dev_name on error path

Kefeng Wang (1):
mm: migrate_device: fix pte_pfn/pte_dirty called on non-present PTE

Kiryl Shutsemau (Meta) (4):
fs/proc/task_mmu: fix PAGEMAP_SCAN written state for PMD holes mm/hugetlb: fix swap entry corruption when clearing uffd-wp at fork() fs/proc/task_mmu: fix PAGEMAP_SCAN written state for unpopulated ptes mm/huge_memory: unlock i_mmap_rwsem before releasing after-split folios

Konrad Dybcio (1):

      pinctrl: qcom: sc8280xp: Add missing wakeup entries for GPIO143/151

Krishna Kurapati (1):
phy: qcom: m31-eusb2: Fix return value of init call

Kuan-Ying Lee (1):
selftests/seccomp: Fix pointer type mismatch build error

Kuniyuki Iwashima (1):
selftest: af_unix: Create its own .gitignore.

Laurent Pinchart (1):
drm/bridge: display-connector: Fix I2C adapter resource leak

Lee Jones (2):
HID: logitech-dj: Standardise hid_report_enum variable nomenclature
HID: logitech-dj: Prevent REPORT_ID_DJ_SHORT related user initiated OOB write

Leo Li (2):
drm/amd/display: check GRPH_FLIP status before sending event drm/amd/display: Exit idle optimizations before programming

Leon Romanovsky (1):
scsi: target: Clear cmd_cnt when initial counter enrollment fails

Liem (2):
i2c: imx: Fix slave registration race and error handling
i2c: imx: Cancel hrtimer before clearing slave pointer

Link Lin (1):
mm/page_reporting: use system_freezable_wq to fix UAF during suspend

Linmao Li (1):
i2c: spacemit: request IRQ after controller initialization

Loic Poulain (1):
media: qcom: camss: csid-340: Fix unused variables

Lorenzo Bianconi (1):
netfilter: br_netfilter: Reallocate headroom if necessary in neigh_hh_bridge()

Lucas Martins Alves (1):
can: c_can: c_can_chip_config(): keep controller in init mode until bittiming is configured

Luiz Angelo Daros de Luca (8):
hwmon: (adt7470) Fix fans stuck in manual mode on I2C errors
hwmon: (adt7470) Fix cache updated before hardware write on I2C error
hwmon: (adt7470) Fix busy-loop and I2C flooding in update thread
hwmon: (adt7470) Fix temperature alarm logic in hwmon_temp_read()
hwmon: (adt7470) Fix swapped PWM3 and PWM4 auto mode masks
hwmon: (adt7470) Use cached PWM frequency value
hwmon: (adt7470) Fix divide-by-zero TOCTOU crash in fan speed read
hwmon: (adt7470) Fix PWM auto temp state array and bounds check

Luiz Augusto von Dentz (2):
Bluetooth: HCI: Add initial support for PAST
Bluetooth: ISO: Fix not updating BIS sender source address

Luxiao Xu (1):
audit: fix potential use-after-free in audit_del_rule()

Maoyi Xie (1):
can: peak_usb: peak_usb_start(): fix double free of transfer buffer on URB submit error

Marc Kleine-Budde (1):
can: gs_usb: gs_usb_receive_bulk_callback(): resubmit URB on skb allocation failure

Mario Limonciello (1):
pinctrl-amd: Don't clear S4 wake bits at probe

Masami Hiramatsu (Google) (5):
fprobe: Fix module reference count leak on error in register_fprobe() tracing/mmiotrace: Reset dropped_count in mmio_reset_data() tracing/mmiotrace: Add NULL check for mmio_trace_array in logging functions
tracing: Check return value of __register_event() in trace_module_add_events() tracing/filters: Fix false positive match in regex_match_full()

Matt Fleming (1):
veth: convert frag_list skbs before running XDP

Matt Vollrath (2):
ata: libata-eh: Increase STANDBY IMMEDIATE timeout
igbvf: Fix leak in TX DMA error cleanup

Matthew Brost (3):
drm/xe: Wait on external BO kernel fences in exec IOCTL drm/xe: Use SVM range helpers in PT layer drm/xe: Stub out new pagefault layer

Mauricio Faria de Oliveira (1):
x86/boot: Add volatile, clobbers and zero-length test in memcmp()

Maíra Canal (1):
drm/vc4: Zero the tile state data array before each BIN job

Md Sadre Alam (1):
dmaengine: qcom: bam_dma: Fix command element mask field for BAM v1.6.0+

Michael Bommarito (6):
thunderbolt: Prevent XDomain delayed work use-after-free on disconnect
keys: fix out-of-bounds read in keyring_get_key_chunk()
keys: make keyring key-chunk byte order agree with keyring_diff_objects()
assoc_array: trim the final shortcut word using the current chunk end
erofs: cap LZMA stream pool size
um: vector: fix use-after-free in vector_mmsg_rx()

Mike Rapoport (Microsoft) (1):
userfaultfd: prevent registration of special VMAs

Ming Lei (1):
ublk: reset kernel-owned dev_info fields in ublk_ctrl_add_dev()

Minhong He (1):
can: isotp: check register_netdevice_notifier() error in module init

Muhammad Bilal (1):
accel/qaic: use sizeof(*trans_hdr) for transaction length check

Myeonghun Pak (2):
i2c: amd-mp2: Unregister callback on adapter add failure drm/mediatek: ovl_adaptor: balance component registrations

Namjae Jeon (3):
ksmbd: return success for deferred final close
ksmbd: fix use-after-free in __close_file_table_ids()
ksmbd: reject repeated SMB2 NEGOTIATE requests

Nathan Chancellor (1):
fortify: Disable -Wstringop-overread in tests

Nava kishore Manne (3):
phy: zynqmp: fix L0_TM_DISABLE_SCRAMBLE_ENCODER mask
phy: zynqmp: use read-modify-write for SERDES scrambler bypass
phy: zynqmp: keep SERDES scrambler and 8b/10b enabled for USB

Nicolin Chen (3):
iommu/arm-smmu-v3-iommufd: Require exactly one Stream ID for a vDEVICE iommufd/viommu: Release the igroup lock on the vdevice_size error path iommufd/viommu: Publish a vDEVICE only after vdevice_init() succeeds

Niklas Cassel (1):
ata: libata-sata: fix ata_scsi_lpm_supported() iteration

Niklas Schnelle (1):
s390/pci: Fix s390_pci_mmio_write syscall error return without MIO

Niklas Söderlund (1):
media: uapi: rkisp: Correct name version enum

Nitin Gote (1):
drm/xe: add xe_migrate_resolve wrapper and is_vram_resolve support

Norbert Szetei (3):
ALSA: pcm: wake linked drain waiters on unlink
ALSA: seq: Fix division by zero in initialize_timer()
ALSA: timer: Clear SNDRV_TIMER_IFLG_DEAD once the close completes

Oak Zeng (1):
drm/xe: Add page reclamation info to device info

Oleksij Rempel (1):
can: j1939: transport: j1939_session_fresh_new(): initialize receive buffer

Oliver Hartkopp (2):
can: use skb hash instead of private variable in headroom
can: isotp: fix timer drain order, wakeup handling and tx_gen ordering

Osama Abdelkader (2):
drm/panthor: reject firmware sections with oversized data drm/panthor: validate firmware interface structure sizes

Pablo Neira Ayuso (3):
netfilter: nf_conntrack_expect: restore helper propagation via expectation
netfilter: nf_tables: make nft_object rhltable per table
netfilter: xt_hashlimit: validate hashtable supports XT_HASHLIMIT_RATE_MATCH

Paolo Bonzini (1):
KVM: VMX: add memory clobber to asm for VMX instructions

Pauli Virtanen (14):
Bluetooth: ISO: clear iso_data always when detaching conn from hcon
Bluetooth: ISO: lock sk in iso_sock_getname
Bluetooth: ISO: lock sk in iso_connect_ind
Bluetooth: ISO: fix timeout vs sync_timeout typo in check_bcast_qos
Bluetooth: ISO: validate sockaddr_iso first in iso_sock_rebind_bis()
Bluetooth: ISO: fix CONNECTED -> CLOSED transition on shutdown/release
Bluetooth: ISO: hold sk properly in iso_conn_ready
Bluetooth: ISO: fix leaking sk after socket release
Bluetooth: ISO: avoid deadlocks in iso_sock_timeout
Bluetooth: ISO: ensure no dangling hcon references in iso_conn
Bluetooth: ISO: fix refcounting of iso_conn
Bluetooth: hci_sync: make hci_cmd_sync_run_once return -EEXIST if exists
Bluetooth: hci_conn: hold conn reference in abort_conn_sync()
Bluetooth: hci_sync: fix hci_conn_del() use in hci_le_create_conn_sync

Peiyang He (2):
iommufd: Fix wrong hwpt passed to iommufd_auto_response_faults on replace iommu/iommufd: Fix IOPF group ownership UAF

Pengpeng Hou (5):
can: ems_usb: validate CPC message lengths
can: kvaser_usb_leaf: kvaser_usb_leaf_wait_cmd(): validate received command extents
can: softing: fw_parse(): validate firmware record spans
can: peak_usb: validate uCAN receive record lengths
can: ctucanfd: add missing MODULE_DEVICE_TABLE()

Peter Wang (1):
scsi: ufs: core: Avoid IRQ thread wakeup during active UIC command

Pierre-Eric Pelloux-Prayer (1):
drm/amdgpu: move debug_vm handling to amdgpu_cs_parser_fini

Przemyslaw Korba (1):
ice: suppress DPLL errors during reset recovery

Qu Wenruo (2):
btrfs: fix leaking BTRFS_FS_STATE_REMOUNTING flag
btrfs: raid56: fix an incorrect csum skip during scrub

Radhey Shyam Pandey (3):
ata: ahci_ceva: fix error paths in ceva_ahci_platform_enable_resources()
phy: zynqmp: fix clock error handling in xpsgtr_phy_init()
phy: zynqmp: fix runtime PM leak on probe allocation failure

Raushan Patel (2):
tracing/probes: Reject $arg0 in meta argument expansion tracing/fprobe: Roll back on enable_trace_fprobe() failure

Ray Wu (1):
drm/amd/display: Increase HDMI AV mute wait from 2 to 3 frames

Roman Kisel (3):
arch/x86: mshyperv: Discover Confidential VMBus availability
Drivers: hv: Rename fields for SynIC message and event pages
Drivers: hv: Allocate the paravisor SynIC pages when required

Rosen Penev (1):
ata: sata_mv: accept 1 or 2 resources in platform probe

Ruoyu Wang (1):
drm/mediatek: Check CRTC state before freeing

Sang-Heon Jeon (1):
of: reserved_mem: prevent OOB when too many dynamic regions are defined

Sangho Lee (2):
Bluetooth: HIDP: reject frames without a transaction header
Bluetooth: HIDP: validate numbered report payloads

Sean Christopherson (1):
KVM: SVM: Update x2APIC MSR intercepts if AVIC is inhibited while L2 is active

Sebastian Andrzej Siewior (1):
Drivers: hv: vmbus: Replace lockdep_hardirq_threaded() with lockdep annotation

Sergey Senozhatsky (1):
usb: typec: ucsi: split connector lock classes

SeungJu Cheon (1):
Bluetooth: ISO: Fix data-race on iso_pi(sk) in socket and HCI event paths

Shengjiu Wang (2):
ASoC: fsl_asrc: fix m2m_init error path to use goto instead of bare return
ASoC: fsl_easrc: fix m2m_init error path to use goto instead of bare return

Shuvam Pandey (1):
kunit: tool: skip stty when stdin is not a tty

Sneh Mankad (1):
pinctrl: qcom: Unconditionally mark gpio as wakeup enable

Sonali Pradhan (2):
ALSA: usb-audio: Fix DMA buffer out-of-bounds write when fill_max is set
ALSA: usb-audio: Clamp frame size in implicit-feedback mode

Srikanth Boyapally (1):
spi: spi-cadence: Move TX FIFO full busy-wait into FIFO

Stanislav Kinsburskii (5):
mshv: Fix duplicate GSI detection for GSI 0
mshv: Fix sleeping under spinlock in mshv_portid_alloc
mshv: Fix race in mshv_irqfd_deassign
mshv: Fix level-triggered check on uninitialized data
mshv: Order pt_vp_array publish against irqfd assertion path

Stanislaw Pal (1):
spi: spi-qpic-snand: write the feature value before executing SET_FEATURE

Stefan Haberland (1):
s390/dasd: Fix undersized format-check buffer

Suman Ghosh (1):
octeontx2-pf: Set correct sequence for carrier off and tx queue stop

Sunday Adelodun (1):
selftests: af_unix: Add tests for ECONNRESET and EOF semantics

Takashi Iwai (1):
ALSA: 6fire: Fix UAF at error handling during probe

TanZheng (1):
scsi: target: iblock: Fix wrong PR ops NULL check for PREEMPT/RELEASE

Tejas Upadhyay (1):
drm/xe/guc: Fix buffer overflow in steered register list allocation

Tetsuo Handa (1):
can: j1939: use netdevice_tracker for j1939_{priv,session,ecu} tracking

Thomas Hellström (1):
drm/exec: Remove the index parameter from drm_exec_for_each_locked_obj[_reverse]

Thomas Zimmermann (3):
drm/fb-helper: Allocate and release fb_info in single place drm/tegra: fbdev: Remove offset into framebuffer memory drm/tegra: fbdev: Do not assign to struct drm_fb_helper.info

Thorsten Blum (4):
powerpc/boot: Fix simpleboot CPU node lookup check powerpc/boot: Fix treeboot-currituck CPU node lookup check powerpc/boot: Fix treeboot-akebono CPU node lookup check powerpc/ps3: Fix map failure path in dma_ioc0_map_pages()

Timur Kristóf (1):
drm/amdgpu: Respect placement requirements in amdgpu_gtt_mgr functions

Tvrtko Ursulin (1):
drm/amdgpu: Fix context pstate override handling

Uday Khare (2):
ASoC: max98095: fix missing IS_ERR() before PTR_ERR() on mclk lookup
ASoC: max98090: fix missing IS_ERR() before PTR_ERR() on mclk lookup

Vijaya Krishna Nivarthi (1):
spi: qcom-qspi: Correct max DMA length to avoid 64K boundary failure

Ville Syrjälä (1):
drm/i915/vrr: Check HAS_VRR() first in intel_vrr_is_capable()

Vincent Jardin (1):
hwmon: (pmbus/core) notify on the hwmon device, not the i2c client

Vladimir Marioukhine (1):
drm/amdkfd: fix QID bit leak in pqm_create_queue()

Wang Liang (1):
net/handshake: Fix null-ptr-deref in handshake_complete()

Wei Fang (1):
ptp: netc: fix potential interrupt storm caused by incorrect unbind order

Wei Liu (1):
mshv: fix hv_input_get_system_property struct

Wenmeng Liu (1):
i2c: qcom-cci: drop custom suspend/resume and rely on runtime PM helpers

William Palacek (2):
drm/amdkfd: fix uint32_t overflow in EOP ring buffer size alignment drm/amdkfd: hold event_mutex while checkpointing CRIU events

Xiang Mei (2):
netfilter: nf_conntrack_sip: widen NAT rewrite delta to s32 in sip_help_tcp()
rds: tcp: hold the RCU lock across ipv6_chk_addr() in rds_tcp_laddr_check()

Xiang Mei (Microsoft) (1):
netfilter: nft_payload: fix mask build for partial field offload

Xiangfeng Cai (1):
mm/hugetlb: fix list corruption in allocate_file_region_entries()

Xin Wang (1):
drm/xe/pat: Add helper to query compression enable status

Xingui Yang (1):
scsi: libsas: Fix HA resume deadlock and hisi_sas disk-wake race

Xu Rao (2):
ALSA: lx6464es: fix period byte count for 16-bit streams
power: supply: bq25890: fix the -10 C NTC lookup entry

Xuanqiang Luo (2):
bpf: lwt: Fix dst reference leak on reroute failure net/smc: fix socket use-after-free during link group termination

Yang Wang (1):
drm/amd/pm: fix torn gpu metrics reads

Yehyeong Lee (1):
net: mpls: initialize rtm_tos in mpls_getroute()

Yichong Chen (3):
netfs: clear PG_private_2 on copy-to-cache append failure
netfs: handle single writeback rolling buffer allocation failure
netfs: release readahead folios on iterator preparation failure

Yuho Choi (2):
dmaengine: idxd: fix fdev setup failure cleanup in idxd_cdev_open()
idpf: Fix mailbox IRQ name leak on request failure

Yun Lu (1):
rtase: fix double free of multi-frag skb on DMA map failure

Yuxiang Yang (1):
sctp: reject stale cookies with mismatched verification tags

Zack Rusin (11):
drm/vmwgfx: fix guest_memory_dirty bitfield clobbered as size drm/vmwgfx: reject DX_BIND_QUERY without a DX context drm/vmwgfx: clamp dirty-page range with min, not max drm/vmwgfx: take fman->lock around fence list mutation in fifo_down drm/vmwgfx: drop dma_buf reference on foreign-fd prime import drm/vmwgfx: validate DRAW_PRIMITIVES header size before division drm/vmwgfx: bound DMA command body size against suffix pointer drm/vmwgfx: avoid destroy_workqueue(NULL) on vkms init failure drm/vmwgfx: enforce cursor size limits for MOB cursors drm/vmwgfx: use check_add_overflow for shader size+offset bound drm/vmwgfx: validate external BO copy bounds for both stride paths

Zhan Xusheng (1):
audit: fix potential integer overflow in audit_log_n_string()

Zhao Li (2):
wifi: mac80211: validate individual TWT params before driver setup
wifi: mwifiex: use the subframe length when parsing A-MSDU TDLS frames

Zhiling Zou (3):
ipvs: do not propagate one-packet flag to synced conns
net: bridge: stop fast-leave after deleting a port group
net: ipv6: clear suppressed fib6 rule result

Zhongqiu Han (1):
cpufreq: schedutil: Publish util hooks only after all sg_cpu are initialized

Zi Yan (1):
mm/percpu-km: fix bitmap overflow and accounting in pcpu_create_chunk()

Zihan Xi (3):
Bluetooth: mgmt: fix pending command UAF in EIR updates
Bluetooth: mgmt: fix UAF in pair command cancellation
tipc: avoid use-after-free in poll trace queue dumps

Zijun Hu (1):
Bluetooth: btintel: Validate length before parsing diagnostics TLV

Zongyao Bai (1):
drm/xe/pt: Reset current_op in xe_pt_update_ops_init()

bui duc phuc (1):
gpio: pca953x: fix cache_only and IRQ state on restore_context() failure

wangdicheng (1):
ASoC: tas2781: Use correct calibration data for SINEGAIN2 register

author maintainer
#1 lore raw
Documentation/hwmon/ina2xx.rst +22 -3
index a3860aae444c..d64e7af46a12 100644
@@ -74,6 +74,16 @@ Supported chips:
 	       https://us1.silergy.com/
 
 
+  * Texas Instruments INA234
+
+    Prefix: 'ina234'
+
+    Addresses: I2C 0x40 - 0x43
+
+    Datasheet: Publicly available at the Texas Instruments website
+
+	       https://www.ti.com/
+
 Author: Lothar Felten <[email protected]>
 
 Description
@@ -89,7 +99,7 @@ interface. The INA220 monitors both shunt drop and supply voltage.
 The INA226 is a current shunt and power monitor with an I2C interface.
 The INA226 monitors both a shunt voltage drop and bus supply voltage.
 
-INA230 and INA231 are high or low side current shunt and power monitors
+INA230, INA231, and INA234 are high or low side current shunt and power monitors
 with an I2C interface. The chips monitor both a shunt voltage drop and
 bus supply voltage.
 
@@ -124,8 +134,17 @@ power1_input		Power(uW) measurement channel
 shunt_resistor		Shunt resistance(uOhm) channel (not for ina260)
 ======================= ===============================================
 
-Additional sysfs entries for ina226, ina230, ina231, ina260, and sy24655
-------------------------------------------------------------------------
+Additional sysfs entries
+------------------------
+
+Additional entries are available for the following chips:
+
+  * ina226
+  * ina230
+  * ina231
+  * ina234
+  * ina260
+  * sy24655
 
 ======================= ====================================================
 curr1_lcrit		Critical low current
Documentation/virt/kvm/api.rst +6 -0
index 9f835f68b4fb..10d8a366b207 100644
@@ -8259,6 +8259,12 @@ When this capability is enabled all memory in memslots must be mapped as
 attempts to create a memslot with an invalid mmap will result in an
 -EINVAL return.
 
+``guest_memfd``, even though it is an anonymous file, is not supported with MTE.
+Attempting to create a memslot backed by ``guest_memfd`` when the MTE capability
+is enabled, or attempting to enable the MTE capability after
+``guest_memfd``-backed memslots have been created, will result in an -EINVAL
+return.
+
 When enabled the VMM may make use of the ``KVM_ARM_MTE_COPY_TAGS`` ioctl to
 perform a bulk copy of tags to/from the guest.
 
Makefile +1 -1
index 5976ab6f0128..93ae28a0b88b 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 6
 PATCHLEVEL = 18
-SUBLEVEL = 43
+SUBLEVEL = 44
 EXTRAVERSION =
 NAME = Baby Opossum Posse
 
arch/arm64/kvm/arm.c +19 -6
index 10fc6783cd60..5d2435dd76f3 100644
@@ -96,14 +96,27 @@ int kvm_vm_ioctl_enable_cap(struct kvm *kvm,
 		set_bit(KVM_ARCH_FLAG_RETURN_NISV_IO_ABORT_TO_USER,
 			&kvm->arch.flags);
 		break;
-	case KVM_CAP_ARM_MTE:
-		mutex_lock(&kvm->lock);
-		if (system_supports_mte() && !kvm->created_vcpus) {
-			r = 0;
-			set_bit(KVM_ARCH_FLAG_MTE_ENABLED, &kvm->arch.flags);
+	case KVM_CAP_ARM_MTE: {
+		struct kvm_memory_slot *memslot;
+		int bkt;
+
+		guard(mutex)(&kvm->lock);
+		if (!system_supports_mte() || kvm->created_vcpus)
+			break;
+
+		r = 0;
+		guard(mutex)(&kvm->slots_lock);
+		kvm_for_each_memslot(memslot, bkt, kvm_memslots(kvm)) {
+			if (kvm_slot_has_gmem(memslot)) {
+				r = -EINVAL;
+				break;
+			}
 		}
-		mutex_unlock(&kvm->lock);
+		if (r == 0)
+			set_bit(KVM_ARCH_FLAG_MTE_ENABLED, &kvm->arch.flags);
 		break;
+
+	}
 	case KVM_CAP_ARM_SYSTEM_SUSPEND:
 		r = 0;
 		set_bit(KVM_ARCH_FLAG_SYSTEM_SUSPEND_ENABLED, &kvm->arch.flags);
arch/arm64/kvm/mmu.c +4 -0
index 403a63548351..b4237699705b 100644
@@ -2323,6 +2323,10 @@ int kvm_arch_prepare_memory_region(struct kvm *kvm,
 	if (kvm_slot_has_gmem(new) && !kvm_memslot_is_gmem_only(new))
 		return -EINVAL;
 
+	/* guest_memfd is incompatible with MTE. */
+	if (kvm_slot_has_gmem(new) && kvm_has_mte(kvm))
+		return -EINVAL;
+
 	hva = new->userspace_addr;
 	reg_end = hva + (new->npages << PAGE_SHIFT);
 
arch/powerpc/boot/simpleboot.c +1 -1
index c80691d83880..27591df41e9e 100644
@@ -68,7 +68,7 @@ void platform_init(unsigned long r3, unsigned long r4, unsigned long r5,
 	/* finally, setup the timebase */
 	node = fdt_node_offset_by_prop_value(_dtb_start, -1, "device_type",
 					     "cpu", sizeof("cpu"));
-	if (!node)
+	if (node < 0)
 		fatal("Cannot find cpu node\n");
 	timebase = fdt_getprop(_dtb_start, node, "timebase-frequency", &size);
 	if (timebase && (size == 4))
arch/powerpc/boot/treeboot-akebono.c +1 -1
index e3cc2599869c..1b529037480f 100644
@@ -146,7 +146,7 @@ void platform_init(char *userdata)
 
 	node = fdt_node_offset_by_prop_value(_dtb_start, -1, "device_type",
 					     "cpu", sizeof("cpu"));
-	if (!node)
+	if (node < 0)
 		fatal("Cannot find cpu node\n");
 	timebase = fdt_getprop(_dtb_start, node, "timebase-frequency", &size);
 	if (timebase && (size == 4))
arch/powerpc/boot/treeboot-currituck.c +1 -1
index d53e8a592f81..5b5363b74f9f 100644
@@ -102,7 +102,7 @@ void platform_init(void)
 
 	node = fdt_node_offset_by_prop_value(_dtb_start, -1, "device_type",
 	                                     "cpu", sizeof("cpu"));
-	if (!node)
+	if (node < 0)
 		fatal("Cannot find cpu node\n");
 	timebase = fdt_getprop(_dtb_start, node, "timebase-frequency", &size);
 	if (timebase && (size == 4))
arch/powerpc/platforms/ps3/mm.c +1 -0
index 1326de55fda6..e04952bb4360 100644
@@ -615,6 +615,7 @@ static int dma_ioc0_map_pages(struct ps3_dma_region *r, unsigned long phys_addr,
 
 fail_map:
 	for (iopage--; 0 <= iopage; iopage--) {
+		offset = (1 << r->page_size) * iopage;
 		lv1_put_iopte(0,
 			      c->bus_addr + offset,
 			      c->lpar_addr + offset,
arch/riscv/kernel/unaligned_access_speed.c +2 -2
index 70b5e6927620..78fc74a41678 100644
@@ -376,7 +376,7 @@ static void check_vector_unaligned_access(struct work_struct *work __always_unus
 }
 
 /* Measure unaligned access speed on all CPUs present at boot in parallel. */
-static int __init vec_check_unaligned_access_speed_all_cpus(void *unused __always_unused)
+static int vec_check_unaligned_access_speed_all_cpus(void *unused __always_unused)
 {
 	schedule_on_each_cpu(check_vector_unaligned_access);
 	riscv_hwprobe_complete_async_probe();
@@ -384,7 +384,7 @@ static int __init vec_check_unaligned_access_speed_all_cpus(void *unused __alway
 	return 0;
 }
 #else /* CONFIG_RISCV_PROBE_VECTOR_UNALIGNED_ACCESS */
-static int __init vec_check_unaligned_access_speed_all_cpus(void *unused __always_unused)
+static int vec_check_unaligned_access_speed_all_cpus(void *unused __always_unused)
 {
 	return 0;
 }
arch/riscv/mm/init.c +2 -2
index ee40ca01ac66..557bf160b503 100644
@@ -1738,7 +1738,7 @@ static void __meminit remove_pud_mapping(pud_t *pud_base, unsigned long addr, un
 
 	for (; addr < end; addr = next) {
 		next = pud_addr_end(addr, end);
-		pudp = pud_base + pud_index(addr);
+		pudp = pgtable_l4_enabled ? pud_base + pud_index(addr) : pud_base;
 		pud = pudp_get(pudp);
 		if (!pud_present(pud))
 			continue;
@@ -1769,7 +1769,7 @@ static void __meminit remove_p4d_mapping(p4d_t *p4d_base, unsigned long addr, un
 
 	for (; addr < end; addr = next) {
 		next = p4d_addr_end(addr, end);
-		p4dp = p4d_base + p4d_index(addr);
+		p4dp = pgtable_l5_enabled ? p4d_base + p4d_index(addr) : p4d_base;
 		p4d = p4dp_get(p4dp);
 		if (!p4d_present(p4d))
 			continue;
arch/s390/kvm/pci.c +65 -13

157 lines not on this page · raw message

arch/s390/kvm/pci.h +2 -0
index ff0972dd5e71..fdf8c7bf4ed0 100644
@@ -22,6 +22,8 @@ struct kvm_zdev {
 	struct kvm *kvm;
 	struct zpci_fib fib;
 	struct list_head entry;
+	struct user_struct *user_account;
+	struct mm_struct *mm_account;
 };
 
 struct zpci_gaite {
arch/s390/pci/pci_mmio.c +1 -0
index 51e7a28af899..f3f79ba78410 100644
@@ -188,6 +188,7 @@ SYSCALL_DEFINE3(s390_pci_mmio_write, unsigned long, mmio_addr,
 			goto out_unlock_mmap;
 	}
 
+	ret = -EFAULT;
 	io_addr = (void __iomem *)((args.pfn << PAGE_SHIFT) |
 			(mmio_addr & ~PAGE_MASK));
 
arch/um/drivers/vector_kern.c +3 -0
index 25d9258fa592..02d1ad3052f1 100644
@@ -1000,6 +1000,9 @@ static int vector_mmsg_rx(struct vector_private *vp, int budget)
 				 */
 					dev_kfree_skb_irq(skb);
 					vp->estats.rx_encaps_errors++;
+					(*skbuff_vector) = NULL;
+					mmsg_vector++;
+					skbuff_vector++;
 					continue;
 				}
 				if (header_check > 0) {
arch/x86/boot/string.c +9 -2
index b25c6a9303b7..3a2bba7c25e9 100644
@@ -32,8 +32,15 @@
 int memcmp(const void *s1, const void *s2, size_t len)
 {
 	bool diff;
-	asm("repe cmpsb"
-	    : "=@ccnz" (diff), "+D" (s1), "+S" (s2), "+c" (len));
+
+	/*
+	 * Make sure ZF is properly set in the len==0 case because in it,
+	 * RCX==0 and the REPE; CMPSB won't get executed.
+	 */
+	asm volatile("test %3, %3\n\t"
+		     "repe cmpsb"
+		     : "=@ccnz" (diff), "+D" (s1), "+S" (s2), "+c" (len)
+		     : : "cc", "memory");
 	return diff;
 }
 
arch/x86/kernel/cpu/mshyperv.c +15 -13
index c4febdbcfe4d..cae0dcd9006b 100644
@@ -440,7 +440,7 @@ EXPORT_SYMBOL_GPL(hv_get_hypervisor_version);
 
 static void __init ms_hyperv_init_platform(void)
 {
-	int hv_max_functions_eax;
+	int hv_max_functions_eax, eax;
 
 #ifdef CONFIG_PARAVIRT
 	pv_info.name = "Hyper-V";
@@ -475,6 +475,19 @@ static void __init ms_hyperv_init_platform(void)
 		pr_info("Hyper-V: running on a nested hypervisor\n");
 	}
 
+	/*
+	 * There is no check against the max function for HYPERV_CPUID_VIRT_STACK_* CPUID
+	 * leaves as the hypervisor doesn't handle them. Even a nested root partition (L2
+	 * root) will not get them because the nested (L1) hypervisor filters them out.
+	 * These are handled through intercept processing by the Windows Hyper-V stack
+	 * or the paravisor.
+	 */
+	eax = cpuid_eax(HYPERV_CPUID_VIRT_STACK_PROPERTIES);
+	ms_hyperv.confidential_vmbus_available =
+		eax & HYPERV_VS_PROPERTIES_EAX_CONFIDENTIAL_VMBUS_AVAILABLE;
+	ms_hyperv.msi_ext_dest_id =
+		eax & HYPERV_VS_PROPERTIES_EAX_EXTENDED_IOAPIC_RTE;
+
 	if (ms_hyperv.features & HV_ACCESS_FREQUENCY_MSRS &&
 	    ms_hyperv.misc_features & HV_FEATURE_FREQUENCY_MSRS_AVAILABLE) {
 		x86_platform.calibrate_tsc = hv_get_tsc_khz;
@@ -675,21 +688,10 @@ static bool __init ms_hyperv_x2apic_available(void)
  * pci-hyperv host bridge.
  *
  * Note: for a Hyper-V root partition, this will always return false.
- * The hypervisor doesn't expose these HYPERV_CPUID_VIRT_STACK_* cpuids by
- * default, they are implemented as intercepts by the Windows Hyper-V stack.
- * Even a nested root partition (L2 root) will not get them because the
- * nested (L1) hypervisor filters them out.
  */
 static bool __init ms_hyperv_msi_ext_dest_id(void)
 {
-	u32 eax;
-
-	eax = cpuid_eax(HYPERV_CPUID_VIRT_STACK_INTERFACE);
-	if (eax != HYPERV_VS_INTERFACE_EAX_SIGNATURE)
-		return false;
-
-	eax = cpuid_eax(HYPERV_CPUID_VIRT_STACK_PROPERTIES);
-	return eax & HYPERV_VS_PROPERTIES_EAX_EXTENDED_IOAPIC_RTE;
+	return ms_hyperv.msi_ext_dest_id;
 }
 
 #ifdef CONFIG_AMD_MEM_ENCRYPT
arch/x86/kvm/svm/avic.c +0 -8
index a700f3795c17..62eb7b871a84 100644
@@ -220,14 +220,6 @@ static void avic_deactivate_vmcb(struct vcpu_svm *svm)
 	if (!sev_es_guest(svm->vcpu.kvm))
 		svm_set_intercept(svm, INTERCEPT_CR8_WRITE);
 
-	/*
-	 * If running nested and the guest uses its own MSR bitmap, there
-	 * is no need to update L0's msr bitmap
-	 */
-	if (is_guest_mode(&svm->vcpu) &&
-	    vmcb12_is_intercept(&svm->nested.ctl, INTERCEPT_MSR_PROT))
-		return;
-
 	/* Enabling MSR intercept for x2APIC registers */
 	avic_set_x2apic_msr_interception(svm, true);
 }
arch/x86/kvm/vmx/vmx_ops.h +4 -4
index 96677576c836..e131c7b555dc 100644
@@ -101,7 +101,7 @@ static __always_inline unsigned long __vmcs_readl(unsigned long field)
 
 			  : [output] "=r" (value)
 			  : [field] "r" (field)
-			  : "cc"
+			  : "cc", "memory"
 			  : do_fail, do_exception);
 
 	return value;
@@ -146,7 +146,7 @@ static __always_inline unsigned long __vmcs_readl(unsigned long field)
 
 		     : ASM_CALL_CONSTRAINT, [output] "=&r" (value)
 		     : [field] "r" (field)
-		     : "cc");
+		     : "cc", "memory");
 	return value;
 
 #endif /* CONFIG_CC_HAS_ASM_GOTO_OUTPUT */
@@ -194,7 +194,7 @@ do {									\
 			  ".byte 0x2e\n\t" /* branch not taken hint */	\
 			  "jna %l[error]\n\t"				\
 			  _ASM_EXTABLE(1b, %l[fault])			\
-			  : : op1 : "cc" : error, fault);		\
+			  : : op1 : "cc", "memory" : error, fault);	\
 	return;								\
 error:									\
 	instrumentation_begin();					\
@@ -211,7 +211,7 @@ do {									\
 			  ".byte 0x2e\n\t" /* branch not taken hint */	\
 			  "jna %l[error]\n\t"				\
 			  _ASM_EXTABLE(1b, %l[fault])			\
-			  : : op1, op2 : "cc" : error, fault);		\
+			  : : op1, op2 : "cc", "memory" : error, fault);\
 	return;								\
 error:									\
 	instrumentation_begin();					\
drivers/accel/qaic/qaic_control.c +1 -1
index 8eae30fe14f9..8759b53ba38e 100644
@@ -782,7 +782,7 @@ static int encode_message(struct qaic_device *qdev, struct manage_msg *user_msg,
 			break;
 		}
 		trans_hdr = (struct qaic_manage_trans_hdr *)(user_msg->data + user_len);
-		if (trans_hdr->len < sizeof(trans_hdr) ||
+		if (trans_hdr->len < sizeof(*trans_hdr) ||
 		    size_add(user_len, trans_hdr->len) > user_msg->len) {
 			ret = -EINVAL;
 			break;
drivers/ata/ahci_ceva.c +14 -4
index 2d6a08c23d6a..2961e53288f4 100644
@@ -211,7 +211,7 @@ static int ceva_ahci_platform_enable_resources(struct ahci_host_priv *hpriv)
 
 		rc = phy_init(hpriv->phys[i]);
 		if (rc)
-			goto disable_rsts;
+			goto exit_phys;
 	}
 
 	/* De-assert the controller reset */
@@ -230,14 +230,24 @@ static int ceva_ahci_platform_enable_resources(struct ahci_host_priv *hpriv)
 
 	return 0;
 
-disable_rsts:
-	ahci_platform_deassert_rsts(hpriv);
-
 disable_phys:
 	while (--i >= 0) {
+		if (ahci_ignore_port(hpriv, i))
+			continue;
+
 		phy_power_off(hpriv->phys[i]);
 		phy_exit(hpriv->phys[i]);
 	}
+	ahci_platform_assert_rsts(hpriv);
+	goto disable_clks;
+
+exit_phys:
+	while (--i >= 0) {
+		if (ahci_ignore_port(hpriv, i))
+			continue;
+
+		phy_exit(hpriv->phys[i]);
+	}
 
 disable_clks:
 	ahci_platform_disable_clks(hpriv);
drivers/ata/libata-eh.c +8 -0
index 5e8a63206108..44daae8f378a 100644
@@ -106,6 +106,12 @@ static const unsigned int ata_eh_flush_timeouts[] = {
 	UINT_MAX,
 };
 
+static const unsigned int ata_eh_standby_timeouts[] = {
+	15000,	/* Some drives may be slow to standby */
+	/* but don't hold up a suspend too long waiting for them */
+	UINT_MAX,
+};
+
 static const unsigned int ata_eh_other_timeouts[] = {
 	 5000,	/* same rationale as identify timeout */
 	10000,	/* ditto */
@@ -147,6 +153,8 @@ ata_eh_cmd_timeout_table[ATA_EH_CMD_TIMEOUT_TABLE_SIZE] = {
 	  .timeouts = ata_eh_other_timeouts, },
 	{ .commands = CMDS(ATA_CMD_FLUSH, ATA_CMD_FLUSH_EXT),
 	  .timeouts = ata_eh_flush_timeouts },
+	{ .commands = CMDS(ATA_CMD_STANDBYNOW1),
+	  .timeouts = ata_eh_standby_timeouts },
 	{ .commands = CMDS(ATA_CMD_VERIFY),
 	  .timeouts = ata_eh_reset_timeouts },
 };
drivers/ata/libata-sata.c +1 -1
index 04e1e774645e..9b374e8f9938 100644
@@ -913,7 +913,7 @@ static bool ata_scsi_lpm_supported(struct ata_port *ap)
 		return false;
 
 	ata_for_each_link(link, ap, EDGE) {
-		ata_for_each_dev(dev, &ap->link, ENABLED) {
+		ata_for_each_dev(dev, link, ENABLED) {
 			if (dev->quirks & ATA_QUIRK_NOLPM)
 				return false;
 		}
drivers/ata/sata_mv.c +1 -1
index ffb396f61731..1d8ca95fb732 100644
@@ -4026,7 +4026,7 @@ static int mv_platform_probe(struct platform_device *pdev)
 	/*
 	 * Simple resource validation ..
 	 */
-	if (unlikely(pdev->num_resources != 1)) {
+	if (unlikely(pdev->num_resources != 1 && pdev->num_resources != 2)) {
 		dev_err(&pdev->dev, "invalid number of resources\n");
 		return -EINVAL;
 	}
drivers/block/ublk_drv.c +9 -0
index cb31e96f01cd..615d3d28e7c6 100644
@@ -3287,6 +3287,15 @@ static int ublk_ctrl_add_dev(const struct ublksrv_ctrl_cmd *header)
 	/* update device id */
 	ub->dev_info.dev_id = ub->ub_number;
 
+	/*
+	 * ->state and ->ublksrv_pid are owned by the driver and only read back
+	 * by userspace, but they come from the copied-in dev_info, so reset
+	 * them. Otherwise a device added with ->state != DEAD looks live while
+	 * ->ub_disk is still NULL.
+	 */
+	ub->dev_info.state = UBLK_S_DEV_DEAD;
+	ub->dev_info.ublksrv_pid = -1;
+
 	/*
 	 * 64bit flags will be copied back to userspace as feature
 	 * negotiation result, so have to clear flags which driver
drivers/bluetooth/btintel.c +3 -0
index 5e0a05edcbfd..4d6b6bbb4267 100644
@@ -3694,6 +3694,9 @@ static int btintel_diagnostics(struct hci_dev *hdev, struct sk_buff *skb)
 {
 	struct intel_tlv *tlv = (void *)&skb->data[5];
 
+	if (skb->len < 5 + sizeof(*tlv) + sizeof(tlv->val[0]))
+		goto recv_frame;
+
 	/* The first event is always an event type TLV */
 	if (tlv->type != INTEL_TLV_TYPE_ID)
 		goto recv_frame;
drivers/bluetooth/btmtk.c +22 -28

127 lines not on this page · raw message

drivers/bluetooth/btusb.c +9 -21
index fea3cb502a4e..cb8f14b9cae8 100644
@@ -3345,28 +3345,16 @@ static const char *qca_get_fw_subdirectory(const struct qca_version *ver)
 static int btusb_qca_send_vendor_req(struct usb_device *udev, u8 request,
 				     void *data, u16 size)
 {
-	int pipe, err;
-	u8 *buf;
-
-	buf = kmalloc(size, GFP_KERNEL);
-	if (!buf)
-		return -ENOMEM;
+	int err;
 
 	/* Found some of USB hosts have IOT issues with ours so that we should
 	 * not wait until HCI layer is ready.
 	 */
-	pipe = usb_rcvctrlpipe(udev, 0);
-	err = usb_control_msg(udev, pipe, request, USB_TYPE_VENDOR | USB_DIR_IN,
-			      0, 0, buf, size, USB_CTRL_GET_TIMEOUT);
-	if (err < 0) {
+	err = usb_control_msg_recv(udev, 0, request, USB_TYPE_VENDOR | USB_DIR_IN,
+				   0, 0, data, size, USB_CTRL_GET_TIMEOUT,
+				   GFP_KERNEL);
+	if (err)
 		dev_err(&udev->dev, "Failed to access otp area (%d)", err);
-		goto done;
-	}
-
-	memcpy(data, buf, size);
-
-done:
-	kfree(buf);
 
 	return err;
 }
@@ -3573,7 +3561,7 @@ static bool btusb_qca_need_patch(struct usb_device *udev)
 	struct qca_version ver;
 
 	if (btusb_qca_send_vendor_req(udev, QCA_GET_TARGET_VERSION, &ver,
-				      sizeof(ver)) < 0)
+				      sizeof(ver)))
 		return false;
 	/* only low ROM versions need patches */
 	return !(le32_to_cpu(ver.rom_version) & ~0xffffU);
@@ -3591,7 +3579,7 @@ static int btusb_setup_qca(struct hci_dev *hdev)
 
 	err = btusb_qca_send_vendor_req(udev, QCA_GET_TARGET_VERSION, &ver,
 					sizeof(ver));
-	if (err < 0)
+	if (err)
 		return err;
 
 	ver_rom = le32_to_cpu(ver.rom_version);
@@ -3614,7 +3602,7 @@ static int btusb_setup_qca(struct hci_dev *hdev)
 
 	err = btusb_qca_send_vendor_req(udev, QCA_CHECK_STATUS, &status,
 					sizeof(status));
-	if (err < 0)
+	if (err)
 		return err;
 
 	if (!(status & QCA_PATCH_UPDATED)) {
@@ -3625,7 +3613,7 @@ static int btusb_setup_qca(struct hci_dev *hdev)
 
 	err = btusb_qca_send_vendor_req(udev, QCA_GET_TARGET_VERSION, &ver,
 					sizeof(ver));
-	if (err < 0)
+	if (err)
 		return err;
 
 	btdata->qca_dump.fw_version = le32_to_cpu(ver.patch_version);
drivers/cpufreq/powernow-k8.c +1 -0
index f7512b4e923e..0012c3e3a915 100644
@@ -1083,6 +1083,7 @@ static int powernowk8_cpu_init(struct cpufreq_policy *pol)
 
 err_out_exit_acpi:
 	powernow_k8_cpu_exit_acpi(data);
+	kfree(data->powernow_table);
 
 err_out:
 	kfree(data);
drivers/dibs/dibs_loopback.c +24 -23

103 lines not on this page · raw message

drivers/dma/idxd/cdev.c +3 -1
index 4105688cf3f0..37addcdc10bc 100644
@@ -288,6 +288,7 @@ static int idxd_cdev_open(struct inode *inode, struct file *filp)
 	fdev->parent = cdev_dev(idxd_cdev);
 	fdev->bus = &dsa_bus_type;
 	fdev->type = &idxd_cdev_file_type;
+	idxd_wq_get(wq);
 
 	rc = dev_set_name(fdev, "file%d", ctx->id);
 	if (rc < 0) {
@@ -301,13 +302,14 @@ static int idxd_cdev_open(struct inode *inode, struct file *filp)
 		goto failed_dev_add;
 	}
 
-	idxd_wq_get(wq);
 	mutex_unlock(&wq->wq_lock);
 	return 0;
 
 failed_dev_add:
 failed_dev_name:
+	mutex_unlock(&wq->wq_lock);
 	put_device(fdev);
+	return rc;
 failed_ida:
 failed_set_pasid:
 	if (device_user_pasid_enabled(idxd))
drivers/dma/sun6i-dma.c +4 -7
index f9d876deb1f0..ae362a2f7c40 100644
@@ -935,16 +935,13 @@ static int sun6i_dma_terminate_all(struct dma_chan *chan)
 
 	spin_lock_irqsave(&vchan->vc.lock, flags);
 
-	if (vchan->cyclic) {
-		vchan->cyclic = false;
-		if (pchan && pchan->desc) {
-			struct virt_dma_desc *vd = &pchan->desc->vd;
-			struct virt_dma_chan *vc = &vchan->vc;
+	if (pchan && pchan->desc && pchan->desc != pchan->done) {
+		struct virt_dma_desc *vd = &pchan->desc->vd;
 
-			list_add_tail(&vd->node, &vc->desc_completed);
-		}
+		vchan_terminate_vdesc(vd);
 	}
 
+	vchan->cyclic = false;
 	vchan_get_all_descriptors(&vchan->vc, &head);
 
 	if (pchan) {
drivers/gpio/gpio-pca953x.c +13 -2
index f7daeadaea57..b18a2d0f6984 100644
@@ -1370,9 +1370,20 @@ static int pca953x_restore_context(struct pca953x_chip *chip)
 	regcache_mark_dirty(chip->regmap);
 	ret = pca953x_regcache_sync(chip);
 	if (ret)
-		return ret;
+		goto err;
+
+	ret = regcache_sync(chip->regmap);
+	if (ret)
+		goto err;
+
+	return 0;
 
-	return regcache_sync(chip->regmap);
+err:
+	if (chip->client->irq > 0)
+		disable_irq(chip->client->irq);
+	regcache_cache_only(chip->regmap, true);
+
+	return ret;
 }
 
 static void pca953x_save_context(struct pca953x_chip *chip)
drivers/gpio/gpio-pch.c +14 -14
index 9925687e05fb..1a7e42267529 100644
@@ -96,7 +96,7 @@ struct pch_gpio {
 	struct pch_gpio_reg_data pch_gpio_reg;
 	int irq_base;
 	enum pch_type_t ioh;
-	spinlock_t spinlock;
+	raw_spinlock_t spinlock;
 };
 
 static int pch_gpio_set(struct gpio_chip *gpio, unsigned int nr, int val)
@@ -105,7 +105,7 @@ static int pch_gpio_set(struct gpio_chip *gpio, unsigned int nr, int val)
 	struct pch_gpio *chip =	gpiochip_get_data(gpio);
 	unsigned long flags;
 
-	spin_lock_irqsave(&chip->spinlock, flags);
+	raw_spin_lock_irqsave(&chip->spinlock, flags);
 	reg_val = ioread32(&chip->reg->po);
 	if (val)
 		reg_val |= BIT(nr);
@@ -113,7 +113,7 @@ static int pch_gpio_set(struct gpio_chip *gpio, unsigned int nr, int val)
 		reg_val &= ~BIT(nr);
 
 	iowrite32(reg_val, &chip->reg->po);
-	spin_unlock_irqrestore(&chip->spinlock, flags);
+	raw_spin_unlock_irqrestore(&chip->spinlock, flags);
 
 	return 0;
 }
@@ -133,7 +133,7 @@ static int pch_gpio_direction_output(struct gpio_chip *gpio, unsigned int nr,
 	u32 reg_val;
 	unsigned long flags;
 
-	spin_lock_irqsave(&chip->spinlock, flags);
+	raw_spin_lock_irqsave(&chip->spinlock, flags);
 
 	reg_val = ioread32(&chip->reg->po);
 	if (val)
@@ -147,7 +147,7 @@ static int pch_gpio_direction_output(struct gpio_chip *gpio, unsigned int nr,
 	pm |= BIT(nr);
 	iowrite32(pm, &chip->reg->pm);
 
-	spin_unlock_irqrestore(&chip->spinlock, flags);
+	raw_spin_unlock_irqrestore(&chip->spinlock, flags);
 
 	return 0;
 }
@@ -158,12 +158,12 @@ static int pch_gpio_direction_input(struct gpio_chip *gpio, unsigned int nr)
 	u32 pm;
 	unsigned long flags;
 
-	spin_lock_irqsave(&chip->spinlock, flags);
+	raw_spin_lock_irqsave(&chip->spinlock, flags);
 	pm = ioread32(&chip->reg->pm);
 	pm &= BIT(gpio_pins[chip->ioh]) - 1;
 	pm &= ~BIT(nr);
 	iowrite32(pm, &chip->reg->pm);
-	spin_unlock_irqrestore(&chip->spinlock, flags);
+	raw_spin_unlock_irqrestore(&chip->spinlock, flags);
 
 	return 0;
 }
@@ -265,7 +265,7 @@ static int pch_irq_type(struct irq_data *d, unsigned int type)
 		return 0;
 	}
 
-	spin_lock_irqsave(&chip->spinlock, flags);
+	raw_spin_lock_irqsave(&chip->spinlock, flags);
 
 	/* Set interrupt mode */
 	im = ioread32(im_reg) & ~(PCH_IM_MASK << (im_pos * 4));
@@ -277,7 +277,7 @@ static int pch_irq_type(struct irq_data *d, unsigned int type)
 	else if (type & IRQ_TYPE_EDGE_BOTH)
 		irq_set_handler_locked(d, handle_edge_irq);
 
-	spin_unlock_irqrestore(&chip->spinlock, flags);
+	raw_spin_unlock_irqrestore(&chip->spinlock, flags);
 	return 0;
 }
 
@@ -374,7 +374,7 @@ static int pch_gpio_probe(struct pci_dev *pdev,
 	chip->ioh = id->driver_data;
 	chip->reg = chip->base;
 	pci_set_drvdata(pdev, chip);
-	spin_lock_init(&chip->spinlock);
+	raw_spin_lock_init(&chip->spinlock);
 	pch_gpio_setup(chip);
 
 	ret = devm_gpiochip_add_data(dev, &chip->gpio, chip);
@@ -407,9 +407,9 @@ static int __maybe_unused pch_gpio_suspend(struct device *dev)
 	struct pch_gpio *chip = dev_get_drvdata(dev);
 	unsigned long flags;
 
-	spin_lock_irqsave(&chip->spinlock, flags);
+	raw_spin_lock_irqsave(&chip->spinlock, flags);
 	pch_gpio_save_reg_conf(chip);
-	spin_unlock_irqrestore(&chip->spinlock, flags);
+	raw_spin_unlock_irqrestore(&chip->spinlock, flags);
 
 	return 0;
 }
@@ -419,11 +419,11 @@ static int __maybe_unused pch_gpio_resume(struct device *dev)
 	struct pch_gpio *chip = dev_get_drvdata(dev);
 	unsigned long flags;
 
-	spin_lock_irqsave(&chip->spinlock, flags);
+	raw_spin_lock_irqsave(&chip->spinlock, flags);
 	iowrite32(0x01, &chip->reg->reset);
 	iowrite32(0x00, &chip->reg->reset);
 	pch_gpio_restore_reg_conf(chip);
-	spin_unlock_irqrestore(&chip->spinlock, flags);
+	raw_spin_unlock_irqrestore(&chip->spinlock, flags);
 
 	return 0;
 }
drivers/gpio/gpio-sloppy-logic-analyzer.c +10 -0
index 969dddd3d6fa..0f4a6228a748 100644
@@ -161,6 +161,13 @@ static int fops_buf_size_get(void *data, u64 *val)
 	return 0;
 }
 
+static void fops_buf_release(void *data)
+{
+	struct gpio_la_poll_priv *priv = data;
+
+	vfree(priv->blob.data);
+}
+
 static int fops_buf_size_set(void *data, u64 val)
 {
 	struct gpio_la_poll_priv *priv = data;
@@ -239,6 +246,9 @@ static int gpio_la_poll_probe(struct platform_device *pdev)
 		return ret;
 
 	fops_buf_size_set(priv, GPIO_LA_DEFAULT_BUF_SIZE);
+	ret = devm_add_action_or_reset(dev, fops_buf_release, priv);
+	if (ret)
+		return ret;
 
 	priv->descs = devm_gpiod_get_array(dev, "probe", GPIOD_IN);
 	if (IS_ERR(priv->descs))
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c +19 -20
index 4b449b58d907..752b34cffdc5 100644
@@ -864,7 +864,6 @@ static int amdgpu_cs_parser_bos(struct amdgpu_cs_parser *p,
 	struct amdgpu_vm *vm = &fpriv->vm;
 	struct amdgpu_bo_list_entry *e;
 	struct drm_gem_object *obj;
-	unsigned long index;
 	unsigned int i;
 	int r;
 
@@ -969,7 +968,7 @@ static int amdgpu_cs_parser_bos(struct amdgpu_cs_parser *p,
 		goto out_free_user_pages;
 	}
 
-	drm_exec_for_each_locked_object(&p->exec, index, obj) {
+	drm_exec_for_each_locked_object(&p->exec, obj) {
 		r = amdgpu_cs_bo_validate(p, gem_to_amdgpu_bo(obj));
 		if (unlikely(r))
 			goto out_free_user_pages;
@@ -1187,19 +1186,6 @@ static int amdgpu_cs_vm_handling(struct amdgpu_cs_parser *p)
 		job->vm_pd_addr = amdgpu_gmc_pd_addr(vm->root.bo);
 	}
 
-	if (adev->debug_vm) {
-		/* Invalidate all BOs to test for userspace bugs */
-		amdgpu_bo_list_for_each_entry(e, p->bo_list) {
-			struct amdgpu_bo *bo = e->bo;
-
-			/* ignore duplicates */
-			if (!bo)
-				continue;
-
-			amdgpu_vm_bo_invalidate(bo, false);
-		}
-	}
-
 	return 0;
 }
 
@@ -1209,7 +1195,6 @@ static int amdgpu_cs_sync_rings(struct amdgpu_cs_parser *p)
 	struct drm_gpu_scheduler *sched;
 	struct drm_gem_object *obj;
 	struct dma_fence *fence;
-	unsigned long index;
 	unsigned int i;
 	int r;
 
@@ -1220,7 +1205,7 @@ static int amdgpu_cs_sync_rings(struct amdgpu_cs_parser *p)
 		return r;
 	}
 
-	drm_exec_for_each_locked_object(&p->exec, index, obj) {
+	drm_exec_for_each_locked_object(&p->exec, obj) {
 		struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj);
 
 		struct dma_resv *resv = bo->tbo.base.resv;
@@ -1289,7 +1274,6 @@ static int amdgpu_cs_submit(struct amdgpu_cs_parser *p,
 	struct amdgpu_vm *vm = &fpriv->vm;
 	struct amdgpu_bo_list_entry *e;
 	struct drm_gem_object *gobj;
-	unsigned long index;
 	unsigned int i;
 	uint64_t seq;
 	int r;
@@ -1340,7 +1324,7 @@ static int amdgpu_cs_submit(struct amdgpu_cs_parser *p,
 	}
 
 	p->fence = dma_fence_get(&leader->base.s_fence->finished);
-	drm_exec_for_each_locked_object(&p->exec, index, gobj) {
+	drm_exec_for_each_locked_object(&p->exec, gobj) {
 
 		ttm_bo_move_to_lru_tail_unlocked(&gem_to_amdgpu_bo(gobj)->tbo);
 
@@ -1389,6 +1373,8 @@ static int amdgpu_cs_submit(struct amdgpu_cs_parser *p,
 /* Cleanup the parser structure */
 static void amdgpu_cs_parser_fini(struct amdgpu_cs_parser *parser)
 {
+	struct amdgpu_device *adev = parser->adev;
+	struct amdgpu_bo_list_entry *e;
 	unsigned int i;
 
 	amdgpu_sync_free(&parser->sync);
@@ -1404,8 +1390,21 @@ static void amdgpu_cs_parser_fini(struct amdgpu_cs_parser *parser)
 
 	if (parser->ctx)
 		amdgpu_ctx_put(parser->ctx);
-	if (parser->bo_list)
+	if (parser->bo_list) {
+		if (adev->debug_vm) {
+			/* Invalidate all BOs to test for userspace bugs */
+			amdgpu_bo_list_for_each_entry(e, parser->bo_list) {
+				struct amdgpu_bo *bo = e->bo;
+
+				/* ignore duplicates */
+				if (!bo)
+					continue;
+
+				amdgpu_vm_bo_invalidate(bo, false);
+			}
+		}
 		amdgpu_bo_list_put(parser->bo_list);
+	}
 
 	for (i = 0; i < parser->nchunks; i++)
 		kvfree(parser->chunks[i].kdata);
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c +42 -29

110 lines not on this page · raw message

drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +15 -0
index 7248947835f1..99f22633abf5 100644
@@ -2891,6 +2891,19 @@ static int amdgpu_pmops_runtime_suspend(struct device *dev)
 	return 0;
 }
 
+static void amdgpu_restore_umd_profile_pstate_after_runpm(struct amdgpu_device *adev)
+{
+	enum amd_dpm_forced_level level;
+	uint32_t profile_mode_mask = AMD_DPM_FORCED_LEVEL_PROFILE_STANDARD |
+		AMD_DPM_FORCED_LEVEL_PROFILE_MIN_SCLK |
+		AMD_DPM_FORCED_LEVEL_PROFILE_MIN_MCLK |
+		AMD_DPM_FORCED_LEVEL_PROFILE_PEAK;
+
+	level = amdgpu_dpm_get_performance_level(adev);
+	if (level & profile_mode_mask)
+		amdgpu_asic_update_umd_stable_pstate(adev, true);
+}
+
 static int amdgpu_pmops_runtime_resume(struct device *dev)
 {
 	struct pci_dev *pdev = to_pci_dev(dev);
@@ -2935,6 +2948,8 @@ static int amdgpu_pmops_runtime_resume(struct device *dev)
 
 	if (adev->pm.rpm_mode == AMDGPU_RUNPM_PX)
 		drm_dev->switch_power_state = DRM_SWITCH_POWER_ON;
+
+	amdgpu_restore_umd_profile_pstate_after_runpm(adev);
 	adev->in_runpm = false;
 	return 0;
 }
drivers/gpu/drm/amd/amdgpu/amdgpu_eviction_fence.c +1 -2
index 23d7d0b0d625..83fad3a37184 100644
@@ -49,7 +49,6 @@ amdgpu_eviction_fence_replace_fence(struct amdgpu_eviction_fence_mgr *evf_mgr,
 {
 	struct amdgpu_eviction_fence *old_ef, *new_ef;
 	struct drm_gem_object *obj;
-	unsigned long index;
 	int ret;
 
 	if (evf_mgr->ev_fence &&
@@ -77,7 +76,7 @@ amdgpu_eviction_fence_replace_fence(struct amdgpu_eviction_fence_mgr *evf_mgr,
 	spin_unlock(&evf_mgr->ev_fence_lock);
 
 	/* Attach the new fence */
-	drm_exec_for_each_locked_object(exec, index, obj) {
+	drm_exec_for_each_locked_object(exec, obj) {
 		struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj);
 
 		if (!bo)
drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c +28 -2
index 0760e70402ec..52ed0fa000d7 100644
@@ -217,7 +217,20 @@ static bool amdgpu_gtt_mgr_intersects(struct ttm_resource_manager *man,
 				      const struct ttm_place *place,
 				      size_t size)
 {
-	return !place->lpfn || amdgpu_gtt_mgr_has_gart_addr(res);
+	const struct drm_mm_node *const node = &to_ttm_range_mgr_node(res)->mm_nodes[0];
+	const u32 num_pages = PFN_UP(size);
+
+	if (!place->lpfn)
+		return true;
+
+	if (!amdgpu_gtt_mgr_has_gart_addr(res))
+		return false;
+
+	if (place->fpfn >= (node->start + num_pages) ||
+	    (place->lpfn && place->lpfn <= node->start))
+		return false;
+
+	return true;
 }
 
 /**
@@ -235,7 +248,20 @@ static bool amdgpu_gtt_mgr_compatible(struct ttm_resource_manager *man,
 				      const struct ttm_place *place,
 				      size_t size)
 {
-	return !place->lpfn || amdgpu_gtt_mgr_has_gart_addr(res);
+	const struct drm_mm_node *const node = &to_ttm_range_mgr_node(res)->mm_nodes[0];
+	const u32 num_pages = PFN_UP(size);
+
+	if (!place->lpfn)
+		return true;
+
+	if (!amdgpu_gtt_mgr_has_gart_addr(res))
+		return false;
+
+	if (node->start < place->fpfn ||
+	    (place->lpfn && (node->start + num_pages) > place->lpfn))
+		return false;
+
+	return true;
 }
 
 /**
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c +12 -0
index a4b5fe35c3cd..d6d463c93fdd 100644
@@ -2078,6 +2078,18 @@ int amdgpu_ttm_init(struct amdgpu_device *adev)
 		gtt_size = configured_size;
 	}
 
+	/* Cap GTT so that it does not exceed total physical RAM. */
+	if (adev->flags & AMD_IS_APU) {
+		u64 phys_ram = (u64)totalram_pages() << PAGE_SHIFT;
+
+		if (gtt_size > phys_ram) {
+			gtt_size = phys_ram;
+			dev_info(adev->dev,
+				 "Capping GTT to %uM to not exceed available system memory\n",
+				 (unsigned int)(gtt_size / (1024 * 1024)));
+		}
+	}
+
 	/* Initialize GTT memory pool */
 	r = amdgpu_gtt_mgr_init(adev, gtt_size);
 	if (r) {
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c +7 -3
index c4fd83ae1762..d3190c3bb1ae 100644
@@ -2971,10 +2971,14 @@ static int kfd_ioctl_set_debug_trap(struct file *filep, struct kfd_process *p, v
 		goto out;
 	}
 
-	/* Check if target is still PTRACED. */
+	/*
+	 * Verify debugger has permission to debug target process.
+	 * For cross-process debugging, require active ptrace relationship.
+	 * This applies to ALL operations to prevent unauthorized interference.
+	 */
 	rcu_read_lock();
-	if (target != p && args->op != KFD_IOC_DBG_TRAP_DISABLE
-				&& ptrace_parent(target->lead_thread) != current) {
+	if (target != p && ptrace_parent(target->lead_thread) != current
+			&& target->debugger_process != p) {
 		pr_err("PID %i is not PTRACED and cannot be debugged\n", args->pid);
 		r = -EPERM;
 	}
drivers/gpu/drm/amd/amdkfd/kfd_events.c +20 -3
index 2fdee34ae543..b033c3a9ce54 100644
@@ -521,6 +521,9 @@ int kfd_criu_restore_event(struct file *devkfd,
 
 		ret = create_other_event(p, ev, &ev_priv->event_id);
 		break;
+	default:
+		ret = -EINVAL;
+		break;
 	}
 	mutex_unlock(&p->event_mutex);
 
@@ -542,15 +545,27 @@ int kfd_criu_checkpoint_events(struct kfd_process *p,
 	int ret =  0;
 	struct kfd_event *ev;
 	uint32_t ev_id;
+	uint32_t num_events;
 
-	uint32_t num_events = kfd_get_num_events(p);
+	/* Serialize the count and the walk below against concurrent event
+	 * create/destroy. Those paths take only p->event_mutex, not the
+	 * p->mutex held by the CRIU checkpoint caller, so without this the
+	 * event_idr can grow between kfd_get_num_events() and the loop and the
+	 * walk writes past the ev_privs allocation.
+	 */
+	mutex_lock(&p->event_mutex);
 
-	if (!num_events)
+	num_events = kfd_get_num_events(p);
+	if (!num_events) {
+		mutex_unlock(&p->event_mutex);
 		return 0;
+	}
 
 	ev_privs = kvzalloc(num_events * sizeof(*ev_privs), GFP_KERNEL);
-	if (!ev_privs)
+	if (!ev_privs) {
+		mutex_unlock(&p->event_mutex);
 		return -ENOMEM;
+	}
 
 
 	idr_for_each_entry(&p->event_idr, ev, ev_id) {
@@ -591,6 +606,8 @@ int kfd_criu_checkpoint_events(struct kfd_process *p,
 		i++;
 	}
 
+	mutex_unlock(&p->event_mutex);
+
 	ret = copy_to_user(user_priv_data + *priv_data_offset,
 			   ev_privs, num_events * sizeof(*ev_privs));
 	if (ret) {
drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c +1 -1
index 0bfe64cdabe6..e96488f6b02d 100644
@@ -375,7 +375,7 @@ int pqm_create_queue(struct process_queue_manager *pqm,
 						     false);
 		if (retval) {
 			dev_err(dev->adev->dev, "failed to allocate process context bo\n");
-			return retval;
+			goto err_allocate_pqn;
 		}
 		memset(pdd->proc_ctx_cpu_ptr, 0, AMDGPU_MES_PROC_CTX_SIZE);
 	}
drivers/gpu/drm/amd/amdkfd/kfd_queue.c +1 -1
index 8e74e2bae590..6f06516da32a 100644
@@ -285,7 +285,7 @@ int kfd_queue_acquire_buffers(struct kfd_process_device *pdd, struct queue_prope
 		}
 		err = kfd_queue_buffer_get(vm, (void *)properties->eop_ring_buffer_address,
 					   &properties->eop_buf_bo,
-					   ALIGN(properties->eop_ring_buffer_size, PAGE_SIZE));
+					   ALIGN((u64)properties->eop_ring_buffer_size, PAGE_SIZE));
 		if (err)
 			goto out_err_unreserve;
 	}
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +184 -59

290 lines not on this page · raw message

drivers/gpu/drm/amd/display/dc/core/dc.c +45 -0

51 lines not on this page · raw message

drivers/gpu/drm/amd/display/dc/dc.h +1 -0
index 98f0b6b3c213..390f948dad39 100644
@@ -2611,6 +2611,7 @@ enum dc_irq_source dc_interrupt_to_irq_source(
 		uint32_t ext_id);
 bool dc_interrupt_set(struct dc *dc, enum dc_irq_source src, bool enable);
 void dc_interrupt_ack(struct dc *dc, enum dc_irq_source src);
+bool dc_get_flip_pending_on_otg(struct dc *dc, int otg_inst);
 enum dc_irq_source dc_get_hpd_irq_source_at_index(
 		struct dc *dc, uint32_t link_index);
 
drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c +9 -11
index b4f5b4a6331a..20c52b0038d1 100644
@@ -45,9 +45,7 @@
 	clk_src->base.ctx
 
 #define DC_LOGGER \
-	calc_pll_cs->ctx->logger
-#define DC_LOGGER_INIT() \
-	struct calc_pll_clock_source *calc_pll_cs = &clk_src->calc_pll
+	CTX->logger
 
 #undef FN
 #define FN(reg_name, field_name) \
@@ -291,6 +289,7 @@ static bool calc_pll_dividers_in_range(
 }
 
 static uint32_t calculate_pixel_clock_pll_dividers(
+		struct dce110_clk_src *clk_src,
 		struct calc_pll_clock_source *calc_pll_cs,
 		struct pll_settings *pll_settings)
 {
@@ -479,7 +478,7 @@ static uint32_t dce110_get_pix_clk_dividers_helper (
 {
 	uint32_t field = 0;
 	uint32_t pll_calc_error = MAX_PLL_CALC_ERROR;
-	DC_LOGGER_INIT();
+
 	/* Check if reference clock is external (not pcie/xtalin)
 	* HW Dce80 spec:
 	* 00 - PCIE_REFCLK, 01 - XTALIN,    02 - GENERICA,    03 - GENERICB
@@ -522,12 +521,14 @@ static uint32_t dce110_get_pix_clk_dividers_helper (
 		/*Calculate Dividers by HDMI object, no SS case or SS case */
 		pll_calc_error =
 			calculate_pixel_clock_pll_dividers(
+				        clk_src,
 					&clk_src->calc_pll_hdmi,
 					pll_settings);
 	else
 		/*Calculate Dividers by default object, no SS case or SS case */
 		pll_calc_error =
 			calculate_pixel_clock_pll_dividers(
+					clk_src,
 					&clk_src->calc_pll,
 					pll_settings);
 
@@ -572,7 +573,6 @@ static uint32_t dce110_get_pix_clk_dividers(
 {
 	struct dce110_clk_src *clk_src = TO_DCE110_CLK_SRC(cs);
 	uint32_t pll_calc_error = MAX_PLL_CALC_ERROR;
-	DC_LOGGER_INIT();
 
 	if (pix_clk_params == NULL || pll_settings == NULL
 			|| pix_clk_params->requested_pix_clk_100hz == 0) {
@@ -604,7 +604,6 @@ static uint32_t dce112_get_pix_clk_dividers(
 		struct pll_settings *pll_settings)
 {
 	struct dce110_clk_src *clk_src = TO_DCE110_CLK_SRC(cs);
-	DC_LOGGER_INIT();
 
 	if (pix_clk_params == NULL || pll_settings == NULL
 			|| pix_clk_params->requested_pix_clk_100hz == 0) {
@@ -1370,8 +1369,6 @@ static uint32_t dcn3_get_pix_clk_dividers(
 	unsigned long long actual_pix_clk_100Hz = pix_clk_params ? pix_clk_params->requested_pix_clk_100hz : 0;
 	struct dce110_clk_src *clk_src = TO_DCE110_CLK_SRC(cs);
 
-	DC_LOGGER_INIT();
-
 	if (pix_clk_params == NULL || pll_settings == NULL
 			|| pix_clk_params->requested_pix_clk_100hz == 0) {
 		DC_LOG_ERROR(
@@ -1441,7 +1438,6 @@ static const struct clock_source_funcs dce110_clk_src_funcs = {
 	.get_pixel_clk_frequency_100hz = get_pixel_clk_frequency_100hz
 };
 
-
 static void get_ss_info_from_atombios(
 		struct dce110_clk_src *clk_src,
 		enum as_signal_type as_signal,
@@ -1454,7 +1450,7 @@ static void get_ss_info_from_atombios(
 	struct spread_spectrum_info *ss_info_cur;
 	struct spread_spectrum_data *ss_data_cur;
 	uint32_t i;
-	DC_LOGGER_INIT();
+
 	if (ss_entries_num == NULL) {
 		DC_LOG_SYNC(
 			"Invalid entry !!!\n");
@@ -1589,6 +1585,7 @@ static void ss_info_from_atombios_create(
 }
 
 static bool calc_pll_max_vco_construct(
+			struct dce110_clk_src *clk_src,
 			struct calc_pll_clock_source *calc_pll_cs,
 			struct calc_pll_clock_source_init_data *init_data)
 {
@@ -1740,6 +1737,7 @@ bool dce110_clk_src_construct(
 	ss_info_from_atombios_create(clk_src);
 
 	if (!calc_pll_max_vco_construct(
+			clk_src,
 			&clk_src->calc_pll,
 			&calc_pll_cs_init_data)) {
 		ASSERT_CRITICAL(false);
@@ -1754,7 +1752,7 @@ bool dce110_clk_src_construct(
 
 
 	if (!calc_pll_max_vco_construct(
-			&clk_src->calc_pll_hdmi, &calc_pll_cs_init_data_hdmi)) {
+			clk_src, &clk_src->calc_pll_hdmi, &calc_pll_cs_init_data_hdmi)) {
 		ASSERT_CRITICAL(false);
 		goto unexpected_failure;
 	}
drivers/gpu/drm/amd/display/dc/hwss/dcn30/dcn30_hwseq.c +11 -5
index 731645a2ab9a..20b408b68824 100644
@@ -837,13 +837,19 @@ void dcn30_set_avmute(struct pipe_ctx *pipe_ctx, bool enable)
 				pipe_ctx->stream_res.stream_enc,
 				enable);
 
-		/* Wait for two frame to make sure AV mute is sent out */
+		/* Wait for three frames to make sure AV mute is sent out.
+		 * Some HDMI sinks need additional GCP packets to properly
+		 * process the mute state, especially after link re-establishment
+		 * with HDMI 2.0 scrambling enabled.
+		 */
 		if (enable && pipe_ctx->stream_res.tg->funcs->is_tg_enabled(pipe_ctx->stream_res.tg)) {
+			int i;
+
 			pipe_ctx->stream_res.tg->funcs->wait_for_state(pipe_ctx->stream_res.tg, CRTC_STATE_VACTIVE);
-			pipe_ctx->stream_res.tg->funcs->wait_for_state(pipe_ctx->stream_res.tg, CRTC_STATE_VBLANK);
-			pipe_ctx->stream_res.tg->funcs->wait_for_state(pipe_ctx->stream_res.tg, CRTC_STATE_VACTIVE);
-			pipe_ctx->stream_res.tg->funcs->wait_for_state(pipe_ctx->stream_res.tg, CRTC_STATE_VBLANK);
-			pipe_ctx->stream_res.tg->funcs->wait_for_state(pipe_ctx->stream_res.tg, CRTC_STATE_VACTIVE);
+			for (i = 0; i < 3; i++) {
+				pipe_ctx->stream_res.tg->funcs->wait_for_state(pipe_ctx->stream_res.tg, CRTC_STATE_VBLANK);
+				pipe_ctx->stream_res.tg->funcs->wait_for_state(pipe_ctx->stream_res.tg, CRTC_STATE_VACTIVE);
+			}
 		}
 	}
 }
drivers/gpu/drm/amd/pm/amdgpu_dpm.c +9 -3
index 8253d2977408..caf2cabeca6d 100644
@@ -1442,17 +1442,23 @@ int amdgpu_dpm_set_power_profile_mode(struct amdgpu_device *adev,
 	return ret;
 }
 
-int amdgpu_dpm_get_gpu_metrics(struct amdgpu_device *adev, void **table)
+ssize_t amdgpu_dpm_get_gpu_metrics(struct amdgpu_device *adev, void *buf,
+				   size_t size)
 {
 	const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs;
-	int ret = 0;
+	void *table;
+	ssize_t ret;
 
 	if (!pp_funcs->get_gpu_metrics)
 		return 0;
 
 	mutex_lock(&adev->pm.mutex);
 	ret = pp_funcs->get_gpu_metrics(adev->powerplay.pp_handle,
-					table);
+					&table);
+	if (ret > 0) {
+		ret = min_t(ssize_t, ret, size);
+		memcpy(buf, table, ret);
+	}
 	mutex_unlock(&adev->pm.mutex);
 
 	return ret;
drivers/gpu/drm/amd/pm/amdgpu_pm.c +1 -7
index 7c9e2003e2a0..94c534c1d0be 100644
@@ -1754,7 +1754,6 @@ static ssize_t amdgpu_get_gpu_metrics(struct device *dev,
 {
 	struct drm_device *ddev = dev_get_drvdata(dev);
 	struct amdgpu_device *adev = drm_to_adev(ddev);
-	void *gpu_metrics;
 	ssize_t size = 0;
 	int ret;
 
@@ -1762,15 +1761,10 @@ static ssize_t amdgpu_get_gpu_metrics(struct device *dev,
 	if (ret)
 		return ret;
 
-	size = amdgpu_dpm_get_gpu_metrics(adev, &gpu_metrics);
+	size = amdgpu_dpm_get_gpu_metrics(adev, buf, PAGE_SIZE - 1);
 	if (size <= 0)
 		goto out;
 
-	if (size >= PAGE_SIZE)
-		size = PAGE_SIZE - 1;
-
-	memcpy(buf, gpu_metrics, size);
-
 out:
 	amdgpu_pm_put_access(adev);
 
drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h +2 -1
index af48aead12f7..b0bbb23929bf 100644
@@ -517,7 +517,8 @@ int amdgpu_dpm_get_power_profile_mode(struct amdgpu_device *adev,
 				      char *buf);
 int amdgpu_dpm_set_power_profile_mode(struct amdgpu_device *adev,
 				      long *input, uint32_t size);
-int amdgpu_dpm_get_gpu_metrics(struct amdgpu_device *adev, void **table);
+ssize_t amdgpu_dpm_get_gpu_metrics(struct amdgpu_device *adev, void *buf,
+				   size_t size);
 ssize_t amdgpu_dpm_get_xcp_metrics(struct amdgpu_device *adev, int xcp_id,
 				   void *table);
 ssize_t amdgpu_dpm_get_temp_metrics(struct amdgpu_device *adev,
drivers/gpu/drm/armada/armada_fbdev.c +1 -11
index cb53cc91bafb..4a8c432e311e 100644
@@ -45,10 +45,10 @@ int armada_fbdev_driver_fbdev_probe(struct drm_fb_helper *fbh,
 				    struct drm_fb_helper_surface_size *sizes)
 {
 	struct drm_device *dev = fbh->dev;
+	struct fb_info *info = fbh->info;
 	struct drm_mode_fb_cmd2 mode;
 	struct armada_framebuffer *dfb;
 	struct armada_gem_object *obj;
-	struct fb_info *info;
 	int size, ret;
 	void *ptr;
 
@@ -92,12 +92,6 @@ int armada_fbdev_driver_fbdev_probe(struct drm_fb_helper *fbh,
 	if (IS_ERR(dfb))
 		return PTR_ERR(dfb);
 
-	info = drm_fb_helper_alloc_info(fbh);
-	if (IS_ERR(info)) {
-		ret = PTR_ERR(info);
-		goto err_fballoc;
-	}
-
 	info->fbops = &armada_fb_ops;
 	info->fix.smem_start = obj->phys_addr;
 	info->fix.smem_len = obj->obj.size;
@@ -113,8 +107,4 @@ int armada_fbdev_driver_fbdev_probe(struct drm_fb_helper *fbh,
 		(unsigned long long)obj->phys_addr);
 
 	return 0;
-
- err_fballoc:
-	dfb->fb.funcs->destroy(&dfb->fb);
-	return ret;
 }
drivers/gpu/drm/bridge/display-connector.c +8 -3
index e9f16dbc9535..9a64fefbc903 100644
@@ -40,6 +40,13 @@ static int display_connector_attach(struct drm_bridge *bridge,
 	return flags & DRM_BRIDGE_ATTACH_NO_CONNECTOR ? 0 : -EINVAL;
 }
 
+static void display_connector_destroy(struct drm_bridge *bridge)
+{
+	struct display_connector *conn = to_display_connector(bridge);
+
+	i2c_put_adapter(conn->bridge.ddc);
+}
+
 static enum drm_connector_status display_connector_detect(struct drm_bridge *bridge)
 {
 	struct display_connector *conn = to_display_connector(bridge);
@@ -177,6 +184,7 @@ static u32 *display_connector_get_input_bus_fmts(struct drm_bridge *bridge,
 
 static const struct drm_bridge_funcs display_connector_bridge_funcs = {
 	.attach = display_connector_attach,
+	.destroy = display_connector_destroy,
 	.detect = display_connector_bridge_detect,
 	.edid_read = display_connector_edid_read,
 	.atomic_get_output_bus_fmts = display_connector_get_output_bus_fmts,
@@ -403,9 +411,6 @@ static void display_connector_remove(struct platform_device *pdev)
 		regulator_disable(conn->supply);
 
 	drm_bridge_remove(&conn->bridge);
-
-	if (!IS_ERR(conn->bridge.ddc))
-		i2c_put_adapter(conn->bridge.ddc);
 }
 
 static const struct of_device_id display_connector_match[] = {
drivers/gpu/drm/display/drm_dp_helper.c +12 -0
index 4aaeae4fa03c..8c858ba40c6c 100644
@@ -3457,6 +3457,18 @@ int drm_dp_get_pcon_max_frl_bw(const u8 dpcd[DP_RECEIVER_CAP_SIZE],
 	int bw;
 	u8 buf;
 
+	if (!drm_dp_is_branch(dpcd))
+		return 0;
+
+	if (dpcd[DP_DPCD_REV] < 0x11)
+		return 0;
+
+	if ((dpcd[DP_DOWNSTREAMPORT_PRESENT] & DP_DETAILED_CAP_INFO_AVAILABLE) == 0)
+		return 0;
+
+	if ((port_cap[0] & DP_DS_PORT_TYPE_MASK) != DP_DS_PORT_TYPE_HDMI)
+		return 0;
+
 	buf = port_cap[2];
 	bw = buf & DP_PCON_MAX_FRL_BW;
 
drivers/gpu/drm/drm_exec.c +2 -4
index 8d0601400182..746210f3f6c2 100644
@@ -24,7 +24,6 @@
  *
  *	struct drm_gem_object *obj;
  *	struct drm_exec exec;
- *	unsigned long index;
  *	int ret;
  *
  *	drm_exec_init(&exec, DRM_EXEC_INTERRUPTIBLE_WAIT);
@@ -40,7 +39,7 @@
  *			goto error;
  *	}
  *
- *	drm_exec_for_each_locked_object(&exec, index, obj) {
+ *	drm_exec_for_each_locked_object(&exec, obj) {
  *		dma_resv_add_fence(obj->resv, fence, DMA_RESV_USAGE_READ);
  *		...
  *	}
@@ -56,9 +55,8 @@
 static void drm_exec_unlock_all(struct drm_exec *exec)
 {
 	struct drm_gem_object *obj;
-	unsigned long index;
 
-	drm_exec_for_each_locked_object_reverse(exec, index, obj) {
+	drm_exec_for_each_locked_object_reverse(exec, obj) {
 		dma_resv_unlock(obj->resv);
 		drm_gem_object_put(obj);
 	}
drivers/gpu/drm/drm_fb_helper.c +14 -27

83 lines not on this page · raw message

drivers/gpu/drm/drm_fbdev_dma.c +2 -10
index 8bd626ef16c7..7b77c801a63a 100644
@@ -272,9 +272,9 @@ int drm_fbdev_dma_driver_fbdev_probe(struct drm_fb_helper *fb_helper,
 {
 	struct drm_client_dev *client = &fb_helper->client;
 	struct drm_device *dev = fb_helper->dev;
+	struct fb_info *info = fb_helper->info;
 	struct drm_client_buffer *buffer;
 	struct drm_framebuffer *fb;
-	struct fb_info *info;
 	u32 format;
 	struct iosys_map map;
 	int ret;
@@ -304,12 +304,6 @@ int drm_fbdev_dma_driver_fbdev_probe(struct drm_fb_helper *fb_helper,
 	fb_helper->buffer = buffer;
 	fb_helper->fb = fb;
 
-	info = drm_fb_helper_alloc_info(fb_helper);
-	if (IS_ERR(info)) {
-		ret = PTR_ERR(info);
-		goto err_drm_client_buffer_vunmap;
-	}
-
 	drm_fb_helper_fill_info(info, fb_helper, sizes);
 
 	if (fb->funcs->dirty)
@@ -317,12 +311,10 @@ int drm_fbdev_dma_driver_fbdev_probe(struct drm_fb_helper *fb_helper,
 	else
 		ret = drm_fbdev_dma_driver_fbdev_probe_tail(fb_helper, sizes);
 	if (ret)
-		goto err_drm_fb_helper_release_info;
+		goto err_drm_client_buffer_vunmap;
 
 	return 0;
 
-err_drm_fb_helper_release_info:
-	drm_fb_helper_release_info(fb_helper);
 err_drm_client_buffer_vunmap:
 	fb_helper->fb = NULL;
 	fb_helper->buffer = NULL;
drivers/gpu/drm/drm_fbdev_shmem.c +2 -10
index 1e827bf8b815..77f350700818 100644
@@ -136,10 +136,10 @@ int drm_fbdev_shmem_driver_fbdev_probe(struct drm_fb_helper *fb_helper,
 {
 	struct drm_client_dev *client = &fb_helper->client;
 	struct drm_device *dev = fb_helper->dev;
+	struct fb_info *info = fb_helper->info;
 	struct drm_client_buffer *buffer;
 	struct drm_gem_shmem_object *shmem;
 	struct drm_framebuffer *fb;
-	struct fb_info *info;
 	u32 format;
 	struct iosys_map map;
 	int ret;
@@ -169,12 +169,6 @@ int drm_fbdev_shmem_driver_fbdev_probe(struct drm_fb_helper *fb_helper,
 	fb_helper->buffer = buffer;
 	fb_helper->fb = fb;
 
-	info = drm_fb_helper_alloc_info(fb_helper);
-	if (IS_ERR(info)) {
-		ret = PTR_ERR(info);
-		goto err_drm_client_buffer_vunmap;
-	}
-
 	drm_fb_helper_fill_info(info, fb_helper, sizes);
 
 	info->fbops = &drm_fbdev_shmem_fb_ops;
@@ -195,12 +189,10 @@ int drm_fbdev_shmem_driver_fbdev_probe(struct drm_fb_helper *fb_helper,
 	info->fbdefio = &fb_helper->fbdefio;
 	ret = fb_deferred_io_init(info);
 	if (ret)
-		goto err_drm_fb_helper_release_info;
+		goto err_drm_client_buffer_vunmap;
 
 	return 0;
 
-err_drm_fb_helper_release_info:
-	drm_fb_helper_release_info(fb_helper);
 err_drm_client_buffer_vunmap:
 	fb_helper->fb = NULL;
 	fb_helper->buffer = NULL;
drivers/gpu/drm/drm_fbdev_ttm.c +2 -10
index 85feb55bba11..1ba258f3c854 100644
@@ -176,8 +176,8 @@ int drm_fbdev_ttm_driver_fbdev_probe(struct drm_fb_helper *fb_helper,
 {
 	struct drm_client_dev *client = &fb_helper->client;
 	struct drm_device *dev = fb_helper->dev;
+	struct fb_info *info = fb_helper->info;
 	struct drm_client_buffer *buffer;
-	struct fb_info *info;
 	size_t screen_size;
 	void *screen_buffer;
 	u32 format;
@@ -205,12 +205,6 @@ int drm_fbdev_ttm_driver_fbdev_probe(struct drm_fb_helper *fb_helper,
 		goto err_drm_client_framebuffer_delete;
 	}
 
-	info = drm_fb_helper_alloc_info(fb_helper);
-	if (IS_ERR(info)) {
-		ret = PTR_ERR(info);
-		goto err_vfree;
-	}
-
 	drm_fb_helper_fill_info(info, fb_helper, sizes);
 
 	info->fbops = &drm_fbdev_ttm_fb_ops;
@@ -227,12 +221,10 @@ int drm_fbdev_ttm_driver_fbdev_probe(struct drm_fb_helper *fb_helper,
 	info->fbdefio = &fb_helper->fbdefio;
 	ret = fb_deferred_io_init(info);
 	if (ret)
-		goto err_drm_fb_helper_release_info;
+		goto err_vfree;
 
 	return 0;
 
-err_drm_fb_helper_release_info:
-	drm_fb_helper_release_info(fb_helper);
 err_vfree:
 	vfree(screen_buffer);
 err_drm_client_framebuffer_delete:
drivers/gpu/drm/drm_gpusvm.c +9 -3
index 781cd4e5b704..e5c7befe3108 100644
@@ -1390,6 +1390,14 @@ int drm_gpusvm_get_pages(struct drm_gpusvm *gpusvm,
 					err = -EAGAIN;
 					goto err_unmap;
 				}
+
+				/*
+				 * Set the dpagemap as soon as the first
+				 * device page is mapped so the err_unmap path
+				 * can device_unmap() the device mappings that
+				 * have already been created.
+				 */
+				svm_pages->dpagemap = dpagemap;
 			}
 			svm_pages->dma_addr[j] =
 				dpagemap->ops->device_map(dpagemap,
@@ -1432,10 +1440,8 @@ int drm_gpusvm_get_pages(struct drm_gpusvm *gpusvm,
 		flags.has_dma_mapping = true;
 	}
 
-	if (pagemap) {
+	if (pagemap)
 		flags.has_devmem_pages = true;
-		svm_pages->dpagemap = dpagemap;
-	}
 
 	/* WRITE_ONCE pairs with READ_ONCE for opportunistic checks */
 	WRITE_ONCE(svm_pages->flags.__flags, flags.__flags);
drivers/gpu/drm/drm_gpuvm.c +1 -2
index 5c8bf010cd96..61c3df0711a3 100644
@@ -1521,9 +1521,8 @@ drm_gpuvm_resv_add_fence(struct drm_gpuvm *gpuvm,
 			 enum dma_resv_usage extobj_usage)
 {
 	struct drm_gem_object *obj;
-	unsigned long index;
 
-	drm_exec_for_each_locked_object(exec, index, obj) {
+	drm_exec_for_each_locked_object(exec, obj) {
 		dma_resv_assert_held(obj->resv);
 		dma_resv_add_fence(obj->resv, fence,
 				   drm_gpuvm_is_extobj(gpuvm, obj) ?
drivers/gpu/drm/exynos/exynos_drm_fbdev.c +1 -8
index 93de25b77e68..b0bd0697910e 100644
@@ -59,18 +59,11 @@ static int exynos_drm_fbdev_update(struct drm_fb_helper *helper,
 				   struct drm_fb_helper_surface_size *sizes,
 				   struct exynos_drm_gem *exynos_gem)
 {
-	struct fb_info *fbi;
+	struct fb_info *fbi = helper->info;
 	struct drm_framebuffer *fb = helper->fb;
 	unsigned int size = fb->width * fb->height * fb->format->cpp[0];
 	unsigned long offset;
 
-	fbi = drm_fb_helper_alloc_info(helper);
-	if (IS_ERR(fbi)) {
-		DRM_DEV_ERROR(to_dma_dev(helper->dev),
-			      "failed to allocate fb info.\n");
-		return PTR_ERR(fbi);
-	}
-
 	fbi->fbops = &exynos_drm_fb_ops;
 
 	drm_fb_helper_fill_info(fbi, helper, sizes);
drivers/gpu/drm/gma500/fbdev.c +1 -11
index a6af21514cff..dacc118b1242 100644
@@ -111,7 +111,7 @@ int psb_fbdev_driver_fbdev_probe(struct drm_fb_helper *fb_helper,
 	struct drm_device *dev = fb_helper->dev;
 	struct drm_psb_private *dev_priv = to_drm_psb_private(dev);
 	struct pci_dev *pdev = to_pci_dev(dev->dev);
-	struct fb_info *info;
+	struct fb_info *info = fb_helper->info;
 	struct drm_framebuffer *fb;
 	struct drm_mode_fb_cmd2 mode_cmd = { };
 	int size;
@@ -170,12 +170,6 @@ int psb_fbdev_driver_fbdev_probe(struct drm_fb_helper *fb_helper,
 	fb_helper->funcs = &psb_fbdev_fb_helper_funcs;
 	fb_helper->fb = fb;
 
-	info = drm_fb_helper_alloc_info(fb_helper);
-	if (IS_ERR(info)) {
-		ret = PTR_ERR(info);
-		goto err_drm_framebuffer_unregister_private;
-	}
-
 	info->fbops = &psb_fbdev_fb_ops;
 
 	/* Accessed stolen memory directly */
@@ -199,10 +193,6 @@ int psb_fbdev_driver_fbdev_probe(struct drm_fb_helper *fb_helper,
 
 	return 0;
 
-err_drm_framebuffer_unregister_private:
-	drm_framebuffer_unregister_private(fb);
-	drm_framebuffer_cleanup(fb);
-	kfree(fb);
 err_drm_gem_object_put:
 	drm_gem_object_put(obj);
 	return ret;
drivers/gpu/drm/i915/display/intel_ddi.c +2 -0
index c09aa759f4d4..3de3e9167d0d 100644
@@ -3502,6 +3502,8 @@ static void intel_ddi_enable_hdmi(struct intel_atomic_state *state,
 	}
 
 	intel_ddi_buf_enable(encoder, buf_ctl);
+
+	intel_hdmi_poll_for_scrambling_enable(crtc_state, connector);
 }
 
 static void intel_ddi_enable(struct intel_atomic_state *state,
drivers/gpu/drm/i915/display/intel_dp.c +8 -1
index 2a0750acf205..84fca860c93e 100644
@@ -3859,7 +3859,14 @@ static int intel_dp_hdmi_sink_max_frl(struct intel_dp *intel_dp)
 	rate_per_lane = info->hdmi.max_frl_rate_per_lane;
 	max_frl_rate = max_lanes * rate_per_lane;
 
-	if (info->hdmi.dsc_cap.v_1p2) {
+	/*
+	 * The sink's DSC max FRL rate only applies to compressed video
+	 * transport, which requires a DSC 1.2 encoder in the PCON. Without
+	 * one the HDMI link always carries uncompressed video, for which
+	 * the regular max FRL rate is the limit.
+	 */
+	if (drm_dp_pcon_enc_is_dsc_1_2(intel_dp->pcon_dsc_dpcd) &&
+	    info->hdmi.dsc_cap.v_1p2) {
 		max_dsc_lanes = info->hdmi.dsc_cap.max_lanes;
 		dsc_rate_per_lane = info->hdmi.dsc_cap.max_frl_rate_per_lane;
 		if (max_dsc_lanes && dsc_rate_per_lane)
drivers/gpu/drm/i915/display/intel_fbdev.c +1 -8
index 7daf72b69bae..a42b0943ed95 100644
@@ -242,8 +242,8 @@ int intel_fbdev_driver_fbdev_probe(struct drm_fb_helper *helper,
 	struct intel_display *display = to_intel_display(helper->dev);
 	struct intel_fbdev *ifbdev = to_intel_fbdev(helper);
 	struct intel_framebuffer *fb = ifbdev->fb;
+	struct fb_info *info = helper->info;
 	struct ref_tracker *wakeref;
-	struct fb_info *info;
 	struct i915_vma *vma;
 	unsigned long flags = 0;
 	bool prealloc = false;
@@ -296,13 +296,6 @@ int intel_fbdev_driver_fbdev_probe(struct drm_fb_helper *helper,
 		goto out_unlock;
 	}
 
-	info = drm_fb_helper_alloc_info(helper);
-	if (IS_ERR(info)) {
-		drm_err(display->drm, "Failed to allocate fb_info (%pe)\n", info);
-		ret = PTR_ERR(info);
-		goto out_unpin;
-	}
-
 	helper->funcs = &intel_fb_helper_funcs;
 	helper->fb = &fb->base;
 
drivers/gpu/drm/i915/display/intel_hdmi.c +26 -0
index 4ab7e2e3bfd4..e77c6422b001 100644
@@ -2680,6 +2680,32 @@ intel_hdmi_add_properties(struct intel_hdmi *intel_hdmi, struct drm_connector *_
 		drm_connector_attach_max_bpc_property(&connector->base, 8, 12);
 }
 
+/*
+ * HDMI 2.0 spec, section 6.1.3.1 (Scrambling Control): after
+ * enabling Scrambling_Enable and starting scrambled video
+ * transmission, poll Scrambling_Status for up to 200 ms.
+ */
+void
+intel_hdmi_poll_for_scrambling_enable(const struct intel_crtc_state *crtc_state,
+				      struct drm_connector *_connector)
+{
+	struct intel_connector *connector = to_intel_connector(_connector);
+	struct intel_display *display = to_intel_display(crtc_state);
+	bool scrambling_enabled = false;
+	int ret;
+
+	if (!crtc_state->hdmi_scrambling)
+		return;
+
+	/* Poll for a max of 200 msec as per HDMI spec */
+	ret = poll_timeout_us(scrambling_enabled = drm_scdc_get_scrambling_status(&connector->base),
+			      scrambling_enabled, 1000, 200 * 1000, false);
+	if (ret)
+		drm_dbg_kms(display->drm,
+			    "[CONNECTOR:%d:%s] Timed out waiting for scrambling enable\n",
+			    connector->base.base.id, connector->base.name);
+}
+
 /*
  * intel_hdmi_handle_sink_scrambling: handle sink scrambling/clock ratio setup
  * @encoder: intel_encoder
drivers/gpu/drm/i915/display/intel_hdmi.h +2 -0
index dec2ad7dd8a2..2de905636791 100644
@@ -69,5 +69,7 @@ void hsw_read_infoframe(struct intel_encoder *encoder,
 			const struct intel_crtc_state *crtc_state,
 			unsigned int type,
 			void *frame, ssize_t len);
+void intel_hdmi_poll_for_scrambling_enable(const struct intel_crtc_state *crtc_state,
+					   struct drm_connector *_connector);
 
 #endif /* __INTEL_HDMI_H__ */
drivers/gpu/drm/i915/display/intel_vrr.c +8 -2
index 04a2ea086fb2..3ac6cd74ae15 100644
@@ -22,6 +22,9 @@ bool intel_vrr_is_capable(struct intel_connector *connector)
 	const struct drm_display_info *info = &connector->base.display_info;
 	struct intel_dp *intel_dp;
 
+	if (!HAS_VRR(display))
+		return false;
+
 	/*
 	 * DP Sink is capable of VRR video timings if
 	 * Ignore MSA bit is set in DPCD.
@@ -46,8 +49,11 @@ bool intel_vrr_is_capable(struct intel_connector *connector)
 		return false;
 	}
 
-	return HAS_VRR(display) &&
-		info->monitor_range.max_vfreq - info->monitor_range.min_vfreq > 10;
+	if (!info->monitor_range.min_vfreq || !info->monitor_range.max_vfreq ||
+	    info->monitor_range.min_vfreq > info->monitor_range.max_vfreq)
+		return false;
+
+	return info->monitor_range.max_vfreq - info->monitor_range.min_vfreq > 10;
 }
 
 bool intel_vrr_is_in_range(struct intel_connector *connector, int vrefresh)
drivers/gpu/drm/mediatek/mtk_crtc.c +3 -3
index c4c6d0249df5..aa8e6f6ddcd3 100644
@@ -153,10 +153,10 @@ static void mtk_crtc_reset(struct drm_crtc *crtc)
 {
 	struct mtk_crtc_state *state;
 
-	if (crtc->state)
+	if (crtc->state) {
 		__drm_atomic_helper_crtc_destroy_state(crtc->state);
-
-	kfree(to_mtk_crtc_state(crtc->state));
+		kfree(to_mtk_crtc_state(crtc->state));
+	}
 	crtc->state = NULL;
 
 	state = kzalloc(sizeof(*state), GFP_KERNEL);
drivers/gpu/drm/mediatek/mtk_disp_ovl_adaptor.c +6 -1
index c0af3e3b51d5..6a259872b0a9 100644
@@ -625,6 +625,7 @@ static void mtk_disp_ovl_adaptor_master_unbind(struct device *dev)
 	struct mtk_disp_ovl_adaptor *priv = dev_get_drvdata(dev);
 
 	priv->children_bound = false;
+	component_unbind_all(dev, priv->mmsys_dev);
 }
 
 static const struct component_master_ops mtk_disp_ovl_adaptor_master_ops = {
@@ -651,12 +652,15 @@ static int mtk_disp_ovl_adaptor_probe(struct platform_device *pdev)
 
 	priv->mmsys_dev = pdev->dev.platform_data;
 
-	component_master_add_with_match(dev, &mtk_disp_ovl_adaptor_master_ops, match);
+	ret = component_master_add_with_match(dev, &mtk_disp_ovl_adaptor_master_ops, match);
+	if (ret)
+		return dev_err_probe(dev, ret, "Failed to add component master\n");
 
 	pm_runtime_enable(dev);
 
 	ret = component_add(dev, &mtk_disp_ovl_adaptor_comp_ops);
 	if (ret != 0) {
+		component_master_del(dev, &mtk_disp_ovl_adaptor_master_ops);
 		pm_runtime_disable(dev);
 		return dev_err_probe(dev, ret, "Failed to add component\n");
 	}
@@ -666,6 +670,7 @@ static int mtk_disp_ovl_adaptor_probe(struct platform_device *pdev)
 
 static void mtk_disp_ovl_adaptor_remove(struct platform_device *pdev)
 {
+	component_del(&pdev->dev, &mtk_disp_ovl_adaptor_comp_ops);
 	component_master_del(&pdev->dev, &mtk_disp_ovl_adaptor_master_ops);
 	pm_runtime_disable(&pdev->dev);
 }
drivers/gpu/drm/msm/msm_fbdev.c +1 -8
index b5969374d53f..d86c89d03f4b 100644
@@ -93,9 +93,9 @@ int msm_fbdev_driver_fbdev_probe(struct drm_fb_helper *helper,
 {
 	struct drm_device *dev = helper->dev;
 	struct msm_drm_private *priv = dev->dev_private;
+	struct fb_info *fbi = helper->info;
 	struct drm_framebuffer *fb = NULL;
 	struct drm_gem_object *bo;
-	struct fb_info *fbi = NULL;
 	uint64_t paddr;
 	uint32_t format;
 	int ret, pitch;
@@ -128,13 +128,6 @@ int msm_fbdev_driver_fbdev_probe(struct drm_fb_helper *helper,
 		goto fail;
 	}
 
-	fbi = drm_fb_helper_alloc_info(helper);
-	if (IS_ERR(fbi)) {
-		DRM_DEV_ERROR(dev->dev, "failed to allocate fb info\n");
-		ret = PTR_ERR(fbi);
-		goto fail;
-	}
-
 	DBG("fbi=%p, dev=%p", fbi, dev);
 
 	helper->funcs = &msm_fbdev_helper_funcs;
drivers/gpu/drm/omapdrm/omap_fbdev.c +1 -8
index 948af7ec1130..2b435c05bdb1 100644
@@ -155,9 +155,9 @@ int omap_fbdev_driver_fbdev_probe(struct drm_fb_helper *helper,
 	struct drm_device *dev = helper->dev;
 	struct omap_drm_private *priv = dev->dev_private;
 	struct omap_fbdev *fbdev = priv->fbdev;
+	struct fb_info *fbi = helper->info;
 	struct drm_framebuffer *fb = NULL;
 	union omap_gem_size gsize;
-	struct fb_info *fbi = NULL;
 	struct drm_mode_fb_cmd2 mode_cmd = {0};
 	struct drm_gem_object *bo;
 	dma_addr_t dma_addr;
@@ -226,13 +226,6 @@ int omap_fbdev_driver_fbdev_probe(struct drm_fb_helper *helper,
 		goto fail;
 	}
 
-	fbi = drm_fb_helper_alloc_info(helper);
-	if (IS_ERR(fbi)) {
-		dev_err(dev->dev, "failed to allocate fb info\n");
-		ret = PTR_ERR(fbi);
-		goto fail;
-	}
-
 	DBG("fbi=%p, dev=%p", fbi, dev);
 
 	helper->funcs = &omap_fbdev_helper_funcs;
drivers/gpu/drm/panthor/panthor_fw.c +33 -14

101 lines not on this page · raw message

drivers/gpu/drm/radeon/radeon_fbdev.c +1 -12
index dc81b0c2dbff..d5c621d48e20 100644
@@ -206,7 +206,7 @@ int radeon_fbdev_driver_fbdev_probe(struct drm_fb_helper *fb_helper,
 	struct radeon_device *rdev = fb_helper->dev->dev_private;
 	const struct drm_format_info *format_info;
 	struct drm_mode_fb_cmd2 mode_cmd = { };
-	struct fb_info *info;
+	struct fb_info *info = fb_helper->info;
 	struct drm_gem_object *gobj;
 	struct radeon_bo *rbo;
 	struct drm_framebuffer *fb;
@@ -247,13 +247,6 @@ int radeon_fbdev_driver_fbdev_probe(struct drm_fb_helper *fb_helper,
 	fb_helper->funcs = &radeon_fbdev_fb_helper_funcs;
 	fb_helper->fb = fb;
 
-	/* okay we have an object now allocate the framebuffer */
-	info = drm_fb_helper_alloc_info(fb_helper);
-	if (IS_ERR(info)) {
-		ret = PTR_ERR(info);
-		goto err_drm_framebuffer_unregister_private;
-	}
-
 	info->fbops = &radeon_fbdev_fb_ops;
 
 	/* radeon resume is fragile and needs a vt switch to help it along */
@@ -279,10 +272,6 @@ int radeon_fbdev_driver_fbdev_probe(struct drm_fb_helper *fb_helper,
 
 	return 0;
 
-err_drm_framebuffer_unregister_private:
-	fb_helper->fb = NULL;
-	drm_framebuffer_unregister_private(fb);
-	drm_framebuffer_cleanup(fb);
 err_kfree:
 	kfree(fb);
 err_radeon_fbdev_destroy_pinned_object:
drivers/gpu/drm/tegra/fbdev.c +3 -15
index 1b70f5e164af..50d3186241c6 100644
@@ -75,10 +75,9 @@ int tegra_fbdev_driver_fbdev_probe(struct drm_fb_helper *helper,
 	struct tegra_drm *tegra = helper->dev->dev_private;
 	struct drm_device *drm = helper->dev;
 	struct drm_mode_fb_cmd2 cmd = { 0 };
+	struct fb_info *info = helper->info;
 	unsigned int bytes_per_pixel;
 	struct drm_framebuffer *fb;
-	unsigned long offset;
-	struct fb_info *info;
 	struct tegra_bo *bo;
 	size_t size;
 	int err;
@@ -99,13 +98,6 @@ int tegra_fbdev_driver_fbdev_probe(struct drm_fb_helper *helper,
 	if (IS_ERR(bo))
 		return PTR_ERR(bo);
 
-	info = drm_fb_helper_alloc_info(helper);
-	if (IS_ERR(info)) {
-		dev_err(drm->dev, "failed to allocate framebuffer info\n");
-		drm_gem_object_put(&bo->gem);
-		return PTR_ERR(info);
-	}
-
 	fb = tegra_fb_alloc(drm,
 			    drm_get_format_info(drm, cmd.pixel_format, cmd.modifier[0]),
 			    &cmd, &bo, 1);
@@ -119,15 +111,11 @@ int tegra_fbdev_driver_fbdev_probe(struct drm_fb_helper *helper,
 
 	helper->funcs = &tegra_fbdev_helper_funcs;
 	helper->fb = fb;
-	helper->info = info;
 
 	info->fbops = &tegra_fb_ops;
 
 	drm_fb_helper_fill_info(info, helper, sizes);
 
-	offset = info->var.xoffset * bytes_per_pixel +
-		 info->var.yoffset * fb->pitches[0];
-
 	if (bo->pages) {
 		bo->vaddr = vmap(bo->pages, bo->num_pages, VM_MAP,
 				 pgprot_writecombine(PAGE_KERNEL));
@@ -139,9 +127,9 @@ int tegra_fbdev_driver_fbdev_probe(struct drm_fb_helper *helper,
 	}
 
 	info->flags |= FBINFO_VIRTFB;
-	info->screen_buffer = bo->vaddr + offset;
+	info->screen_buffer = bo->vaddr;
 	info->screen_size = size;
-	info->fix.smem_start = (unsigned long)(bo->iova + offset);
+	info->fix.smem_start = (unsigned long)(bo->iova);
 	info->fix.smem_len = size;
 
 	return 0;
drivers/gpu/drm/vc4/vc4_irq.c +1 -1
index 69b399f3b802..4fdad88e53e1 100644
@@ -104,7 +104,7 @@ vc4_overflow_mem_work(struct work_struct *work)
 	vc4->bin_alloc_overflow = BIT(bin_bo_slot);
 
 	V3D_WRITE(V3D_BPOA, bo->base.dma_addr + bin_bo_slot * vc4->bin_alloc_size);
-	V3D_WRITE(V3D_BPOS, bo->base.base.size);
+	V3D_WRITE(V3D_BPOS, vc4->bin_alloc_size);
 	V3D_WRITE(V3D_INTCTL, V3D_INT_OUTOMEM);
 	V3D_WRITE(V3D_INTENA, V3D_INT_OUTOMEM);
 	spin_unlock_irqrestore(&vc4->job_lock, irqflags);
drivers/gpu/drm/vc4/vc4_validate.c +23 -6
index 1e7bdda55698..205d360a007a 100644
@@ -384,6 +384,23 @@ validate_tile_binning_config(VALIDATE_ARGS)
 		return -EINVAL;
 	}
 
+	/* The tile state data array is 48 bytes per tile, and we put it at
+	 * the start of a BO containing both it and the tile alloc.
+	 */
+	tile_state_size = 48 * tile_count;
+
+	/* Since the tile alloc array will follow us, align. */
+	tile_state_size = roundup(tile_state_size, 4096);
+
+	/* Reject configurations whose tile state would leave no room for
+	 * the tile alloc pool that follows it in the slot.
+	 */
+	if (tile_state_size >= vc4->bin_alloc_size) {
+		DRM_DEBUG("Tile binning config of %dx%d too large\n",
+			  exec->bin_tiles_x, exec->bin_tiles_y);
+		return -EINVAL;
+	}
+
 	bin_slot = vc4_v3d_get_bin_slot(vc4);
 	if (bin_slot < 0) {
 		if (bin_slot != -EINTR && bin_slot != -ERESTARTSYS) {
@@ -399,13 +416,13 @@ validate_tile_binning_config(VALIDATE_ARGS)
 	exec->bin_slots |= BIT(bin_slot);
 	bin_addr = vc4->bin_bo->base.dma_addr + bin_slot * vc4->bin_alloc_size;
 
-	/* The tile state data array is 48 bytes per tile, and we put it at
-	 * the start of a BO containing both it and the tile alloc.
-	 */
-	tile_state_size = 48 * tile_count;
+	exec->tile_alloc_offset = bin_addr + tile_state_size;
 
-	/* Since the tile alloc array will follow us, align. */
-	exec->tile_alloc_offset = bin_addr + roundup(tile_state_size, 4096);
+	/* The TSDA area must be zeroed out before use, otherwise the PTB might
+	 * consume a stale tile state.
+	 */
+	memset(vc4->bin_bo->base.vaddr + bin_slot * vc4->bin_alloc_size, 0,
+	       tile_state_size);
 
 	*(uint8_t *)(validated + 14) =
 		((flags & ~(VC4_BIN_CONFIG_ALLOC_INIT_BLOCK_SIZE_MASK |
drivers/gpu/drm/vmwgfx/ttm_object.c +5 -2
index 36d46b79562a..95f7c5820aab 100644
@@ -547,14 +547,17 @@ int ttm_prime_fd_to_handle(struct ttm_object_file *tfile,
 	if (IS_ERR(dma_buf))
 		return PTR_ERR(dma_buf);
 
-	if (dma_buf->ops != &tdev->ops)
-		return -ENOSYS;
+	if (dma_buf->ops != &tdev->ops) {
+		ret = -ENOSYS;
+		goto out;
+	}
 
 	prime = (struct ttm_prime_object *) dma_buf->priv;
 	base = &prime->base;
 	*handle = base->handle;
 	ret = ttm_ref_object_add(tfile, base, NULL, false);
 
+out:
 	dma_buf_put(dma_buf);
 
 	return ret;
drivers/gpu/drm/vmwgfx/vmwgfx_blit.c +31 -8
index fa5841fda659..d78874e7f5c7 100644
@@ -30,6 +30,7 @@
 
 #include "vmwgfx_bo.h"
 #include <linux/highmem.h>
+#include <linux/overflow.h>
 
 /*
  * Template that implements find_first_diff() for a generic
@@ -463,19 +464,42 @@ static int vmw_external_bo_copy(struct vmw_bo *dst, u32 dst_offset,
 		container_of(dst->tbo.bdev, struct vmw_private, bdev);
 	size_t dst_size = dst->tbo.resource->size;
 	size_t src_size = src->tbo.resource->size;
+	size_t dst_end, src_end;
 	struct iosys_map dst_map = {0};
 	struct iosys_map src_map = {0};
+	bool dst_mapped = false;
+	bool src_mapped = false;
 	int ret, i;
 	int x_in_bytes;
 	u8 *vsrc;
 	u8 *vdst;
 
+	if (!height || !width_in_bytes)
+		return 0;
+
+	if (!dst_stride || !src_stride)
+		return -EINVAL;
+	if (dst_stride < width_in_bytes || src_stride < width_in_bytes)
+		return -EINVAL;
+	if (check_mul_overflow((size_t)dst_stride, (size_t)height - 1, &dst_end) ||
+	    check_add_overflow(dst_end, (size_t)width_in_bytes, &dst_end) ||
+	    check_add_overflow((size_t)dst_offset, dst_end, &dst_end) ||
+	    dst_end > dst_size ||
+	    check_mul_overflow((size_t)src_stride, (size_t)height - 1, &src_end) ||
+	    check_add_overflow(src_end, (size_t)width_in_bytes, &src_end) ||
+	    check_add_overflow((size_t)src_offset, src_end, &src_end) ||
+	    src_end > src_size) {
+		drm_dbg_driver(&vmw->drm, "Out-of-bounds external BO copy\n");
+		return -EINVAL;
+	}
+
 	vsrc = map_external(src, &src_map);
 	if (!vsrc) {
 		drm_dbg_driver(&vmw->drm, "Wasn't able to map src\n");
 		ret = -ENOMEM;
 		goto out;
 	}
+	src_mapped = true;
 
 	vdst = map_external(dst, &dst_map);
 	if (!vdst) {
@@ -483,16 +507,13 @@ static int vmw_external_bo_copy(struct vmw_bo *dst, u32 dst_offset,
 		ret = -ENOMEM;
 		goto out;
 	}
+	dst_mapped = true;
 
 	vsrc += src_offset;
 	vdst += dst_offset;
-	if (src_stride == dst_stride) {
-		dst_size -= dst_offset;
-		src_size -= src_offset;
-		memcpy(vdst, vsrc,
-		       min(dst_stride * height, min(dst_size, src_size)));
+	if (src_stride == dst_stride && width_in_bytes == dst_stride) {
+		memcpy(vdst, vsrc, dst_stride * (size_t)height);
 	} else {
-		WARN_ON(dst_stride < width_in_bytes);
 		for (i = 0; i < height; ++i) {
 			memcpy(vdst, vsrc, width_in_bytes);
 			vsrc += src_stride;
@@ -508,8 +529,10 @@ static int vmw_external_bo_copy(struct vmw_bo *dst, u32 dst_offset,
 
 	ret = 0;
 out:
-	unmap_external(src, &src_map);
-	unmap_external(dst, &dst_map);
+	if (src_mapped)
+		unmap_external(src, &src_map);
+	if (dst_mapped)
+		unmap_external(dst, &dst_map);
 
 	return ret;
 }
drivers/gpu/drm/vmwgfx/vmwgfx_cursor_plane.c +44 -5

76 lines not on this page · raw message

drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c +18 -2
index e1f18020170a..a9136a6523cb 100644
@@ -1272,9 +1272,13 @@ static int vmw_cmd_dx_bind_query(struct vmw_private *dev_priv,
 				 SVGA3dCmdHeader *header)
 {
 	VMW_DECLARE_CMD_VAR(*cmd, SVGA3dCmdDXBindQuery);
+	struct vmw_ctx_validation_info *ctx_node = VMW_GET_CTX_NODE(sw_context);
 	struct vmw_bo *vmw_bo;
 	int ret;
 
+	if (!ctx_node)
+		return -EINVAL;
+
 	cmd = container_of(header, typeof(*cmd), header);
 
 	/*
@@ -1288,7 +1292,7 @@ static int vmw_cmd_dx_bind_query(struct vmw_private *dev_priv,
 		return ret;
 
 	sw_context->dx_query_mob = vmw_bo;
-	sw_context->dx_query_ctx = sw_context->dx_ctx_node->ctx;
+	sw_context->dx_query_ctx = ctx_node->ctx;
 	return 0;
 }
 
@@ -1506,6 +1510,12 @@ static int vmw_cmd_dma(struct vmw_private *dev_priv,
 	bool dirty;
 
 	cmd = container_of(header, typeof(*cmd), header);
+
+	if (unlikely(header->size < sizeof(cmd->body) + sizeof(*suffix))) {
+		VMW_DEBUG_USER("Illegal SVGA_3D_CMD_SURFACE_DMA size.\n");
+		return -EINVAL;
+	}
+
 	suffix = (SVGA3dCmdSurfaceDMASuffix *)((unsigned long) &cmd->body +
 					       header->size - sizeof(*suffix));
 
@@ -1567,11 +1577,17 @@ static int vmw_cmd_draw(struct vmw_private *dev_priv,
 	uint32_t maxnum;
 	int ret;
 
+	cmd = container_of(header, typeof(*cmd), header);
+
+	if (unlikely(header->size < sizeof(cmd->body))) {
+		VMW_DEBUG_USER("Illegal DRAW_PRIMITIVES header size.\n");
+		return -EINVAL;
+	}
+
 	ret = vmw_cmd_cid_check(dev_priv, sw_context, header);
 	if (unlikely(ret != 0))
 		return ret;
 
-	cmd = container_of(header, typeof(*cmd), header);
 	maxnum = (header->size - sizeof(cmd->body)) / sizeof(*decl);
 
 	if (unlikely(cmd->body.numVertexDecls > maxnum)) {
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c +12 -1
index 00be92da5509..fe59a613e1d0 100644
@@ -366,13 +366,24 @@ void vmw_fence_fifo_down(struct vmw_fence_manager *fman)
 		ret = vmw_fence_obj_wait(fence, false, false,
 					 VMW_FENCE_WAIT_TIMEOUT);
 
[… more lines in the raw message]

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

drivers/gpu/drm/vmwgfx/vmwgfx_page_dirty.c +2 -2
index 45561bc1c9ef..8ab88f388652 100644

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

drivers/gpu/drm/vmwgfx/vmwgfx_resource.c +2 -2
index 388011696941..e3a187a2c7a1 100644

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

drivers/gpu/drm/vmwgfx/vmwgfx_shader.c +9 -4
index a8c8c9375d29..bc89a137ab6d 100644

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

drivers/gpu/drm/vmwgfx/vmwgfx_vkms.c +9 -8
index aec774fa4d7b..87de8e43667d 100644

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

drivers/gpu/drm/xe/Makefile +1 -0
index ee52b751623f..c5fc8cc71149 100644

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

drivers/gpu/drm/xe/xe_bo.h +56 -0

56 lines not on this page · raw message

drivers/gpu/drm/xe/xe_bo_types.h +6 -0
index 88e3d8b33c53..efff5519fc58 100644

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

drivers/gpu/drm/xe/xe_device_types.h +2 -0
index 0e80f2940c99..2ed03fd074ff 100644

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

drivers/gpu/drm/xe/xe_exec.c +16 -6
index 87a32b61bece..c156cf4661f2 100644

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

drivers/gpu/drm/xe/xe_gt_debugfs.c +3 -1
index f253e2df4907..1a4d8d4f44b4 100644

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

drivers/gpu/drm/xe/xe_guc_capture.c +9 -2
index 243dad3e2418..3a1613886495 100644

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

drivers/gpu/drm/xe/xe_hw_engine.c +2 -0
index d88770370eeb..66a738f17a3b 100644

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

drivers/gpu/drm/xe/xe_hw_engine_types.h +8 -0
index e4191a7a2c31..04ca7545d22c 100644

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

drivers/gpu/drm/xe/xe_migrate.c +63 -27

90 lines not on this page · raw message

drivers/gpu/drm/xe/xe_migrate.h +4 -0
index 8bac669685ee..9665a0aff547 100644

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

drivers/gpu/drm/xe/xe_oa.c +7 -0
index 7d04591e297a..98df9ee1cac3 100644

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

drivers/gpu/drm/xe/xe_oa_types.h +3 -0
index daf701b5d48b..48f9520f560c 100644

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

drivers/gpu/drm/xe/xe_pagefault.c new file +65 -0

65 lines not on this page · raw message

drivers/gpu/drm/xe/xe_pagefault.h new file +19 -0
new file mode 100644
index 000000000000..bd0cdf9ed37f

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

drivers/gpu/drm/xe/xe_pagefault_types.h new file +136 -0

136 lines not on this page · raw message

drivers/gpu/drm/xe/xe_pat.c +6 -0
index 2e7cb99ae87a..9a321384b73d 100644

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

drivers/gpu/drm/xe/xe_pat.h +10 -0
index fa0dfbe525cd..12cb6ec39d34 100644

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

drivers/gpu/drm/xe/xe_pci.c +1 -0
index 89cc6d32f041..b78729211790 100644

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

drivers/gpu/drm/xe/xe_pci_types.h +1 -0
index 9b9766a3baa3..a7b6576725ed 100644

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

drivers/gpu/drm/xe/xe_pt.c +17 -14
index de0d104fc8b6..1d22af2145bf 100644

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

drivers/gpu/drm/xe/xe_reg_whitelist.c +97 -22

119 lines not on this page · raw message

drivers/gpu/drm/xe/xe_reg_whitelist.h +4 -0
index 69b121d377da..f243b6ac60b7 100644

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

drivers/gpu/drm/xe/xe_vm.c +89 -18

107 lines not on this page · raw message

drivers/hid/hid-logitech-dj.c +22 -6
index 3b5412541c92..7895f27c9135 100644

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

drivers/hv/channel_mgmt.c +3 -3
index fd1d675ae37a..d5348195e4fb 100644

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

drivers/hv/hv.c +105 -101

206 lines not on this page · raw message

drivers/hv/hyperv_vmbus.h +20 -2
index 34943de7d6ac..39cdded062e8 100644

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

drivers/hv/mshv_eventfd.c +30 -13

43 lines not on this page · raw message

drivers/hv/mshv_irq.c +5 -1
index d0fb9ef734f4..7422a36199b4 100644

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

drivers/hv/mshv_portid_table.c +4 -2
index c349af1f0aaa..6f59b3e37624 100644

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

drivers/hv/mshv_root.h +1 -1
index e3931b0f1269..db6b42db2fdc 100644

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

drivers/hv/mshv_root_hv_call.c +6 -0
index c9c274f29c3c..a23b5ba09fb4 100644

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

drivers/hv/mshv_root_main.c +7 -1
index 4e04bef54437..3a356b34774b 100644

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

drivers/hv/mshv_synic.c +3 -3
index 1a822beae239..3c65b1c4abbe 100644

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

drivers/hv/vmbus_drv.c +15 -4
index 1a0e350c1940..4f1f5f294a73 100644

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

drivers/hwmon/Kconfig +1 -1
index c8a7e45e8006..4d852e68b474 100644

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

drivers/hwmon/adt7470.c +92 -37

129 lines not on this page · raw message

drivers/hwmon/ina2xx.c +80 -27

107 lines not on this page · raw message

drivers/hwmon/lm90.c +2 -2
index a465a8a7ef5a..e1795ccde876 100644

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

drivers/hwmon/ltc4282.c +2 -2
index 58c2d3a62432..4000bcbc7353 100644

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

drivers/hwmon/nct6775-core.c +9 -11
index 79bc67ffb998..ce2cf1f22900 100644

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

drivers/hwmon/npcm750-pwm-fan.c +11 -0
index 802c73def428..bb390f6c7c3f 100644

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

drivers/hwmon/nzxt-smart2.c +1 -1
index e2316c46629d..ff0c0bee0e83 100644

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

drivers/hwmon/pmbus/pmbus_core.c +4 -3
index ddf64e72751c..c9e3ec4552ef 100644

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

drivers/hwmon/sht3x.c +5 -4
index f36c0229328f..5d04013efb52 100644

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

drivers/i2c/busses/i2c-amd-mp2-plat.c +3 -1
index 188e24cc4d35..9fdd6a5fb8b6 100644

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

drivers/i2c/busses/i2c-bcm-iproc.c +11 -0
index e418a4f23f15..19300c098af8 100644

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

drivers/i2c/busses/i2c-imx.c +49 -5

54 lines not on this page · raw message

drivers/i2c/busses/i2c-jz4780.c +4 -1
index 664a5471d933..695be3b21460 100644

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

drivers/i2c/busses/i2c-k1.c +5 -5
index 1c58c39b9279..f2bb04a1b493 100644

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

drivers/i2c/busses/i2c-qcom-cci.c +1 -17
index 9d83358f2ae2..791e1a9fd1ba 100644

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

drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-iommufd.c +15 -0
index 9ec559156508..a52f86454f77 100644

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

drivers/iommu/io-pgfault.c +19 -5
index 8b5926c1452e..afe977235d72 100644

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

drivers/iommu/iommufd/device.c +1 -1
index 4c842368289f..5c7ead633edd 100644

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

drivers/iommu/iommufd/eventq.c +2 -0
index a934f02528b0..8971360c955a 100644

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

drivers/iommu/iommufd/viommu.c +16 -6
index 462b457ffd0c..f80582f25e1e 100644

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

drivers/media/platform/chips-media/wave5/wave5-hw.c +3 -0
index d94cf84c3ee5..fd3c3c216815 100644

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

drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c +4 -1
index 50cba21fdcdc..03687a1e23c7 100644

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

drivers/media/platform/chips-media/wave5/wave5-vpuapi.h +1 -0
index bc101397204d..8112d4899ce4 100644

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

drivers/media/platform/qcom/camss/camss-csid-340.c +13 -15
index 22a30510fb79..0231985746ed 100644

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

drivers/net/can/c_can/c_can_main.c +4 -4
index cc371d0c9f3c..2ea5224ebfcb 100644

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

drivers/net/can/ctucanfd/ctucanfd_base.c +9 -5
index 33a5ec434627..178fa05bac66 100644

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

drivers/net/can/ctucanfd/ctucanfd_pci.c +2 -1
index 9da09e7dd63a..8cc995649287 100644

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

drivers/net/can/dev/skb.c +0 -2
index 3ebd4f779b9b..0da615afa04d 100644

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

drivers/net/can/softing/softing_fw.c +32 -14

46 lines not on this page · raw message

drivers/net/can/usb/ems_usb.c +43 -0

43 lines not on this page · raw message

drivers/net/can/usb/etas_es58x/es58x_core.c +0 -1
index 1e44bd1dfee9..70d9cd11cb85 100644

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

drivers/net/can/usb/gs_usb.c +2 -2
index e336703b941e..241ffa8daaee 100644

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

drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c +1 -0
index a59f20dad692..6f8d3bc42733 100644

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

drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c +11 -2
index 1167d38344f1..c9322f279e3e 100644

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

drivers/net/can/usb/peak_usb/pcan_usb_core.c +0 -1
index c74302ca7cee..529e9cb2570f 100644

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

drivers/net/can/usb/peak_usb/pcan_usb_fd.c +39 -1
index be84191cde56..f92a3b404ec1 100644

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

drivers/net/can/usb/peak_usb/pcan_usb_pro.c +16 -4
index 7be286293b1a..c6023acd05e5 100644

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

drivers/net/dsa/mt7530-mdio.c +9 -2
index 0286a6cecb6f..6cc2c8975af6 100644

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

drivers/net/dsa/mt7530.c +20 -38

58 lines not on this page · raw message

drivers/net/ethernet/intel/e1000/e1000_main.c +1 -1
index 15160427c8b3..a668afc18393 100644

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

drivers/net/ethernet/intel/ice/ice_dpll.c +12 -7
index 023d0de12670..2a47d9f3cf7e 100644

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

drivers/net/ethernet/intel/ice/ice_ethtool.c +5 -5
index ce0f8106dcd4..5944ab6efd44 100644

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

drivers/net/ethernet/intel/ice/ice_main.c +10 -0
index b89041743f6f..2f1dd9eea2b2 100644

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

drivers/net/ethernet/intel/ice/ice_vf_lib.c +27 -0
index bab968b05540..54f59bed9645 100644

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

drivers/net/ethernet/intel/ice/ice_vf_lib_private.h +1 -0
index 5392b0404986..321d29c25b7c 100644

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

drivers/net/ethernet/intel/ice/virt/queues.c +21 -0
index a82024bf388b..0765ee901b7c 100644

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

drivers/net/ethernet/intel/idpf/idpf_lib.c +1 -1
index 131a8121839b..590119f4097d 100644

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

drivers/net/ethernet/intel/idpf/idpf_txrx.c +1 -4
index c859665b2dc8..e6563ad31f5c 100644

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

drivers/net/ethernet/intel/idpf/idpf_txrx.h +1 -1
index 423cc9486dce..aa0b93b5c859 100644

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

drivers/net/ethernet/intel/igbvf/netdev.c +0 -2
index 61dfcd8cb370..c1f2eff615f1 100644

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

drivers/net/ethernet/intel/igc/igc_main.c +1 -2
index ebc00ce2e3a6..4ca242ebf3e3 100644

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

drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c +1 -1
index ae7bded77768..7e42d3291a9f 100644

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

drivers/net/ethernet/mediatek/mtk_eth_soc.c +1 -1
index 065f969ee44e..98cf11a706e1 100644

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

drivers/net/ethernet/nvidia/forcedeth.c +2 -2
index 19aa1f1538aa..c09fb7694fac 100644

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

drivers/net/ethernet/qlogic/qede/qede_main.c +22 -22

44 lines not on this page · raw message

drivers/net/ethernet/realtek/rtase/rtase_main.c +3 -0
index a57a525327a3..bc9b14614f7a 100644

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

drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c +8 -6
index 849c5a6c2af1..848a0578cea1 100644

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

drivers/net/ethernet/wangxun/libwx/wx_lib.c +2 -0
index 678dce480f15..380edc64e45e 100644

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

drivers/net/phy/phylink.c +15 -14
index 918244308215..1b7fc17bf391 100644

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

drivers/net/veth.c +2 -2
index 4595c61c0790..a72b9504b8e6 100644

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

drivers/net/vxlan/vxlan_core.c +14 -7
index cb7b01e492fa..4527d2d653b1 100644

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

drivers/net/vxlan/vxlan_mdb.c +2 -2
index 4e02a669d045..2ddcbf102b89 100644

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

drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c +13 -0
index 0beb38047df5..20b890f7ae7f 100644

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

drivers/net/wireless/broadcom/brcm80211/brcmfmac/bus.h +6 -0
index fe31051a9e11..9371c1489948 100644

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

drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c +42 -4

46 lines not on this page · raw message

drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c +6 -0
index fe4f23decc70..d2a1770540b0 100644

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

drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c +6 -0
index 9ab62a2667c7..936df04504ec 100644

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

drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.h +1 -0
index 80180d5c6c87..b93d153a8963 100644

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

drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c +3 -0
index f0129d10d2b9..b6b5f130c439 100644

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

drivers/net/wireless/marvell/mwifiex/11n_rxreorder.c +1 -1
index f3397dc6c422..c27814c1ccb1 100644

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

drivers/of/address.c +16 -6
index f0f8f0dd191c..07d90831dec0 100644

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

drivers/of/of_reserved_mem.c +11 -3
index 39d8305a1680..56c2a1e4e86c 100644

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

drivers/phy/qualcomm/phy-qcom-m31-eusb2.c +1 -1
index 68f1ba8fec4a..9434bd22ef32 100644

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

drivers/phy/xilinx/phy-zynqmp.c +45 -17

62 lines not on this page · raw message

drivers/pinctrl/Kconfig +2 -0
index 4f8507ebbdac..80db4195a559 100644

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

drivers/pinctrl/devicetree.c +4 -0
index 0b7f74beb6a6..fdb5ff0e4b0b 100644

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

drivers/pinctrl/pinctrl-amd.c +1 -2
index 2dac5c71eb00..d962f2e1d2ac 100644

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

drivers/pinctrl/qcom/pinctrl-msm.c +4 -4
index e99871b90ab9..424b14bc29e9 100644

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

drivers/pinctrl/qcom/pinctrl-sc8280xp.c +11 -10
index cf8297e8b8f8..d6e31b00e1c5 100644

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

drivers/power/supply/bq25890_charger.c +1 -1
index 868e86e1749b..f246ec871d5c 100644

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

drivers/power/supply/max17040_battery.c +5 -1
index 48453508688a..f4748adec092 100644

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

drivers/ptp/ptp_netc.c +12 -3
index 5e381c354d74..1c20d7efab92 100644

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

drivers/s390/block/dasd_eckd.c +7 -4
index 40bbbada67f9..9dfa14eb09d2 100644

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

drivers/s390/block/dasd_ioctl.c +1 -1
index 8308046a9f8f..a9edc0468a31 100644

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

drivers/s390/crypto/pkey_cca.c +5 -10
index 6c7897a93f27..d780ea60c9e1 100644

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

drivers/s390/crypto/zcrypt_api.c +1 -1
index 4e6bf1cb3475..a25b58e06f92 100644

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

drivers/s390/crypto/zcrypt_ccamisc.c +73 -16

89 lines not on this page · raw message

drivers/s390/crypto/zcrypt_ccamisc.h +3 -3
index 1ecc4e37e9ad..5f5bd93e0931 100644

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

drivers/s390/net/qeth_core_main.c +3 -0
index edc0bcd46923..64ca42ca78c4 100644

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

drivers/s390/scsi/zfcp_aux.c +1 -0
index dc2265ebb11b..03f723042434 100644

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

drivers/scsi/hisi_sas/hisi_sas_v3_hw.c +1 -9
index f30d4a58d7ab..16256a052925 100644

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

drivers/scsi/libiscsi.c +1 -1
index c9f410c50978..e2adebc80b3a 100644

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

drivers/scsi/libiscsi_tcp.c +1 -7
index e90805ba868f..7223bb18b048 100644

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

drivers/scsi/libsas/sas_init.c +18 -19
index 8566bb1208a0..ac157ab6a301 100644

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

drivers/scsi/scsi_debug.c +6 -2
index 047d56d23bea..bd7c5b60fc38 100644

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

drivers/spi/spi-cadence.c +108 -21

129 lines not on this page · raw message

drivers/spi/spi-nxp-fspi.c +80 -3

83 lines not on this page · raw message

drivers/spi/spi-qcom-qspi.c +2 -1
index 3aeddada58e1..3c08dad8bd3f 100644

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

drivers/spi/spi-qpic-snand.c +18 -4
index 58ceea1ea8fb..42f8fb272fa6 100644

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

drivers/target/target_core_iblock.c +3 -3
index 66c292b7d74b..4ec322f371bc 100644

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

drivers/target/target_core_transport.c +10 -2
index 88544c911949..5ad2dcf730cd 100644

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

drivers/thunderbolt/xdomain.c +30 -10
index 458476907eab..6b16fc7254b8 100644

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

drivers/ufs/core/ufshcd.c +7 -34

41 lines not on this page · raw message

drivers/usb/typec/ucsi/ucsi.c +47 -43

90 lines not on this page · raw message

drivers/usb/typec/ucsi/ucsi.h +1 -0
index a9144c299739..520a1a4f9114 100644

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

fs/afs/fsclient.c +4 -1
index bc9556991d7c..2dfcd4a20d10 100644

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

fs/afs/internal.h +2 -1
index bea8aae5364e..b0ebcb820867 100644

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

fs/binfmt_misc.c +19 -3
index d44529d5ecf5..5edc41bb100e 100644

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

fs/btrfs/raid56.c +3 -1
index 0135dceb7baa..4d4852f2ba7e 100644

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

fs/btrfs/super.c +5 -3
index 736575f92517..157d55134470 100644

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

fs/btrfs/zoned.c +16 -1
index b8fc97e33009..0dfbb28b7445 100644

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

fs/erofs/Kconfig +14 -0
index d81f3318417d..0d199f6698ff 100644

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

fs/erofs/decompressor_lzma.c +2 -1
index 832cffb83a66..90bdc8638199 100644

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

fs/iomap/ioend.c +19 -2
index 6c75fbf4d5af..2a86b05c88ef 100644

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

fs/netfs/buffered_read.c +3 -1
index fab3181c7f86..221287f8925a 100644

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

fs/netfs/read_pgpriv2.c +1 -0
index a1489aa29f78..7eacc58abadb 100644

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

fs/netfs/write_issue.c +6 -1
index 76614339554e..5f216907b1e5 100644

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

fs/proc/task_mmu.c +31 -2
index 858b11009c26..48455e2a66a1 100644

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

fs/smb/client/cifssmb.c +9 -3
index 7694ca283fdc..db9d9a1983c7 100644

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

fs/smb/client/inode.c +1 -0
index 594798a6b0fb..c9e955d0d799 100644

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

fs/smb/server/connection.h +5 -0
index 8d985568a82f..f8f88651166b 100644

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

fs/smb/server/smb2pdu.c +2 -8
index 64a1cfc4e809..b610cad470ea 100644

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

fs/smb/server/smb_common.c +30 -7
index b23203a1c286..4ad01a0fa1cf 100644

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

fs/smb/server/vfs_cache.c +5 -1
index 5b6d8bb8edb2..51e37e89d1aa 100644

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

include/asm-generic/mshyperv.h +2 -0
index b89c7e3a2047..8862f77241e6 100644

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

include/drm/drm_exec.h +12 -8
index aa786b828a0a..dee6ebdbe416 100644

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

include/drm/drm_fb_helper.h +0 -12
index c1d38d54a112..2faf8aaf98dc 100644

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

include/hyperv/hvhdk.h +6 -0
index 1057455b84f2..cdc74199ba3f 100644

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

include/hyperv/hvhdk_mini.h +2 -1
index 858f6a3925b3..45827d49c9a5 100644

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

include/linux/alloc_tag.h +3 -0
index 02de2ede560f..7e7cdc7612be 100644

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

include/linux/can/core.h +1 -0
index 5fb8d0e3f9c1..3287232e3cad 100644

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

include/linux/can/skb.h +0 -2
index 1abc25a8d144..869ea574a40a 100644

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

include/linux/cleanup.h +7 -0
index a1194e44b527..bacefa0f1512 100644

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

include/linux/dma/qcom_bam_dma.h +16 -5
index 68fc0e643b1b..d9d07a9ab313 100644

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

include/linux/file.h +125 -0

125 lines not on this page · raw message

include/linux/iommu.h +5 -0
index 84cf41f51f05..6e51f5a48c74 100644

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

include/linux/libata.h +1 -1
index 5c3f98a418c3..7244d8e15536 100644

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

include/linux/netfilter/nf_conntrack_sip.h +1 -1
index dbc614dfe0d5..aafa0c04f917 100644

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

include/linux/slab.h +7 -1
index 22daf3f34a76..a12601cc93a1 100644

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

include/linux/thunderbolt.h +3 -0
index 0ba112175bb3..7204586c10c3 100644

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

include/linux/userfaultfd_k.h +4 -1
index c0e716aec26a..796a380664bd 100644

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

include/net/bluetooth/hci.h +54 -0

54 lines not on this page · raw message

include/net/bluetooth/hci_core.h +12 -0
index b5640980fbf4..a08d8910ba26 100644

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

include/net/bluetooth/mgmt.h +2 -0
index f5be96f08b9d..8234915854b6 100644

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

include/net/ip_vs.h +37 -8

45 lines not on this page · raw message

include/net/neighbour.h +6 -2
index 4a30bd458c5a..c13c758aca7e 100644

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

include/net/netfilter/nf_conntrack_expect.h +4 -1
index e9a8350e7ccf..80f50fd0f7ad 100644

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

include/net/netfilter/nf_tables.h +3 -1
index fda5bc82dd50..e6b31aa9d6b7 100644

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

include/net/xdp_sock.h +1 -0
index 7c2bc46c6705..8a0967af8f0c 100644

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

include/net/xsk_buff_pool.h +9 -4
index cac56e6b0869..92a2358c6ce3 100644

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

include/scsi/libsas.h +0 -1
index a0635b128d7a..cc0a1f320f17 100644

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

include/uapi/linux/rkisp1-config.h +3 -3
index 3b060ea6eed7..810e874639ca 100644

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

io_uring/net.c +1 -0
index 3ab2bfca1bd5..f8b7cf2b2fa5 100644

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

kernel/audit.c +9 -2
index e175fce41ef9..b2612f7ca631 100644

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

kernel/auditfilter.c +4 -2
index d0bd6e549634..f9de58df00fe 100644

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

kernel/events/uprobes.c +1 -1
index 725c5772429d..a5b31443550b 100644

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

kernel/sched/cpufreq_schedutil.c +11 -0
index e82bb019b920..5d8fc382c4a1 100644

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

kernel/sched/deadline.c +2 -1
index d5052f238adf..e8b9cf0767b2 100644

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

kernel/trace/fprobe.c +2 -4
index 01f98f8a86e6..1c9ae332afad 100644

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

kernel/trace/trace_events.c +2 -2
index b0842df4d6e9..a0a02b482846 100644

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

kernel/trace/trace_events_filter.c +3 -0
index c6679caf2e9b..9c63ea51c8be 100644

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

kernel/trace/trace_fprobe.c +11 -1
index 8001dbf16891..f7eb875811be 100644

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

kernel/trace/trace_mmiotrace.c +11 -2
index dc8a1eafbe57..32b7e1d972a4 100644

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

kernel/trace/trace_probe.c +5 -1
index 918fafc5d45c..8e1df280d311 100644

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

lib/alloc_tag.c +9 -0
index 3082d977efaa..7c6d3a086fdc 100644

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

lib/assoc_array.c +2 -1
index 388e656ac974..01619e88a52c 100644

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

lib/test_fortify/Makefile +1 -0
index 399cae880e1d..44cd5df41a81 100644

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

mm/huge_memory.c +12 -0
index c08aa3db9643..bd3093a6cc62 100644

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

mm/hugetlb.c +8 -4
index e0b36a634eb6..5515870b5b15 100644

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

mm/memcontrol-v1.h +5 -1
index 6358464bb416..4cdbab2bffe6 100644

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

mm/migrate_device.c +3 -2
index abd9f6850db6..4abceeae55ab 100644

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

mm/mm_init.c +11 -4
index 1b977fa9e8be..d2d915984611 100644

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

mm/page_reporting.c +4 -2
index e4c428e61d8c..68c791d243b1 100644

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

mm/percpu-km.c +1 -1
index 4efa74a495cb..dc096b5a6ce4 100644

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

mm/slab.h +26 -2
index 36893299fa67..c452f2a32c80 100644

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

mm/slab_common.c +13 -0
index 04583044a2bf..085af9a96fd9 100644

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

mm/slub.c +24 -52

76 lines not on this page · raw message

mm/util.c +1 -1
index 8989d5767528..31a59c038ba0 100644

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

net/bluetooth/hci_conn.c +13 -1
index ceeb19158a36..e630d6369a0c 100644

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

net/bluetooth/hci_event.c +69 -10

79 lines not on this page · raw message

net/bluetooth/hci_sync.c +104 -36

140 lines not on this page · raw message

net/bluetooth/hidp/core.c +18 -12
index 90d32ea8f979..4c32191ec830 100644

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

net/bluetooth/iso.c +210 -91

301 lines not on this page · raw message

net/bluetooth/l2cap_core.c +5 -0
index e04948fb6832..6133c65b2017 100644

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

net/bluetooth/mgmt.c +76 -20

96 lines not on this page · raw message

net/bluetooth/sco.c +13 -9
index 285a98594ba4..a25b5f626358 100644

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

net/bridge/br_mrp.c +1 -1
index 3c36fa24bc05..92a0debf4a4a 100644

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

net/bridge/br_multicast.c +1 -0
index b77b3250afbd..ce34881a9d96 100644

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

net/bridge/br_netfilter_hooks.c +5 -1
index 083e2fe96441..6544c18febef 100644

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

net/can/af_can.c +11 -3
index a624c04ed5c6..7a026f3a70a0 100644

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

net/can/bcm.c +0 -2
index 76bc7f727425..a819872fddef 100644

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

net/can/isotp.c +239 -94

333 lines not on this page · raw message

net/can/j1939/bus.c +2 -0
index 797719cb227e..e6d81bcabc89 100644

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

net/can/j1939/j1939-priv.h +3 -0
index 81f58924b4ac..cf26352d1d8c 100644

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

net/can/j1939/main.c +4 -4
index a93af55df5fd..21186932f8f6 100644

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

net/can/j1939/socket.c +0 -1
index e3ba2e9fc0e9..e56d8134938e 100644

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

net/can/j1939/transport.c +3 -3
index 9ec929bc0c0d..9d9c342d26d5 100644

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

net/can/raw.c +3 -4
index 365559d19dc3..c397071bfa8b 100644

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

net/core/lwt_bpf.c +3 -1
index 2efcda93d139..5fffdd4e71ad 100644

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

net/core/pktgen.c +1 -3
index d41b03fd1f63..a180c061a02d 100644

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

net/core/skbuff.c +12 -6
index 43dca2c04576..e75baa72a22e 100644

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

net/handshake/handshake-test.c +8 -0
index df3948e807a0..9cc7a95f4120 100644

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

net/handshake/handshake.h +2 -0
index 2289b0e274f4..da61cadd1ad3 100644

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

net/handshake/netlink.c +26 -30

56 lines not on this page · raw message

net/handshake/request.c +51 -14

65 lines not on this page · raw message

net/ipv4/route.c +0 -2
index 11d990703d31..778467bea476 100644

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

net/ipv4/udp_tunnel_nic.c +17 -15
index b13e8f7092f4..4360d159ee8a 100644

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

net/ipv6/fib6_rules.c +1 -0
index fd5f7112a51f..3024e77b3847 100644

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

net/ipv6/ip6_output.c +1 -1
index 8f37c9cc868b..9ef6581168f0 100644

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

net/ipv6/ndisc.c +2 -0
index 9df1fba967c6..7262356de10d 100644

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

net/mac80211/s1g.c +4 -0
index 1f68df6e8067..7702cff84d54 100644

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

net/mpls/af_mpls.c +1 -0
index f7f60025d042..f9b8c4d0f049 100644

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

net/netfilter/ipset/ip_set_hash_gen.h +1 -1
index 0426d012185d..4c1082e38e3d 100644

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

net/netfilter/ipvs/ip_vs_app.c +2 -2
index f9132b359f0c..0c690a30a85d 100644

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

net/netfilter/ipvs/ip_vs_conn.c +3 -0
index bc8ff5f15702..83b28fe9ea8f 100644

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

net/netfilter/ipvs/ip_vs_core.c +87 -93

180 lines not on this page · raw message

net/netfilter/ipvs/ip_vs_proto_sctp.c +11 -8
index c67317be17df..3dbd3096e163 100644

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

net/netfilter/ipvs/ip_vs_proto_tcp.c +10 -38

48 lines not on this page · raw message

net/netfilter/ipvs/ip_vs_proto_udp.c +13 -41

54 lines not on this page · raw message

net/netfilter/ipvs/ip_vs_xmit.c +30 -12

42 lines not on this page · raw message

net/netfilter/nf_conntrack_broadcast.c +1 -0
index 4f39bf7c843f..75e53fde6b29 100644

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

net/netfilter/nf_conntrack_core.c +5 -2
index a877f9ad1cf2..44fa3224cc87 100644

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

net/netfilter/nf_conntrack_expect.c +1 -0
index 24d0576d84b7..8e943efbdf0a 100644

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

net/netfilter/nf_conntrack_h323_main.c +6 -6
index bd7e9e13e4f6..a116c6629e2b 100644

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

net/netfilter/nf_conntrack_helper.c +5 -0
index 9150bcfd7ca8..ea0cdb7ec915 100644

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

net/netfilter/nf_conntrack_netlink.c +16 -2
index c8fe284b86db..3df7e5fc76c8 100644

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

net/netfilter/nf_conntrack_sip.c +2 -2
index 147043f19521..f5f9bd47d288 100644

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

net/netfilter/nf_nat_sip.c +1 -1
index f7be30c69b5c..a1c41defaf22 100644

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

net/netfilter/nf_tables_api.c +16 -18
index 51d3d4d44918..ca6d2041eee6 100644

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

net/netfilter/nft_payload.c +1 -11
index 86a21c2b954f..e07888aaf147 100644

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

net/netfilter/xt_hashlimit.c +15 -1
index 3b507694e81e..b3f15bbf259e 100644

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

net/openvswitch/actions.c +10 -2
index 56ea40d23e28..5d6a4c6b7ea6 100644

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

net/openvswitch/meter.c +19 -14
index cc08e0403909..671984edfe1e 100644

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

net/rds/ib.c +4 -0
index ce5be43c5fba..1061bcf7d131 100644

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

net/rds/ib_cm.c +4 -0
index 5289afbb61aa..e50e01abb079 100644

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

net/rds/tcp.c +9 -5
index 06a2d8d48bba..1980a197034b 100644

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

net/sctp/associola.c +3 -0
index 5793d71852b8..e560f7ee4adb 100644

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

net/sctp/sm_make_chunk.c +13 -4
index 1f8a1e6069b3..721e147091a9 100644

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

net/smc/smc_core.c +1 -1
index be0c2da83d2b..5df4838a6386 100644

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

net/tipc/socket.c +1 -1
index 24013455fbf0..7823bbcd482b 100644

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

net/unix/af_unix.c +1 -0
index b65479a738f4..52b17331e9d5 100644

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

net/xdp/xsk.c +55 -16

71 lines not on this page · raw message

net/xdp/xsk_buff_pool.c +2 -1
index a129ce6f1c25..c9688735b643 100644

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

security/keys/keyring.c +8 -6
index e105349794f2..fd95a0eb7a46 100644

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

security/keys/trusted-keys/trusted_dcp.c +11 -4
index 7b6eb655df0c..c078adebe190 100644

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

sound/core/pcm_native.c +7 -0
index 0ae95a467089..0e69127bb10b 100644

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

sound/core/seq/seq_timer.c +4 -5
index 0256caa61c29..a89451f47872 100644

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

sound/core/timer.c +2 -0
index a2c344b4cc73..c5f0e895ea02 100644

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

sound/core/ump.c +1 -0
index 8d8681a42ca5..0ba253f50b5a 100644

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

sound/hda/codecs/realtek/alc269.c +3 -1
index 40a75d72f712..7a047bdbae46 100644

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

sound/pci/lx6464es/lx6464es.c +1 -4
index 96df00db51d5..3b40ec071379 100644

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

sound/pci/lx6464es/lx_core.c +1 -4
index 6f0843cfb3be..9909f1067871 100644

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

sound/soc/codecs/max98090.c +3 -2
index 5aff5a459a43..830caf62d0fa 100644

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

sound/soc/codecs/max98095.c +3 -2
index cfb63fe69267..ad2587d2df81 100644

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

sound/soc/codecs/tas2562.c +19 -11
index 795c66cb4713..ec1c8d077efc 100644

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

sound/soc/codecs/tas2781-i2c.c +2 -2
index a3b4d2c3b478..0b83446da45e 100644

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

sound/soc/fsl/fsl_asrc.c +1 -1
index 92fb16f7be45..40279becb8d9 100644

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

sound/soc/fsl/fsl_easrc.c +1 -1
index 59cdf18731a0..70136b2335ce 100644

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

sound/soc/sdca/sdca_functions.c +2 -0
index 4417278e39bb..e0cae47641ba 100644

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

sound/usb/6fire/chip.c +4 -0
index 874f6cd503ca..e6cfe0d7ab0b 100644

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

sound/usb/endpoint.c +9 -5
index 15490a87b460..7d96cebba53f 100644

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

sound/usb/midi.c +2 -0
index e09761b6c91f..01ed18b7b48a 100644

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

sound/usb/midi2.c +3 -1
index 50b04e5a190b..646333f0cea9 100644

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

sound/usb/mixer_quirks.c +1 -1
index 02d9ede67467..ce057bbb2e11 100644

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

tools/testing/kunit/kunit_kernel.py +27 -11
index 2998e1bc088b..2869fcb199ff 100644

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

tools/testing/kunit/kunit_tool_test.py +42 -0

42 lines not on this page · raw message

tools/testing/selftests/clone3/clone3_set_tid.c +1 -1
index bfb0da2b4fdd..4debe0756b67 100644

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

tools/testing/selftests/filesystems/fclog.c +1 -3
index 912a8b755c3b..3e6fb609ef56 100644

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

tools/testing/selftests/lkdtm/tests.txt +1 -1
index cff124c1eddd..665a13a37363 100644

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

tools/testing/selftests/mm/mlock-random-test.c +1 -1
index b8d7e966f44c..aa720c52c650 100644

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

tools/testing/selftests/net/.gitignore +0 -7
index 8f9850a71f54..e2e206339967 100644

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

tools/testing/selftests/net/af_unix/.gitignore new file +9 -0
new file mode 100644
index 000000000000..973176644103

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

tools/testing/selftests/net/af_unix/Makefile +2 -0
index 2889403e3546..57d159803a3a 100644

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

tools/testing/selftests/net/af_unix/unix_connreset.c new file +177 -0

177 lines not on this page · raw message

tools/testing/selftests/net/af_unix/unix_listen.c new file +187 -0

187 lines not on this page · raw message

tools/testing/selftests/seccomp/seccomp_bpf.c +2 -1
index 874f17763536..19c9afa0be71 100644

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

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

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