Linux 6.6.48
Greg Kroah-Hartman
maintainerI'm announcing the release of the 6.6.48 kernel.
All users of the 6.6 kernel series must upgrade.
The updated 6.6.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-6.6.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Documentation/ABI/testing/sysfs-devices-system-cpu | 3 Makefile | 2 arch/alpha/kernel/pci_iommu.c | 2 arch/arm64/kernel/acpi_numa.c | 2 arch/arm64/kernel/setup.c | 3 arch/arm64/kernel/smp.c | 2 arch/arm64/kvm/sys_regs.c | 6 arch/arm64/kvm/vgic/vgic.h | 7 arch/mips/jazz/jazzdma.c | 2 arch/mips/kernel/cpu-probe.c | 4 arch/openrisc/kernel/setup.c | 6 arch/parisc/kernel/irq.c | 4 arch/powerpc/boot/simple_alloc.c | 7 arch/powerpc/include/asm/topology.h | 13 arch/powerpc/kernel/dma-iommu.c | 2 arch/powerpc/platforms/ps3/system-bus.c | 4 arch/powerpc/platforms/pseries/papr-sysparm.c | 47 ++ arch/powerpc/platforms/pseries/vio.c | 2 arch/powerpc/sysdev/xics/icp-native.c | 2 arch/riscv/include/asm/asm.h | 10 arch/riscv/kernel/entry.S | 3 arch/riscv/kernel/traps.c | 3 arch/riscv/mm/init.c | 4 arch/s390/include/asm/uv.h | 5 arch/s390/kernel/early.c | 12 arch/s390/kernel/smp.c | 4 arch/s390/kvm/kvm-s390.h | 7 arch/x86/kernel/amd_gart_64.c | 2 arch/x86/kernel/process.c | 5 block/blk-mq-tag.c | 5 drivers/accel/habanalabs/common/debugfs.c | 14 drivers/accel/habanalabs/common/irq.c | 3 drivers/accel/habanalabs/common/memory.c | 15 drivers/accel/habanalabs/gaudi2/gaudi2_security.c | 1 drivers/acpi/acpica/acevents.h | 6 drivers/acpi/acpica/evregion.c | 12 drivers/acpi/acpica/evxfregn.c | 64 --- drivers/acpi/ec.c | 14 drivers/acpi/internal.h | 1 drivers/acpi/scan.c | 2 drivers/atm/idt77252.c | 9 drivers/char/xillybus/xillyusb.c | 42 +- drivers/clk/visconti/pll.c | 6 drivers/clocksource/arm_global_timer.c | 11 drivers/edac/skx_common.c | 4 drivers/firmware/cirrus/cs_dsp.c | 7 drivers/gpio/gpio-mlxbf3.c | 14 drivers/gpio/gpiolib-sysfs.c | 15 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h | 1 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 40 ++ drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 3 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | 8 drivers/gpu/drm/amd/amdgpu/amdgpu_psp_ta.c | 3 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 53 +- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h | 1 drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c | 6 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 13 drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 13 drivers/gpu/drm/amd/amdgpu/imu_v11_0.c | 2 drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c | 4 drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c | 63 +++ drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.h | 6 drivers/gpu/drm/amd/amdgpu/soc15d.h | 6 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 22 - drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 4 drivers/gpu/drm/amd/display/dc/dcn321/dcn321_resource.c | 3 drivers/gpu/drm/amd/pm/amdgpu_pm.c | 14 drivers/gpu/drm/bridge/tc358768.c | 213 ++++++++++- drivers/gpu/drm/lima/lima_gp.c | 12 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 96 +++-- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.h | 22 - drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys.h | 9 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c | 43 -- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c | 22 - drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c | 21 - drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 2 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.h | 14 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c | 23 + drivers/gpu/drm/msm/dp/dp_ctrl.c | 2 drivers/gpu/drm/msm/dp/dp_panel.c | 19 - drivers/gpu/drm/msm/msm_drv.h | 12 drivers/gpu/drm/msm/msm_gem_shrinker.c | 2 drivers/gpu/drm/msm/msm_mdss.c | 84 +++- drivers/gpu/drm/msm/msm_mdss.h | 1 drivers/gpu/drm/nouveau/nvkm/core/firmware.c | 9 drivers/gpu/drm/nouveau/nvkm/falcon/fw.c | 6 drivers/gpu/drm/panel/panel-novatek-nt36523.c | 6 drivers/gpu/drm/rockchip/rockchip_drm_vop2.c | 5 drivers/gpu/drm/tegra/gem.c | 2 drivers/hid/wacom_wac.c | 4 drivers/hwmon/ltc2992.c | 8 drivers/hwmon/pc87360.c | 6 drivers/i2c/busses/i2c-qcom-geni.c | 4 drivers/i2c/busses/i2c-riic.c | 2 drivers/i2c/busses/i2c-stm32f7.c | 51 ++ drivers/i2c/busses/i2c-tegra.c | 4 drivers/i3c/master/mipi-i3c-hci/dma.c | 5 drivers/infiniband/hw/hfi1/chip.c | 5 drivers/infiniband/ulp/rtrs/rtrs.c | 2 drivers/input/input-mt.c | 3 drivers/input/serio/i8042-acpipnpio.h | 20 - drivers/input/serio/i8042.c | 10 drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 1 drivers/iommu/dma-iommu.c | 2 drivers/irqchip/irq-gic-v3-its.c | 2 drivers/irqchip/irq-renesas-rzg2l.c | 5 drivers/md/dm-clone-metadata.c | 5 drivers/md/dm-ioctl.c | 22 + drivers/md/dm.c | 4 drivers/md/md.c | 5 drivers/md/persistent-data/dm-space-map-metadata.c | 4 drivers/md/raid5-cache.c | 47 +- drivers/media/dvb-core/dvb_frontend.c | 12 drivers/media/pci/cx23885/cx23885-video.c | 8 drivers/media/platform/qcom/venus/pm_helpers.c | 2 drivers/media/platform/samsung/s5p-mfc/s5p_mfc_enc.c | 2 drivers/media/radio/radio-isa.c | 2 drivers/memory/stm32-fmc2-ebi.c | 122 ++++-- drivers/memory/tegra/tegra186.c | 3 drivers/misc/fastrpc.c | 22 - drivers/mmc/core/mmc_test.c | 9 drivers/mmc/host/dw_mmc.c | 8 drivers/mmc/host/mtk-sd.c | 8 drivers/net/bonding/bond_main.c | 21 - drivers/net/bonding/bond_options.c | 2 drivers/net/dsa/microchip/ksz_ptp.c | 5 drivers/net/dsa/mv88e6xxx/global1_atu.c | 3 drivers/net/dsa/ocelot/felix.c | 11 drivers/net/dsa/vitesse-vsc73xx-core.c | 69 ++- drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c | 5 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c | 3 drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c | 7 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 3 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 28 + drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c | 7 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c | 3 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 4 drivers/net/ethernet/i825xx/sun3_82586.c | 2 drivers/net/ethernet/intel/ice/ice_base.c | 21 + drivers/net/ethernet/intel/ice/ice_txrx.c | 47 -- drivers/net/ethernet/intel/igb/igb_main.c | 1 drivers/net/ethernet/intel/igc/igc_defines.h | 6 drivers/net/ethernet/intel/igc/igc_main.c | 8 drivers/net/ethernet/intel/igc/igc_tsn.c | 76 +++- drivers/net/ethernet/intel/igc/igc_tsn.h | 1 drivers/net/ethernet/marvell/octeontx2/af/rvu_cpt.c | 23 - drivers/net/ethernet/mediatek/mtk_wed.c | 6 drivers/net/ethernet/mediatek/mtk_wed_mcu.c | 3 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c | 2 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c | 2 drivers/net/ethernet/mellanox/mlxbf_gige/mlxbf_gige.h | 8 drivers/net/ethernet/mellanox/mlxbf_gige/mlxbf_gige_main.c | 10 drivers/net/ethernet/mellanox/mlxbf_gige/mlxbf_gige_regs.h | 2 drivers/net/ethernet/mellanox/mlxbf_gige/mlxbf_gige_rx.c | 50 ++ drivers/net/ethernet/microsoft/mana/mana_en.c | 30 + drivers/net/ethernet/mscc/ocelot.c | 91 ++++- drivers/net/ethernet/mscc/ocelot_fdma.c | 3 drivers/net/ethernet/mscc/ocelot_vsc7514.c | 4 drivers/net/ethernet/pensando/ionic/ionic_bus_pci.c | 9 drivers/net/ethernet/pensando/ionic/ionic_dev.c | 33 + drivers/net/ethernet/pensando/ionic/ionic_ethtool.c | 7 drivers/net/ethernet/pensando/ionic/ionic_fw.c | 5 drivers/net/ethernet/pensando/ionic/ionic_main.c | 3 drivers/net/ethernet/wangxun/ngbe/ngbe_mdio.c | 6 drivers/net/ethernet/xilinx/xilinx_axienet.h | 17 drivers/net/ethernet/xilinx/xilinx_axienet_main.c | 25 - drivers/net/gtp.c | 3 drivers/net/wireless/ath/ath11k/mac.c | 44 +- drivers/net/wireless/ath/ath12k/mac.c | 27 + drivers/net/wireless/ath/ath12k/qmi.c | 7 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c | 13 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c | 6 drivers/net/wireless/intel/iwlwifi/iwl-drv.c | 6 drivers/net/wireless/intel/iwlwifi/mvm/d3.c | 3 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c | 7 drivers/net/wireless/intel/iwlwifi/mvm/scan.c | 2 drivers/net/wireless/mediatek/mt76/mac80211.c | 50 ++ drivers/net/wireless/mediatek/mt76/mt76.h | 24 - drivers/net/wireless/mediatek/mt76/mt7603/main.c | 4 drivers/net/wireless/mediatek/mt76/mt7615/main.c | 4 drivers/net/wireless/mediatek/mt76/mt76x02_util.c | 4 drivers/net/wireless/mediatek/mt76/mt7915/main.c | 4 drivers/net/wireless/mediatek/mt76/mt7921/main.c | 2 drivers/net/wireless/mediatek/mt76/mt792x_core.c | 2 drivers/net/wireless/mediatek/mt76/mt7996/main.c | 4 drivers/net/wireless/mediatek/mt76/tx.c | 108 ++++-- drivers/net/wireless/st/cw1200/txrx.c | 2 drivers/nvme/host/core.c | 107 +++-- drivers/nvme/host/ioctl.c | 15 drivers/nvme/host/multipath.c | 21 - drivers/nvme/host/nvme.h | 4 drivers/nvme/target/rdma.c | 16 drivers/nvme/target/tcp.c | 1 drivers/nvme/target/trace.c | 6 drivers/nvme/target/trace.h | 28 - drivers/parisc/ccio-dma.c | 2 drivers/parisc/sba_iommu.c | 2 drivers/platform/surface/aggregator/controller.c | 3 drivers/platform/x86/intel/ifs/load.c | 9 drivers/platform/x86/lg-laptop.c | 2 drivers/pmdomain/imx/imx93-pd.c | 5 drivers/pmdomain/imx/scu-pd.c | 5 drivers/rtc/rtc-nct3018y.c | 6 drivers/s390/block/dasd.c | 36 +- drivers/s390/block/dasd_3990_erp.c | 10 drivers/s390/block/dasd_diag.c | 1 drivers/s390/block/dasd_eckd.c | 56 +-- drivers/s390/block/dasd_int.h | 2 drivers/s390/cio/idset.c | 12 drivers/scsi/lpfc/lpfc_sli.c | 2 drivers/scsi/scsi_transport_spi.c | 4 drivers/ssb/main.c | 2 drivers/staging/iio/resolver/ad2s1210.c | 7 drivers/staging/ks7010/ks7010_sdio.c | 4 drivers/thunderbolt/switch.c | 1 drivers/tty/serial/atmel_serial.c | 2 drivers/tty/serial/fsl_lpuart.c | 1 drivers/usb/dwc3/core.c | 13 drivers/usb/gadget/udc/fsl_udc_core.c | 2 drivers/usb/host/xhci.c | 8 drivers/usb/typec/tcpm/tcpm.c | 1 drivers/xen/grant-dma-ops.c | 2 drivers/xen/swiotlb-xen.c | 2 fs/afs/file.c | 8 fs/binfmt_elf_fdpic.c | 2 fs/binfmt_misc.c | 216 +++++++++--- fs/btrfs/compression.c | 23 - fs/btrfs/compression.h | 2 fs/btrfs/defrag.c | 2 fs/btrfs/delayed-inode.c | 4 fs/btrfs/disk-io.c | 2 fs/btrfs/extent_io.c | 4 fs/btrfs/free-space-cache.c | 22 - fs/btrfs/inode.c | 24 - fs/btrfs/ioctl.c | 2 fs/btrfs/qgroup.c | 2 fs/btrfs/reflink.c | 6 fs/btrfs/send.c | 71 +++ fs/btrfs/super.c | 2 fs/btrfs/tests/extent-io-tests.c | 28 + fs/btrfs/tree-checker.c | 74 ++++ fs/btrfs/zlib.c | 73 +--- fs/ext4/extents.c | 3 fs/ext4/mballoc.c | 3 fs/f2fs/segment.c | 17 fs/file.c | 30 - fs/fscache/cookie.c | 4 fs/fuse/cuse.c | 3 fs/fuse/dev.c | 6 fs/fuse/fuse_i.h | 1 fs/fuse/inode.c | 15 fs/fuse/virtio_fs.c | 10 fs/gfs2/inode.c | 2 fs/gfs2/super.c | 2 fs/inode.c | 39 ++ fs/jfs/jfs_dinode.h | 2 fs/jfs/jfs_imap.c | 6 fs/jfs/jfs_incore.h | 2 fs/jfs/jfs_txnmgr.c | 4 fs/jfs/jfs_xtree.c | 4 fs/jfs/jfs_xtree.h | 37 +- fs/kernfs/file.c | 8 fs/nfs/pnfs.c | 8 fs/nfsd/nfssvc.c | 14 fs/ntfs3/bitmap.c | 4 fs/ntfs3/fsntfs.c | 2 fs/ntfs3/index.c | 11 fs/ntfs3/ntfs_fs.h | 4 fs/ntfs3/super.c | 2 fs/quota/dquot.c | 5 fs/smb/client/reparse.c | 11 fs/smb/server/connection.c | 34 + fs/smb/server/connection.h | 3 fs/smb/server/mgmt/user_session.c | 8 fs/smb/server/smb2pdu.c | 5 include/acpi/acpixf.h | 5 include/linux/bitmap.h | 20 - include/linux/bpf_verifier.h | 4 include/linux/cpumask.h | 2 include/linux/dma-map-ops.h | 2 include/linux/dsa/ocelot.h | 47 ++ include/linux/evm.h | 6 include/linux/f2fs_fs.h | 1 include/linux/fs.h | 5 include/linux/slab.h | 5 include/net/af_vsock.h | 4 include/net/inet_timewait_sock.h | 2 include/net/kcm.h | 1 include/net/mana/mana.h | 1 include/net/tcp.h | 2 include/scsi/scsi_cmnd.h | 2 include/soc/mscc/ocelot.h | 12 include/uapi/misc/fastrpc.h | 3 init/Kconfig | 7 kernel/bpf/verifier.c | 5 kernel/cgroup/cgroup.c | 4 kernel/cpu.c | 12 kernel/dma/mapping.c | 4 kernel/rcu/rcu.h | 7 kernel/rcu/srcutiny.c | 1 kernel/rcu/srcutree.c | 1 kernel/rcu/tasks.h | 1 kernel/rcu/tiny.c | 1 kernel/rcu/tree.c | 3 kernel/sched/topology.c | 3 kernel/time/clocksource.c | 42 +- kernel/time/hrtimer.c | 5 kernel/time/tick-sched.h | 2 lib/cpumask.c | 4 lib/math/prime_numbers.c | 2 mm/huge_memory.c | 30 - mm/memcontrol.c | 7 mm/memory-failure.c | 20 - mm/memory.c | 33 - mm/page_alloc.c | 42 +- mm/slab_common.c | 41 -- mm/util.c | 4 mm/vmalloc.c | 11 net/bluetooth/bnep/core.c | 3 net/bluetooth/hci_conn.c | 11 net/bluetooth/hci_core.c | 19 - net/bluetooth/mgmt.c | 4 net/bluetooth/smp.c | 144 ++++---- net/bridge/br_netfilter_hooks.c | 6 net/core/sock_map.c | 6 net/dccp/ipv4.c | 2 net/dccp/ipv6.c | 6 net/dsa/tag_ocelot.c | 37 -- net/ipv4/inet_timewait_sock.c | 16 net/ipv4/tcp_input.c | 28 - net/ipv4/tcp_ipv4.c | 16 net/ipv4/tcp_minisocks.c | 7 net/ipv4/udp_offload.c | 3 net/ipv6/ip6_output.c | 10 net/ipv6/ip6_tunnel.c | 12 net/ipv6/netfilter/nf_conntrack_reasm.c | 4 net/ipv6/tcp_ipv6.c | 6 net/iucv/iucv.c | 3 net/kcm/kcmsock.c | 4 net/mac80211/agg-tx.c | 6 net/mac80211/driver-ops.c | 3 net/mac80211/iface.c | 14 net/mac80211/main.c | 22 + net/mac80211/sta_info.c | 46 +- net/mctp/test/route-test.c | 2 net/mptcp/diag.c | 2 net/mptcp/pm.c | 13 net/mptcp/pm_netlink.c | 142 +++++-- net/mptcp/protocol.h | 3 net/netfilter/nf_flow_table_inet.c | 3 net/netfilter/nf_flow_table_ip.c | 3 net/netfilter/nf_flow_table_offload.c | 2 net/netfilter/nf_tables_api.c | 209 +++++++---- net/netfilter/nfnetlink_queue.c | 35 + net/netfilter/nft_counter.c | 9 net/netlink/af_netlink.c | 13 net/openvswitch/datapath.c | 2 net/rxrpc/rxkad.c | 8 net/sched/sch_netem.c | 47 +- net/vmw_vsock/af_vsock.c | 50 +- net/vmw_vsock/vsock_bpf.c | 4 net/wireless/core.h | 8 scripts/rust_is_available.sh | 6 security/integrity/evm/evm_main.c | 7 security/security.c | 2 security/selinux/avc.c | 8 security/selinux/hooks.c | 12 sound/core/timer.c | 2 sound/pci/hda/patch_realtek.c | 1 sound/pci/hda/tas2781_hda_i2c.c | 14 sound/soc/codecs/cs35l45.c | 5 sound/soc/sof/intel/hda-dsp.c | 3 sound/soc/sof/ipc4.c | 9 sound/usb/quirks-table.h | 1 sound/usb/quirks.c | 2 tools/include/linux/align.h | 12 tools/include/linux/bitmap.h | 9 tools/include/linux/mm.h | 5 tools/testing/selftests/bpf/progs/cpumask_failure.c | 3 tools/testing/selftests/bpf/progs/dynptr_fail.c | 12 tools/testing/selftests/bpf/progs/iters.c | 54 +++ tools/testing/selftests/bpf/progs/jeq_infer_not_null_fail.c | 4 tools/testing/selftests/bpf/progs/test_tunnel_kern.c | 47 +- tools/testing/selftests/core/close_range_test.c | 35 + tools/testing/selftests/mm/Makefile | 2 tools/testing/selftests/mm/run_vmtests.sh | 53 ++ tools/testing/selftests/net/lib.sh | 11 tools/testing/selftests/net/mptcp/mptcp_join.sh | 28 + tools/testing/selftests/net/udpgro.sh | 44 +- tools/testing/selftests/tc-testing/tdc.py | 1 tools/tracing/rtla/src/osnoise_top.c | 11 391 files changed, 3848 insertions(+), 1967 deletions(-)
Abhinav Kumar (5):
drm/msm/dp: fix the max supported bpp logic
drm/msm/dpu: move dpu_encoder's connector assignment to atomic_enable() drm/msm/dp: reset the link phy params before link training drm/msm/dpu: try multirect based on mdp clock limits drm/msm: fix the highest_bank_bit for sc7180
Adrian Hunter (1):
clocksource: Make watchdog and suspend-timing multiplication overflow safe
Al Viro (4):
fix bitmap corruption on close_range() with CLOSE_RANGE_UNSHARE memcg_write_event_control(): fix a user-triggerable oops
afs: fix __afs_break_callback() / afs_drop_open_mmap() race
fuse: fix UAF in rcu pathwalks
Alex Deucher (3):
drm/amdgpu/jpeg2: properly set atomics vmid field drm/amdgpu/jpeg4: properly set atomics vmid field drm/amd/pm: fix error flow in sensor fetching
Alex Hung (2):
drm/amd/display: Validate hw_points_num before using it Revert "drm/amd/display: Validate hw_points_num before using it"
Alexander Gordeev (1):
s390/iucv: fix receive buffer virtual vs physical address confusion
Alexander Lobakin (5):
fs/ntfs3: add prefix to bitmap_size() and use BITS_TO_U64() s390/cio: rename bitmap_size() -> idset_bitmap_size()
btrfs: rename bitmap_set_bits() -> btrfs_bitmap_set_bits()
bitmap: introduce generic optimized bitmap_size()
tools: move alignment-related macros to new <linux/align.h>
Alexander Stein (1):
pmdomain: imx: scu-pd: Remove duplicated clocks
Alexandre Belloni (1):
rtc: nct3018y: fix possible NULL dereference
Andi Shyti (1):
i2c: qcom-geni: Add missing geni_icc_disable in geni_i2c_runtime_resume
Andreas Gruenbacher (2):
gfs2: setattr_chown: Add missing initialization
gfs2: Refcounting fix in gfs2_thaw_super
Andy Yan (1):
drm/rockchip: vop2: clear afbc en and transform bit for cluster window at linear mode
Antoniu Miclaus (1):
hwmon: (ltc2992) Avoid division by zero
Ashish Mhetre (1):
memory: tegra: Skip SID programming if SID registers aren't set
Asmaa Mnebhi (1):
gpio: mlxbf3: Support shutdown() function
Avri Kehat (1):
accel/habanalabs: fix debugfs files permissions
Baojun Xu (1):
ALSA: hda/tas2781: fix wrong calibrated data order
Baokun Li (2):
ext4: do not trim the group with corrupted block bitmap
ext4: set the type of max_zeroout to unsigned int to avoid overflow
Bard Liao (1):
ASoC: SOF: ipc4: check return value of snd_sof_ipc_msg_data
Bartosz Golaszewski (1):
gpio: sysfs: extend the critical section for unregistering sysfs devices
Bas Nieuwenhuizen (1):
drm/amdgpu: Actually check flags for all context ops.
Ben Whitten (1):
mmc: dw_mmc: allow biu and ciu clocks to defer
Bharat Bhushan (1):
octeontx2-af: Fix CPT AF register offset calculation
Biju Das (1):
irqchip/renesas-rzg2l: Do not set TIEN and TINT source at the same time
Boyuan Zhang (2):
drm/amdgpu/vcn: identify unified queue in sw init drm/amdgpu/vcn: not pause dpg for unified queue
Breno Leitao (1):
i2c: tegra: Do not mark ACPI devices as irq safe
Candice Li (1):
drm/amdgpu: Validate TA binary size
Celeste Liu (1):
riscv: entry: always initialize regs->a0 to -ENOSYS
Chaotian Jing (1):
scsi: core: Fix the return value of scsi_logical_block_count()
Chengfeng Ye (3):
staging: ks7010: disable bh on tx_dev_lock
media: s5p-mfc: Fix potential deadlock on condlock IB/hfi1: Fix potential deadlock on &irq_src_lock and &dd->uctxt_lock
Christian Brauner (1):
binfmt_misc: cleanup on filesystem umount
Christophe Kerello (1):
memory: stm32-fmc2-ebi: check regmap_read return value
Claudio Imbrenda (1):
s390/uv: Panic for set and remove shared access UVC errors
Clément Léger (1):
riscv: blacklist assembly symbols for kprobe
Cong Wang (1):
vsock: fix recursive ->recvmsg calls
Cosmin Ratiu (1):
net/mlx5e: Correctly report errors for ethtool rx flows
Costa Shulyupin (1):
hrtimer: Select housekeeping CPU during migration
Cupertino Miranda (1):
selftests/bpf: Fix a few tests for GCC related warnings.
Dan Carpenter (4):
rtla/osnoise: Prevent NULL dereference in error handling
atm: idt77252: prevent use after free in dequeue_rx()
dpaa2-switch: Fix error checking in dpaa2_switch_seed_bp()
mmc: mmc_test: Fix NULL dereference on allocation failure
Daniel Wagner (1):
nvmet-trace: avoid dereferencing pointer too early
Dave Airlie (1):
nouveau/firmware: use dma non-coherent allocator
Dave Kleikamp (1):
jfs: define xtree root and page independently
David (Ming Qiang) Wu (1):
drm/amd/amdgpu: command submission parser for JPEG
David Howells (1):
rxrpc: Don't pick values out of the wire header when setting up security
David Lechner (1):
staging: iio: resolver: ad2s1210: fix use before initialization
David Sterba (11):
btrfs: delayed-inode: drop pointless BUG_ON in __btrfs_remove_delayed_item()
btrfs: defrag: change BUG_ON to assertion in btrfs_defrag_leaves()
btrfs: change BUG_ON to assertion when checking for delayed_node root
btrfs: tests: allocate dummy fs_info and root in test_find_delalloc()
btrfs: push errors up from add_async_extent()
btrfs: handle invalid root reference found in may_destroy_subvol()
btrfs: send: handle unexpected data in header buffer in begin_cmd()
btrfs: send: handle unexpected inode in header process_recorded_refs()
btrfs: change BUG_ON to assertion in tree_move_down()
btrfs: delete pointless BUG_ON check on quota root in btrfs_qgroup_account_extent()
btrfs: replace sb::s_blocksize by fs_info::sectorsize
David Thompson (1):
mlxbf_gige: disable RX filters until RX path initialized
Dmitry Antipov (2):
wifi: ath11k: fix ath11k_mac_op_remain_on_channel() stack usage
wifi: iwlwifi: check for kmemdup() return value in iwl_parse_tlv_firmware()
Dmitry Baryshkov (10):
drm/msm/dpu: don't play tricks with debug macros drm/msm/dpu: use drmm-managed allocation for dpu_encoder_phys drm/msm/dpu: drop MSM_ENC_VBLANK support
drm/msm/dpu: split dpu_encoder_wait_for_event into two functions drm/msm/dpu: capture snapshot on the first commit_done timeout drm/msm/dpu: cleanup FB if dpu_format_populate_layout fails drm/msm/dpu: take plane rotation into account for wide planes drm/msm/mdss: switch mdss to use devm_of_icc_get() drm/msm/mdss: Handle the reg bus ICC path drm/msm/mdss: specify cfg bandwidth for SDM670
Donald Hunter (1):
netfilter: flowtable: initialise extack before use
Dragos Tatulea (1):
net/mlx5e: Take state lock during tx timeout reporter
Eli Billauer (3):
char: xillybus: Don't destroy workqueue from work item running on it
char: xillybus: Refine workqueue handling
char: xillybus: Check USB endpoints when probing device
Emmanuel Grumbach (1):
wifi: iwlwifi: mvm: fix recovery flow in CSA
Eric Dumazet (8):
netlink: hold nlk->cb_mutex longer in __netlink_dump_start()
gtp: pull network headers in gtp_dev_xmit() tcp/dccp: bypass empty buckets in inet_twsk_purge() tcp/dccp: do not care about families in inet_twsk_purge()
ipv6: prevent UAF in ip6_send_skb()
ipv6: fix possible UAF in ip6_finish_output2()
ipv6: prevent possible UAF in ip6_xmit()
tcp: do not export tcp_twsk_purge()
Erico Nunes (1):
drm/lima: set gp bus_stop bit before hard reset
Eugene Syromiatnikov (1):
mptcp: correct MPTCP_SUBFLOW_ATTR_SSN_OFFSET reserved size
Faizal Rahim (4):
igc: Fix packet still tx after gate close by reducing i226 MAC retry buffer
igc: Fix qbv_config_change_errors logics
igc: Fix reset adapter logics when tx mode change
igc: Fix qbv tx latency by setting gtxoffset
Felix Fietkau (2):
wifi: mt76: fix race condition related to checking tx queue fill status
udp: fix receiving fraglist GSO packets
Filipe Manana (1):
btrfs: send: allow cloning non-aligned extent if it ends at i_size
Florian Westphal (2):
netfilter: nf_queue: drop packets with cloned unconfirmed conntracks
tcp: prevent concurrent execution of tcp_sk_exit_batch
Frederic Weisbecker (1):
tick: Move got_idle_tick away from common flags
Gergo Koteles (1):
platform/x86: lg-laptop: fix %s null argument warning
Greg Kroah-Hartman (2):
Revert "usb: gadget: uvc: cleanup request when not in correct state" Linux 6.6.48
Griffin Kroah-Hartman (2):
Revert "misc: fastrpc: Restrict untrusted app to attach to privileged PD"
Bluetooth: MGMT: Add error handling to pair_device()
Guanrui Huang (1):
irqchip/gic-v3-its: Remove BUG_ON in its_vpe_irq_domain_alloc
Gustavo A. R. Silva (1):
clk: visconti: Add bounds-checking coverage for struct visconti_pll_provider
Haibo Xu (1):
arm64: ACPI: NUMA: initialize all values of acpi_early_node_map to NUMA_NO_NODE
Hailong Liu (1):
mm/vmalloc: fix page mapping if vm_area_alloc_pages() with high order fallback to order 0
Haiyang Zhang (1):
net: mana: Fix RX buf alloc_size alignment and atomic op panic
Hangbin Liu (1):
selftests: udpgro: report error when receive failed
Hannes Reinecke (1):
nvmet-tcp: do not continue for invalid icreq
Hans Verkuil (3):
media: radio-isa: use dev_name to fill in bus_info
media: qcom: venus: fix incorrect return value
media: pci: cx23885: check cx23885_vdev_init() return
Heiko Carstens (1):
s390/smp,mcck: fix early IPI handling
Helge Deller (1):
parisc: Use irq_enter_rcu() to fix warning at kernel/context_tracking.c:367
Itaru Kitayama (1):
tools/testing/selftests/mm/run_vmtests.sh: lower the ptrace permissions
Jakub Sitnicki (1):
Revert "bpf, sockmap: Prevent lock inversion deadlock in map delete elem"
Jan Höppner (1):
Revert "s390/dasd: Establish DMA alignment"
Jan Kara (1):
quota: Remove BUG_ON from dqget()
Jann Horn (1):
fuse: Initialize beyond-EOF page contents before setting uptodate
Janne Grunau (1):
wifi: brcmfmac: cfg80211: Handle SSID based pmksa deletion
Jarkko Nikula (2):
i3c: mipi-i3c-hci: Remove BUG() when Ring Abort request times out
i3c: mipi-i3c-hci: Do not unmap region not mapped for transfer
Jason Gerecke (1):
HID: wacom: Defer calculation of resolution until resolution_code is known
Javier Carrasco (1):
hwmon: (ltc2992) Fix memory leak in ltc2992_parse_dt()
Jeff Johnson (2):
wifi: cw1200: Avoid processing an invalid TIM IE
wifi: ath12k: Add missing qmi_txn_cancel() calls
Jeremy Kerr (1):
net: mctp: test: Use correct skb for route input check
Jesse Zhang (1):
drm/amdgpu: fix dereference null return value for the function amdgpu_vm_pt_parent
Jian Shen (1):
net: hns3: add checking for vf id of mailbox
Jianhua Lu (1):
drm/panel: nt36523: Set 120Hz fps for xiaomi,elish panels
Jiaxun Yang (1):
MIPS: Loongson64: Set timer mode in cpu-probe
Jie Wang (2):
net: hns3: fix wrong use of semaphore up
net: hns3: fix a deadlock problem when config TC during resetting
Jithu Joseph (2):
platform/x86/intel/ifs: Validate image size platform/x86/intel/ifs: Call release_firmware() when handling errors.
Johannes Berg (4):
wifi: mac80211: lock wiphy in IP address notifier
wifi: cfg80211: check wiphy mutex is held for wdev mutex
wifi: mac80211: fix BA session teardown race
wifi: mac80211: flush STA queues on unauthorization
Joseph Huang (1):
net: dsa: mv88e6xxx: Fix out-of-bound access
Juan José Arboleda (1):
ALSA: usb-audio: Support Yamaha P-125 quirk entry
Justin Tee (1):
scsi: lpfc: Initialize status local variable in lpfc_sli4_repost_sgl_list()
Kamalesh Babulal (1):
cgroup: Avoid extra dereference in css_populate_dir()
Kees Cook (3):
hwmon: (pc87360) Bounds check data->innr usage net/sun3_82586: Avoid reading past buffer in debug output
x86: Increase brk randomness entropy for 64-bit systems
Keith Busch (3):
nvme: clear caller pointer on identify failure
nvme: use srcu for iterating namespace list
nvme: fix namespace removal list
Khazhismel Kumykov (1):
dm resume: don't return EINVAL when signalled
Kirill A. Shutemov (1):
mm: fix endless reclaim on machines with unaccepted memory
Konrad Dybcio (1):
drm/msm/mdss: Rename path references to mdp_path
Krishna Kurapati (1):
usb: dwc3: core: Skip setting event buffers for host only controllers
Kuniyuki Iwashima (1):
kcm: Serialise kcm_sendmsg() for the same socket.
Kunwu Chan (1):
powerpc/xics: Check return value of kasprintf in icp_native_map_one_cpu
Lang Yu (1):
drm/amdkfd: reserve the BO before validating it
Lee Jones (1):
drm/amd/amdgpu/imu_v11_0: Increase buffer size to ensure all possible values can be stored
Leon Hwang (1):
bpf: Fix updating attached freplace prog in prog_array map
Li Lingfeng (1):
block: Fix lockdep warning in blk_mq_mark_tag_wait
Li Nan (1):
md: clean up invalid BUG_ON in md_ioctl
Li zeming (1):
powerpc/boot: Handle allocation failure in simple_realloc()
Lianqin Hu (1):
ALSA: usb-audio: Add delay quirk for VIVO USB-C-XE710 HEADSET
Loan Chen (1):
drm/amd/display: Enable otg synchronization logic for DCN321
Long Li (1):
net: mana: Fix doorbell out of order violation and avoid unnecessary doorbell rings
Lorenzo Bianconi (1):
net: ethernet: mtk_wed: check update_wo_rx_stats in mtk_wed_update_rx_stats()
Luiz Augusto von Dentz (3):
Bluetooth: bnep: Fix out-of-bound access
Bluetooth: hci_core: Fix LE quote calculation
Bluetooth: SMP: Fix assumption of Central always being Initiator
Maciej Fijalkowski (3):
ice: fix page reuse when PAGE_SIZE is over 8k
ice: fix ICE_LAST_OFFSET formula
ice: fix truesize operations for PAGE_SIZE >= 8192
Manish Dharanenthiran (1):
wifi: ath12k: fix WARN_ON during ath12k_mac_update_vif_chan
Marc Zyngier (1):
KVM: arm64: Make ICC_*SGI*_EL1 undef in the absence of a vGICv3
Martin Blumenstingl (1):
clocksource/drivers/arm_global_timer: Guard against division by zero
Martin Whitaker (1):
net: dsa: microchip: fix PTP config failure when using multiple ports
Masahiro Yamada (2):
rust: suppress error messages from CONFIG_{RUSTC,BINDGEN}_VERSION_TEXT
rust: fix the default format for CONFIG_{RUSTC,BINDGEN}_VERSION_TEXT
Mathias Nyman (1):
xhci: Fix Panther point NULL pointer deref at full-speed re-enumeration
Mathieu Othacehe (1):
tty: atmel_serial: use the correct RTS flag.
Matthieu Baerts (NGI0) (14):
selftests: net: lib: ignore possible errors
selftests: net: lib: kill PIDs before del netns
mptcp: pm: re-using ID of unused removed ADD_ADDR
mptcp: pm: re-using ID of unused removed subflows
mptcp: pm: re-using ID of unused flushed subflows
mptcp: pm: remove mptcp_pm_remove_subflow()
mptcp: pm: only mark 'subflow' endp as available
mptcp: pm: only decrement add_addr_accepted for MPJ req
mptcp: pm: check add_addr_accept_max before accepting new ADD_ADDR
mptcp: pm: only in-kernel cannot have entries with ID 0
mptcp: pm: fullmesh: select the right ID later
mptcp: pm: avoid possible UaF when selecting endp
selftests: mptcp: join: validate fullmesh endp on 1st sf
selftests: mptcp: join: check re-using ID of closed subflow
Max Filippov (1):
fs: binfmt_elf_efpic: don't use missing interpreter's properties
Max Kellermann (1):
fs/netfs/fscache_cookie: add missing "n_accesses" check
Maximilian Luz (1):
platform/surface: aggregator: Fix warning when controller is destroyed in probe
Melissa Wen (1):
drm/amd/display: fix cursor offset on rotation 180
Menglong Dong (1):
net: ovs: fix ovs_drop_reasons error
Mengqi Zhang (1):
mmc: mtk-sd: receive cmd8 data when hs400 tuning fail
Mengyuan Lou (1):
net: ngbe: Fix phy mode set to external phy
Michael Ellerman (1):
powerpc/boot: Only free if realloc() succeeds
Michael Grzeschik (1):
usb: gadget: uvc: cleanup request when not in correct state
Michael Mueller (1):
KVM: s390: fix validity interception issue when gisa is switched off
Miguel Ojeda (1):
rust: work around bindgen 0.69.0 issue
Mika Westerberg (1):
thunderbolt: Mark XDomain as unplugged when router is removed
Mike Christie (1):
scsi: spi: Fix sshdr use
Mikko Perttunen (1):
drm/tegra: Zero-initialize iosys_map
Mikulas Patocka (2):
dm persistent data: fix memory allocation failure dm suspend: return -ERESTARTSYS instead of -EINTR
Mimi Zohar (1):
evm: don't copy up 'security.evm' xattr
Miri Korenblit (1):
wifi: iwlwifi: abort scan when rfkill on but device enabled
Muhammad Usama Anjum (1):
selftests: memfd_secret: don't build memfd_secret test on unsupported arches
Mukesh Sisodiya (1):
wifi: iwlwifi: fw: Fix debugfs command sending
Nam Cao (1):
riscv: change XIP's kernel_map.size to be size of the entire kernel
Namjae Jeon (2):
ksmbd: the buffer of smb2 query dir response has at least 1 byte
ksmbd: fix race condition between destroy_previous_session() and smb2 operations()
Naohiro Aota (1):
btrfs: zoned: properly take lock to read/update block group's zoned variables
Nathan Lynch (1):
powerpc/pseries/papr-sysparm: Validate buffer object lengths
Neel Natu (1):
kernfs: fix false-positive WARN(nr_mmapped) in kernfs_drain_open_files
NeilBrown (2):
NFS: avoid infinite loop in pnfs_update_layout.
NFSD: simplify error paths in nfsd_svc()
Nikolay Aleksandrov (4):
bonding: fix bond_ipsec_offload_ok return type
bonding: fix null pointer deref in bond_ipsec_offload_ok
bonding: fix xfrm real_dev null pointer dereference
bonding: fix xfrm state handling when clearing active slave
Nikolay Kuratov (1):
cxgb4: add forgotten u64 ivlan cast before shift
Nysal Jan K.A (2):
cpu/SMT: Enable SMT only if a core is online powerpc/topology: Check if a core is online
Ofir Bitton (1):
accel/habanalabs/gaudi2: unsecure tpc count registers
Oreoluwa Babatunde (1):
openrisc: Call setup_memory() earlier in the init sequence
Pablo Neira Ayuso (1):
netfilter: flowtable: validate vlan header
Paolo Abeni (1):
igb: cope with large MAX_SKB_FRAGS
Parsa Poorshikhian (1):
ALSA: hda/realtek: Fix noise from speakers on Lenovo IdeaPad 3 15IAU7
Paul E. McKenney (1):
rcu: Eliminate rcu_gp_slow_unregister() false positive
Paul Moore (1):
selinux: revert our use of vma_is_initial_heap()
Paulo Alcantara (1):
smb: client: ignore unhandled reparse tags
Pawel Dembicki (3):
net: dsa: vsc73xx: pass value in phy_write operation
net: dsa: vsc73xx: use read_poll_timeout instead delay loop
net: dsa: vsc73xx: check busy flag in MDIO operations
Peiyang Wang (1):
net: hns3: use the user's cfg after reset
Peng Fan (2):
tty: serial: fsl_lpuart: mark last busy before uart_add_one_port
pmdomain: imx: wait SSAR when i.MX93 power domain on
Peter Ujfalusi (1):
ASoC: SOF: Intel: hda-dsp: Make sure that no irq handler is pending before suspend
Phil Chang (1):
hrtimer: Prevent queuing of hrtimer without a function callback
Phil Sutter (9):
netfilter: nf_tables: Audit log dump reset after the fact
netfilter: nf_tables: Drop pointless memset in nf_tables_dump_obj
netfilter: nf_tables: Unconditionally allocate nft_obj_filter
netfilter: nf_tables: A better name for nft_obj_filter
netfilter: nf_tables: Carry s_idx in nft_obj_dump_ctx
netfilter: nf_tables: nft_obj_filter fits into cb->ctx
netfilter: nf_tables: Carry reset boolean in nft_obj_dump_ctx
netfilter: nf_tables: Introduce nf_tables_getobj_single
netfilter: nf_tables: Add locking for NFT_MSG_GETOBJ_RESET requests
Philip Yang (1):
drm/amdkfd: Move dma unmapping after TLB flush
Philipp Stanner (1):
media: drivers/media/dvb-core: copy user arrays safely
Qiuxu Zhuo (2):
EDAC/skx_common: Filter out the invalid address EDAC/skx_common: Allow decoding of SGX addresses
Qu Wenruo (3):
btrfs: tree-checker: reject BTRFS_FT_UNKNOWN dir type
btrfs: tree-checker: add dev extent item checks
btrfs: zlib: fix and simplify the inline extent decompression
Radhey Shyam Pandey (1):
net: axienet: Fix register defines comment description
Rafael J. Wysocki (3):
Revert "ACPI: EC: Evaluate orphan _REG under EC device"
ACPICA: Add a depth argument to acpi_execute_reg_methods()
ACPI: EC: Evaluate _REG outside the EC scope more carefully
Rand Deeb (1):
ssb: Fix division by zero issue in ssb_calc_clock_rate
Ricardo Rivera-Matos (1):
ASoC: cs35l45: Checks index of cs35l45_irqs[]
Richard Acayan (1):
iommu/arm-smmu-qcom: Add SDM670 MDSS compatible
Richard Fitzgerald (1):
firmware: cirrus: cs_dsp: Initialize debugfs_root to invalid
Rob Clark (1):
drm/msm: Reduce fallout of fence signaling vs reclaim hangs
Rodrigo Siqueira (1):
drm/amd/display: Adjust cursor position
Ryan Roberts (1):
selftests/mm: log run_vmtests.sh results in TAP format
Sagi Grimberg (1):
nvmet-rdma: fix possible bad dereference when freeing rsps
Samuel Holland (1):
arm64: Fix KASAN random tag seed initialization
Sean Anderson (2):
net: xilinx: axienet: Always disable promiscuous mode
net: xilinx: axienet: Fix dangling multicast addresses
Sean Nyekjaer (1):
i2c: stm32f7: Add atomic_xfer method to driver
Sebastian Andrzej Siewior (2):
netfilter: nft_counter: Disable BH in nft_counter_offload_stats().
netfilter: nft_counter: Synchronize nft_counter_reset() against reader.
Shannon Nelson (4):
ionic: prevent pci disable of already disabled device
ionic: no fw read when PCI reset failed
ionic: use pci_is_enabled not open code
ionic: check cmd_regs before copying in or out
Shaul Triebitz (1):
wifi: iwlwifi: mvm: avoid garbage iPN
Simon Horman (1):
tc-testing: don't access non-existent variable on exception
Somnath Kotur (1):
bnxt_en: Fix double DMA unmapping for XDP_REDIRECT
Stefan Haberland (1):
s390/dasd: fix error recovery leading to data corruption on ESE devices
Stefan Hajnoczi (1):
virtiofs: forbid newlines in tags
Stephen Hemminger (1):
netem: fix return value if duplicate enqueue fails
Subash Abhinov Kasiviswanathan (1):
tcp: Update window clamping condition
Suren Baghdasaryan (1):
change alloc_pages name in dma_map_ops to avoid name conflicts
Takashi Iwai (2):
ALSA: hda/tas2781: Use correct endian conversion
ALSA: timer: Relax start tick time check for slave timer elements
Tetsuo Handa (1):
Input: MT - limit max slots
Thomas Bogendoerfer (1):
ip6_tunnel: Fix broken GRO
Tom Hughes (1):
netfilter: allow ipv6 fragments to arrive on different devices
Tomer Tayar (1):
accel/habanalabs: export dma-buf only if size/offset multiples of PAGE_SIZE
Tomi Valkeinen (1):
drm/bridge: tc358768: Attempt to fix DSI horizontal timings
Uwe Kleine-König (1):
usb: gadget: fsl: Increase size of name buffer for endpoints
Vladimir Oltean (3):
net: mscc: ocelot: use ocelot_xmit_get_vlan_info() also for FDMA and register injection
net: mscc: ocelot: fix QoS class for injected packets with "ocelot-8021q"
net: mscc: ocelot: serialize access to the injection/extraction groups
Waiman Long (1):
mm/memory-failure: use raw_spinlock_t in struct memory_failure_cpu
Werner Sembach (2):
Input: i8042 - add forcenorestore quirk to leave controller untouched even on s3
Input: i8042 - use new forcenorestore quirk to replace old buggy quirk combination
Wolfram Sang (1):
i2c: riic: avoid potential division by zero
Xu Yang (1):
Revert "usb: typec: tcpm: clear pd_event queue in PORT_RESET"
Yonghong Song (2):
bpf: Fix a kernel verifier crash in stacksafe() selftests/bpf: Add a test to verify previous stacksafe() fix
Yu Kuai (1):
md/raid5-cache: use READ_ONCE/WRITE_ONCE for 'conf->log'
Yury Norov (1):
sched/topology: Handle NUMA_NO_NODE in sched_numa_find_nth_cpu()
Zhen Lei (4):
selinux: fix potential counting error in avc_add_xperms_decision()
selinux: add the processing of the failure of avc_add_xperms_decision()
mm: Remove kmem_valid_obj()
rcu: Dump memory object info if callback function is invalid
ZhenGuo Yin (1):
drm/amdgpu: access RLC_SPM_MC_CNTL through MMIO in SRIOV runtime
Zheng Zhang (1):
net: ethernet: mtk_wed: fix use-after-free panic in mtk_wed_setup_tc_block_cb()
Zhiguo Niu (2):
f2fs: stop checkpoint when get a out-of-bounds segment
f2fs: fix to do sanity check in update_sit_entry
Zhihao Cheng (1):
vfs: Don't evict inode under the inode lru traversing context
Zhu Yanjun (1):
RDMA/rtrs: Fix the problem of variable not initialized fully
Zi Yan (2):
mm/numa: no task_numa_fault() call if PMD is changed mm/numa: no task_numa_fault() call if PTE is changed
Zijun Hu (1):
Bluetooth: hci_conn: Check non NULL function before calling for HFP offload
farah kassabri (1):
accel/habanalabs: fix bug in timestamp interrupt handling
Greg Kroah-Hartman
maintainerDocumentation/ABI/testing/sysfs-devices-system-cpu +2 -1
@@ -565,7 +565,8 @@ Description: Control Symmetric Multi Threading (SMT) ================ ========================================= If control status is "forceoff" or "notsupported" writes - are rejected. + are rejected. Note that enabling SMT on PowerPC skips + offline cores. What: /sys/devices/system/cpu/cpuX/power/energy_perf_bias Date: March 2019
Makefile +1 -1
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 6 PATCHLEVEL = 6 -SUBLEVEL = 47 +SUBLEVEL = 48 EXTRAVERSION = NAME = Hurr durr I'ma ninja sloth
arch/alpha/kernel/pci_iommu.c +1 -1
@@ -929,7 +929,7 @@ const struct dma_map_ops alpha_pci_ops = { .dma_supported = alpha_pci_supported, .mmap = dma_common_mmap, .get_sgtable = dma_common_get_sgtable, - .alloc_pages = dma_common_alloc_pages, + .alloc_pages_op = dma_common_alloc_pages, .free_pages = dma_common_free_pages, };EXPORT_SYMBOL (alpha_pci_ops);
arch/arm64/kernel/acpi_numa.c +1 -1
@@ -27,7 +27,7 @@#include <asm/numa.h> -static int acpi_early_node_map[NR_CPUS ]__initdata = {NUMA_NO_NODE }; +static int acpi_early_node_map[NR_CPUS ]__initdata = { [0 ...NR_CPUS -1 ] =NUMA_NO_NODE };int __init acpi_numa_get_nid (unsigned int cpu) {
arch/arm64/kernel/setup.c +0 -3
@@ -371,9 +371,6 @@ void __init __no_sanitize_address setup_arch(char **cmdline_p)smp_init_cpus ();smp_build_mpidr_hash (); -/* Init percpu seeds for random tags after cpus are set up. */ -kasan_init_sw_tags (); -#ifdef CONFIG_ARM64_SW_TTBR0_PAN /* * Make sure init_thread_info.ttbr0 always generates translation
arch/arm64/kernel/smp.c +2 -0
@@ -459,6 +459,8 @@ void __init smp_prepare_boot_cpu(void)init_gic_priority_masking ();kasan_init_hw_tags (); +/* Init percpu seeds for random tags after cpus are set up. */ +kasan_init_sw_tags (); }/*
arch/arm64/kvm/sys_regs.c +6 -0
@@ -32,6 +32,7 @@#include <trace/events/kvm.h> #include "sys_regs.h" +#include "vgic/vgic.h" #include "trace.h"
@@ -301,6 +302,11 @@ static bool access_gic_sgi(struct kvm_vcpu *vcpu, {bool g1; +if (!kvm_has_gicv3 (vcpu->kvm)) { +kvm_inject_undefined (vcpu); +return false; + } +if (!p->is_write)return read_from_write_only (vcpu, p, r);
arch/arm64/kvm/vgic/vgic.h +7 -0
@@ -343,4 +343,11 @@ void vgic_v4_configure_vsgis(struct kvm *kvm);void vgic_v4_get_vlpi_state (struct vgic_irq *irq,bool *val);int vgic_v4_request_vpe_irq (struct kvm_vcpu *vcpu,int irq); +static inline bool kvm_has_gicv3 (struct kvm *kvm) +{ +return (static_branch_unlikely (&kvm_vgic_global_state.gicv3_cpuif) && +irqchip_in_kernel (kvm) && + kvm->arch.vgic.vgic_model ==KVM_DEV_TYPE_ARM_VGIC_V3 ); +} +#endif
arch/mips/jazz/jazzdma.c +1 -1
@@ -617,7 +617,7 @@ const struct dma_map_ops jazz_dma_ops = { .sync_sg_for_device = jazz_dma_sync_sg_for_device, .mmap = dma_common_mmap, .get_sgtable = dma_common_get_sgtable, - .alloc_pages = dma_common_alloc_pages, + .alloc_pages_op = dma_common_alloc_pages, .free_pages = dma_common_free_pages, };EXPORT_SYMBOL (jazz_dma_ops);
arch/mips/kernel/cpu-probe.c +4 -0
@@ -1725,12 +1725,16 @@ static inline void cpu_probe_loongson(struct cpuinfo_mips *c, unsigned int cpu) c->ases |= (MIPS_ASE_LOONGSON_MMI |MIPS_ASE_LOONGSON_CAM |MIPS_ASE_LOONGSON_EXT |MIPS_ASE_LOONGSON_EXT2 ); c->ases &= ~MIPS_ASE_VZ ;/* VZ of Loongson-3A2000/3000 is incomplete */ +change_c0_config6 (LOONGSON_CONF6_EXTIMER |LOONGSON_CONF6_INTIMER , +LOONGSON_CONF6_INTIMER );break ;case PRID_IMP_LOONGSON_64G : __cpu_name[cpu] ="ICT Loongson-3" ;set_elf_platform (cpu,"loongson3a" );set_isa (c,MIPS_CPU_ISA_M64R2 );decode_cpucfg (c); +change_c0_config6 (LOONGSON_CONF6_EXTIMER |LOONGSON_CONF6_INTIMER , +LOONGSON_CONF6_INTIMER );break ;default :panic ("Unknown Loongson Processor ID!" );
arch/openrisc/kernel/setup.c +3 -3
@@ -255,6 +255,9 @@ void calibrate_delay(void)void __init setup_arch (char **cmdline_p) { +/* setup memblock allocator */ +setup_memory (); +unflatten_and_copy_device_tree ();setup_cpuinfo ();
@@ -278,9 +281,6 @@ void __init setup_arch(char **cmdline_p) }#endif -/* setup memblock allocator */ -setup_memory (); -/* paging_init() sets up the MMU and marks all pages as reserved */ paging_init ();
arch/parisc/kernel/irq.c +2 -2
@@ -498,7 +498,7 @@ asmlinkage void do_cpu_irq_mask(struct pt_regs *regs) old_regs =set_irq_regs (regs);local_irq_disable (); -irq_enter (); +irq_enter_rcu (); eirr_val =mfctl (23 ) & cpu_eiem &per_cpu (local_ack_eiem, cpu);if (!eirr_val)
@@ -533,7 +533,7 @@ asmlinkage void do_cpu_irq_mask(struct pt_regs *regs)#endif /* CONFIG_IRQSTACKS */ out: -irq_exit (); +irq_exit_rcu ();set_irq_regs (old_regs);return ;
arch/powerpc/boot/simple_alloc.c +5 -2
@@ -112,8 +112,11 @@ static void *simple_realloc(void *ptr, unsigned long size)return ptr; new =simple_malloc (size); -memcpy (new, ptr, p->size); -simple_free (ptr); +if (new) { +memcpy (new, ptr, p->size); +simple_free (ptr); + } +return new; }
arch/powerpc/include/asm/topology.h +13 -0
@@ -145,6 +145,7 @@ static inline int cpu_to_coregroup_id(int cpu)#ifdef CONFIG_HOTPLUG_SMT #include <linux/cpu_smt.h> +#include <linux/cpumask.h> #include <asm/cputhreads.h> static inline bool topology_is_primary_thread (unsigned int cpu)
@@ -156,6 +157,18 @@ static inline bool topology_smt_thread_allowed(unsigned int cpu) {return cpu_thread_in_core (cpu) < cpu_smt_num_threads; } + +#define topology_is_core_online topology_is_core_online +static inline bool topology_is_core_online (unsigned int cpu) +{ +int i, first_cpu =cpu_first_thread_sibling (cpu); + +for (i = first_cpu; i < first_cpu + threads_per_core; ++i) { +if (cpu_online (i)) +return true; + } +return false; +}#endif #endif /* __KERNEL__ */
arch/powerpc/kernel/dma-iommu.c +1 -1
@@ -216,6 +216,6 @@ const struct dma_map_ops dma_iommu_ops = { .get_required_mask = dma_iommu_get_required_mask, .mmap = dma_common_mmap, .get_sgtable = dma_common_get_sgtable, - .alloc_pages = dma_common_alloc_pages, + .alloc_pages_op = dma_common_alloc_pages, .free_pages = dma_common_free_pages, };
arch/powerpc/platforms/ps3/system-bus.c +2 -2
@@ -695,7 +695,7 @@ static const struct dma_map_ops ps3_sb_dma_ops = { .unmap_page = ps3_unmap_page, .mmap = dma_common_mmap, .get_sgtable = dma_common_get_sgtable, - .alloc_pages = dma_common_alloc_pages, + .alloc_pages_op = dma_common_alloc_pages, .free_pages = dma_common_free_pages, };
@@ -709,7 +709,7 @@ static const struct dma_map_ops ps3_ioc0_dma_ops = { .unmap_page = ps3_unmap_page, .mmap = dma_common_mmap, .get_sgtable = dma_common_get_sgtable, - .alloc_pages = dma_common_alloc_pages, + .alloc_pages_op = dma_common_alloc_pages, .free_pages = dma_common_free_pages, };
arch/powerpc/platforms/pseries/papr-sysparm.c +47 -0
71 lines not on this page · raw message
arch/powerpc/platforms/pseries/vio.c +1 -1
@@ -611,7 +611,7 @@ static const struct dma_map_ops vio_dma_mapping_ops = { .get_required_mask = dma_iommu_get_required_mask, .mmap = dma_common_mmap, .get_sgtable = dma_common_get_sgtable, - .alloc_pages = dma_common_alloc_pages, + .alloc_pages_op = dma_common_alloc_pages, .free_pages = dma_common_free_pages, };
arch/powerpc/sysdev/xics/icp-native.c +2 -0
@@ -236,6 +236,8 @@ static int __init icp_native_map_one_cpu(int hw_id, unsigned long addr, rname =kasprintf (GFP_KERNEL ,"CPU %d [0x%x] Interrupt Presentation" , cpu, hw_id); +if (!rname) +return -ENOMEM ;if (!request_mem_region (addr, size, rname)) {pr_warn ("icp_native: Could not reserve ICP MMIO for CPU %d, interrupt server #0x%x\n" , cpu, hw_id);
arch/riscv/include/asm/asm.h +10 -0
@@ -164,6 +164,16 @@ REG_L x31, PT_T6(sp) .endm +/* Annotate a function as being unsuitable for kprobes. */ +#ifdef CONFIG_KPROBES +#define ASM_NOKPROBE (name) \ + .pushsection "_kprobe_blacklist", "aw"; \ + RISCV_PTR name; \ + .popsection +#else +#define ASM_NOKPROBE (name) +#endif +#endif /* __ASSEMBLY__ */ #endif /* _ASM_RISCV_ASM_H */
arch/riscv/kernel/entry.S +3 -0
@@ -105,6 +105,7 @@ _save_context: 1: tail do_trap_unknown SYM_CODE_END(handle_exception) +ASM_NOKPROBE(handle_exception) /* * The ret_from_exception must be called with interrupt disabled. Here is the
@@ -171,6 +172,7 @@ SYM_CODE_START_NOALIGN(ret_from_exception) sret #endif SYM_CODE_END(ret_from_exception) +ASM_NOKPROBE(ret_from_exception) #ifdef CONFIG_VMAP_STACK SYM_CODE_START_LOCAL(handle_kernel_stack_overflow)
@@ -206,6 +208,7 @@ SYM_CODE_START_LOCAL(handle_kernel_stack_overflow) move a0, sp tail handle_bad_stack SYM_CODE_END(handle_kernel_stack_overflow) +ASM_NOKPROBE(handle_kernel_stack_overflow) #endif SYM_CODE_START(ret_from_fork)
arch/riscv/kernel/traps.c +1 -2
@@ -311,6 +311,7 @@ asmlinkage __visible __trap_section void do_trap_ecall_u(struct pt_regs *regs) regs->epc +=4 ; regs->orig_a0 = regs->a0; + regs->a0 = -ENOSYS ;riscv_v_vstate_discard (regs);
@@ -318,8 +319,6 @@ asmlinkage __visible __trap_section void do_trap_ecall_u(struct pt_regs *regs)if (syscall >=0 && syscall < NR_syscalls)syscall_handler (regs, syscall); -else if (syscall !=-1 ) - regs->a0 = -ENOSYS ;syscall_exit_to_user_mode (regs); }else {
arch/riscv/mm/init.c +2 -2
@@ -912,7 +912,7 @@ static void __init create_kernel_page_table(pgd_t *pgdir, PMD_SIZE, PAGE_KERNEL_EXEC);/* Map the data in RAM */ - end_va = kernel_map.virt_addr +XIP_OFFSET + kernel_map.size; + end_va = kernel_map.virt_addr + kernel_map.size;for (va = kernel_map.virt_addr +XIP_OFFSET ; va < end_va; va +=PMD_SIZE ) create_pgd_mapping(pgdir, va, kernel_map.phys_addr + (va - (kernel_map.virt_addr + XIP_OFFSET)),
@@ -1081,7 +1081,7 @@ asmlinkage void __init setup_vm(uintptr_t dtb_pa) phys_ram_base =CONFIG_PHYS_RAM_BASE ; kernel_map.phys_addr = (uintptr_t )CONFIG_PHYS_RAM_BASE ; - kernel_map.size = (uintptr_t )(&_end) - (uintptr_t )(&_sdata); + kernel_map.size = (uintptr_t )(&_end) - (uintptr_t )(&_start); kernel_map.va_kernel_xip_pa_offset = kernel_map.virt_addr - kernel_map.xiprom;#else
arch/s390/include/asm/uv.h +4 -1
@@ -442,7 +442,10 @@ static inline int share(unsigned long addr, u16 cmd)if (!uv_call (0 , (u64)&uvcb))return 0 ; -return -EINVAL ; +pr_err ("%s UVC failed (rc: 0x%x, rrc: 0x%x), possible hypervisor bug.\n" , + uvcb.header.cmd ==UVC_CMD_SET_SHARED_ACCESS ?"Share" :"Unshare" , + uvcb.header.rc, uvcb.header.rrc); +panic ("System security cannot be guaranteed unless the system panics now.\n" ); }/*
arch/s390/kernel/early.c +3 -9
@@ -258,15 +258,9 @@ static inline void save_vector_registers(void)#endif } -static inline void setup_control_registers (void ) +static inline void setup_low_address_protection (void ) { -unsigned long reg; - -__ctl_store (reg,0 ,0 ); - reg |=CR0_LOW_ADDRESS_PROTECTION ; - reg |=CR0_EMERGENCY_SIGNAL_SUBMASK ; - reg |=CR0_EXTERNAL_CALL_SUBMASK ; -__ctl_load (reg,0 ,0 ); +__ctl_set_bit (0 ,28 ); }static inline void setup_access_registers (void )
@@ -314,7 +308,7 @@ void __init startup_init(void)save_vector_registers ();setup_topology ();sclp_early_detect (); -setup_control_registers (); +setup_low_address_protection ();setup_access_registers ();lockdep_on (); }
arch/s390/kernel/smp.c +2 -2
@@ -1013,12 +1013,12 @@ void __init smp_fill_possible_mask(void)void __init smp_prepare_cpus (unsigned int max_cpus) { -/* request the 0x1201 emergency signal external interrupt */ if (register_external_irq (EXT_IRQ_EMERGENCY_SIG , do_ext_call_interrupt))panic ("Couldn't request external interrupt 0x1201" ); -/* request the 0x1202 external call external interrupt */ +ctl_set_bit (0 ,14 );if (register_external_irq (EXT_IRQ_EXTERNAL_CALL , do_ext_call_interrupt))panic ("Couldn't request external interrupt 0x1202" ); +ctl_set_bit (0 ,13 ); }void __init smp_prepare_boot_cpu (void )
arch/s390/kvm/kvm-s390.h +6 -1
@@ -249,7 +249,12 @@ static inline unsigned long kvm_s390_get_gfn_end(struct kvm_memslots *slots)static inline u32 kvm_s390_get_gisa_desc (struct kvm *kvm) { -u32 gd =virt_to_phys (kvm->arch.gisa_int.origin); +u32 gd; + +if (!kvm->arch.gisa_int.origin) +return 0 ; + + gd =virt_to_phys (kvm->arch.gisa_int.origin);if (gd && sclp.has_gisaf) gd |=GISA_FORMAT1 ;
arch/x86/kernel/amd_gart_64.c +1 -1
@@ -676,7 +676,7 @@ static const struct dma_map_ops gart_dma_ops = { .get_sgtable = dma_common_get_sgtable, .dma_supported = dma_direct_supported, .get_required_mask = dma_direct_get_required_mask, - .alloc_pages = dma_direct_alloc_pages, + .alloc_pages_op = dma_direct_alloc_pages, .free_pages = dma_direct_free_pages, };
arch/x86/kernel/process.c +4 -1
@@ -1030,7 +1030,10 @@ unsigned long arch_align_stack(unsigned long sp)unsigned long arch_randomize_brk (struct mm_struct *mm) { -return randomize_page (mm->brk,0x02000000 ); +if (mmap_is_ia32 ()) +return randomize_page (mm->brk,SZ_32M ); + +return randomize_page (mm->brk,SZ_1G ); }/*
block/blk-mq-tag.c +3 -2
@@ -38,6 +38,7 @@ static void blk_mq_update_wake_batch(struct blk_mq_tags *tags,void __blk_mq_tag_busy (struct blk_mq_hw_ctx *hctx) {unsigned int users; +unsigned long flags;struct blk_mq_tags *tags = hctx->tags;/*
@@ -56,11 +57,11 @@ void __blk_mq_tag_busy(struct blk_mq_hw_ctx *hctx)return ; } -spin_lock_irq (&tags->lock); +spin_lock_irqsave (&tags->lock, flags); users = tags->active_queues +1 ;WRITE_ONCE (tags->active_queues, users);blk_mq_update_wake_batch (tags, users); -spin_unlock_irq (&tags->lock); +spin_unlock_irqrestore (&tags->lock, flags); }/*
drivers/accel/habanalabs/common/debugfs.c +7 -7
@@ -1645,19 +1645,19 @@ static void add_files_to_device(struct hl_device *hdev, struct hl_dbg_device_ent &hl_data64b_fops);debugfs_create_file ("set_power_state" , -0200 , +0644 , root, dev_entry, &hl_power_fops);debugfs_create_file ("device" , -0200 , +0644 , root, dev_entry, &hl_device_fops);debugfs_create_file ("clk_gate" , -0200 , +0644 , root, dev_entry, &hl_clk_gate_fops);
@@ -1669,13 +1669,13 @@ static void add_files_to_device(struct hl_device *hdev, struct hl_dbg_device_ent &hl_stop_on_err_fops);debugfs_create_file ("dump_security_violations" , -0644 , +0400 , root, dev_entry, &hl_security_violations_fops);debugfs_create_file ("dump_razwi_events" , -0644 , +0400 , root, dev_entry, &hl_razwi_check_fops);
@@ -1708,7 +1708,7 @@ static void add_files_to_device(struct hl_device *hdev, struct hl_dbg_device_ent &hdev->reset_info.skip_reset_on_timeout);debugfs_create_file ("state_dump" , -0600 , +0644 , root, dev_entry, &hl_state_dump_fops);
@@ -1726,7 +1726,7 @@ static void add_files_to_device(struct hl_device *hdev, struct hl_dbg_device_entfor (i =0 , entry = dev_entry->entry_arr ; i < count ; i++, entry++) {debugfs_create_file (hl_debugfs_list[i].name, -0444 , +0644 , root, entry, &hl_debugfs_fops);
drivers/accel/habanalabs/common/irq.c +3 -0
@@ -271,6 +271,9 @@ static int handle_registration_node(struct hl_device *hdev, struct hl_user_pendi free_node->cq_cb = pend->ts_reg_info.cq_cb;list_add (&free_node->free_objects_node, *free_list); +/* Mark TS record as free */ + pend->ts_reg_info.in_use = false; +return 0 ; }
drivers/accel/habanalabs/common/memory.c +11 -4
@@ -1878,16 +1878,16 @@ static int export_dmabuf(struct hl_ctx *ctx,static int validate_export_params_common (struct hl_device *hdev,u64 device_addr,u64 size) { -if (!IS_ALIGNED (device_addr,PAGE_SIZE )) { +if (!PAGE_ALIGNED (device_addr)) {dev_dbg (hdev->dev, -"exported device memory address 0x%llx should be aligned to 0x%lx\n" , +"exported device memory address 0x%llx should be aligned to PAGE_SIZE 0x%lx\n" , device_addr,PAGE_SIZE );return -EINVAL ; } -if (size <PAGE_SIZE ) { +if (!size || !PAGE_ALIGNED (size)) {dev_dbg (hdev->dev, -"exported device memory size %llu should be equal to or greater than %lu\n" , +"exported device memory size %llu should be a multiple of PAGE_SIZE %lu\n" , size,PAGE_SIZE );return -EINVAL ; }
@@ -1938,6 +1938,13 @@ static int validate_export_params(struct hl_device *hdev, u64 device_addr, u64 sif (rc)return rc; +if (!PAGE_ALIGNED (offset)) { +dev_dbg (hdev->dev, +"exported device memory offset %llu should be a multiple of PAGE_SIZE %lu\n" , + offset,PAGE_SIZE ); +return -EINVAL ; + } +if ((offset + size) > phys_pg_pack->total_size) {dev_dbg (hdev->dev,"offset %#llx and size %#llx exceed total map size %#llx\n" , offset, size, phys_pg_pack->total_size);
drivers/accel/habanalabs/gaudi2/gaudi2_security.c +1 -0
@@ -1601,6 +1601,7 @@ static const u32 gaudi2_pb_dcr0_tpc0_unsecured_regs[] = { mmDCORE0_TPC0_CFG_KERNEL_SRF_30, mmDCORE0_TPC0_CFG_KERNEL_SRF_31, mmDCORE0_TPC0_CFG_TPC_SB_L0CD, + mmDCORE0_TPC0_CFG_TPC_COUNT, mmDCORE0_TPC0_CFG_TPC_ID, mmDCORE0_TPC0_CFG_QM_KERNEL_ID_INC, mmDCORE0_TPC0_CFG_QM_TID_BASE_SIZE_HIGH_DIM_0,
drivers/acpi/acpica/acevents.h +1 -5
@@ -188,13 +188,9 @@ acpi_ev_detach_region(union acpi_operand_object *region_obj, u8 acpi_ns_is_locked);void -acpi_ev_execute_reg_methods (struct acpi_namespace_node *node, +acpi_ev_execute_reg_methods (struct acpi_namespace_node *node,u32 max_depth,acpi_adr_space_type space_id,u32 function); -void -acpi_ev_execute_orphan_reg_method (struct acpi_namespace_node *node, -acpi_adr_space_type space_id); -acpi_status acpi_ev_execute_reg_method (union acpi_operand_object *region_obj,u32 function);
drivers/acpi/acpica/evregion.c +9 -3
@@ -20,6 +20,10 @@ extern u8 acpi_gbl_default_address_spaces[];/* Local prototypes */ +static void +acpi_ev_execute_orphan_reg_method (struct acpi_namespace_node *device_node, +acpi_adr_space_type space_id); +static acpi_status acpi_ev_reg_run (acpi_handle obj_handle,u32 level,void *context,void **return_value);
@@ -61,6 +65,7 @@ acpi_status acpi_ev_initialize_op_regions(void) acpi_gbl_default_address_spaces [i])) {acpi_ev_execute_reg_methods (acpi_gbl_root_node, +ACPI_UINT32_MAX , acpi_gbl_default_address_spaces [i],ACPI_REG_CONNECT ); }
@@ -668,6 +673,7 @@ acpi_ev_execute_reg_method(union acpi_operand_object *region_obj, u32 function)* FUNCTION: acpi_ev_execute_reg_methods * * PARAMETERS: node - Namespace node for the device +* max_depth - Depth to which search for _REG * space_id - The address space ID * function - Passed to _REG: On (1) or Off (0) *
@@ -679,7 +685,7 @@ acpi_ev_execute_reg_method(union acpi_operand_object *region_obj, u32 function)******************************************************************************/ void -acpi_ev_execute_reg_methods (struct acpi_namespace_node *node, +acpi_ev_execute_reg_methods (struct acpi_namespace_node *node,u32 max_depth,acpi_adr_space_type space_id,u32 function) {struct acpi_reg_walk_info info;
@@ -713,7 +719,7 @@ acpi_ev_execute_reg_methods(struct acpi_namespace_node *node,* regions and _REG methods. (i.e. handlers must be installed for all * regions of this Space ID before we can run any _REG methods) */ - (void )acpi_ns_walk_namespace (ACPI_TYPE_ANY , node,ACPI_UINT32_MAX , + (void )acpi_ns_walk_namespace (ACPI_TYPE_ANY , node, max_depth,ACPI_NS_WALK_UNLOCK , acpi_ev_reg_run,NULL , &info,NULL );
@@ -814,7 +820,7 @@ acpi_ev_reg_run(acpi_handle obj_handle,* ******************************************************************************/ -void +static void acpi_ev_execute_orphan_reg_method (struct acpi_namespace_node *device_node,acpi_adr_space_type space_id) {
drivers/acpi/acpica/evxfregn.c +7 -57
91 lines not on this page · raw message
drivers/acpi/ec.c +9 -5
@@ -1487,12 +1487,13 @@ static bool install_gpio_irq_event_handler(struct acpi_ec *ec)static int ec_install_handlers (struct acpi_ec *ec,struct acpi_device *device,bool call_reg) { -acpi_handle scope_handle = ec == first_ec ?ACPI_ROOT_OBJECT : ec->handle;acpi_status status;acpi_ec_start (ec, false);if (!test_bit (EC_FLAGS_EC_HANDLER_INSTALLED , &ec->flags)) { +acpi_handle scope_handle = ec == first_ec ?ACPI_ROOT_OBJECT : ec->handle; +acpi_ec_enter_noirq (ec); status = acpi_install_address_space_handler_no_reg(scope_handle, ACPI_ADR_SPACE_EC,
@@ -1506,10 +1507,7 @@ static int ec_install_handlers(struct acpi_ec *ec, struct acpi_device *device, }if (call_reg && !test_bit (EC_FLAGS_EC_REG_CALLED , &ec->flags)) { -acpi_execute_reg_methods (scope_handle,ACPI_ADR_SPACE_EC ); -if (scope_handle != ec->handle) -acpi_execute_orphan_reg_method (ec->handle,ACPI_ADR_SPACE_EC ); - +acpi_execute_reg_methods (ec->handle,ACPI_UINT32_MAX ,ACPI_ADR_SPACE_EC );set_bit (EC_FLAGS_EC_REG_CALLED , &ec->flags); }
@@ -1724,6 +1722,12 @@ static void acpi_ec_remove(struct acpi_device *device) } } +void acpi_ec_register_opregions (struct acpi_device *adev) +{ +if (first_ec && first_ec->handle != adev->handle) +acpi_execute_reg_methods (adev->handle,1 ,ACPI_ADR_SPACE_EC ); +} +static acpi_status ec_parse_io_ports (struct acpi_resource *resource,void *context) {
drivers/acpi/internal.h +1 -0
@@ -204,6 +204,7 @@ int acpi_ec_add_query_handler(struct acpi_ec *ec, u8 query_bit, acpi_handle handle, acpi_ec_query_func func, void *data);void acpi_ec_remove_query_handler (struct acpi_ec *ec,u8 query_bit); +void acpi_ec_register_opregions (struct acpi_device *adev);#ifdef CONFIG_PM_SLEEP void acpi_ec_flush_work (void );
drivers/acpi/scan.c +2 -0
@@ -2198,6 +2198,8 @@ static int acpi_bus_attach(struct acpi_device *device, void *first_pass)if (device->handler) goto ok; +acpi_ec_register_opregions (device); +if (!device->flags.initialized) { device->flags.power_manageable = device->power.states[ACPI_STATE_D0 ].flags.valid;
drivers/atm/idt77252.c +5 -4
@@ -1118,8 +1118,8 @@ dequeue_rx(struct idt77252_dev *card, struct rsq_entry *rsqe) rpp->len += skb->len;if (stat &SAR_RSQE_EPDU ) { +unsigned int len, truesize;unsigned char *l1l2; -unsigned int len; l1l2 = (unsigned char *) ((unsigned long ) skb->data + skb->len -6 );
@@ -1189,14 +1189,15 @@ dequeue_rx(struct idt77252_dev *card, struct rsq_entry *rsqe)ATM_SKB (skb)->vcc = vcc;__net_timestamp (skb); + truesize = skb->truesize; vcc->push (vcc, skb);atomic_inc (&vcc->stats->rx); -if (skb->truesize >SAR_FB_SIZE_3 ) +if (truesize >SAR_FB_SIZE_3 )add_rx_skb (card,3 ,SAR_FB_SIZE_3 ,1 ); -else if (skb->truesize >SAR_FB_SIZE_2 ) +else if (truesize >SAR_FB_SIZE_2 )add_rx_skb (card,2 ,SAR_FB_SIZE_2 ,1 ); -else if (skb->truesize >SAR_FB_SIZE_1 ) +else if (truesize >SAR_FB_SIZE_1 )add_rx_skb (card,1 ,SAR_FB_SIZE_1 ,1 );else add_rx_skb (card,0 ,SAR_FB_SIZE_0 ,1 );
drivers/char/xillybus/xillyusb.c +34 -8
116 lines not on this page · raw message
drivers/clk/visconti/pll.c +3 -3
@@ -329,12 +329,12 @@ struct visconti_pll_provider * __init visconti_init_pll(struct device_node *np,if (!ctx)return ERR_PTR (-ENOMEM ); -for (i =0 ; i < nr_plls; ++i) - ctx->clk_data.hws[i] =ERR_PTR (-ENOENT ); - ctx->node = np; ctx->reg_base = base; ctx->clk_data.num = nr_plls; +for (i =0 ; i < nr_plls; ++i) + ctx->clk_data.hws[i] =ERR_PTR (-ENOENT ); +return ctx; }
drivers/clocksource/arm_global_timer.c +5 -6
@@ -290,18 +290,17 @@ static int gt_clk_rate_change_cb(struct notifier_block *nb,switch (event) {case PRE_RATE_CHANGE : { -int psv; +unsigned long psv; - psv =DIV_ROUND_CLOSEST (ndata->new_rate, - gt_target_rate); - -if (abs (gt_target_rate - (ndata->new_rate / psv)) >MAX_F_ERR ) + psv =DIV_ROUND_CLOSEST (ndata->new_rate, gt_target_rate); +if (!psv || +abs (gt_target_rate - (ndata->new_rate / psv)) >MAX_F_ERR )return NOTIFY_BAD ; psv--;/* prescaler within legal range? */ -if (psv <0 || psv >GT_CONTROL_PRESCALER_MAX ) +if (psv >GT_CONTROL_PRESCALER_MAX )return NOTIFY_BAD ;/*
drivers/edac/skx_common.c +4 -0
@@ -659,6 +659,10 @@ int skx_mce_check_error(struct notifier_block *nb, unsigned long val,memset (&res,0 ,sizeof (res)); res.mce = mce; res.addr = mce->addr &MCI_ADDR_PHYSADDR ; +if (!pfn_to_online_page (res.addr >>PAGE_SHIFT ) && !arch_is_platform_page (res.addr)) { +pr_err ("Invalid address 0x%llx in IA32_MC%d_ADDR\n" , mce->addr, mce->bank); +return NOTIFY_DONE ; + }/* Try driver decoder first */ if (!(driver_decode &&driver_decode (&res))) {
drivers/firmware/cirrus/cs_dsp.c +6 -1
@@ -522,7 +522,7 @@ void cs_dsp_cleanup_debugfs(struct cs_dsp *dsp) {cs_dsp_debugfs_clear (dsp);debugfs_remove_recursive (dsp->debugfs_root); - dsp->debugfs_root =NULL ; + dsp->debugfs_root =ERR_PTR (-ENODEV ); }EXPORT_SYMBOL_NS_GPL (cs_dsp_cleanup_debugfs,FW_CS_DSP );#else
@@ -2343,6 +2343,11 @@ static int cs_dsp_common_init(struct cs_dsp *dsp)mutex_init (&dsp->pwr_lock); +#ifdef CONFIG_DEBUG_FS +/* Ensure this is invalid if client never provides a debugfs root */ + dsp->debugfs_root =ERR_PTR (-ENODEV ); +#endif +return 0 ; }
drivers/gpio/gpio-mlxbf3.c +14 -0
@@ -39,6 +39,8 @@#define MLXBF_GPIO_CAUSE_OR_EVTEN0 0x14#define MLXBF_GPIO_CAUSE_OR_CLRCAUSE 0x18 +#define MLXBF_GPIO_CLR_ALL_INTS GENMASK(31, 0) +struct mlxbf3_gpio_context {struct gpio_chip gc;
@@ -82,6 +84,8 @@ static void mlxbf3_gpio_irq_disable(struct irq_data *irqd) val =readl (gs->gpio_cause_io +MLXBF_GPIO_CAUSE_OR_EVTEN0 ); val &= ~BIT (offset);writel (val, gs->gpio_cause_io +MLXBF_GPIO_CAUSE_OR_EVTEN0 ); + +writel (BIT (offset), gs->gpio_cause_io +MLXBF_GPIO_CAUSE_OR_CLRCAUSE );raw_spin_unlock_irqrestore (&gs->gc.bgpio_lock, flags);gpiochip_disable_irq (gc, offset);
@@ -253,6 +257,15 @@ static int mlxbf3_gpio_probe(struct platform_device *pdev)return 0 ; } +static void mlxbf3_gpio_shutdown (struct platform_device *pdev) +{ +struct mlxbf3_gpio_context *gs =platform_get_drvdata (pdev); + +/* Disable and clear all interrupts */ +writel (0 , gs->gpio_cause_io +MLXBF_GPIO_CAUSE_OR_EVTEN0 ); +writel (MLXBF_GPIO_CLR_ALL_INTS , gs->gpio_cause_io +MLXBF_GPIO_CAUSE_OR_CLRCAUSE ); +} +static const struct acpi_device_id mlxbf3_gpio_acpi_match[] = { {"MLNXBF33" ,0 }, {}
@@ -265,6 +278,7 @@ static struct platform_driver mlxbf3_gpio_driver = { .acpi_match_table = mlxbf3_gpio_acpi_match, }, .probe = mlxbf3_gpio_probe, + .shutdown = mlxbf3_gpio_shutdown, };module_platform_driver (mlxbf3_gpio_driver);
drivers/gpio/gpiolib-sysfs.c +8 -7
@@ -1,6 +1,7 @@// SPDX-License-Identifier: GPL-2.0 #include <linux/bitops.h> +#include <linux/cleanup.h> #include <linux/device.h> #include <linux/idr.h> #include <linux/init.h>
@@ -774,15 +775,15 @@ void gpiochip_sysfs_unregister(struct gpio_device *gdev)struct gpio_desc *desc;struct gpio_chip *chip = gdev->chip; -if (!gdev->mockdev) -return ; + scoped_guard(mutex, &sysfs_lock) { +if (!gdev->mockdev) +return ; -device_unregister (gdev->mockdev); +device_unregister (gdev->mockdev); -/* prevent further gpiod exports */ -mutex_lock (&sysfs_lock); - gdev->mockdev =NULL ; -mutex_unlock (&sysfs_lock); +/* prevent further gpiod exports */ + gdev->mockdev =NULL ; + }/* unregister gpiod class devices owned by sysfs */ for_each_gpio_desc_with_flag (chip, desc,FLAG_SYSFS ) {
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h +1 -0
@@ -303,6 +303,7 @@ int amdgpu_amdkfd_gpuvm_map_memory_to_gpu(struct amdgpu_device *adev, struct kgd_mem *mem, void *drm_priv);int amdgpu_amdkfd_gpuvm_unmap_memory_from_gpu (struct amdgpu_device *adev,struct kgd_mem *mem,void *drm_priv); +int amdgpu_amdkfd_gpuvm_dmaunmap_mem (struct kgd_mem *mem,void *drm_priv);int amdgpu_amdkfd_gpuvm_sync_memory (struct amdgpu_device *adev,struct kgd_mem *mem,bool intr); int amdgpu_amdkfd_gpuvm_map_gtt_bo_to_kernel(struct kgd_mem *mem,
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c +36 -4
@@ -733,7 +733,7 @@ kfd_mem_dmaunmap_sg_bo(struct kgd_mem *mem,enum dma_data_direction dir;if (unlikely (!ttm->sg)) { -pr_err ("SG Table of BO is UNEXPECTEDLY NULL" ); +pr_debug ("SG Table of BO is NULL" );return ; }
@@ -1202,8 +1202,6 @@ static void unmap_bo_from_gpuvm(struct kgd_mem *mem,amdgpu_vm_clear_freed (adev, vm, &bo_va->last_pt_update);amdgpu_sync_fence (sync, bo_va->last_pt_update); - -kfd_mem_dmaunmap_attachment (mem, entry); } static int update_gpuvm_pte(struct kgd_mem *mem,
@@ -1258,6 +1256,7 @@ static int map_bo_to_gpuvm(struct kgd_mem *mem, update_gpuvm_pte_failed:unmap_bo_from_gpuvm (mem, entry, sync); +kfd_mem_dmaunmap_attachment (mem, entry);return ret; }
@@ -1862,8 +1861,10 @@ int amdgpu_amdkfd_gpuvm_free_memory_of_gpu( mem->va + bo_size * (1 + mem->aql_queue));/* Remove from VM internal data structures */ -list_for_each_entry_safe (entry, tmp, &mem->attachments, list) +list_for_each_entry_safe (entry, tmp, &mem->attachments, list) { +kfd_mem_dmaunmap_attachment (mem, entry);kfd_mem_detach (entry); + } ret =unreserve_bo_and_vms (&ctx, false, false);
@@ -2037,6 +2038,37 @@ int amdgpu_amdkfd_gpuvm_map_memory_to_gpu(return ret; } +int amdgpu_amdkfd_gpuvm_dmaunmap_mem (struct kgd_mem *mem,void *drm_priv) +{ +struct kfd_mem_attachment *entry; +struct amdgpu_vm *vm; +int ret; + + vm =drm_priv_to_vm (drm_priv); + +mutex_lock (&mem->lock); + + ret =amdgpu_bo_reserve (mem->bo, true); +if (ret) + goto out; + +list_for_each_entry (entry, &mem->attachments, list) { +if (entry->bo_va->base.vm != vm) +continue ; +if (entry->bo_va->base.bo->tbo.ttm && + !entry->bo_va->base.bo->tbo.ttm->sg) +continue ; + +kfd_mem_dmaunmap_attachment (mem, entry); + } + +amdgpu_bo_unreserve (mem->bo); +out: +mutex_unlock (&mem->lock); + +return ret; +} +int amdgpu_amdkfd_gpuvm_unmap_memory_from_gpu (struct amdgpu_device *adev,struct kgd_mem *mem,void *drm_priv) {
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c +3 -0
@@ -1057,6 +1057,9 @@ static int amdgpu_cs_patch_ibs(struct amdgpu_cs_parser *p, r =amdgpu_ring_parse_cs (ring, p, job, ib);if (r)return r; + +if (ib->sa_bo) + ib->gpu_addr =amdgpu_sa_bo_gpu_addr (ib->sa_bo); }else { ib->ptr = (uint32_t *)kptr; r =amdgpu_ring_patch_cs_in_place (ring, p, job, ib);
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c +8 -0
@@ -684,16 +684,24 @@ int amdgpu_ctx_ioctl(struct drm_device *dev, void *data,switch (args->in.op) {case AMDGPU_CTX_OP_ALLOC_CTX : +if (args->in.flags) +return -EINVAL ; r =amdgpu_ctx_alloc (adev, fpriv, filp, priority, &id); args->out.alloc.ctx_id = id;break ;case AMDGPU_CTX_OP_FREE_CTX : +if (args->in.flags) +return -EINVAL ; r =amdgpu_ctx_free (fpriv, id);break ;case AMDGPU_CTX_OP_QUERY_STATE : +if (args->in.flags) +return -EINVAL ; r =amdgpu_ctx_query (adev, fpriv, id, &args->out);break ;case AMDGPU_CTX_OP_QUERY_STATE2 : +if (args->in.flags) +return -EINVAL ; r =amdgpu_ctx_query2 (adev, fpriv, id, &args->out);break ;case AMDGPU_CTX_OP_GET_STABLE_PSTATE :
drivers/gpu/drm/amd/amdgpu/amdgpu_psp_ta.c +3 -0
@@ -166,6 +166,9 @@ static ssize_t ta_if_load_debugfs_write(struct file *fp, const char *buf, size_tif (ret)return -EFAULT ; +if (ta_bin_len >PSP_1_MEG ) +return -EINVAL ; + copy_pos +=sizeof (uint32_t ); ta_bin =kzalloc (ta_bin_len,GFP_KERNEL );
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c +26 -27
156 lines not on this page · raw message
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h +1 -0
@@ -284,6 +284,7 @@ struct amdgpu_vcn {uint16_t inst_mask;uint8_t num_inst_per_aid; +bool using_unified_queue; };struct amdgpu_fw_shared_rb_ptrs_struct {
drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c +5 -1
@@ -766,11 +766,15 @@ int amdgpu_vm_pde_update(struct amdgpu_vm_update_params *params, struct amdgpu_vm_bo_base *entry) {struct amdgpu_vm_bo_base *parent =amdgpu_vm_pt_parent (entry); -struct amdgpu_bo *bo = parent->bo, *pbo; +struct amdgpu_bo *bo, *pbo;struct amdgpu_vm *vm = params->vm;uint64_t pde, pt, flags;unsigned int level; +if (WARN_ON (!parent)) +return -EINVAL ; + + bo = parent->bo;for (level =0 , pbo = bo->parent; pbo; ++level) pbo = pbo->parent;
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c +3 -10
@@ -7892,22 +7892,15 @@ static int gfx_v10_0_update_gfx_clock_gating(struct amdgpu_device *adev,static void gfx_v10_0_update_spm_vmid_internal (struct amdgpu_device *adev,unsigned int vmid) { -u32 reg, data; +u32 data;/* not for *_SOC15 */ - reg =SOC15_REG_OFFSET (GC ,0 , mmRLC_SPM_MC_CNTL); -if (amdgpu_sriov_is_pp_one_vf (adev)) - data =RREG32_NO_KIQ (reg); -else - data =RREG32_SOC15 (GC ,0 , mmRLC_SPM_MC_CNTL); + data =RREG32_SOC15_NO_KIQ (GC ,0 , mmRLC_SPM_MC_CNTL); data &= ~RLC_SPM_MC_CNTL__RLC_SPM_VMID_MASK ; data |= (vmid &RLC_SPM_MC_CNTL__RLC_SPM_VMID_MASK ) <<RLC_SPM_MC_CNTL__RLC_SPM_VMID__SHIFT ; -if (amdgpu_sriov_is_pp_one_vf (adev)) -WREG32_SOC15_NO_KIQ (GC ,0 , mmRLC_SPM_MC_CNTL, data); -else -WREG32_SOC15 (GC ,0 , mmRLC_SPM_MC_CNTL, data); +WREG32_SOC15_NO_KIQ (GC ,0 , mmRLC_SPM_MC_CNTL, data); }static void gfx_v10_0_update_spm_vmid (struct amdgpu_device *adev,unsigned int vmid)
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c +3 -10
@@ -4961,23 +4961,16 @@ static int gfx_v11_0_update_gfx_clock_gating(struct amdgpu_device *adev,static void gfx_v11_0_update_spm_vmid (struct amdgpu_device *adev,unsigned vmid) { -u32 reg, data; +u32 data;amdgpu_gfx_off_ctrl (adev, false); - reg =SOC15_REG_OFFSET (GC ,0 , regRLC_SPM_MC_CNTL); -if (amdgpu_sriov_is_pp_one_vf (adev)) - data =RREG32_NO_KIQ (reg); -else - data =RREG32 (reg); + data =RREG32_SOC15_NO_KIQ (GC ,0 , regRLC_SPM_MC_CNTL); data &= ~RLC_SPM_MC_CNTL__RLC_SPM_VMID_MASK ; data |= (vmid &RLC_SPM_MC_CNTL__RLC_SPM_VMID_MASK ) <<RLC_SPM_MC_CNTL__RLC_SPM_VMID__SHIFT ; -if (amdgpu_sriov_is_pp_one_vf (adev)) -WREG32_SOC15_NO_KIQ (GC ,0 , regRLC_SPM_MC_CNTL, data); -else -WREG32_SOC15 (GC ,0 , regRLC_SPM_MC_CNTL, data); +WREG32_SOC15_NO_KIQ (GC ,0 , regRLC_SPM_MC_CNTL, data);amdgpu_gfx_off_ctrl (adev, true); }
drivers/gpu/drm/amd/amdgpu/imu_v11_0.c +1 -1
@@ -39,7 +39,7 @@ MODULE_FIRMWARE("amdgpu/gc_11_0_4_imu.bin");static int imu_v11_0_init_microcode (struct amdgpu_device *adev) { -char fw_name[40 ]; +char fw_name[45 ];char ucode_prefix[30 ];int err;const struct imu_firmware_header_v1_0 *imu_hdr;
drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c +2 -2
@@ -543,11 +543,11 @@ void jpeg_v2_0_dec_ring_emit_ib(struct amdgpu_ring *ring,amdgpu_ring_write (ring,PACKETJ (mmUVD_LMI_JRBC_IB_VMID_INTERNAL_OFFSET,0 ,0 ,PACKETJ_TYPE0 )); -amdgpu_ring_write (ring, (vmid | (vmid <<4 ))); +amdgpu_ring_write (ring, (vmid | (vmid <<4 ) | (vmid <<8 )));amdgpu_ring_write (ring,PACKETJ (mmUVD_LMI_JPEG_VMID_INTERNAL_OFFSET,0 ,0 ,PACKETJ_TYPE0 )); -amdgpu_ring_write (ring, (vmid | (vmid <<4 ))); +amdgpu_ring_write (ring, (vmid | (vmid <<4 ) | (vmid <<8 )));amdgpu_ring_write (ring,PACKETJ (mmUVD_LMI_JRBC_IB_64BIT_BAR_LOW_INTERNAL_OFFSET,0 ,0 ,PACKETJ_TYPE0 ));
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c +61 -2
87 lines not on this page · raw message
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.h +6 -0
@@ -46,6 +46,12 @@#define JRBC_DEC_EXTERNAL_REG_WRITE_ADDR 0x18000 +#define JPEG_REG_RANGE_START 0x4000 +#define JPEG_REG_RANGE_END 0x41c2 +extern const struct amdgpu_ip_block_version jpeg_v4_0_3_ip_block; +int jpeg_v4_0_3_dec_ring_parse_cs (struct amdgpu_cs_parser *parser, +struct amdgpu_job *job, +struct amdgpu_ib *ib);#endif /* __JPEG_V4_0_3_H__ */
drivers/gpu/drm/amd/amdgpu/soc15d.h +6 -0
@@ -76,6 +76,12 @@ ((cond & 0xF) << 24) | \ ((type & 0xF) << 28)) +#define CP_PACKETJ_NOP 0x60000000 +#define CP_PACKETJ_GET_REG (x) ((x) & 0x3FFFF) +#define CP_PACKETJ_GET_RES (x) (((x) >> 18) & 0x3F) +#define CP_PACKETJ_GET_COND (x) (((x) >> 24) & 0xF) +#define CP_PACKETJ_GET_TYPE (x) (((x) >> 28) & 0xF) +/* Packet 3 types */ #define PACKET3_NOP 0x10#define PACKET3_SET_BASE 0x11
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c +14 -8
@@ -1432,17 +1432,23 @@ static int kfd_ioctl_unmap_memory_from_gpu(struct file *filep, goto sync_memory_failed; } } -mutex_unlock (&p->mutex); -if (flush_tlb) { -/* Flush TLBs after waiting for the page table updates to complete */ -for (i =0 ; i < args->n_devices; i++) { - peer_pdd =kfd_process_device_data_by_id (p, devices_arr[i]); -if (WARN_ON_ONCE (!peer_pdd)) -continue ; +/* Flush TLBs after waiting for the page table updates to complete */ +for (i =0 ; i < args->n_devices; i++) { + peer_pdd =kfd_process_device_data_by_id (p, devices_arr[i]); +if (WARN_ON_ONCE (!peer_pdd)) +continue ; +if (flush_tlb)kfd_flush_tlb (peer_pdd,TLB_FLUSH_HEAVYWEIGHT ); - } + +/* Remove dma mapping after tlb flush to avoid IO_PAGE_FAULT */ + err =amdgpu_amdkfd_gpuvm_dmaunmap_mem (mem, peer_pdd->drm_priv); +if (err) + goto sync_memory_failed; } + +mutex_unlock (&p->mutex); +kfree (devices_arr);return 0 ;
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c +2 -2
@@ -3521,7 +3521,7 @@ void dcn10_set_cursor_position(struct pipe_ctx *pipe_ctx) (int)hubp->curs_attr.width || pos_cpy.x <= (int)hubp->curs_attr.width + pipe_ctx->plane_state->src_rect.x) { - pos_cpy.x = temp_x + viewport_width; + pos_cpy.x =2 * viewport_width - temp_x; } } }else {
@@ -3614,7 +3614,7 @@ void dcn10_set_cursor_position(struct pipe_ctx *pipe_ctx) (int)hubp->curs_attr.width || pos_cpy.x <= (int)hubp->curs_attr.width + pipe_ctx->plane_state->src_rect.x) { - pos_cpy.x =2 * viewport_width - temp_x; + pos_cpy.x = temp_x + viewport_width; } } }else {
drivers/gpu/drm/amd/display/dc/dcn321/dcn321_resource.c +3 -0
@@ -1756,6 +1756,9 @@ static bool dcn321_resource_construct( dc->caps.color.mpc.ogam_rom_caps.hlg =0 ; dc->caps.color.mpc.ocsc =1 ; +/* Use pipe context based otg sync logic */ + dc->config.use_pipe_ctx_sync_logic = true; + dc->config.dc_mode_clk_limit_support = true;/* read VBIOS LTTPR caps */ {
drivers/gpu/drm/amd/pm/amdgpu_pm.c +7 -7
@@ -1471,9 +1471,9 @@ static ssize_t amdgpu_set_pp_power_profile_mode(struct device *dev,return -EINVAL ; } -static unsigned int amdgpu_hwmon_get_sensor_generic (struct amdgpu_device *adev, -enum amd_pp_sensors sensor, -void *query) +static int amdgpu_hwmon_get_sensor_generic (struct amdgpu_device *adev, +enum amd_pp_sensors sensor, +void *query) {int r, size =sizeof (uint32_t );
@@ -2787,8 +2787,8 @@ static ssize_t amdgpu_hwmon_show_vddnb_label(struct device *dev,return sysfs_emit (buf,"vddnb\n" ); } -static unsigned int amdgpu_hwmon_get_power (struct device *dev, -enum amd_pp_sensors sensor) +static int amdgpu_hwmon_get_power (struct device *dev, +enum amd_pp_sensors sensor) {struct amdgpu_device *adev =dev_get_drvdata (dev);unsigned int uw;
@@ -2809,7 +2809,7 @@ static ssize_t amdgpu_hwmon_show_power_avg(struct device *dev,struct device_attribute *attr, char *buf) { - unsigned int val; + int val; val =amdgpu_hwmon_get_power (dev,AMDGPU_PP_SENSOR_GPU_AVG_POWER );if (val <0 )
@@ -2822,7 +2822,7 @@ static ssize_t amdgpu_hwmon_show_power_input(struct device *dev,struct device_attribute *attr, char *buf) { - unsigned int val; + int val; val =amdgpu_hwmon_get_power (dev,AMDGPU_PP_SENSOR_GPU_INPUT_POWER );if (val <0 )
drivers/gpu/drm/bridge/tc358768.c +185 -28
290 lines not on this page · raw message
drivers/gpu/drm/lima/lima_gp.c +12 -0
@@ -166,6 +166,11 @@ static void lima_gp_task_run(struct lima_sched_pipe *pipe,gp_write (LIMA_GP_CMD , cmd); } +static int lima_gp_bus_stop_poll (struct lima_ip *ip) +{ +return !!(gp_read (LIMA_GP_STATUS ) &LIMA_GP_STATUS_BUS_STOPPED ); +} +static int lima_gp_hard_reset_poll (struct lima_ip *ip) {gp_write (LIMA_GP_PERF_CNT_0_LIMIT ,0xC01A0000 );
@@ -179,6 +184,13 @@ static int lima_gp_hard_reset(struct lima_ip *ip)gp_write (LIMA_GP_PERF_CNT_0_LIMIT ,0xC0FFE000 );gp_write (LIMA_GP_INT_MASK ,0 ); + +gp_write (LIMA_GP_CMD ,LIMA_GP_CMD_STOP_BUS ); + ret =lima_poll_timeout (ip, lima_gp_bus_stop_poll,10 ,100 ); +if (ret) { +dev_err (dev->dev,"%s bus stop timeout\n" ,lima_ip_name (ip)); +return ret; + }gp_write (LIMA_GP_CMD ,LIMA_GP_CMD_RESET ); ret =lima_poll_timeout (ip, lima_gp_hard_reset_poll,10 ,100 );if (ret) {
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c +68 -28
171 lines not on this page · raw message
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.h +3 -19
@@ -93,25 +93,9 @@ void dpu_encoder_kickoff(struct drm_encoder *encoder);*/ int dpu_encoder_vsync_time (struct drm_encoder *drm_enc,ktime_t *wakeup_time); -/** -* dpu_encoder_wait_for_event - Waits for encoder events -* @encoder: encoder pointer -* @event: event to wait for -* MSM_ENC_COMMIT_DONE - Wait for hardware to have flushed the current pending -* frames to hardware at a vblank or ctl_start -* Encoders will map this differently depending on the -* panel type. -* vid mode -> vsync_irq -* cmd mode -> ctl_start -* MSM_ENC_TX_COMPLETE - Wait for the hardware to transfer all the pixels to -* the panel. Encoders will map this differently -* depending on the panel type. -* vid mode -> vsync_irq -* cmd mode -> pp_done -* Returns: 0 on success, -EWOULDBLOCK if already signaled, error otherwise -*/ -int dpu_encoder_wait_for_event (struct drm_encoder *drm_encoder, -enum msm_event_wait event); +int dpu_encoder_wait_for_commit_done (struct drm_encoder *drm_encoder); + +int dpu_encoder_wait_for_tx_complete (struct drm_encoder *drm_encoder);/* * dpu_encoder_get_intf_mode - get interface mode of the given encoder
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys.h +5 -4
@@ -106,7 +106,6 @@ struct dpu_encoder_phys_ops {int (*control_vblank_irq)(struct dpu_encoder_phys *enc,bool enable);int (*wait_for_commit_done)(struct dpu_encoder_phys *phys_enc);int (*wait_for_tx_complete)(struct dpu_encoder_phys *phys_enc); -int (*wait_for_vblank)(struct dpu_encoder_phys *phys_enc);void (*prepare_for_kickoff)(struct dpu_encoder_phys *phys_enc);void (*handle_post_kickoff)(struct dpu_encoder_phys *phys_enc);void (*trigger_start)(struct dpu_encoder_phys *phys_enc);
@@ -281,22 +280,24 @@ struct dpu_encoder_wait_info {* @p: Pointer to init params structure * Return: Error code or newly allocated encoder */ -struct dpu_encoder_phys *dpu_encoder_phys_vid_init ( +struct dpu_encoder_phys *dpu_encoder_phys_vid_init (struct drm_device *dev,struct dpu_enc_phys_init_params *p);/** * dpu_encoder_phys_cmd_init - Construct a new command mode physical encoder +* @dev: Corresponding device for devres management * @p: Pointer to init params structure * Return: Error code or newly allocated encoder */ -struct dpu_encoder_phys *dpu_encoder_phys_cmd_init ( +struct dpu_encoder_phys *dpu_encoder_phys_cmd_init (struct drm_device *dev,struct dpu_enc_phys_init_params *p);/** * dpu_encoder_phys_wb_init - initialize writeback encoder +* @dev: Corresponding device for devres management * @init: Pointer to init info structure with initialization params */ -struct dpu_encoder_phys *dpu_encoder_phys_wb_init ( +struct dpu_encoder_phys *dpu_encoder_phys_wb_init (struct drm_device *dev,struct dpu_enc_phys_init_params *p);/**
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c +4 -39
83 lines not on this page · raw message
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c +8 -14
@@ -11,6 +11,8 @@#include "dpu_trace.h" #include "disp/msm_disp_snapshot.h" +#include <drm/drm_managed.h> +#define DPU_DEBUG_VIDENC (e, fmt, ...) DPU_DEBUG("enc%d intf%d " fmt, \ (e) && (e)->parent ? \ (e)->parent->base.id : -1, \
@@ -441,13 +443,7 @@ static void dpu_encoder_phys_vid_enable(struct dpu_encoder_phys *phys_enc) phys_enc->enable_state =DPU_ENC_ENABLING ; } -static void dpu_encoder_phys_vid_destroy (struct dpu_encoder_phys *phys_enc) -{ -DPU_DEBUG_VIDENC (phys_enc,"\n" ); -kfree (phys_enc); -} - -static int dpu_encoder_phys_vid_wait_for_vblank ( +static int dpu_encoder_phys_vid_wait_for_tx_complete (struct dpu_encoder_phys *phys_enc) {struct dpu_encoder_wait_info wait_info;
@@ -561,7 +557,7 @@ static void dpu_encoder_phys_vid_disable(struct dpu_encoder_phys *phys_enc)* scanout buffer) don't latch properly.. */ if (dpu_encoder_phys_vid_is_master (phys_enc)) { - ret =dpu_encoder_phys_vid_wait_for_vblank (phys_enc); + ret =dpu_encoder_phys_vid_wait_for_tx_complete (phys_enc);if (ret) {atomic_set (&phys_enc->pending_kickoff_cnt,0 ); DRM_ERROR("wait disable failed: id:%u intf:%d ret:%d\n",
@@ -581,7 +577,7 @@ static void dpu_encoder_phys_vid_disable(struct dpu_encoder_phys *phys_enc)spin_lock_irqsave (phys_enc->enc_spinlock, lock_flags);dpu_encoder_phys_inc_pending (phys_enc);spin_unlock_irqrestore (phys_enc->enc_spinlock, lock_flags); - ret =dpu_encoder_phys_vid_wait_for_vblank (phys_enc); + ret =dpu_encoder_phys_vid_wait_for_tx_complete (phys_enc);if (ret) {atomic_set (&phys_enc->pending_kickoff_cnt,0 ); DRM_ERROR("wait disable failed: id:%u intf:%d ret:%d\n",
@@ -684,11 +680,9 @@ static void dpu_encoder_phys_vid_init_ops(struct dpu_encoder_phys_ops *ops) ops->atomic_mode_set = dpu_encoder_phys_vid_atomic_mode_set; ops->enable = dpu_encoder_phys_vid_enable; ops->disable = dpu_encoder_phys_vid_disable; - ops->destroy = dpu_encoder_phys_vid_destroy; ops->control_vblank_irq = dpu_encoder_phys_vid_control_vblank_irq; ops->wait_for_commit_done = dpu_encoder_phys_vid_wait_for_commit_done; - ops->wait_for_vblank = dpu_encoder_phys_vid_wait_for_vblank; - ops->wait_for_tx_complete = dpu_encoder_phys_vid_wait_for_vblank; + ops->wait_for_tx_complete = dpu_encoder_phys_vid_wait_for_tx_complete; ops->irq_control = dpu_encoder_phys_vid_irq_control; ops->prepare_for_kickoff = dpu_encoder_phys_vid_prepare_for_kickoff; ops->handle_post_kickoff = dpu_encoder_phys_vid_handle_post_kickoff;
@@ -697,7 +691,7 @@ static void dpu_encoder_phys_vid_init_ops(struct dpu_encoder_phys_ops *ops) ops->get_frame_count = dpu_encoder_phys_vid_get_frame_count; } -struct dpu_encoder_phys *dpu_encoder_phys_vid_init ( +struct dpu_encoder_phys *dpu_encoder_phys_vid_init (struct drm_device *dev,struct dpu_enc_phys_init_params *p) {struct dpu_encoder_phys *phys_enc =NULL ;
@@ -707,7 +701,7 @@ struct dpu_encoder_phys *dpu_encoder_phys_vid_init(return ERR_PTR (-EINVAL ); } - phys_enc =kzalloc (sizeof (*phys_enc),GFP_KERNEL ); + phys_enc =drmm_kzalloc (dev,sizeof (*phys_enc),GFP_KERNEL );if (!phys_enc) {DPU_ERROR ("failed to create encoder due to memory allocation error\n" );return ERR_PTR (-ENOMEM );
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c +4 -17
@@ -8,6 +8,7 @@#include <linux/debugfs.h> #include <drm/drm_framebuffer.h> +#include <drm/drm_managed.h> #include "dpu_encoder_phys.h" #include "dpu_formats.h"
@@ -546,20 +547,6 @@ static void dpu_encoder_phys_wb_disable(struct dpu_encoder_phys *phys_enc) phys_enc->enable_state =DPU_ENC_DISABLED ; } -/** -* dpu_encoder_phys_wb_destroy - destroy writeback encoder -* @phys_enc: Pointer to physical encoder -*/ -static void dpu_encoder_phys_wb_destroy (struct dpu_encoder_phys *phys_enc) -{ -if (!phys_enc) -return ; - -DPU_DEBUG ("[wb:%d]\n" , phys_enc->hw_wb->idx -WB_0 ); - -kfree (phys_enc); -} -static void dpu_encoder_phys_wb_prepare_wb_job (struct dpu_encoder_phys *phys_enc,struct drm_writeback_job *job) {
@@ -655,7 +642,6 @@ static void dpu_encoder_phys_wb_init_ops(struct dpu_encoder_phys_ops *ops) ops->atomic_mode_set = dpu_encoder_phys_wb_atomic_mode_set; ops->enable = dpu_encoder_phys_wb_enable; ops->disable = dpu_encoder_phys_wb_disable; - ops->destroy = dpu_encoder_phys_wb_destroy; ops->atomic_check = dpu_encoder_phys_wb_atomic_check; ops->wait_for_commit_done = dpu_encoder_phys_wb_wait_for_commit_done; ops->prepare_for_kickoff = dpu_encoder_phys_wb_prepare_for_kickoff;
@@ -671,9 +657,10 @@ static void dpu_encoder_phys_wb_init_ops(struct dpu_encoder_phys_ops *ops)/** * dpu_encoder_phys_wb_init - initialize writeback encoder +* @dev: Corresponding device for devres management * @p: Pointer to init info structure with initialization params */ -struct dpu_encoder_phys *dpu_encoder_phys_wb_init ( +struct dpu_encoder_phys *dpu_encoder_phys_wb_init (struct drm_device *dev,struct dpu_enc_phys_init_params *p) {struct dpu_encoder_phys *phys_enc =NULL ;
@@ -686,7 +673,7 @@ struct dpu_encoder_phys *dpu_encoder_phys_wb_init(return ERR_PTR (-EINVAL ); } - wb_enc =kzalloc (sizeof (*wb_enc),GFP_KERNEL ); + wb_enc =drmm_kzalloc (dev,sizeof (*wb_enc),GFP_KERNEL );if (!wb_enc) {DPU_ERROR ("failed to allocate wb phys_enc enc\n" );return ERR_PTR (-ENOMEM );
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c +1 -1
@@ -490,7 +490,7 @@ static void dpu_kms_wait_for_commit_done(struct msm_kms *kms,* mode panels. This may be a no-op for command mode panels. */ trace_dpu_kms_wait_for_commit_done (DRMID (crtc)); - ret =dpu_encoder_wait_for_event (encoder,MSM_ENC_COMMIT_DONE ); + ret =dpu_encoder_wait_for_commit_done (encoder);if (ret && ret != -EWOULDBLOCK ) {DPU_ERROR ("wait for commit done returned %d\n" , ret);break ;
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.h +2 -12
@@ -31,24 +31,14 @@* @fmt: Pointer to format string */ #define DPU_DEBUG (fmt, ...) \ - do { \ - if (drm_debug_enabled(DRM_UT_KMS)) \ - DRM_DEBUG(fmt, ##__VA_ARGS__); \ - else \ - pr_debug(fmt, ##__VA_ARGS__); \ - } while (0) + DRM_DEBUG_DRIVER(fmt, ##__VA_ARGS__)/** * DPU_DEBUG_DRIVER - macro for hardware driver logging * @fmt: Pointer to format string */ #define DPU_DEBUG_DRIVER (fmt, ...) \ - do { \ - if (drm_debug_enabled(DRM_UT_DRIVER)) \ - DRM_ERROR(fmt, ##__VA_ARGS__); \ - else \ - pr_debug(fmt, ##__VA_ARGS__); \ - } while (0) + DRM_DEBUG_DRIVER(fmt, ##__VA_ARGS__)#define DPU_ERROR (fmt, ...) pr_err("[dpu error]" fmt, ##__VA_ARGS__)#define DPU_ERROR_RATELIMITED (fmt, ...) pr_err_ratelimited("[dpu error]" fmt, ##__VA_ARGS__)
drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c +21 -2
@@ -679,6 +679,9 @@ static int dpu_plane_prepare_fb(struct drm_plane *plane, new_state->fb, &layout);if (ret) {DPU_ERROR_PLANE (pdpu,"failed to get format layout, %d\n" , ret); +if (pstate->aspace) +msm_framebuffer_cleanup (new_state->fb, pstate->aspace, + pstate->needs_dirtyfb);return ret; }
@@ -792,6 +795,8 @@ static int dpu_plane_atomic_check(struct drm_plane *plane, plane);int ret =0 , min_scale;struct dpu_plane *pdpu =to_dpu_plane (plane); +struct dpu_kms *kms =_dpu_plane_get_kms (&pdpu->base); +u64 max_mdp_clk_rate = kms->perf.max_core_clk_rate;struct dpu_plane_state *pstate =to_dpu_plane_state (new_plane_state);struct dpu_sw_pipe *pipe = &pstate->pipe;struct dpu_sw_pipe *r_pipe = &pstate->r_pipe;
@@ -860,14 +865,20 @@ static int dpu_plane_atomic_check(struct drm_plane *plane, max_linewidth = pdpu->catalog->caps->max_linewidth; -if (drm_rect_width (&pipe_cfg->src_rect) > max_linewidth) { +drm_rect_rotate (&pipe_cfg->src_rect, + new_plane_state->fb->width, new_plane_state->fb->height, + new_plane_state->rotation); + +if ((drm_rect_width (&pipe_cfg->src_rect) > max_linewidth) || +_dpu_plane_calc_clk (&crtc_state->adjusted_mode, pipe_cfg) > max_mdp_clk_rate) {/* * In parallel multirect case only the half of the usual width * is supported for tiled formats. If we are here, we know that * full width is more than max_linewidth, thus each rect is * wider than allowed. */ -if (DPU_FORMAT_IS_UBWC (fmt)) { +if (DPU_FORMAT_IS_UBWC (fmt) && +drm_rect_width (&pipe_cfg->src_rect) > max_linewidth) {DPU_DEBUG_PLANE (pdpu,"invalid src " DRM_RECT_FMT " line:%u, tiled format\n" ,DRM_RECT_ARG (&pipe_cfg->src_rect), max_linewidth);return -E2BIG ;
@@ -907,6 +918,14 @@ static int dpu_plane_atomic_check(struct drm_plane *plane, r_pipe_cfg->dst_rect.x1 = pipe_cfg->dst_rect.x2; } +drm_rect_rotate_inv (&pipe_cfg->src_rect, + new_plane_state->fb->width, new_plane_state->fb->height, + new_plane_state->rotation); +if (r_pipe->sspp) +drm_rect_rotate_inv (&r_pipe_cfg->src_rect, + new_plane_state->fb->width, new_plane_state->fb->height, + new_plane_state->rotation); + ret =dpu_plane_atomic_check_pipe (pdpu, pipe, pipe_cfg, fmt, &crtc_state->adjusted_mode);if (ret)return ret;
drivers/gpu/drm/msm/dp/dp_ctrl.c +2 -0
@@ -1253,6 +1253,8 @@ static int dp_ctrl_link_train(struct dp_ctrl_private *ctrl, link_info.rate = ctrl->link->link_params.rate; link_info.capabilities =DP_LINK_CAP_ENHANCED_FRAMING ; +dp_link_reset_phy_params_vx_px (ctrl->link); +dp_aux_link_configure (ctrl->aux, &link_info);if (drm_dp_max_downspread (dpcd))
drivers/gpu/drm/msm/dp/dp_panel.c +10 -9
@@ -136,22 +136,22 @@ static int dp_panel_read_dpcd(struct dp_panel *dp_panel)static u32 dp_panel_get_supported_bpp (struct dp_panel *dp_panel,u32 mode_edid_bpp,u32 mode_pclk_khz) { -struct dp_link_info *link_info; +const struct dp_link_info *link_info;const u32 max_supported_bpp =30 , min_supported_bpp =18 ; -u32 bpp =0 , data_rate_khz =0 ; +u32 bpp, data_rate_khz; - bpp =min_t (u32, mode_edid_bpp, max_supported_bpp); + bpp =min (mode_edid_bpp, max_supported_bpp); link_info = &dp_panel->link_info; data_rate_khz = link_info->num_lanes * link_info->rate *8 ; -while (bpp > min_supported_bpp) { +do {if (mode_pclk_khz * bpp <= data_rate_khz) -break ; +return bpp; bpp -=6 ; - } + }while (bpp > min_supported_bpp); -return bpp; +return min_supported_bpp; } static int dp_panel_update_modes(struct drm_connector *connector,
@@ -444,8 +444,9 @@ int dp_panel_init_panel_info(struct dp_panel *dp_panel) drm_mode->clock);drm_dbg_dp (panel->drm_dev,"bpp = %d\n" , dp_panel->dp_mode.bpp); - dp_panel->dp_mode.bpp =max_t (u32,18 , -min_t (u32, dp_panel->dp_mode.bpp,30 )); + dp_panel->dp_mode.bpp =dp_panel_get_mode_bpp (dp_panel, dp_panel->dp_mode.bpp, + dp_panel->dp_mode.drm_mode.clock); +drm_dbg_dp (panel->drm_dev,"updated bpp = %d\n" , dp_panel->dp_mode.bpp);
drivers/gpu/drm/msm/msm_drv.h +0 -12
@@ -74,18 +74,6 @@ enum msm_dsi_controller {#define MSM_GPU_MAX_RINGS 4#define MAX_H_TILES_PER_DISPLAY 2 -/** -* enum msm_event_wait - type of HW events to wait for -* @MSM_ENC_COMMIT_DONE - wait for the driver to flush the registers to HW -* @MSM_ENC_TX_COMPLETE - wait for the HW to transfer the frame to panel -* @MSM_ENC_VBLANK - wait for the HW VBLANK event (for driver-internal waiters) -*/ -enum msm_event_wait { -MSM_ENC_COMMIT_DONE =0 , -MSM_ENC_TX_COMPLETE , -MSM_ENC_VBLANK , -}; -/** * struct msm_display_topology - defines a display topology pipeline * @num_lm: number of layer mixers used
drivers/gpu/drm/msm/msm_gem_shrinker.c +1 -1
@@ -76,7 +76,7 @@ static bool wait_for_idle(struct drm_gem_object *obj) {enum dma_resv_usage usage =dma_resv_usage_rw (true); -return dma_resv_wait_timeout (obj->resv, usage, false,1000 ) >0 ; +return dma_resv_wait_timeout (obj->resv, usage, false,10 ) >0 ; } static bool
drivers/gpu/drm/msm/msm_mdss.c +57 -27
230 lines not on this page · raw message
drivers/gpu/drm/msm/msm_mdss.h +1 -0
@@ -14,6 +14,7 @@ struct msm_mdss_data {u32 ubwc_static;u32 highest_bank_bit;u32 macrotile_mode; +u32 reg_bus_bw; };#define UBWC_1_0 0x10000000
drivers/gpu/drm/nouveau/nvkm/core/firmware.c +6 -3
@@ -187,7 +187,8 @@ nvkm_firmware_dtor(struct nvkm_firmware *fw)break ;case NVKM_FIRMWARE_IMG_DMA :nvkm_memory_unref (&memory); -dma_free_coherent (fw->device->dev,sg_dma_len (&fw->mem.sgl), fw->img, fw->phys); +dma_free_noncoherent (fw->device->dev,sg_dma_len (&fw->mem.sgl), + fw->img, fw->phys,DMA_TO_DEVICE );break ;default :WARN_ON (1 );
@@ -212,10 +213,12 @@ nvkm_firmware_ctor(const struct nvkm_firmware_func *func, const char *name,break ;case NVKM_FIRMWARE_IMG_DMA : {dma_addr_t addr; - len =ALIGN (fw->len,PAGE_SIZE ); - fw->img =dma_alloc_coherent (fw->device->dev, len, &addr,GFP_KERNEL ); + fw->img =dma_alloc_noncoherent (fw->device->dev, + len, &addr, +DMA_TO_DEVICE , +GFP_KERNEL );if (fw->img) {memcpy (fw->img, src, fw->len); fw->phys = addr;
drivers/gpu/drm/nouveau/nvkm/falcon/fw.c +6 -0
@@ -89,6 +89,12 @@ nvkm_falcon_fw_boot(struct nvkm_falcon_fw *fw, struct nvkm_subdev *user,nvkm_falcon_fw_dtor_sigs (fw); } +/* after last write to the img, sync dma mappings */ +dma_sync_single_for_device (fw->fw.device->dev, + fw->fw.phys, +sg_dma_len (&fw->fw.mem.sgl), +DMA_TO_DEVICE ); +FLCNFW_DBG (fw,"resetting" ); fw->func->reset (fw);
drivers/gpu/drm/panel/panel-novatek-nt36523.c +2 -4
@@ -935,8 +935,7 @@ static int j606f_boe_init_sequence(struct panel_info *pinfo)static const struct drm_display_mode elish_boe_modes[] = { { -/* There is only one 120 Hz timing, but it doesn't work perfectly, 104 Hz preferred */ - .clock = (1600 +60 +8 +60 ) * (2560 +26 +4 +168 ) *104 /1000 , + .clock = (1600 +60 +8 +60 ) * (2560 +26 +4 +168 ) *120 /1000 , .hdisplay =1600 , .hsync_start =1600 +60 , .hsync_end =1600 +60 +8 ,
@@ -950,8 +949,7 @@ static const struct drm_display_mode elish_boe_modes[] = {static const struct drm_display_mode elish_csot_modes[] = { { -/* There is only one 120 Hz timing, but it doesn't work perfectly, 104 Hz preferred */ - .clock = (1600 +200 +40 +52 ) * (2560 +26 +4 +168 ) *104 /1000 , + .clock = (1600 +200 +40 +52 ) * (2560 +26 +4 +168 ) *120 /1000 , .hdisplay =1600 , .hsync_start =1600 +200 , .hsync_end =1600 +200 +40 ,
drivers/gpu/drm/rockchip/rockchip_drm_vop2.c +5 -0
@@ -1260,6 +1260,11 @@ static void vop2_plane_atomic_update(struct drm_plane *plane,vop2_win_write (win,VOP2_WIN_AFBC_ROTATE_270 , rotate_270);vop2_win_write (win,VOP2_WIN_AFBC_ROTATE_90 , rotate_90); }else { +if (vop2_cluster_window (win)) { +vop2_win_write (win,VOP2_WIN_AFBC_ENABLE ,0 ); +vop2_win_write (win,VOP2_WIN_AFBC_TRANSFORM_OFFSET ,0 ); + } +vop2_win_write (win,VOP2_WIN_YRGB_VIR ,DIV_ROUND_UP (fb->pitches[0 ],4 )); }
drivers/gpu/drm/tegra/gem.c +1 -1
@@ -177,7 +177,7 @@ static void tegra_bo_unpin(struct host1x_bo_mapping *map)static void *tegra_bo_mmap (struct host1x_bo *bo) {struct tegra_bo *obj =host1x_to_tegra_bo (bo); -struct iosys_map map; +struct iosys_map map = {0 };int ret;if (obj->vaddr) {
drivers/hid/wacom_wac.c +3 -1
@@ -1924,12 +1924,14 @@ static void wacom_map_usage(struct input_dev *input, struct hid_usage *usage,int fmax = field->logical_maximum;unsigned int equivalent_usage =wacom_equivalent_usage (usage->hid);int resolution_code = code; -int resolution =hidinput_calc_abs_res (field, resolution_code); +int resolution;if (equivalent_usage ==HID_DG_TWIST ) { resolution_code =ABS_RZ ; } + resolution =hidinput_calc_abs_res (field, resolution_code); +if (equivalent_usage ==HID_GD_X ) { fmin += features->offset_left; fmax -= features->offset_right;
drivers/hwmon/ltc2992.c +7 -1
@@ -875,8 +875,14 @@ static int ltc2992_parse_dt(struct ltc2992_state *st) } ret =fwnode_property_read_u32 (child,"shunt-resistor-micro-ohms" , &val); -if (!ret) +if (!ret) { +if (!val) { +fwnode_handle_put (child); +return dev_err_probe (&st->client->dev, -EINVAL , +"shunt resistor value cannot be zero\n" ); + } st->r_sense_uohm[addr] = val; + } }return 0 ;
drivers/hwmon/pc87360.c +5 -1
@@ -323,7 +323,11 @@ static struct pc87360_data *pc87360_update_device(struct device *dev) }/* Voltages */ -for (i =0 ; i < data->innr; i++) { +/* +* The min() below does not have any practical meaning and is +* only needed to silence a warning observed with gcc 12+. +*/ +for (i =0 ; i <min (data->innr,ARRAY_SIZE (data->in)); i++) { data->in_status[i] =pc87360_read_value (data,LD_IN , i,PC87365_REG_IN_STATUS );/* Clear bits */
drivers/i2c/busses/i2c-qcom-geni.c +3 -1
@@ -987,8 +987,10 @@ static int __maybe_unused geni_i2c_runtime_resume(struct device *dev)return ret; ret =clk_prepare_enable (gi2c->core_clk); -if (ret) +if (ret) { +geni_icc_disable (&gi2c->se);return ret; + } ret =geni_se_resources_on (&gi2c->se);if (ret) {
drivers/i2c/busses/i2c-riic.c +1 -1
@@ -313,7 +313,7 @@ static int riic_init_hw(struct riic_dev *riic, struct i2c_timings *t)* frequency with only 62 clock ticks max (31 high, 31 low). * Aim for a duty of 60% LOW, 40% HIGH. */ - total_ticks =DIV_ROUND_UP (rate, t->bus_freq_hz); + total_ticks =DIV_ROUND_UP (rate, t->bus_freq_hz ?:1 );for (cks =0 ; cks <7 ; cks++) {/*
drivers/i2c/busses/i2c-stm32f7.c +47 -4
93 lines not on this page · raw message
drivers/i2c/busses/i2c-tegra.c +2 -2
@@ -1804,9 +1804,9 @@ static int tegra_i2c_probe(struct platform_device *pdev)* domain. * * VI I2C device shouldn't be marked as IRQ-safe because VI I2C won't -* be used for atomic transfers. +* be used for atomic transfers. ACPI device is not IRQ safe also. */ -if (!IS_VI (i2c_dev)) +if (!IS_VI (i2c_dev) && !has_acpi_companion (i2c_dev->dev))pm_runtime_irq_safe (i2c_dev->dev);pm_runtime_enable (i2c_dev->dev);
drivers/i3c/master/mipi-i3c-hci/dma.c +3 -2
@@ -345,6 +345,8 @@ static void hci_dma_unmap_xfer(struct i3c_hci *hci,
Lines of this file are not shown. View the raw message.
drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/md/persistent-data/dm-space-map-metadata.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/md/raid5-cache.c +25 -22
47 lines not on this page · raw message
drivers/media/pci/cx23885/cx23885-video.c +8 -0
Lines of this file are not shown. View the raw message.
drivers/media/platform/qcom/venus/pm_helpers.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/media/platform/samsung/s5p-mfc/s5p_mfc_enc.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/memory/stm32-fmc2-ebi.c +88 -34
122 lines not on this page · raw message
drivers/net/dsa/mv88e6xxx/global1_atu.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/net/dsa/vitesse-vsc73xx-core.c +53 -16
69 lines not on this page · raw message
drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c +0 -5
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c +4 -3
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c +20 -8
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c +4 -3
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/i825xx/sun3_82586.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/ice/ice_base.c +20 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/ice/ice_txrx.c +4 -43
47 lines not on this page · raw message
drivers/net/ethernet/intel/igb/igb_main.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/igc/igc_defines.h +6 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/igc/igc_main.c +6 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/igc/igc_tsn.c +62 -14
76 lines not on this page · raw message
drivers/net/ethernet/intel/igc/igc_tsn.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/marvell/octeontx2/af/rvu_cpt.c +11 -12
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mediatek/mtk_wed.c +4 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mediatek/mtk_wed_mcu.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlxbf_gige/mlxbf_gige.h +8 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlxbf_gige/mlxbf_gige_main.c +10 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlxbf_gige/mlxbf_gige_regs.h +2 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlxbf_gige/mlxbf_gige_rx.c +44 -6
50 lines not on this page · raw message
drivers/net/ethernet/microsoft/mana/mana_en.c +20 -10
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mscc/ocelot.c +84 -7
91 lines not on this page · raw message
drivers/net/ethernet/mscc/ocelot_fdma.c +1 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mscc/ocelot_vsc7514.c +4 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/pensando/ionic/ionic_bus_pci.c +8 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/pensando/ionic/ionic_dev.c +28 -5
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/pensando/ionic/ionic_ethtool.c +6 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/pensando/ionic/ionic_fw.c +5 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/pensando/ionic/ionic_main.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/wangxun/ngbe/ngbe_mdio.c +5 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/xilinx/xilinx_axienet.h +9 -8
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/xilinx/xilinx_axienet_main.c +13 -12
Lines of this file are not shown. View the raw message.
drivers/net/wireless/ath/ath11k/mac.c +25 -19
44 lines not on this page · raw message
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c +10 -3
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/fw/debugfs.c +5 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/iwl-drv.c +4 -2
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mvm/d3.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c +6 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mvm/scan.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mediatek/mt76/mac80211.c +48 -2
50 lines not on this page · raw message
drivers/net/wireless/mediatek/mt76/mt76.h +7 -17
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mediatek/mt76/mt7603/main.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mediatek/mt76/mt7615/main.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mediatek/mt76/mt76x02_util.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mediatek/mt76/mt7915/main.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mediatek/mt76/mt7921/main.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mediatek/mt76/mt792x_core.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mediatek/mt76/mt7996/main.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mediatek/mt76/tx.c +88 -20
108 lines not on this page · raw message
drivers/nvme/host/core.c +65 -42
107 lines not on this page · raw message
drivers/platform/surface/aggregator/controller.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/s390/block/dasd_eckd.c +24 -32
56 lines not on this page · raw message
drivers/staging/iio/resolver/ad2s1210.c +4 -3
Lines of this file are not shown. View the raw message.
fs/binfmt_misc.c +168 -48
216 lines not on this page · raw message
fs/btrfs/send.c +54 -17
71 lines not on this page · raw message
fs/btrfs/tree-checker.c +72 -2
74 lines not on this page · raw message
fs/btrfs/zlib.c +19 -54
73 lines not on this page · raw message
include/linux/dsa/ocelot.h +47 -0
47 lines not on this page · raw message
kernel/time/clocksource.c +20 -22
42 lines not on this page · raw message
mm/page_alloc.c +20 -22
42 lines not on this page · raw message
mm/slab_common.c +11 -30
41 lines not on this page · raw message
net/bluetooth/smp.c +72 -72
144 lines not on this page · raw message
net/ipv6/netfilter/nf_conntrack_reasm.c +4 -0
Lines of this file are not shown. View the raw message.
net/mac80211/sta_info.c +34 -12
46 lines not on this page · raw message
net/mptcp/pm_netlink.c +94 -48
142 lines not on this page · raw message
net/netfilter/nf_tables_api.c +126 -83
209 lines not on this page · raw message
net/sched/sch_netem.c +29 -18
47 lines not on this page · raw message
net/vmw_vsock/af_vsock.c +29 -21
50 lines not on this page · raw message
tools/testing/selftests/bpf/progs/cpumask_failure.c +0 -3
Lines of this file are not shown. View the raw message.
tools/testing/selftests/bpf/progs/dynptr_fail.c +6 -6
Lines of this file are not shown. View the raw message.
tools/testing/selftests/bpf/progs/iters.c +54 -0
54 lines not on this page · raw message
tools/testing/selftests/bpf/progs/jeq_infer_not_null_fail.c +4 -0
Lines of this file are not shown. View the raw message.
tools/testing/selftests/bpf/progs/test_tunnel_kern.c +27 -20
47 lines not on this page · raw message
tools/testing/selftests/core/close_range_test.c +35 -0
Lines of this file are not shown. View the raw message.
tools/testing/selftests/mm/run_vmtests.sh +42 -11
53 lines not on this page · raw message
tools/testing/selftests/net/mptcp/mptcp_join.sh +23 -5
Lines of this file are not shown. View the raw message.
tools/testing/selftests/net/udpgro.sh +27 -17
44 lines not on this page · raw message
tools/testing/selftests/tc-testing/tdc.py +0 -1
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.