Linux 6.1.30
Greg Kroah-Hartman
maintainerI'm announcing the release of the 6.1.30 kernel.
All users of the 6.1 kernel series must upgrade.
The updated 6.1.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-6.1.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/arm64/silicon-errata.rst | 2 Documentation/devicetree/bindings/ata/ceva,ahci-1v84.yaml | 2 Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml | 12 MAINTAINERS | 4 Makefile | 2 arch/arm/mach-sa1100/jornada720_ssp.c | 5 arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 1 arch/arm64/boot/dts/qcom/msm8996.dtsi | 3 arch/arm64/boot/dts/qcom/sdm845-xiaomi-polaris.dts | 2 arch/arm64/kernel/mte.c | 7 arch/parisc/include/asm/pdc.h | 1 arch/parisc/kernel/firmware.c | 27 arch/powerpc/kernel/dma-iommu.c | 4 arch/powerpc/kernel/iommu.c | 11 arch/powerpc/mm/book3s64/radix_pgtable.c | 4 arch/powerpc/platforms/pseries/iommu.c | 13 arch/riscv/kernel/probes/Makefile | 2 arch/s390/crypto/chacha-glue.c | 2 arch/s390/kernel/Makefile | 1 arch/x86/kernel/Makefile | 1 block/bfq-iosched.c | 2 crypto/jitterentropy-kcapi.c | 51 crypto/jitterentropy.c | 144 crypto/jitterentropy.h | 1 crypto/testmgr.c | 266 + drivers/acpi/acpi_apd.c | 2 drivers/acpi/acpica/dbnames.c | 3 drivers/acpi/acpica/dswstate.c | 11 drivers/acpi/ec.c | 1 drivers/acpi/video_detect.c | 35 drivers/base/platform.c | 4 drivers/base/regmap/regcache.c | 6 drivers/block/nbd.c | 6 drivers/block/null_blk/main.c | 5 drivers/bluetooth/btbcm.c | 47 drivers/bluetooth/btintel.c | 5 drivers/bluetooth/btrtl.c | 138 drivers/bluetooth/btrtl.h | 5 drivers/bluetooth/btusb.c | 6 drivers/bluetooth/hci_h5.c | 4 drivers/char/tpm/tpm_tis.c | 16 drivers/firmware/arm_sdei.c | 37 drivers/firmware/smccc/smccc.c | 26 drivers/firmware/smccc/soc_id.c | 28 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 8 drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | 26 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 8 drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 36 drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c | 21 drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | 7 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 2 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c | 7 drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c | 3 drivers/gpu/drm/amd/display/dc/dce/dce_transform.c | 5 drivers/gpu/drm/amd/display/dc/dcn30/dcn30_hwseq.c | 3 drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hwseq.c | 2 drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c | 2 drivers/gpu/drm/amd/display/dc/dml/dcn30/display_mode_vba_30.c | 2 drivers/gpu/drm/amd/display/dc/dml/dcn31/display_mode_vba_31.c | 300 + drivers/gpu/drm/amd/display/dc/dml/dcn314/dcn314_fpu.c | 4 drivers/gpu/drm/amd/display/dc/dml/dcn314/display_mode_vba_314.c | 300 + drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_32.c | 2 drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 18 drivers/gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c | 20 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 1 drivers/gpu/drm/drm_displayid.c | 17 drivers/gpu/drm/drm_fb_helper.c | 16 drivers/gpu/drm/drm_mipi_dsi.c | 2 drivers/gpu/drm/exynos/exynos_drm_g2d.h | 4 drivers/gpu/drm/i915/Kconfig | 25 drivers/gpu/drm/i915/display/intel_atomic_plane.c | 4 drivers/gpu/drm/i915/display/intel_dp.c | 5 drivers/gpu/drm/i915/gt/uc/intel_guc_capture.c | 7 drivers/gpu/drm/i915/i915_params.c | 2 drivers/gpu/drm/i915/i915_pci.c | 39 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c | 5 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.c | 5 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_wb.c | 1 drivers/gpu/drm/msm/disp/dpu1/dpu_hwio.h | 3 drivers/gpu/drm/msm/dp/dp_audio.c | 12 drivers/gpu/drm/msm/dp/dp_audio.h | 2 drivers/gpu/drm/msm/dp/dp_aux.c | 80 drivers/gpu/drm/msm/dp/dp_catalog.c | 2 drivers/gpu/drm/msm/dp/dp_catalog.h | 2 drivers/gpu/drm/msm/dp/dp_display.c | 1 drivers/gpu/drm/msm/msm_gem_submit.c | 25 drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 1 drivers/gpu/drm/tegra/sor.c | 2 drivers/hid/hid-apple.c | 19 drivers/hid/hid-ids.h | 1 drivers/hid/hid-input.c | 2 drivers/hid/hid-logitech-hidpp.c | 53 drivers/hid/wacom_wac.c | 33 drivers/irqchip/Kconfig | 1 drivers/irqchip/irq-gic-v3.c | 115 drivers/mcb/mcb-pci.c | 27 drivers/md/md.c | 18 drivers/media/pci/cx23885/cx23885-core.c | 4 drivers/media/pci/cx23885/cx23885-video.c | 13 drivers/media/pci/netup_unidvb/netup_unidvb_core.c | 2 drivers/media/pci/tw68/tw68-video.c | 16 drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec.c | 7 drivers/media/platform/renesas/vsp1/vsp1_drm.c | 18 drivers/media/platform/renesas/vsp1/vsp1_entity.c | 11 drivers/media/platform/samsung/exynos4-is/fimc-capture.c | 7 drivers/media/platform/ti/am437x/am437x-vpfe.c | 15 drivers/media/platform/ti/cal/cal-video.c | 8 drivers/media/usb/dvb-usb/cxusb-analog.c | 14 drivers/media/usb/pvrusb2/Kconfig | 2 drivers/memstick/host/r592.c | 2 drivers/message/fusion/mptlan.c | 2 drivers/mfd/dln2.c | 1 drivers/mfd/intel-lpss-pci.c | 15 drivers/mfd/intel_soc_pmic_chtwc.c | 14 drivers/misc/lkdtm/stackleak.c | 6 drivers/net/bonding/bond_netlink.c | 7 drivers/net/bonding/bond_options.c | 8 drivers/net/can/dev/skb.c | 3 drivers/net/can/kvaser_pciefd.c | 51 drivers/net/dsa/mv88e6xxx/port.h | 2 drivers/net/dsa/rzn1_a5psw.c | 83 drivers/net/dsa/rzn1_a5psw.h | 3 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c | 2 drivers/net/ethernet/broadcom/genet/bcmgenet.c | 9 drivers/net/ethernet/freescale/fec_main.c | 15 drivers/net/ethernet/google/gve/gve_main.c | 13 drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.c | 25 drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.h | 8 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c | 2 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.h | 1 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 15 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c | 4 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h | 5 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 5 drivers/net/ethernet/intel/ice/ice_main.c | 2 drivers/net/ethernet/intel/ice/ice_sriov.c | 24 drivers/net/ethernet/intel/ice/ice_vf_lib.c | 31 drivers/net/ethernet/intel/ice/ice_vf_lib.h | 6 drivers/net/ethernet/intel/ice/ice_virtchnl.c | 1 drivers/net/ethernet/intel/igb/e1000_mac.c | 4 drivers/net/ethernet/mscc/vsc7514_regs.c | 18 drivers/net/ethernet/pasemi/pasemi_mac.c | 2 drivers/net/ethernet/sfc/ef100_netdev.c | 4 drivers/net/ethernet/stmicro/stmmac/dwmac4.h | 1 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c | 5 drivers/net/ethernet/sun/cassini.c | 2 drivers/net/ipvlan/ipvlan_core.c | 6 drivers/net/mdio/mdio-mvusb.c | 11 drivers/net/pcs/pcs-xpcs.c | 2 drivers/net/phy/bcm-phy-lib.h | 5 drivers/net/phy/bcm7xxx.c | 2 drivers/net/phy/dp83867.c | 22 drivers/net/tap.c | 4 drivers/net/tun.c | 80 drivers/net/virtio_net.c | 61 drivers/net/wireless/ath/ath.h | 12 drivers/net/wireless/ath/ath11k/dp.c | 4 drivers/net/wireless/ath/ath11k/dp_rx.c | 17 drivers/net/wireless/ath/ath11k/peer.h | 1 drivers/net/wireless/ath/key.c | 2 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c | 13 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c | 32 drivers/net/wireless/intel/iwlwifi/dvm/sta.c | 5 drivers/net/wireless/intel/iwlwifi/fw/acpi.c | 2 drivers/net/wireless/intel/iwlwifi/fw/dbg.c | 19 drivers/net/wireless/intel/iwlwifi/mvm/fw.c | 2 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c | 6 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c | 10 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c | 2 drivers/net/wireless/intel/iwlwifi/mvm/tx.c | 37 drivers/net/wireless/intel/iwlwifi/pcie/drv.c | 4 drivers/net/wireless/intel/iwlwifi/pcie/trans.c | 2 drivers/net/wireless/mediatek/mt76/mt76_connac2_mac.h | 2 drivers/net/wireless/mediatek/mt76/mt76_connac_mac.c | 3 drivers/net/wireless/realtek/rtw88/mac80211.c | 2 drivers/net/wireless/realtek/rtw88/main.c | 15 drivers/net/wireless/realtek/rtw88/main.h | 3 drivers/net/wwan/iosm/iosm_ipc_imem.c | 27 drivers/net/wwan/iosm/iosm_ipc_imem_ops.c | 12 drivers/net/wwan/iosm/iosm_ipc_imem_ops.h | 6 drivers/parisc/power.c | 16 drivers/phy/st/phy-miphy28lp.c | 42 drivers/platform/x86/Kconfig | 43 drivers/platform/x86/Makefile | 4 drivers/platform/x86/hp-wmi.c | 1570 --------- drivers/platform/x86/hp/Kconfig | 63 drivers/platform/x86/hp/Makefile | 10 drivers/platform/x86/hp/hp-wmi.c | 1571 ++++++++++ drivers/platform/x86/hp/hp_accel.c | 387 ++ drivers/platform/x86/hp/tc1100-wmi.c | 265 + drivers/platform/x86/hp_accel.c | 387 -- drivers/platform/x86/tc1100-wmi.c | 265 - drivers/platform/x86/x86-android-tablets.c | 101 drivers/remoteproc/imx_dsp_rproc.c | 187 + drivers/remoteproc/stm32_rproc.c | 8 drivers/s390/block/dasd_eckd.c | 33 drivers/s390/cio/device.c | 2 drivers/s390/cio/qdio.h | 2 drivers/scsi/lpfc/lpfc_debugfs.c | 7 drivers/scsi/lpfc/lpfc_els.c | 24 drivers/scsi/storvsc_drv.c | 8 drivers/soundwire/bus.c | 15 drivers/soundwire/dmi-quirks.c | 25 drivers/soundwire/qcom.c | 3 drivers/spi/spi-imx.c | 24 drivers/staging/axis-fifo/axis-fifo.c | 28 drivers/staging/media/imx/imx-media-capture.c | 12 drivers/staging/media/imx/imx-media-utils.c | 8 drivers/staging/media/omap4iss/iss_video.c | 6 drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 6 drivers/staging/rtl8192e/rtl8192e/rtl_core.h | 5 drivers/target/iscsi/iscsi_target.c | 6 drivers/thunderbolt/nhi.c | 29 drivers/thunderbolt/nhi_regs.h | 2 drivers/tty/serial/8250/8250_bcm7271.c | 7 drivers/tty/serial/8250/8250_core.c | 1 drivers/tty/serial/8250/8250_exar.c | 17 drivers/tty/serial/8250/8250_pci.c | 5 drivers/tty/serial/arc_uart.c | 7 drivers/tty/serial/qcom_geni_serial.c | 9 drivers/tty/vt/vc_screen.c | 11 drivers/ufs/core/ufshcd.c | 10 drivers/ufs/host/ufshcd-pci.c | 1 drivers/usb/class/usbtmc.c | 2 drivers/usb/dwc3/debugfs.c | 109 drivers/usb/dwc3/gadget.c | 67 drivers/usb/gadget/function/u_ether.c | 3 drivers/usb/gadget/udc/core.c | 151 drivers/usb/host/uhci-pci.c | 10 drivers/usb/host/xhci-pci.c | 12 drivers/usb/host/xhci-ring.c | 29 drivers/usb/host/xhci.h | 2 drivers/usb/storage/scsiglue.c | 28 drivers/usb/typec/altmodes/displayport.c | 4 drivers/usb/typec/tcpm/tcpm.c | 16 drivers/usb/typec/ucsi/ucsi_acpi.c | 44 drivers/video/fbdev/arcfb.c | 15 fs/ceph/snap.c | 13 fs/cifs/cifsglob.h | 4 fs/cifs/file.c | 26 fs/cifs/smb1ops.c | 9 fs/cifs/smb2ops.c | 7 fs/ext2/ext2.h | 1 fs/ext2/super.c | 7 fs/ext4/balloc.c | 18 fs/ext4/ext4.h | 15 fs/ext4/ialloc.c | 12 fs/ext4/mballoc.c | 131 fs/ext4/mmp.c | 9 fs/ext4/super.c | 24 fs/f2fs/checkpoint.c | 12 fs/f2fs/data.c | 3 fs/f2fs/f2fs.h | 5 fs/f2fs/gc.c | 10 fs/f2fs/gc.h | 2 fs/f2fs/segment.h | 39 fs/f2fs/super.c | 2 fs/gfs2/glops.c | 3 fs/hfsplus/inode.c | 28 fs/ksmbd/connection.c | 3 fs/ksmbd/oplock.c | 5 fs/ksmbd/oplock.h | 2 fs/ksmbd/smb2misc.c | 5 fs/ksmbd/smb2pdu.c | 19 fs/nilfs2/inode.c | 18 fs/open.c | 18 fs/statfs.c | 4 include/linux/arm-smccc.h | 18 include/linux/cpuhotplug.h | 1 include/linux/dim.h | 3 include/linux/if_vlan.h | 17 include/linux/netdevice.h | 1 include/linux/platform_device.h | 11 include/linux/sched/task_stack.h | 2 include/linux/sunrpc/svc_rdma.h | 2 include/linux/sunrpc/svc_xprt.h | 2 include/net/bluetooth/hci.h | 15 include/net/bonding.h | 2 include/net/ip_vs.h | 6 include/net/sock.h | 2 include/uapi/asm-generic/fcntl.h | 1 kernel/bpf/bpf_local_storage.c | 16 kernel/bpf/verifier.c | 4 kernel/rcu/refscale.c | 2 kernel/rcu/tree_exp.h | 6 kernel/time/tick-broadcast.c | 120 kernel/trace/rethook.c | 4 lib/cpu_rmap.c | 5 lib/dim/dim.c | 5 lib/dim/net_dim.c | 3 lib/dim/rdma_dim.c | 3 lib/maple_tree.c | 12 mm/zswap.c | 16 net/8021q/vlan_dev.c | 4 net/bluetooth/hci_event.c | 9 net/bluetooth/hci_sync.c | 6 net/bluetooth/l2cap_core.c | 1 net/bridge/br_forward.c | 2 net/bridge/br_private_tunnel.h | 8 net/can/isotp.c | 2 net/can/j1939/socket.c | 2 net/core/datagram.c | 15 net/core/dev.c | 4 net/core/skbuff.c | 4 net/core/stream.c | 12 net/ipv4/af_inet.c | 2 net/ipv4/tcp.c | 14 net/ipv4/tcp_bpf.c | 2 net/ipv4/tcp_input.c | 4 net/ipv4/tcp_ipv4.c | 5 net/ipv6/ip6_gre.c | 13 net/key/af_key.c | 12 net/llc/af_llc.c | 8 net/mac80211/cfg.c | 3 net/mac80211/trace.h | 2 net/mac80211/tx.c | 5 net/netfilter/core.c | 6 net/netfilter/ipvs/ip_vs_sync.c | 2 net/netfilter/nf_conntrack_standalone.c | 3 net/netfilter/nf_tables_api.c | 4 net/netfilter/nft_chain_filter.c | 9 net/netfilter/nft_set_rbtree.c | 20 net/netlink/af_netlink.c | 8 net/nsh/nsh.c | 8 net/packet/af_packet.c | 6 net/smc/smc_close.c | 4 net/smc/smc_rx.c | 4 net/smc/smc_tx.c | 4 net/socket.c | 2 net/sunrpc/svc.c | 2 net/sunrpc/svc_xprt.c | 24 net/sunrpc/svcsock.c | 30 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | 11 net/sunrpc/xprtrdma/svc_rdma_transport.c | 2 net/tipc/bearer.c | 17 net/tipc/bearer.h | 3 net/tipc/link.c | 9 net/tipc/socket.c | 4 net/tipc/udp_media.c | 5 net/tls/tls_main.c | 3 net/unix/af_unix.c | 22 net/vmw_vsock/af_vsock.c | 2 net/wireless/scan.c | 6 net/xfrm/xfrm_interface.c | 54 net/xfrm/xfrm_policy.c | 9 net/xfrm/xfrm_user.c | 14 samples/bpf/hbm.c | 1 scripts/recordmcount.c | 6 sound/firewire/digi00x/digi00x-stream.c | 4 sound/pci/hda/hda_generic.c | 7 sound/pci/hda/hda_intel.c | 3 sound/pci/hda/patch_hdmi.c | 5 sound/pci/hda/patch_realtek.c | 14 sound/soc/amd/yc/acp6x-mach.c | 21 sound/soc/fsl/fsl_micfil.c | 14 sound/soc/mediatek/mt8186/mt8186-afe-clk.c | 6 sound/soc/mediatek/mt8186/mt8186-afe-clk.h | 1 sound/soc/mediatek/mt8186/mt8186-afe-pcm.c | 4 sound/soc/mediatek/mt8186/mt8186-audsys-clk.c | 46 sound/soc/mediatek/mt8186/mt8186-audsys-clk.h | 1 sound/soc/sof/topology.c | 4 sound/usb/format.c | 1 tools/include/uapi/asm-generic/fcntl.h | 1 tools/power/cpupower/utils/idle_monitor/mperf_monitor.c | 31 tools/testing/selftests/cgroup/test_memcontrol.c | 15 tools/testing/selftests/net/fib_nexthops.sh | 2 tools/testing/selftests/net/srv6_end_dt4_l3vpn_test.sh | 17 virt/kvm/kvm_main.c | 16 368 files changed, 6290 insertions(+), 4037 deletions(-)
Adrian Hunter (1):
scsi: ufs: ufs-pci: Add support for Intel Lunar Lake
Ai Chao (1):
ALSA: hda/realtek: Add a quirk for HP EliteDesk 805
Alain Volmat (1):
phy: st: miphy28lp: use _poll_timeout functions for waits
Alan Stern (1):
USB: usbtmc: Fix direction for 0-length ioctl control messages
Aleksandr Loktionov (1):
igb: fix bit_shift to be in [1..8] range
Alex Deucher (2):
drm/amdgpu/gmc11: implement get_vbios_fb_size() drm/amdgpu/gfx11: update gpu_clock_counter logic
Alex Henrie (2):
HID: apple: Set the tilde quirk flag on the Geyser 4 and later
HID: apple: Set the tilde quirk flag on the Geyser 3
Alexander Stein (1):
regmap: cache: Return error in cache sync operations for REGCACHE_NONE
Alexis Lothoré (1):
net: dsa: rzn1-a5psw: fix STP states handling
Alon Giladi (2):
wifi: iwlwifi: fix OEM's name in the ppag approved list
wifi: iwlwifi: mvm: fix OEM's name in the tas approved list
Andrea Mayer (2):
selftests: seg6: disable DAD on IPv6 router cfg for srv6_end_dt4_l3vpn_test
selftets: seg6: disable rp_filter by default in srv6_end_dt4_l3vpn_test
Andreas Gruenbacher (1):
gfs2: Fix inode height consistency check
Andrew Davis (1):
serial: 8250_exar: Add support for USR298x PCI Modems
Armin Wolf (1):
ACPI: EC: Fix oops when removing custom query handlers
Arnaud Pouliquen (1):
remoteproc: stm32_rproc: Add mutex protection for workqueue
Arnd Bergmann (2):
drm/exynos: fix g2d_open/close helper function definitions
bridge: always declare tunnel functions
Ayush Gupta (2):
drm/amd/display: populate subvp cmd info only for the top pipe drm/amd/display: fixed dcn30+ underflow issue
Badhri Jagan Sridharan (1):
usb: typec: altmodes/displayport: fix pin_assignment_show
Baishan Jiang (1):
ASoC: amd: yc: Add ThinkBook 14 G5+ ARP to quirks list for acp6x
Bas Nieuwenhuizen (1):
drm/amdgpu/gfx10: Disable gfxoff before disabling powergating.
Bastien Nocera (2):
HID: logitech-hidpp: Don't use the USB serial for USB devices
HID: logitech-hidpp: Reconcile USB and Unifying serials
Benjamin Poirier (1):
net: selftests: Fix optstring
Bharath SM (2):
SMB3: Close all deferred handles of inode in case of handle lease break
SMB3: drop reference to cfile before sending oplock break
Cem Kaya (1):
ASoC: amd: Add Dell G15 5525 to quirks list
Chaitanya Kulkarni (1):
null_blk: Always check queue mode setting from configfs
Chao Yu (2):
f2fs: fix to drop all dirty pages during umount() if cp_error is set
f2fs: fix to check readonly condition correctly
Chethan T N (1):
Bluetooth: btintel: Add LE States quirk support
Chih-Yen Chang (3):
ksmbd: allocate one more byte for implied bcc[0]
ksmbd: fix wrong UserName check in session_user
ksmbd: fix global-out-of-bounds in smb2_find_context_vals
Christian Brauner (1):
open: return EINVAL for O_DIRECTORY | O_CREAT
Christophe JAILLET (2):
net: mdio: mvusb: Fix an error handling path in mvusb_mdio_probe()
cassini: Fix a memory leak in the error handling path of cas_init_one()
Chuang Wang (1):
net: tun: rebuild error handling in tun_get_user
Chuck Lever (1):
SUNRPC: Fix trace_svc_register() call site
Clément Léger (2):
net: dsa: rzn1-a5psw: enable management frames for CPU port
net: dsa: rzn1-a5psw: disable learning for standalone ports
Colin Foster (1):
net: mscc: ocelot: fix stat counter register values
Colin Ian King (1):
block, bfq: Fix division by zero error on zero wsum
Dan Carpenter (1):
ALSA: firewire-digi00x: prevent potential use after free
Daniel Gabay (1):
wifi: iwlwifi: pcie: fix possible NULL pointer dereference
Dawid Wesierski (1):
ice: Fix ice VF reset during iavf initialization
Dmitry Bogdanov (1):
scsi: target: iscsit: Free cmds before session free
Domenico Cerasuolo (1):
mm: fix zswap writeback race condition
Dong Chenchen (1):
net: nsh: Use correct mac_offset to unwind gso skb in nsh_gso_segment()
Doug Berger (2):
serial: 8250_bcm7271: balance clk_enable calls
serial: 8250_bcm7271: fix leak in `brcmuart_probe`Douglas Anderson (2):
drm/msm/dp: Clean up handling of DP AUX interrupts
ASoC: mediatek: mt8186: Fix use-after-free in driver remove path
Duoming Zhou (1):
media: netup_unidvb: fix use-after-free at del_timer()
Eli Cohen (1):
lib: cpu_rmap: Avoid use after free on rmap->obj array entries
Eric Biggers (1):
crypto: testmgr - fix RNG performance in fuzz tests
Eric Dumazet (9):
net: skb_partial_csum_set() fix against transport header magic value
netlink: annotate accesses to nlk->cb_running
net: annotate sk->sk_err write from do_recvmmsg()
net: deal with most data-races in sk_wait_event()
net: add vlan_get_protocol_and_depth() helper
tcp: add annotations around sk->sk_shutdown accesses
net: datagram: fix data-races in datagram_poll()
tcp: fix possible sk_priority leak in tcp_v4_send_reset()
vlan: fix a potential uninit-value in vlan_dev_hard_start_xmit()
Eugene Huang (1):
soundwire: dmi-quirks: add remapping for Intel 'Rooks County' NUC M15
Evan Quan (1):
drm/amd/pm: fix possible power mode mismatch between driver and PMFW
Fae (1):
platform/x86: hp-wmi: add micmute to hp_wmi_keymap struct
Feng Liu (1):
virtio_net: Fix error unwinding of XDP initialization
Florian Fainelli (3):
net: phy: bcm7xx: Correct read from expansion register
net: bcmgenet: Remove phy_stop() from bcmgenet_netif_stop()
net: bcmgenet: Restore phy_stop() depending upon suspend/close
Florian Westphal (4):
netfilter: nf_tables: always release netdev hooks from notifier
netfilter: conntrack: fix possible bug_on with enable_hooks=1
netfilter: nf_tables: fix nft_trans type confusion
netfilter: nft_set_rbtree: fix null deref on element insertion
Francesco Dolcini (2):
Revert "usb: gadget: udc: core: Prevent redundant calls to pullup" Revert "usb: gadget: udc: core: Invoke usb_gadget_connect only when started"
Frank Wang (1):
usb: typec: tcpm: fix multiple times discover svids error
Fred Oh (1):
ALSA: hda: LNL: add HD Audio PCI ID
Gabe Teeger (1):
drm/amd/display: Enable HostVM based on rIOMMU active
Gaurav Batra (2):
powerpc/iommu: DMA address offset is incorrectly calculated with 2MB TCEs powerpc/iommu: Incorrect DDW Table is referenced for SR-IOV device
George Kennedy (1):
vc_screen: reload load of struct vc_data pointer in vcs_write() to avoid UAF
Greg Kroah-Hartman (1):
Linux 6.1.30
Grygorii Strashko (1):
net: phy: dp83867: add w/a for packet errors seen with short cables
Guilherme G. Piccoli (2):
parisc: Replace regular spinlock with spin_trylock on panic path drm/amdgpu/gfx11: Adjust gfxoff before powergating on gfx11 as well
Gustav Johansson (1):
ksmbd: smb2: Allow messages padded to 8byte boundary
Hangbin Liu (1):
bonding: fix send_peer_notif overflow
Hans de Goede (5):
platform/x86: x86-android-tablets: Add Acer Iconia One 7 B1-750 data
ACPI: video: Remove desktops without backlight DMI quirks
wifi: iwlwifi: dvm: Fix memcpy: detected field-spanning write backtrace
Bluetooth: hci_bcm: Fall back to getting bdaddr from EFI if not set
mfd: intel_soc_pmic_chtwc: Add Lenovo Yoga Book X90F to intel_cht_wc_models
Hao Zeng (2):
samples/bpf: Fix fout leak in hbm's run_bpf_prog
recordmcount: Fix memory leaks in the uwrite function
Harshitha Prem (1):
wifi: ath11k: Ignore frags from uninitialized peer in dp.
Hector Martin (2):
wifi: brcmfmac: pcie: Provide a buffer of random bytes to the device
wifi: brcmfmac: cfg80211: Pass the PMK in binary instead of hex
Heiko Carstens (2):
s390/crypto: use vector instructions only if available for ChaCha20 s390/qdio: fix do_sqbs() inline assembly constraint
Horatio Zhang (1):
drm/amdgpu: drop gfx_v11_0_cp_ecc_error_irq_funcs
Hyunwoo Kim (1):
wifi: iwlwifi: pcie: Fix integer overflow in iwl_write_to_user_buf
Ilan Peer (1):
wifi: cfg80211: Drop entries with invalid BSSIDs in RNR
Ilya Leoshkevich (1):
statfs: enforce statfs[64] structure initialization
Iuliana Prodan (1):
remoteproc: imx_dsp_rproc: Add custom memory copy implementation for i.MX DSP Cores
Ivan Orlov (1):
selftests: cgroup: Add 'malloc' failures checks in test_memcontrol
Jack Xiao (1):
drm/amd/amdgpu: introduce gc_*_mes_2.bin v2
Jacob Keller (1):
ice: introduce clear_reset_state operation
Jan Kara (1):
ext2: Check block size validity during mount
Jani Nikula (2):
drm/i915: taint kernel when force probing unsupported devices drm/displayid: add displayid_get_header() and check bounds better
Jarkko Nikula (1):
mfd: intel-lpss: Add Intel Meteor Lake PCH-S LPSS PCI IDs
Jason Gerecke (1):
HID: wacom: generic: Set battery quirk only when we see battery data
Jeremy Soller (1):
ALSA: hda/realtek: Add quirk for Clevo L140AU
Jerry Snitselaar (1):
tpm/tpm_tis: Disable interrupts for more Lenovo devices
Jianhua Lu (1):
dt-bindings: display/msm: dsi-controller-main: Document qcom, master-dsi and qcom, sync-dual-dsi
Jie Wang (2):
net: hns3: fix output information incomplete for dumping tx queue info with debugfs
net: hns3: fix reset delay time to avoid configuration timeout
Jijie Shao (2):
net: hns3: fix sending pfc frames after reset issue
net: hns3: fix reset timeout when enable full VF
Jimmy Assarsson (6):
can: kvaser_pciefd: Set CAN_STATE_STOPPED in kvaser_pciefd_stop()
can: kvaser_pciefd: Call request_irq() before enabling interrupts
can: kvaser_pciefd: Empty SRB buffer in probe
can: kvaser_pciefd: Clear listen-only bit if not explicitly requested
can: kvaser_pciefd: Do not send EFLUSH command on TFD interrupt
can: kvaser_pciefd: Disable interrupts in probe error path
Johannes Berg (6):
wifi: iwlwifi: mvm: fix ptk_pn memory leak
wifi: iwlwifi: fix iwl_mvm_max_amsdu_size() for MLO
wifi: mac80211: fix min center freq offset tracing
wifi: iwlwifi: mvm: fix cancel_delayed_work_sync() deadlock
wifi: iwlwifi: fw: fix DBGI dump
wifi: iwlwifi: mvm: don't trust firmware n_channels
John Harrison (1):
drm/i915/guc: Don't capture Gen8 regs on Xe devices
Jorge Lopez (1):
platform/x86: Move existing HP drivers to a new hp subdir
Josh Poimboeuf (2):
sched: Fix KCSAN noinstr violation
lkdtm/stackleak: Fix noinstr violation
Justin Tee (2):
scsi: lpfc: Prevent lpfc_debugfs_lockstat_write() buffer overflow
scsi: lpfc: Correct used_rpi count when devloss tmo fires with no recovery
Kai-Heng Feng (1):
ALSA: hda/realtek: Fix mute and micmute LEDs for yet another HP laptop
Kang Chen (1):
ACPI: processor: Check for null return of devm_kzalloc() in fch_misc_setup()
Ke Zhang (1):
serial: arc_uart: fix of_iomap leak in arc_serial_probe
Kees Cook (1):
wifi: ath: Silence memcpy run-time false positive warning
Kemeng Shi (2):
ext4: allow to find by goal if EXT4_MB_HINT_GOAL_ONLY is set
ext4: set goal start correctly in ext4_mb_normalize_request
Keoseong Park (1):
scsi: ufs: core: Fix I/O hang that occurs when BKOPS fails in W-LUN suspend
Kevin Groeneveld (1):
spi: spi-imx: fix MX51_ECSPI_* macros when cs > 3
Khadija Kamran (1):
staging: axis-fifo: initialize timeouts in init only
Konrad Dybcio (2):
arm64: dts: qcom: msm8996: Add missing DWC3 quirks
arm64: dts: qcom: sdm845-polaris: Drop inexistent properties
Konrad Gräfe (1):
usb: gadget: u_ether: Fix host MAC address case
Krzysztof Kozlowski (2):
soundwire: qcom: gracefully handle too many ports in DT
serial: qcom-geni: fix enabling deactivated interrupt
Kumar Kartikeya Dwivedi (1):
bpf: Annotate data races in bpf_local_storage
Kuniyuki Iwashima (4):
net: Fix load-tearing on sk->sk_stamp in sock_recv_cmsgs().
af_unix: Fix a data race of sk->sk_receive_queue->qlen.
af_unix: Fix data races around sk->sk_shutdown.
tun: Fix memory leak for detached NAPI queue.Laurent Pinchart (1):
media: Prefer designated initializers over memset for subdev pad ops
Li Ma (2):
drm/amdgpu: declare firmware for new MES 11.0.4 drm/amdgpu: reserve the old gc_11_0_*_mes.bin
Luke D. Jones (1):
ALSA: hda/realtek: Add quirk for 2nd ASUS GU603
M Chetan Kumar (1):
net: wwan: iosm: fix NULL pointer dereference when removing device
Marco Migliore (1):
net: dsa: mv88e6xxx: Fix mv88e6393x EPC write command offset
Marek Vasut (1):
net: stmmac: Initialize MAC_ONEUS_TIC_COUNTER register
Marijn Suijten (3):
drm/msm/dpu: Assign missing writeback log_mask drm/msm/dpu: Move non-MDP_TOP INTF_INTR offsets out of hwio header drm/msm/dpu: Remove duplicate register defines from INTF
Mario Limonciello (3):
drm/amd: Fix an out of bounds error in BIOS parser
xhci-pci: Only run d3cold avoidance quirk for s2idle
thunderbolt: Clear registers properly when auto clear isn't in use
Martin Willi (1):
Revert "Fix XFRM-I support for nested ESP tunnels"
Mathias Nyman (1):
xhci: Fix incorrect tracking of free space on transfer rings
Mathieu Poirier (1):
remoteproc: imx_dsp_rproc: Fix kernel test robot sparse warning
Max Chou (2):
Bluetooth: btrtl: check for NULL in btrtl_set_quirks()
Bluetooth: btrtl: Add the support for RTL8851B
Maxim Korotkov (1):
bnxt: avoid overflow in bnxt_get_nvram_directory()
Maxime Bizon (1):
usb-storage: fix deadlock when a scsi command timeouts more than once
Meng Tang (1):
Bluetooth: btusb: Add new PID/VID 04ca:3801 for MT7663
Michael Ellerman (1):
powerpc/64s/radix: Fix soft dirty tracking
Michael Kelley (1):
scsi: storvsc: Don't pass unused PFNs to Hyper-V host
Michael Lee (1):
wifi: mac80211: Abort running color change when stopping the AP
Michal Luczaj (1):
KVM: Fix vcpu_array[0] races
Michal Simek (1):
dt-bindings: ata: ahci-ceva: Cover all 4 iommus entries
Min Li (1):
Bluetooth: L2CAP: fix "bad unlock balance" in l2cap_disconnect_rsp
Mirsad Goran Todorovac (1):
wifi: mac80211: fortify the spinlock against deadlock by interrupt
Mukesh Sisodiya (1):
wifi: iwlwifi: add a new PCI device ID for BZ device
Nagarajan Maran (1):
wifi: ath11k: Fix SKB corruption in REO destination ring
Nathan Chancellor (1):
net: pasemi: Fix return type of pasemi_mac_start_tx()
NeilBrown (2):
SUNRPC: double free xprt_ctxt while still in use
SUNRPC: always free ctxt when freeing deferred request
Nick Child (2):
net: Catch invalid index in XPS mapping
netdev: Enforce index cap in netdev_get_tx_queue
Nikhil Mahale (1):
ALSA: hda: Add NVIDIA codec IDs a3 through a7 to patch table
Nikita Zhandarovich (1):
drm/i915/dp: prevent potential div-by-zero
Nur Hussein (1):
drm/tegra: Avoid potential 32-bit integer overflow
Ojaswin Mujoo (1):
ext4: Fix best extent lstart adjustment logic in ext4_mb_new_inode_pa()
Oliver Hartkopp (3):
can: dev: fix missing CAN XL support in can_put_echo_skb()
can: j1939: recvmsg(): allow MSG_CMSG_COMPAT flag
can: isotp: recvmsg(): allow MSG_CMSG_COMPAT flag
Parav Pandit (1):
virtio-net: Maintain reverse cleanup order
Paul E. McKenney (1):
refscale: Move shutdown from wait_event() to wait_event_idle()
Paul Hsieh (2):
drm/amd/display: Correct DML calculation to align HW formula drm/amd/display: Correct DML calculation to follow HW SPEC
Peng Zhang (1):
maple_tree: make maple state reusable after mas_empty_area()
Peter Collingbourne (1):
arm64: mte: Do not set PG_mte_tagged if tags were not initialized
Philipp Hortmann (1):
staging: rtl8192e: Replace macro RTL_PCI_DEVICE with PCI_DEVICE
Pierre Gondois (1):
firmware: arm_sdei: Fix sleep from invalid context BUG
Pieter Jansen van Vuuren (1):
sfc: disable RXFCS and RXALL features by default
Ping-Ke Shih (1):
wifi: rtw88: use work to update rate to avoid RCU warning
Prajna Sariputra (1):
ASoC: amd: yc: Add DMI entries to support HP OMEN 16-n0xxx (8A42)
Qiang Ning (1):
mfd: dln2: Fix memory leak in dln2_probe()
Randy Dunlap (1):
ARM: 9296/1: HP Jornada 7XX: fix kernel-doc warnings
Ranjani Sridharan (1):
ASoC: SOF: topology: Fix logic for copying tuples
Raul Cheleguini (2):
Bluetooth: Improve support for Actions Semi ATS2851 based devices
Bluetooth: Add new quirk for broken set random RPA timeout for ATS2851
Richard Fitzgerald (1):
soundwire: bus: Fix unbalanced pm_runtime_put() causing usage count underflow
Rob Clark (1):
drm/msm: Fix submit error-path leaks
Rodrigo Siqueira (1):
drm/amd/display: Use DC_LOG_DC in the trasform pixel function
Rodrigo Vivi (1):
drm/i915: Expand force_probe to block probe of devices as well.
Rodríguez Barbarin, José Javier (1):
mcb-pci: Reallocate memory region to avoid memory overlapping
Roger Quadros (1):
usb: dwc3: gadget: Improve dwc3_gadget_suspend() and dwc3_gadget_resume()
Roy Novich (1):
linux/dim: Do nothing if no time delta between samples
Ryan C. Underwood (1):
ALSA: hda/realtek: Apply HP B&O top speaker profile to Pavilion 15
Ryder Lee (1):
wifi: mt76: connac: fix stats->tx_bytes calculation
Ryusuke Konishi (1):
nilfs2: fix use-after-free bug of nilfs_root in nilfs_evict_inode()
Sabrina Dubroca (1):
xfrm: don't check the default policy if the policy allows the packet
Samuel Čavoj (1):
usb: typec: ucsi: acpi: add quirk for ASUS Zenbook UM325
Saravana Kannan (1):
drm/mipi-dsi: Set the fwnode for mipi_dsi_device
Sebastian Krzyszkowiak (1):
arm64: dts: imx8mq-librem5: Remove dis_u3_susphy_quirk from usb_dwc3_0
Shanker Donthineni (1):
irqchip/gicv3: Workaround for NVIDIA erratum T241-FABRIC-4
Shengjiu Wang (1):
ASoC: fsl_micfil: Fix error handler with pm_runtime_enable
Simon Horman (1):
ipvs: Update width of source for ip_vs_sync_conn_options
Srinivas Kandagatla (1):
drm/msm/dp: unregister audio driver during unbind
Stanislav Lisovskiy (1):
drm/i915: Fix NULL ptr deref by checking new_crtc_state
Stefan Haberland (1):
s390/dasd: fix command reject error on ESE devices
Stephan Müller (1):
crypto: jitter - permanent and intermittent health errors
Sui Jingfeng (1):
drm/fbdev-generic: prohibit potential out-of-bounds access
Takashi Iwai (2):
ALSA: usb-audio: Add a sample rate workaround for Line6 Pod Go
ALSA: hda: Fix Oops by 9.1 surround channel names
Tamir Duberstein (1):
ACPICA: Avoid undefined behavior: applying zero offset to null pointer
Tetsuo Handa (1):
fs: hfsplus: remove WARN_ON() from hfsplus_cat_{read,write}_inode()
Theodore Ts'o (3):
ext4: reflect error codes from ext4_multi_mount_protect() to its callers
ext4: don't clear SB_RDONLY when remounting r/w until quota is re-enabled
ext4: allow ext4_get_group_info() to fail
Thomas Gleixner (1):
tick/broadcast: Make broadcast device replacement work correctly
Tobias Brunner (2):
xfrm: Reject optional tunnel/BEET mode templates in outbound policies
af_key: Reject optional tunnel/BEET mode templates in outbound policies
Toby Chen (1):
drm/rockchip: dw_hdmi: cleanup drm encoder during unbind
Tom Rix (1):
media: pvrusb2: VIDEO_PVRUSB2 depends on DVB_CORE to use dvb_* symbols
Tong Liu01 (1):
drm/amdgpu: refine get gpu clock counter method
Tony Lindgren (1):
serial: 8250: Reinit port->pm on port specific driver unbind
Udipto Goswami (1):
usb: dwc3: debugfs: Resume dwc3 before accessing registers
Uwe Kleine-König (2):
platform: Provide a remove callback that returns no value
net: fec: Better handle pm_runtime_get() failing in .remove()
Vasily Khoruzhick (2):
Bluetooth: Add new quirk for broken local ext features page 2
Bluetooth: btrtl: add support for the RTL8723CS
Vineeth Vijayan (1):
s390/cio: include subchannels without devices also for evaluation
Vitaliy Tomin (1):
serial: Add support for Advantech PCI-1611U card
Vitaly Rodionov (1):
ALSA: hda/realtek: Add quirk for HP EliteBook G10 laptops
Vladimir Oltean (1):
net: pcs: xpcs: fix C73 AN not getting enabled
Wei Chen (1):
media: mediatek: vcodec: Fix potential array out-of-bounds in decoder queue_setup
Weitao Wang (1):
USB: UHCI: adjust zhaoxin UHCI controllers OverCurrent bit value
Wyes Karny (1):
cpupower: Make TSC read per CPU for Mperf monitor
Xin Long (4):
erspan: get the proto with the md version for collect_md
tipc: add tipc_bearer_min_mtu to calculate min mtu
tipc: do not update mtu if msg_max is too small in mtu negotiation
tipc: check the bearer min mtu properly when setting it by netlink
Xiubo Li (1):
ceph: force updating the msg pointer in non-split case
Yafang (1):
bpf: Add preempt_count_{sub,add} into btf id deny list
Yonggil Song (1):
f2fs: Fix system crash due to lack of free space in LFS
Yu Kuai (1):
md: fix soft lockup in status_resync
Ze Gao (2):
rethook: use preempt_{disable, enable}_notrace in rethook_trampoline_handler rethook, fprobe: do not trace rethook related functions
Zheng Wang (2):
memstick: r592: Fix UAF bug in r592_remove due to race condition
scsi: message: mptlan: Fix use after free bug in mptlan_remove() due to race condition
Zhong Jinghua (1):
nbd: fix incomplete validation of ioctl arg
Zhuang Shengen (1):
vsock: avoid to close connected socket after the timeout
Ziwei Xiao (1):
gve: Remove the code of clearing PBA bit
Zongjie Li (1):
fbdev: arcfb: Fix error handling in arcfb_probe()
Zqiang (1):
rcu: Protect rcu_print_task_exp_stall() ->exp_tasks access
harperchen (2):
media: cx23885: Fix a null-ptr-deref bug in buffer_prepare() and buffer_finish()
media: pci: tw68: Fix null-ptr-deref bug in buf prepare and finish
lyndonli (1):
drm/amdgpu: Fix sdma v4 sw fini error
t.feng (1):
ipvlan:Fix out-of-bounds caused by unclear skb->cb
void0red (1):
ACPICA: ACPICA: check null return of ACPI_ALLOCATE_ZEROED in acpi_db_display_objects
weiliang1503 (1):
HID: Ignore battery for ELAN touchscreen on ROG Flow X13 GV301RA
Greg Kroah-Hartman
maintainerDocumentation/arm64/silicon-errata.rst +2 -0
@@ -170,6 +170,8 @@ stable kernels. +----------------+-----------------+-----------------+-----------------------------+ | NVIDIA | Carmel Core | N/A | NVIDIA_CARMEL_CNP_ERRATUM | +----------------+-----------------+-----------------+-----------------------------+ +| NVIDIA | T241 GICv3/4.x | T241-FABRIC-4 | N/A | ++----------------+-----------------+-----------------+-----------------------------+ +----------------+-----------------+-----------------+-----------------------------+ | Freescale/NXP | LS2080A/LS1043A | A-008585 | FSL_ERRATUM_A008585 | +----------------+-----------------+-----------------+-----------------------------+
Documentation/devicetree/bindings/ata/ceva,ahci-1v84.yaml +1 -1
@@ -32,7 +32,7 @@ properties: maxItems: 1 iommus: - maxItems: 1 + maxItems: 4 power-domains: maxItems: 1
Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml +12 -0
@@ -65,6 +65,18 @@ properties: Indicates if the DSI controller is driving a panel which needs 2 DSI links. + qcom,master-dsi: + type: boolean + description: | + Indicates if the DSI controller is the master DSI controller when + qcom,dual-dsi-mode enabled. + + qcom,sync-dual-dsi: + type: boolean + description: | + Indicates if the DSI controller needs to sync the other DSI controller + with MIPI DCS commands when qcom,dual-dsi-mode enabled. + assigned-clocks: maxItems: 2 description: |
MAINTAINERS +2 -2
@@ -9362,7 +9362,7 @@ F: drivers/net/wireless/intersil/hostap/ HP COMPAQ TC1100 TABLET WMI EXTRAS DRIVER L: [email protected] S: Orphan -F: drivers/platform/x86/tc1100-wmi.c +F: drivers/platform/x86/hp/tc1100-wmi.c HPET: High Precision Event Timers driver M: Clemens Ladisch <[email protected]>
@@ -11858,7 +11858,7 @@ M: Eric Piel <[email protected]> S: Maintained F: Documentation/misc-devices/lis3lv02d.rst F: drivers/misc/lis3lv02d/ -F: drivers/platform/x86/hp_accel.c +F: drivers/platform/x86/hp/hp_accel.c LIST KUNIT TEST M: David Gow <[email protected]>
Makefile +1 -1
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 6 PATCHLEVEL = 1 -SUBLEVEL = 29 +SUBLEVEL = 30 EXTRAVERSION = NAME = Curry Ramen
arch/arm/mach-sa1100/jornada720_ssp.c +4 -1
@@ -1,5 +1,5 @@// SPDX-License-Identifier: GPL-2.0-only -/** +/* * arch/arm/mac-sa1100/jornada720_ssp.c * * Copyright (C) 2006/2007 Kristoffer Ericson <[email protected]>
@@ -26,6 +26,7 @@ static unsigned long jornada_ssp_flags;/** * jornada_ssp_reverse - reverses input byte +* @byte: input byte to reverse * * we need to reverse all data we receive from the mcu due to its physical location * returns : 01110111 -> 11101110
@@ -46,6 +47,7 @@ EXPORT_SYMBOL(jornada_ssp_reverse);/** * jornada_ssp_byte - waits for ready ssp bus and sends byte +* @byte: input byte to transmit * * waits for fifo buffer to clear and then transmits, if it doesn't then we will * timeout after <timeout> rounds. Needs mcu running before its called.
@@ -77,6 +79,7 @@ EXPORT_SYMBOL(jornada_ssp_byte);/** * jornada_ssp_inout - decide if input is command or trading byte +* @byte: input byte to send (may be %TXDUMMY) * * returns : (jornada_ssp_byte(byte)) on success * : %-ETIMEDOUT on timeout failure
arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi +0 -1
@@ -1299,7 +1299,6 @@ &usb_dwc3_0 { #address-cells = <1>; #size-cells = <0>; dr_mode = "otg"; - snps,dis_u3_susphy_quirk; usb-role-switch; status = "okay";
arch/arm64/boot/dts/qcom/msm8996.dtsi +3 -0
@@ -2979,8 +2979,11 @@ usb3_dwc3: usb@6a00000 { interrupts = <0 131 IRQ_TYPE_LEVEL_HIGH>; phys = <&hsusb_phy1>, <&ssusb_phy_0>; phy-names = "usb2-phy", "usb3-phy"; + snps,hird-threshold = /bits/ 8 <0>; snps,dis_u2_susphy_quirk; snps,dis_enblslpm_quirk; + snps,is-utmi-l1-suspend; + tx-fifo-resize; }; };
arch/arm64/boot/dts/qcom/sdm845-xiaomi-polaris.dts +0 -2
@@ -731,8 +731,6 @@ &wifi { vdd-1.3-rfa-supply = <&vreg_l17a_1p3>; vdd-3.3-ch0-supply = <&vreg_l25a_3p3>; vdd-3.3-ch1-supply = <&vreg_l23a_3p3>; - - qcom,snoc-host-cap-skip-quirk; status = "okay"; };
arch/arm64/kernel/mte.c +2 -5
@@ -72,13 +72,10 @@ void mte_sync_tags(pte_t old_pte, pte_t pte)return ;/* if PG_mte_tagged is set, tags have already been initialised */ -for (i =0 ; i < nr_pages; i++, page++) { -if (!page_mte_tagged (page)) { +for (i =0 ; i < nr_pages; i++, page++) +if (!page_mte_tagged (page))mte_sync_page_tags (page, old_pte, check_swap, pte_is_tagged); -set_page_mte_tagged (page); - } - }/* ensure the tags are visible before the PTE is set */ smp_wmb ();
arch/parisc/include/asm/pdc.h +1 -0
@@ -80,6 +80,7 @@ int pdc_do_firm_test_reset(unsigned long ftc_bitmap);int pdc_do_reset (void );int pdc_soft_power_info (unsigned long *power_reg);int pdc_soft_power_button (int sw_control); +int pdc_soft_power_button_panic (int sw_control);void pdc_io_reset (void );void pdc_io_reset_devices (void );int pdc_iodc_getc (void );
arch/parisc/kernel/firmware.c +23 -4
@@ -1232,15 +1232,18 @@ int __init pdc_soft_power_info(unsigned long *power_reg) }/* -* pdc_soft_power_button - Control the soft power button behaviour -* @sw_control: 0 for hardware control, 1 for software control +* pdc_soft_power_button{_panic} - Control the soft power button behaviour +* @sw_control: 0 for hardware control, 1 for software control * * * This PDC function places the soft power button under software or * hardware control. -* Under software control the OS may control to when to allow to shut -* down the system. Under hardware control pressing the power button +* Under software control the OS may control to when to allow to shut +* down the system. Under hardware control pressing the power button * powers off the system immediately. +* +* The _panic version relies on spin_trylock to prevent deadlock +* on panic path. */ int pdc_soft_power_button (int sw_control) {
@@ -1254,6 +1257,22 @@ int pdc_soft_power_button(int sw_control)return retval; } +int pdc_soft_power_button_panic (int sw_control) +{ +int retval; +unsigned long flags; + +if (!spin_trylock_irqsave (&pdc_lock, flags)) { +pr_emerg ("Couldn't enable soft power button\n" ); +return -EBUSY ;/* ignored by the panic notifier */ + } + + retval =mem_pdc_call (PDC_SOFT_POWER ,PDC_SOFT_POWER_ENABLE ,__pa (pdc_result), sw_control); +spin_unlock_irqrestore (&pdc_lock, flags); + +return retval; +} +/* * pdc_io_reset - Hack to avoid overlapping range registers of Bridges devices. * Primarily a problem on T600 (which parisc-linux doesn't support) but
arch/powerpc/kernel/dma-iommu.c +3 -1
@@ -144,7 +144,7 @@ static bool dma_iommu_bypass_supported(struct device *dev, u64 mask)/* We support DMA to/from any memory page via the iommu */ int dma_iommu_dma_supported (struct device *dev,u64 mask) { -struct iommu_table *tbl =get_iommu_table_base (dev); +struct iommu_table *tbl;if (dev_is_pci (dev) &&dma_iommu_bypass_supported (dev, mask)) {/*
@@ -162,6 +162,8 @@ int dma_iommu_dma_supported(struct device *dev, u64 mask)return 1 ; } + tbl =get_iommu_table_base (dev); +if (!tbl) {dev_err (dev,"Warning: IOMMU dma not supported: mask 0x%08llx, table unavailable\n" , mask);return 0 ;
arch/powerpc/kernel/iommu.c +7 -4
@@ -517,7 +517,7 @@ int ppc_iommu_map_sg(struct device *dev, struct iommu_table *tbl,/* Convert entry to a dma_addr_t */ entry += tbl->it_offset; dma_addr = entry << tbl->it_page_shift; - dma_addr |= (s->offset & ~IOMMU_PAGE_MASK (tbl)); + dma_addr |= (vaddr & ~IOMMU_PAGE_MASK (tbl));DBG (" - %lu pages, entry: %lx, dma_addr: %lx\n" , npages, entry, dma_addr);
@@ -904,6 +904,7 @@ void *iommu_alloc_coherent(struct device *dev, struct iommu_table *tbl,unsigned int order;unsigned int nio_pages, io_order;struct page *page; +int tcesize = (1 << tbl->it_page_shift); size =PAGE_ALIGN (size); order =get_order (size);
@@ -930,7 +931,8 @@ void *iommu_alloc_coherent(struct device *dev, struct iommu_table *tbl,memset (ret,0 , size);/* Set up tces to cover the allocated range */ - nio_pages = size >> tbl->it_page_shift; + nio_pages =IOMMU_PAGE_ALIGN (size, tbl) >> tbl->it_page_shift; + io_order =get_iommu_order (size, tbl); mapping =iommu_alloc (dev, tbl, ret, nio_pages,DMA_BIDIRECTIONAL , mask >> tbl->it_page_shift, io_order,0 );
@@ -938,7 +940,8 @@ void *iommu_alloc_coherent(struct device *dev, struct iommu_table *tbl,free_pages ((unsigned long )ret, order);return NULL ; } - *dma_handle = mapping; + + *dma_handle = mapping | ((u64 )ret & (tcesize -1 ));return ret; }
@@ -949,7 +952,7 @@ void iommu_free_coherent(struct iommu_table *tbl, size_t size,unsigned int nio_pages; size =PAGE_ALIGN (size); - nio_pages = size >> tbl->it_page_shift; + nio_pages =IOMMU_PAGE_ALIGN (size, tbl) >> tbl->it_page_shift;iommu_free (tbl, dma_handle, nio_pages); size =PAGE_ALIGN (size);free_pages ((unsigned long )vaddr,get_order (size));
arch/powerpc/mm/book3s64/radix_pgtable.c +2 -2
@@ -1040,8 +1040,8 @@ void radix__ptep_set_access_flags(struct vm_area_struct *vma, pte_t *ptep, pte_t entry, unsigned long address, int psize) { struct mm_struct *mm = vma->vm_mm; -unsigned long set =pte_val (entry) & (_PAGE_DIRTY | _PAGE_ACCESSED | - _PAGE_RW | _PAGE_EXEC); +unsigned long set =pte_val (entry) & (_PAGE_DIRTY | _PAGE_SOFT_DIRTY | + _PAGE_ACCESSED | _PAGE_RW | _PAGE_EXEC);unsigned long change =pte_val (entry) ^pte_val (*ptep);/*
arch/powerpc/platforms/pseries/iommu.c +9 -4
@@ -85,19 +85,24 @@ static struct iommu_table_group *iommu_pseries_alloc_group(int node)static void iommu_pseries_free_group (struct iommu_table_group *table_group,const char *node_name) { -struct iommu_table *tbl; -if (!table_group)return ; - tbl = table_group->tables[0 ];#ifdef CONFIG_IOMMU_API if (table_group->group) {iommu_group_put (table_group->group);BUG_ON (table_group->group); }#endif -iommu_tce_table_put (tbl); + +/* Default DMA window table is at index 0, while DDW at 1. SR-IOV +* adapters only have table on index 1. +*/ +if (table_group->tables[0 ]) +iommu_tce_table_put (table_group->tables[0 ]); + +if (table_group->tables[1 ]) +iommu_tce_table_put (table_group->tables[1 ]);kfree (table_group); }
arch/riscv/kernel/probes/Makefile +2 -0
@@ -4,3 +4,5 @@ obj-$(CONFIG_KPROBES) += kprobes_trampoline.o obj-$(CONFIG_KPROBES_ON_FTRACE) += ftrace.o obj-$(CONFIG_UPROBES) += uprobes.o decode-insn.o simulate-insn.o CFLAGS_REMOVE_simulate-insn.o = $(CC_FLAGS_FTRACE) +CFLAGS_REMOVE_rethook.o = $(CC_FLAGS_FTRACE) +CFLAGS_REMOVE_rethook_trampoline.o = $(CC_FLAGS_FTRACE)
arch/s390/crypto/chacha-glue.c +1 -1
@@ -82,7 +82,7 @@ void chacha_crypt_arch(u32 *state, u8 *dst, const u8 *src,* it cannot handle a block of data or less, but otherwise * it can handle data of arbitrary size */ -if (bytes <=CHACHA_BLOCK_SIZE || nrounds !=20 ) +if (bytes <=CHACHA_BLOCK_SIZE || nrounds !=20 || !MACHINE_HAS_VX )chacha_crypt_generic (state, dst, src, bytes, nrounds);else chacha20_crypt_s390(state, dst, src, bytes,
arch/s390/kernel/Makefile +1 -0
@@ -10,6 +10,7 @@ CFLAGS_REMOVE_ftrace.o = $(CC_FLAGS_FTRACE) # Do not trace early setup code CFLAGS_REMOVE_early.o = $(CC_FLAGS_FTRACE) +CFLAGS_REMOVE_rethook.o = $(CC_FLAGS_FTRACE) endif
arch/x86/kernel/Makefile +1 -0
@@ -17,6 +17,7 @@ CFLAGS_REMOVE_ftrace.o = -pg CFLAGS_REMOVE_early_printk.o = -pg CFLAGS_REMOVE_head64.o = -pg CFLAGS_REMOVE_sev.o = -pg +CFLAGS_REMOVE_rethook.o = -pg endif KASAN_SANITIZE_head$(BITS).o := n
block/bfq-iosched.c +2 -0
@@ -637,6 +637,8 @@ static bool bfqq_request_over_limit(struct bfq_queue *bfqq, int limit) sched_data->service_tree[i].wsum; } } +if (!wsum) +continue ; limit =DIV_ROUND_CLOSEST (limit * entity->weight, wsum);if (entity->allocated >= limit) { bfq_log_bfqq(bfqq->bfqd, bfqq,
crypto/jitterentropy-kcapi.c +24 -27
86 lines not on this page · raw message
crypto/jitterentropy.c +52 -92
209 lines not on this page · raw message
crypto/jitterentropy.h +0 -1
@@ -2,7 +2,6 @@extern void *jent_zalloc (unsigned int len);extern void jent_zfree (void *ptr); -extern void jent_panic (char *s);extern void jent_memcpy (void *dest,const void *src,unsigned int n);extern void jent_get_nstime (__u64 *out);
crypto/testmgr.c +169 -97
623 lines not on this page · raw message
drivers/acpi/acpi_apd.c +2 -0
@@ -83,6 +83,8 @@ static int fch_misc_setup(struct apd_private_data *pdata)if (!acpi_dev_get_property (adev,"clk-name" ,ACPI_TYPE_STRING , &obj)) { clk_data->name =devm_kzalloc (&adev->dev, obj->string.length,GFP_KERNEL ); +if (!clk_data->name) +return -ENOMEM ;strcpy (clk_data->name, obj->string.pointer); }else {
drivers/acpi/acpica/dbnames.c +3 -0
@@ -652,6 +652,9 @@ acpi_status acpi_db_display_objects(char *obj_type_arg, char *display_count_arg) object_info =ACPI_ALLOCATE_ZEROED (sizeof (struct acpi_object_info )); +if (!object_info) +return (AE_NO_MEMORY ); +/* Walk the namespace from the root */ (void)acpi_walk_namespace(ACPI_TYPE_ANY, ACPI_ROOT_OBJECT,
drivers/acpi/acpica/dswstate.c +8 -3
@@ -576,9 +576,14 @@ acpi_ds_init_aml_walk(struct acpi_walk_state *walk_state,ACPI_FUNCTION_TRACE (ds_init_aml_walk); walk_state->parser_state.aml = - walk_state->parser_state.aml_start = aml_start; - walk_state->parser_state.aml_end = - walk_state->parser_state.pkg_end = aml_start + aml_length; + walk_state->parser_state.aml_start = + walk_state->parser_state.aml_end = + walk_state->parser_state.pkg_end = aml_start; +/* Avoid undefined behavior: applying zero offset to null pointer */ +if (aml_length !=0 ) { + walk_state->parser_state.aml_end += aml_length; + walk_state->parser_state.pkg_end += aml_length; + }/* The next_op of the next_walk will be the beginning of the method */
drivers/acpi/ec.c +1 -0
@@ -1121,6 +1121,7 @@ static void acpi_ec_remove_query_handlers(struct acpi_ec *ec,void acpi_ec_remove_query_handler (struct acpi_ec *ec,u8 query_bit) {acpi_ec_remove_query_handlers (ec, false, query_bit); +flush_workqueue (ec_query_wq); }EXPORT_SYMBOL_GPL (acpi_ec_remove_query_handler);
drivers/acpi/video_detect.c +0 -35
@@ -130,12 +130,6 @@ static int video_detect_force_native(const struct dmi_system_id *d)return 0 ; } -static int video_detect_force_none (const struct dmi_system_id *d) -{ - acpi_backlight_dmi = acpi_backlight_none; -return 0 ; -} -static const struct dmi_system_id video_detect_dmi_table[] = {/* * Models which should use the vendor backlight interface,
@@ -752,35 +746,6 @@ static const struct dmi_system_id video_detect_dmi_table[] = { DMI_MATCH(DMI_PRODUCT_NAME, "Vostro 15 3535"), }, }, - -/* -* Desktops which falsely report a backlight and which our heuristics -* for this do not catch. -*/ - { - .callback = video_detect_force_none, - /* Dell OptiPlex 9020M */ - .matches = { - DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), - DMI_MATCH(DMI_PRODUCT_NAME, "OptiPlex 9020M"), - }, - }, - { - .callback = video_detect_force_none, - /* GIGABYTE GB-BXBT-2807 */ - .matches = { - DMI_MATCH(DMI_SYS_VENDOR, "GIGABYTE"), - DMI_MATCH(DMI_PRODUCT_NAME, "GB-BXBT-2807"), - }, - }, - { - .callback = video_detect_force_none, - /* MSI MS-7721 */ - .matches = { - DMI_MATCH(DMI_SYS_VENDOR, "MSI"), - DMI_MATCH(DMI_PRODUCT_NAME, "MS-7721"), - }, - }, { }, };
drivers/base/platform.c +3 -1
@@ -1416,7 +1416,9 @@ static void platform_remove(struct device *_dev)struct platform_driver *drv =to_platform_driver (_dev->driver);struct platform_device *dev =to_platform_device (_dev); -if (drv->remove) { +if (drv->remove_new) { + drv->remove_new (dev); + }else if (drv->remove) {int ret = drv->remove (dev);if (ret)
drivers/base/regmap/regcache.c +6 -0
@@ -349,6 +349,9 @@ int regcache_sync(struct regmap *map)const char *name;bool bypass; +if (WARN_ON (map->cache_type ==REGCACHE_NONE )) +return -EINVAL ; +BUG_ON (!map->cache_ops); map->lock (map->lock_arg);
@@ -418,6 +421,9 @@ int regcache_sync_region(struct regmap *map, unsigned int min,const char *name;bool bypass; +if (WARN_ON (map->cache_type ==REGCACHE_NONE )) +return -EINVAL ; +BUG_ON (!map->cache_ops); map->lock (map->lock_arg);
drivers/block/nbd.c +6 -0
@@ -325,6 +325,9 @@ static int nbd_set_size(struct nbd_device *nbd, loff_t bytesize,if (blk_validate_block_size (blksize))return -EINVAL ; +if (bytesize <0 ) +return -EINVAL ; + nbd->config->bytesize = bytesize; nbd->config->blksize_bits =__ffs (blksize);
@@ -1110,6 +1113,9 @@ static int nbd_add_socket(struct nbd_device *nbd, unsigned long arg,struct nbd_sock *nsock;int err; +/* Arg will be cast to int, check it to avoid overflow */ +if (arg >INT_MAX ) +return -EINVAL ; sock =nbd_get_socket (nbd, arg, &err);if (!sock)return err;
drivers/block/null_blk/main.c +5 -0
@@ -1945,6 +1945,11 @@ static int null_init_tag_set(struct nullb *nullb, struct blk_mq_tag_set *set)static int null_validate_conf (struct nullb_device *dev) { +if (dev->queue_mode ==NULL_Q_RQ ) { +pr_err ("legacy IO path is no longer available\n" ); +return -EINVAL ; + } + dev->blocksize =round_down (dev->blocksize,512 ); dev->blocksize = clamp_t(unsigned int, dev->blocksize, 512, 4096);
drivers/bluetooth/btbcm.c +44 -3
65 lines not on this page · raw message
drivers/bluetooth/btintel.c +2 -3
@@ -2553,9 +2553,8 @@ static int btintel_setup_combined(struct hci_dev *hdev)*/ set_bit (HCI_QUIRK_WIDEBAND_SPEECH_SUPPORTED , &hdev->quirks); -/* Valid LE States quirk for GfP */ -if (INTEL_HW_VARIANT (ver_tlv.cnvi_bt) ==0x18 ) -set_bit (HCI_QUIRK_VALID_LE_STATES , &hdev->quirks); +/* Apply LE States quirk from solar onwards */ +set_bit (HCI_QUIRK_VALID_LE_STATES , &hdev->quirks);/* Setup MSFT Extension support */ btintel_set_msft_opcode(hdev,
drivers/bluetooth/btrtl.c +134 -4
254 lines not on this page · raw message
drivers/bluetooth/btrtl.h +5 -0
@@ -14,6 +14,11 @@struct btrtl_device_info ; +struct rtl_chip_type_evt { +__u8 status; +__u8 type; +} __packed; +struct rtl_download_cmd {__u8 index;__u8 data[RTL_FRAG_LEN ];
drivers/bluetooth/btusb.c +6 -0
@@ -549,6 +549,9 @@ static const struct usb_device_id blacklist_table[] = { { USB_DEVICE(0x043e, 0x310c), .driver_info = BTUSB_MEDIATEK |BTUSB_WIDEBAND_SPEECH | BTUSB_VALID_LE_STATES }, + { USB_DEVICE(0x04ca, 0x3801), .driver_info = BTUSB_MEDIATEK | +BTUSB_WIDEBAND_SPEECH | + BTUSB_VALID_LE_STATES }, /* Additional MediaTek MT7668 Bluetooth devices */ { USB_DEVICE(0x043e, 0x3109), .driver_info = BTUSB_MEDIATEK |
@@ -4016,6 +4019,9 @@ static int btusb_probe(struct usb_interface *intf,if (id->driver_info &BTUSB_ACTIONS_SEMI ) {/* Support is advertised, but not implemented */ set_bit (HCI_QUIRK_BROKEN_ERR_DATA_REPORTING , &hdev->quirks); +set_bit (HCI_QUIRK_BROKEN_READ_TRANSMIT_POWER , &hdev->quirks); +set_bit (HCI_QUIRK_BROKEN_SET_RPA_TIMEOUT , &hdev->quirks); +set_bit (HCI_QUIRK_BROKEN_EXT_SCAN , &hdev->quirks); }if (!reset)
drivers/bluetooth/hci_h5.c +4 -0
@@ -936,6 +936,8 @@ static int h5_btrtl_setup(struct h5 *h5) err =btrtl_download_firmware (h5->hu->hdev, btrtl_dev);/* Give the device some time before the hci-core sends it a reset */ usleep_range (10000 ,20000 ); +if (err) + goto out_free;btrtl_set_quirks (h5->hu->hdev, btrtl_dev);
@@ -1100,6 +1102,8 @@ static const struct of_device_id rtl_bluetooth_of_match[] = { .data = (const void *)&h5_data_rtl8822cs }, { .compatible = "realtek,rtl8723bs-bt", .data = (const void *)&h5_data_rtl8723bs }, + { .compatible = "realtek,rtl8723cs-bt", + .data = (const void *)&h5_data_rtl8723bs }, { .compatible = "realtek,rtl8723ds-bt", .data = (const void *)&h5_data_rtl8723bs },#endif
drivers/char/tpm/tpm_tis.c +16 -0
@@ -83,6 +83,22 @@ static const struct dmi_system_id tpm_tis_dmi_table[] = { DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad T490s"), }, }, + { + .callback = tpm_tis_disable_irq, + .ident = "ThinkStation P360 Tiny", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), + DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkStation P360 Tiny"), + }, + }, + { + .callback = tpm_tis_disable_irq, + .ident = "ThinkPad L490", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), + DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad L490"), + }, + }, {} };
drivers/firmware/arm_sdei.c +20 -17
@@ -43,6 +43,8 @@ static asmlinkage void (*sdei_firmware_call)(unsigned long function_id,/* entry point from firmware to arch asm code */ static unsigned long sdei_entry_point; +static int sdei_hp_state; +struct sdei_event {/* These three are protected by the sdei_list_lock */ struct list_head list;
@@ -301,8 +303,6 @@ int sdei_mask_local_cpu(void) {int err; -WARN_ON_ONCE (preemptible ()); - err =invoke_sdei_fn (SDEI_1_0_FN_SDEI_PE_MASK ,0 ,0 ,0 ,0 ,0 ,NULL );if (err && err != -EIO ) { pr_warn_once("failed to mask CPU[%u]: %d\n",
@@ -315,6 +315,7 @@ int sdei_mask_local_cpu(void)static void _ipi_mask_cpu (void *ignored) { +WARN_ON_ONCE (preemptible ());sdei_mask_local_cpu (); }
@@ -322,8 +323,6 @@ int sdei_unmask_local_cpu(void) {int err; -WARN_ON_ONCE (preemptible ()); - err =invoke_sdei_fn (SDEI_1_0_FN_SDEI_PE_UNMASK ,0 ,0 ,0 ,0 ,0 ,NULL );if (err && err != -EIO ) { pr_warn_once("failed to unmask CPU[%u]: %d\n",
@@ -336,6 +335,7 @@ int sdei_unmask_local_cpu(void)static void _ipi_unmask_cpu (void *ignored) { +WARN_ON_ONCE (preemptible ());sdei_unmask_local_cpu (); }
@@ -343,6 +343,8 @@ static void _ipi_private_reset(void *ignored) {int err; +WARN_ON_ONCE (preemptible ()); + err =invoke_sdei_fn (SDEI_1_0_FN_SDEI_PRIVATE_RESET ,0 ,0 ,0 ,0 ,0 ,NULL );if (err && err != -EIO )
@@ -389,8 +391,6 @@ static void _local_event_enable(void *data)int err;struct sdei_crosscall_args *arg = data; -WARN_ON_ONCE (preemptible ()); - err =sdei_api_event_enable (arg->event->event_num);sdei_cross_call_return (arg, err);
@@ -479,8 +479,6 @@ static void _local_event_unregister(void *data)int err;struct sdei_crosscall_args *arg = data; -WARN_ON_ONCE (preemptible ()); - err =sdei_api_event_unregister (arg->event->event_num);sdei_cross_call_return (arg, err);
@@ -561,8 +559,6 @@ static void _local_event_register(void *data)struct sdei_registered_event *reg;struct sdei_crosscall_args *arg = data; -WARN_ON (preemptible ()); - reg =per_cpu_ptr (arg->event->private_registered,smp_processor_id ()); err =sdei_api_event_register (arg->event->event_num, sdei_entry_point, reg,0 ,0 );
@@ -717,6 +713,8 @@ static int sdei_pm_notifier(struct notifier_block *nb, unsigned long action, {int rv; +WARN_ON_ONCE (preemptible ()); +switch (action) {case CPU_PM_ENTER : rv =sdei_mask_local_cpu ();
@@ -765,7 +763,7 @@ static int sdei_device_freeze(struct device *dev)int err;/* unregister private events */ -cpuhp_remove_state (CPUHP_AP_ARM_SDEI_STARTING ); +cpuhp_remove_state (sdei_entry_point); err =sdei_unregister_shared ();if (err)
@@ -786,12 +784,15 @@ static int sdei_device_thaw(struct device *dev)return err; } - err =cpuhp_setup_state (CPUHP_AP_ARM_SDEI_STARTING ,"SDEI" , + err =cpuhp_setup_state (CPUHP_AP_ONLINE_DYN ,"SDEI" , &sdei_cpuhp_up, &sdei_cpuhp_down); -if (err) +if (err <0 ) {pr_warn ("Failed to re-register CPU hotplug notifier...\n" ); +return err; + } -return err; + sdei_hp_state = err; +return 0 ; }static int sdei_device_restore (struct device *dev)
@@ -823,7 +824,7 @@ static int sdei_reboot_notifier(struct notifier_block *nb, unsigned long action,* We are going to reset the interface, after this there is no point * doing work when we take CPUs offline. */ -cpuhp_remove_state (CPUHP_AP_ARM_SDEI_STARTING ); +cpuhp_remove_state (sdei_hp_state);sdei_platform_reset ();
@@ -1003,13 +1004,15 @@ static int sdei_probe(struct platform_device *pdev) goto remove_cpupm; } - err =cpuhp_setup_state (CPUHP_AP_ARM_SDEI_STARTING ,"SDEI" , + err =cpuhp_setup_state (CPUHP_AP_ONLINE_DYN ,"SDEI" , &sdei_cpuhp_up, &sdei_cpuhp_down); -if (err) { +if (err <0 ) {pr_warn ("Failed to register CPU hotplug notifier...\n" ); goto remove_reboot; } + sdei_hp_state = err; +return 0 ; remove_reboot:
drivers/firmware/smccc/smccc.c +26 -0
@@ -17,9 +17,13 @@ static enum arm_smccc_conduit smccc_conduit = SMCCC_CONDUIT_NONE;bool __ro_after_init smccc_trng_available = false;u64 __ro_after_init smccc_has_sve_hint = false; +s32 __ro_after_init smccc_soc_id_version =SMCCC_RET_NOT_SUPPORTED ; +s32 __ro_after_init smccc_soc_id_revision =SMCCC_RET_NOT_SUPPORTED ;void __init arm_smccc_version_init (u32 version,enum arm_smccc_conduit conduit) { +struct arm_smccc_res res; + smccc_version = version; smccc_conduit = conduit;
@@ -27,6 +31,18 @@ void __init arm_smccc_version_init(u32 version, enum arm_smccc_conduit conduit)if (IS_ENABLED (CONFIG_ARM64_SVE ) && smccc_version >=ARM_SMCCC_VERSION_1_3 ) smccc_has_sve_hint = true; + +if ((smccc_version >=ARM_SMCCC_VERSION_1_2 ) && + (smccc_conduit !=SMCCC_CONDUIT_NONE )) { +arm_smccc_1_1_invoke (ARM_SMCCC_ARCH_FEATURES_FUNC_ID , +ARM_SMCCC_ARCH_SOC_ID , &res); +if ((s32 )res.a0 >=0 ) { +arm_smccc_1_1_invoke (ARM_SMCCC_ARCH_SOC_ID ,0 , &res); + smccc_soc_id_version = (s32 )res.a0; +arm_smccc_1_1_invoke (ARM_SMCCC_ARCH_SOC_ID ,1 , &res); + smccc_soc_id_revision = (s32 )res.a0; + } + } }enum arm_smccc_conduit arm_smccc_1_1_get_conduit (void )
@@ -44,6 +60,16 @@ u32 arm_smccc_get_version(void) }EXPORT_SYMBOL_GPL (arm_smccc_get_version); +s32 arm_smccc_get_soc_id_version (void ) +{ +return smccc_soc_id_version; +} + +s32 arm_smccc_get_soc_id_revision (void ) +{ +return smccc_soc_id_revision; +} +static int __init smccc_devices_init (void ) {struct platform_device *pdev;
drivers/firmware/smccc/soc_id.c +5 -23
@@ -42,41 +42,23 @@ static int __init smccc_soc_init(void)if (arm_smccc_get_version () <ARM_SMCCC_VERSION_1_2 )return 0 ; -if (arm_smccc_1_1_get_conduit () ==SMCCC_CONDUIT_NONE ) { -pr_err ("%s: invalid SMCCC conduit\n" , __func__); -return -EOPNOTSUPP ; - } - -arm_smccc_1_1_invoke (ARM_SMCCC_ARCH_FEATURES_FUNC_ID , -ARM_SMCCC_ARCH_SOC_ID , &res); - -if ((int )res.a0 ==SMCCC_RET_NOT_SUPPORTED ) { + soc_id_version =arm_smccc_get_soc_id_version (); +if (soc_id_version ==SMCCC_RET_NOT_SUPPORTED ) {pr_info ("ARCH_SOC_ID not implemented, skipping ....\n" );return 0 ; } -if ((int )res.a0 <0 ) { -pr_info ("ARCH_FEATURES(ARCH_SOC_ID) returned error: %lx\n" , - res.a0); -return -EINVAL ; - } - -arm_smccc_1_1_invoke (ARM_SMCCC_ARCH_SOC_ID ,0 , &res); -if ((int )res.a0 <0 ) { +if (soc_id_version <0 ) {pr_err ("ARCH_SOC_ID(0) returned error: %lx\n" , res.a0);return -EINVAL ; } - soc_id_version = res.a0; - -arm_smccc_1_1_invoke (ARM_SMCCC_ARCH_SOC_ID ,1 , &res); -if ((int )res.a0 <0 ) { + soc_id_rev =arm_smccc_get_soc_id_revision (); +if (soc_id_rev <0 ) {pr_err ("ARCH_SOC_ID(1) returned error: %lx\n" , res.a0);return -EINVAL ; } - soc_id_rev = res.a0; - soc_dev_attr =kzalloc (sizeof (*soc_dev_attr),GFP_KERNEL );if (!soc_dev_attr)return -ENOMEM ;
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c +5 -3
@@ -683,9 +683,11 @@ int amdgpu_gfx_ras_late_init(struct amdgpu_device *adev, struct ras_common_if *rif (r)return r; - r =amdgpu_irq_get (adev, &adev->gfx.cp_ecc_error_irq,0 ); -if (r) - goto late_fini; +if (adev->gfx.cp_ecc_error_irq.funcs) { + r =amdgpu_irq_get (adev, &adev->gfx.cp_ecc_error_irq,0 ); +if (r) + goto late_fini; + } }else {amdgpu_ras_feature_enable_on_boot (adev, ras_block,0 ); }
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c +22 -4
@@ -1432,13 +1432,31 @@ int amdgpu_mes_init_microcode(struct amdgpu_device *adev, int pipe)struct amdgpu_firmware_info *info;char ucode_prefix[30 ];char fw_name[40 ]; +bool need_retry = false;int r; -amdgpu_ucode_ip_version_decode (adev,GC_HWIP , ucode_prefix,sizeof (ucode_prefix)); -snprintf (fw_name,sizeof (fw_name),"amdgpu/%s_mes%s.bin" , - ucode_prefix, - pipe ==AMDGPU_MES_SCHED_PIPE ?"" :"1" ); +amdgpu_ucode_ip_version_decode (adev,GC_HWIP , ucode_prefix, +sizeof (ucode_prefix)); +if (adev->ip_versions[GC_HWIP ][0 ] >=IP_VERSION (11 ,0 ,0 )) { +snprintf (fw_name,sizeof (fw_name),"amdgpu/%s_mes%s.bin" , + ucode_prefix, + pipe ==AMDGPU_MES_SCHED_PIPE ?"_2" :"1" ); + need_retry = true; + }else { +snprintf (fw_name,sizeof (fw_name),"amdgpu/%s_mes%s.bin" , + ucode_prefix, + pipe ==AMDGPU_MES_SCHED_PIPE ?"" :"1" ); + } + r =amdgpu_ucode_request (adev, &adev->mes.fw[pipe], fw_name); +if (r && need_retry && pipe ==AMDGPU_MES_SCHED_PIPE ) { +snprintf (fw_name,sizeof (fw_name),"amdgpu/%s_mes.bin" , + ucode_prefix); +DRM_INFO ("try to fall back to %s\n" , fw_name); + r =amdgpu_ucode_request (adev, &adev->mes.fw[pipe], + fw_name); + } +if (r) goto out;
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c +7 -1
@@ -8236,8 +8236,14 @@ static int gfx_v10_0_set_powergating_state(void *handle,case IP_VERSION (10 ,3 ,3 ):case IP_VERSION (10 ,3 ,6 ):case IP_VERSION (10 ,3 ,7 ): +if (!enable) +amdgpu_gfx_off_ctrl (adev, false); +gfx_v10_cntl_pg (adev, enable); -amdgpu_gfx_off_ctrl (adev, enable); + +if (enable) +amdgpu_gfx_off_ctrl (adev, true); +break ;default :break ;
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c +29 -7
@@ -4641,13 +4641,29 @@ static int gfx_v11_0_post_soft_reset(void *handle)static uint64_t gfx_v11_0_get_gpu_clock_counter (struct amdgpu_device *adev) {uint64_t clock; +uint64_t clock_counter_lo, clock_counter_hi_pre, clock_counter_hi_after; + +if (amdgpu_sriov_vf (adev)) { +amdgpu_gfx_off_ctrl (adev, false); +mutex_lock (&adev->gfx.gpu_clock_mutex); + clock_counter_hi_pre = (uint64_t )RREG32_SOC15 (GC ,0 , regCP_MES_MTIME_HI); + clock_counter_lo = (uint64_t )RREG32_SOC15 (GC ,0 , regCP_MES_MTIME_LO); + clock_counter_hi_after = (uint64_t )RREG32_SOC15 (GC ,0 , regCP_MES_MTIME_HI); +if (clock_counter_hi_pre != clock_counter_hi_after) + clock_counter_lo = (uint64_t )RREG32_SOC15 (GC ,0 , regCP_MES_MTIME_LO); +mutex_unlock (&adev->gfx.gpu_clock_mutex); +amdgpu_gfx_off_ctrl (adev, true); + }else { +preempt_disable (); + clock_counter_hi_pre = (uint64_t )RREG32_SOC15 (SMUIO ,0 , regGOLDEN_TSC_COUNT_UPPER); + clock_counter_lo = (uint64_t )RREG32_SOC15 (SMUIO ,0 , regGOLDEN_TSC_COUNT_LOWER); + clock_counter_hi_after = (uint64_t )RREG32_SOC15 (SMUIO ,0 , regGOLDEN_TSC_COUNT_UPPER); +if (clock_counter_hi_pre != clock_counter_hi_after) + clock_counter_lo = (uint64_t )RREG32_SOC15 (SMUIO ,0 , regGOLDEN_TSC_COUNT_LOWER); +preempt_enable (); + } + clock = clock_counter_lo | (clock_counter_hi_after <<32ULL ); -amdgpu_gfx_off_ctrl (adev, false); -mutex_lock (&adev->gfx.gpu_clock_mutex); - clock = (uint64_t )RREG32_SOC15 (SMUIO ,0 , regGOLDEN_TSC_COUNT_LOWER) | - ((uint64_t )RREG32_SOC15 (SMUIO ,0 , regGOLDEN_TSC_COUNT_UPPER) <<32ULL ); -mutex_unlock (&adev->gfx.gpu_clock_mutex); -amdgpu_gfx_off_ctrl (adev, true);return clock; }
@@ -5085,8 +5101,14 @@ static int gfx_v11_0_set_powergating_state(void *handle,break ;case IP_VERSION (11 ,0 ,1 ):case IP_VERSION (11 ,0 ,4 ): +if (!enable) +amdgpu_gfx_off_ctrl (adev, false); +gfx_v11_cntl_pg (adev, enable); -amdgpu_gfx_off_ctrl (adev, enable); + +if (enable) +amdgpu_gfx_off_ctrl (adev, true); +break ;default :break ;
drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c +20 -1
@@ -31,6 +31,8 @@#include "umc_v8_10.h" #include "athub/athub_3_0_0_sh_mask.h" #include "athub/athub_3_0_0_offset.h" +#include "dcn/dcn_3_2_0_offset.h" +#include "dcn/dcn_3_2_0_sh_mask.h" #include "oss/osssys_6_0_0_offset.h" #include "ivsrcid/vmc/irqsrcs_vmc_1_0.h" #include "navi10_enum.h"
@@ -523,7 +525,24 @@ static void gmc_v11_0_get_vm_pte(struct amdgpu_device *adev,static unsigned gmc_v11_0_get_vbios_fb_size (struct amdgpu_device *adev) { -return 0 ; +u32 d1vga_control =RREG32_SOC15 (DCE ,0 , regD1VGA_CONTROL); +unsigned size; + +if (REG_GET_FIELD (d1vga_control,D1VGA_CONTROL ,D1VGA_MODE_ENABLE )) { + size =AMDGPU_VBIOS_VGA_ALLOCATION ; + }else { +u32 viewport; +u32 pitch; + + viewport =RREG32_SOC15 (DCE ,0 , regHUBP0_DCSURF_PRI_VIEWPORT_DIMENSION); + pitch =RREG32_SOC15 (DCE ,0 , regHUBPREQ0_DCSURF_SURFACE_PITCH); + size = (REG_GET_FIELD (viewport, +HUBP0_DCSURF_PRI_VIEWPORT_DIMENSION ,PRI_VIEWPORT_HEIGHT ) * +REG_GET_FIELD (pitch,HUBPREQ0_DCSURF_SURFACE_PITCH ,PITCH ) * +4 ); + } + +return size; }static const struct amdgpu_gmc_funcs gmc_v11_0_gmc_funcs = {
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c +7 -0
@@ -33,13 +33,20 @@#include "mes_v11_api_def.h" MODULE_FIRMWARE ("amdgpu/gc_11_0_0_mes.bin" ); +MODULE_FIRMWARE ("amdgpu/gc_11_0_0_mes_2.bin" );MODULE_FIRMWARE ("amdgpu/gc_11_0_0_mes1.bin" );MODULE_FIRMWARE ("amdgpu/gc_11_0_1_mes.bin" ); +MODULE_FIRMWARE ("amdgpu/gc_11_0_1_mes_2.bin" );MODULE_FIRMWARE ("amdgpu/gc_11_0_1_mes1.bin" );MODULE_FIRMWARE ("amdgpu/gc_11_0_2_mes.bin" ); +MODULE_FIRMWARE ("amdgpu/gc_11_0_2_mes_2.bin" );MODULE_FIRMWARE ("amdgpu/gc_11_0_2_mes1.bin" );MODULE_FIRMWARE ("amdgpu/gc_11_0_3_mes.bin" ); +MODULE_FIRMWARE ("amdgpu/gc_11_0_3_mes_2.bin" );MODULE_FIRMWARE ("amdgpu/gc_11_0_3_mes1.bin" ); +MODULE_FIRMWARE ("amdgpu/gc_11_0_4_mes.bin" ); +MODULE_FIRMWARE ("amdgpu/gc_11_0_4_mes_2.bin" ); +MODULE_FIRMWARE ("amdgpu/gc_11_0_4_mes1.bin" );static int mes_v11_0_hw_fini (void *handle);static int mes_v11_0_kiq_hw_init (struct amdgpu_device *adev);
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c +1 -1
@@ -1908,7 +1908,7 @@ static int sdma_v4_0_sw_fini(void *handle)amdgpu_ring_fini (&adev->sdma.instance[i].page); } -if (adev->ip_versions[SDMA0_HWIP ][0 ] ==IP_VERSION (4 ,2 ,0 ) || +if (adev->ip_versions[SDMA0_HWIP ][0 ] ==IP_VERSION (4 ,2 ,2 ) || adev->ip_versions[SDMA0_HWIP ][0 ] ==IP_VERSION (4 ,4 ,0 ))amdgpu_sdma_destroy_inst_ctx (adev, true);else
drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c +2 -5
@@ -516,11 +516,8 @@ static enum bp_result get_gpio_i2c_info( info->i2c_slave_address = record->i2c_slave_addr;/* TODO: check how to get register offset for en, Y, etc. */ - info->gpio_info.clk_a_register_index = -le16_to_cpu ( - header->gpio_pin[table_index].data_a_reg_index); - info->gpio_info.clk_a_shift = - header->gpio_pin[table_index].gpio_bitshift; + info->gpio_info.clk_a_register_index =le16_to_cpu (pin->data_a_reg_index); + info->gpio_info.clk_a_shift = pin->gpio_bitshift;return BP_RESULT_OK ; }
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c +2 -1
@@ -764,7 +764,8 @@ void dc_dmub_setup_subvp_dmub_command(struct dc *dc, !pipe->top_pipe && !pipe->prev_odm_pipe && pipe->stream->mall_stream_config.type == SUBVP_MAIN) {populate_subvp_cmd_pipe_info (dc, context, &cmd, pipe, cmd_pipe_index++); - } else if (pipe->plane_state && pipe->stream->mall_stream_config.type == SUBVP_NONE) { + } else if (pipe->plane_state && pipe->stream->mall_stream_config.type == SUBVP_NONE && + !pipe->top_pipe && !pipe->prev_odm_pipe) {// Don't need to check for ActiveDRAMClockChangeMargin < 0, not valid in cases where // we run through DML without calculating "natural" P-state support populate_subvp_cmd_vblank_pipe_info (dc, context, &cmd, pipe, cmd_pipe_index++);
drivers/gpu/drm/amd/display/dc/dce/dce_transform.c +2 -3
@@ -1009,7 +1009,7 @@ static void dce_transform_set_pixel_storage_depth( color_depth =COLOR_DEPTH_101010 ; pixel_depth =0 ; expan_mode =1 ; -BREAK_TO_DEBUGGER (); +DC_LOG_DC ("The pixel depth %d is not valid, set COLOR_DEPTH_101010 instead." , depth);break ; }
@@ -1023,8 +1023,7 @@ static void dce_transform_set_pixel_storage_depth(if (!(xfm_dce->lb_pixel_depth_supported & depth)) {/*we should use unsupported capabilities * unless it is required by w/a*/ -DC_LOG_WARNING ("%s: Capability not supported" , - __func__); +DC_LOG_DC ("%s: Capability not supported" , __func__); } }
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_hwseq.c +2 -1
@@ -629,7 +629,8 @@ void dcn30_init_hw(struct dc *dc)if (dc->clk_mgr->funcs->notify_wm_ranges) dc->clk_mgr->funcs->notify_wm_ranges (dc->clk_mgr); -if (dc->clk_mgr->funcs->set_hard_max_memclk) +//if softmax is enabled then hardmax will be set by a different call +if (dc->clk_mgr->funcs->set_hard_max_memclk && !dc->clk_mgr->dc_mode_softmax_enabled) dc->clk_mgr->funcs->set_hard_max_memclk (dc->clk_mgr);if (dc->res_pool->hubbub->funcs->force_pstate_change_control)
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hwseq.c +1 -1
@@ -284,7 +284,7 @@ void dcn31_init_hw(struct dc *dc)if (dc->clk_mgr->funcs->notify_wm_ranges) dc->clk_mgr->funcs->notify_wm_ranges (dc->clk_mgr); -if (dc->clk_mgr->funcs->set_hard_max_memclk) +if (dc->clk_mgr->funcs->set_hard_max_memclk && !dc->clk_mgr->dc_mode_softmax_enabled) dc->clk_mgr->funcs->set_hard_max_memclk (dc->clk_mgr);if (dc->res_pool->hubbub->funcs->force_pstate_change_control)
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c +1 -1
@@ -970,7 +970,7 @@ void dcn32_init_hw(struct dc *dc)if (dc->clk_mgr->funcs->notify_wm_ranges) dc->clk_mgr->funcs->notify_wm_ranges (dc->clk_mgr); -if (dc->clk_mgr->funcs->set_hard_max_memclk) +if (dc->clk_mgr->funcs->set_hard_max_memclk && !dc->clk_mgr->dc_mode_softmax_enabled) dc->clk_mgr->funcs->set_hard_max_memclk (dc->clk_mgr);if (dc->res_pool->hubbub->funcs->force_pstate_change_control)
drivers/gpu/drm/amd/display/dc/dml/dcn30/display_mode_vba_30.c +1 -1
@@ -4866,7 +4866,7 @@ void dml30_ModeSupportAndSystemConfigurationFull(struct display_mode_lib *mode_l v->DETBufferSizeCThisState[k], &v->UrgentBurstFactorCursorPre[k], &v->UrgentBurstFactorLumaPre[k], - &v->UrgentBurstFactorChroma[k], + &v->UrgentBurstFactorChromaPre[k], &v->NoUrgentLatencyHidingPre[k]); }
drivers/gpu/drm/amd/display/dc/dml/dcn31/display_mode_vba_31.c +197 -103
322 lines not on this page · raw message
drivers/gpu/drm/amd/display/dc/dml/dcn314/dcn314_fpu.c +4 -0
@@ -310,6 +310,10 @@ int dcn314_populate_dml_pipes_from_context_fpu(struct dc *dc, struct dc_state *c pipe->plane_state->src_rect.width < pipe->plane_state->dst_rect.width)) upscaled = true; +/* Apply HostVM policy - either based on hypervisor globally enabled, or rIOMMU active */ +if (dc->debug.dml_hostvm_override ==DML_HOSTVM_NO_OVERRIDE ) + pipes[i].pipe.src.hostvm = dc->vm_pa_config.is_hvm_enabled || dc->res_pool->hubbub->riommu_active; +/* * Immediate flip can be set dynamically after enabling the plane. * We need to require support for immediate flip or underflow can be
drivers/gpu/drm/amd/display/dc/dml/dcn314/display_mode_vba_314.c +197 -103
322 lines not on this page · raw message
drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_32.c +1 -1
@@ -3333,7 +3333,7 @@ void dml32_ModeSupportAndSystemConfigurationFull(struct display_mode_lib *mode_l/* Output */ &mode_lib->vba.UrgentBurstFactorCursorPre[k], &mode_lib->vba.UrgentBurstFactorLumaPre[k], - &mode_lib->vba.UrgentBurstFactorChroma[k], + &mode_lib->vba.UrgentBurstFactorChromaPre[k], &mode_lib->vba.NotUrgentLatencyHidingPre[k]); }
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c +18 -0
@@ -723,6 +723,24 @@ static int smu_late_init(void *handle)return ret; } +/* +* Explicitly notify PMFW the power mode the system in. Since +* the PMFW may boot the ASIC with a different mode. +* For those supporting ACDC switch via gpio, PMFW will +* handle the switch automatically. Driver involvement +* is unnecessary. +*/ +if (!smu->dc_controlled_by_gpio) { + ret =smu_set_power_source (smu, + adev->pm.ac_power ?SMU_POWER_SOURCE_AC : +SMU_POWER_SOURCE_DC ); +if (ret) { +dev_err (adev->dev,"Failed to switch to %s mode!\n" , + adev->pm.ac_power ?"AC" :"DC" ); +return ret; + } + } +if ((adev->ip_versions[MP1_HWIP ][0 ] ==IP_VERSION (13 ,0 ,1 )) || (adev->ip_versions[MP1_HWIP ][0 ] ==IP_VERSION (13 ,0 ,3 )))return 0 ;
drivers/gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c +1 -19
@@ -3406,26 +3406,8 @@ static int navi10_post_smu_init(struct smu_context *smu)return 0 ; ret =navi10_run_umc_cdr_workaround (smu); -if (ret) { +if (ret)dev_err (adev->dev,"Failed to apply umc cdr workaround!\n" ); -return ret; - } - -if (!smu->dc_controlled_by_gpio) { -/* -* For Navi1X, manually switch it to AC mode as PMFW -* may boot it with DC mode. -*/ - ret =smu_v11_0_set_power_source (smu, - adev->pm.ac_power ? -SMU_POWER_SOURCE_AC : -SMU_POWER_SOURCE_DC ); -if (ret) { -dev_err (adev->dev,"Failed to switch to %s mode!\n" , - adev->pm.ac_power ?"AC" :"DC" ); -return ret; - } - }return ret; }
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c +1 -0
@@ -1767,6 +1767,7 @@ static const struct pptable_funcs smu_v13_0_7_ppt_funcs = { .enable_mgpu_fan_boost = smu_v13_0_7_enable_mgpu_fan_boost, .get_power_limit = smu_v13_0_7_get_power_limit, .set_power_limit = smu_v13_0_set_power_limit, + .set_power_source = smu_v13_0_set_power_source, .get_power_profile_mode = smu_v13_0_7_get_power_profile_mode, .set_power_profile_mode = smu_v13_0_7_set_power_profile_mode, .set_tool_table_location = smu_v13_0_set_tool_table_location,
drivers/gpu/drm/drm_displayid.c +16 -1
@@ -7,13 +7,28 @@#include <drm/drm_edid.h> #include <drm/drm_print.h> +static const struct displayid_header * +displayid_get_header (const u8 *displayid,int length,int index) +{ +const struct displayid_header *base; + +if (sizeof (*base) > length - index) +return ERR_PTR (-EINVAL ); + + base = (const struct displayid_header *)&displayid[index]; + +return base; +} +static int validate_displayid (const u8 *displayid,int length,int idx) {int i, dispid_length;u8 csum =0 ;const struct displayid_header *base; - base = (const struct displayid_header *)&displayid[idx]; + base =displayid_get_header (displayid, length, idx); +if (IS_ERR (base)) +return PTR_ERR (base);DRM_DEBUG_KMS ("base revision 0x%x, length %d, %d %d\n" , base->rev, base->bytes, base->prod_id, base->ext_count);
drivers/gpu/drm/drm_fb_helper.c +12 -4
@@ -708,19 +708,27 @@ static void drm_fb_helper_damage(struct fb_info *info, u32 x, u32 y,static void drm_fb_helper_memory_range_to_clip (struct fb_info *info,off_t off,size_t len,struct drm_rect *clip) { +u32 line_length = info->fix.line_length; +u32 fb_height = info->var.yres;off_t end = off + len;u32 x1 =0 ; -u32 y1 = off / info->fix.line_length;
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/exynos/exynos_drm_g2d.h +2 -2
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/display/intel_atomic_plane.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/display/intel_dp.c +5 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/gt/uc/intel_guc_capture.c +5 -2
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c +4 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.c +0 -5
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_wb.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/msm/disp/dpu1/dpu_hwio.h +0 -3
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/msm/dp/dp_aux.c +34 -46
80 lines not on this page · raw message
drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/hid/hid-logitech-hidpp.c +51 -2
53 lines not on this page · raw message
drivers/irqchip/irq-gic-v3.c +104 -11
115 lines not on this page · raw message
drivers/media/pci/cx23885/cx23885-core.c +3 -1
Lines of this file are not shown. View the raw message.
drivers/media/pci/cx23885/cx23885-video.c +7 -6
Lines of this file are not shown. View the raw message.
drivers/media/pci/netup_unidvb/netup_unidvb_core.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec.c +7 -0
Lines of this file are not shown. View the raw message.
drivers/media/platform/renesas/vsp1/vsp1_drm.c +9 -9
Lines of this file are not shown. View the raw message.
drivers/media/platform/renesas/vsp1/vsp1_entity.c +5 -6
Lines of this file are not shown. View the raw message.
drivers/media/platform/samsung/exynos4-is/fimc-capture.c +4 -3
Lines of this file are not shown. View the raw message.
drivers/media/platform/ti/am437x/am437x-vpfe.c +8 -7
Lines of this file are not shown. View the raw message.
drivers/media/platform/ti/cal/cal-video.c +4 -4
Lines of this file are not shown. View the raw message.
drivers/media/usb/dvb-usb/cxusb-analog.c +7 -7
Lines of this file are not shown. View the raw message.
drivers/net/can/kvaser_pciefd.c +29 -22
51 lines not on this page · raw message
drivers/net/dsa/rzn1_a5psw.c +65 -18
83 lines not on this page · raw message
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/broadcom/genet/bcmgenet.c +5 -4
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/freescale/fec_main.c +11 -4
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/google/gve/gve_main.c +0 -13
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.c +21 -4
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.h +7 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c +9 -6
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h +5 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c +4 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/ice/ice_main.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/ice/ice_sriov.c +20 -4
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/ice/ice_vf_lib.c +30 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/ice/ice_vf_lib.h +4 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/ice/ice_virtchnl.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/igb/e1000_mac.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mscc/vsc7514_regs.c +9 -9
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/pasemi/pasemi_mac.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/sfc/ef100_netdev.c +3 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/stmicro/stmmac/dwmac4.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c +5 -0
Lines of this file are not shown. View the raw message.
drivers/net/tun.c +44 -36
80 lines not on this page · raw message
drivers/net/virtio_net.c +44 -17
61 lines not on this page · raw message
drivers/net/wireless/ath/ath11k/dp_rx.c +14 -3
Lines of this file are not shown. View the raw message.
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c +7 -6
Lines of this file are not shown. View the raw message.
drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c +32 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/dvm/sta.c +4 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/fw/acpi.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/fw/dbg.c +11 -8
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mvm/fw.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c +5 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mvm/nvm.c +10 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mvm/tx.c +34 -3
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/pcie/drv.c +4 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/pcie/trans.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mediatek/mt76/mt76_connac2_mac.h +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mediatek/mt76/mt76_connac_mac.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/realtek/rtw88/mac80211.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/realtek/rtw88/main.c +15 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/realtek/rtw88/main.h +3 -0
Lines of this file are not shown. View the raw message.
drivers/net/wwan/iosm/iosm_ipc_imem_ops.c +8 -4
Lines of this file are not shown. View the raw message.
drivers/net/wwan/iosm/iosm_ipc_imem_ops.h +4 -2
Lines of this file are not shown. View the raw message.
drivers/phy/st/phy-miphy28lp.c +10 -32
42 lines not on this page · raw message
drivers/platform/x86/Kconfig +1 -42
43 lines not on this page · raw message
drivers/platform/x86/hp-wmi.c deleted +0 -1570
1,570 lines not on this page · raw message
drivers/platform/x86/hp/Kconfig new file +63 -0
63 lines not on this page · raw message
drivers/platform/x86/hp/Makefile new file +10 -0
Lines of this file are not shown. View the raw message.
drivers/platform/x86/hp/hp-wmi.c new file +1571 -0
1,571 lines not on this page · raw message
drivers/platform/x86/hp/hp_accel.c new file +387 -0
387 lines not on this page · raw message
drivers/platform/x86/hp/tc1100-wmi.c new file +265 -0
265 lines not on this page · raw message
drivers/platform/x86/hp_accel.c deleted +0 -387
387 lines not on this page · raw message
drivers/platform/x86/tc1100-wmi.c deleted +0 -265
265 lines not on this page · raw message
drivers/platform/x86/x86-android-tablets.c +91 -10
101 lines not on this page · raw message
drivers/remoteproc/imx_dsp_rproc.c +186 -1
187 lines not on this page · raw message
drivers/staging/axis-fifo/axis-fifo.c +17 -11
Lines of this file are not shown. View the raw message.
drivers/staging/media/imx/imx-media-capture.c +6 -6
Lines of this file are not shown. View the raw message.
drivers/staging/media/imx/imx-media-utils.c +4 -4
Lines of this file are not shown. View the raw message.
drivers/staging/media/omap4iss/iss_video.c +3 -3
Lines of this file are not shown. View the raw message.
drivers/staging/rtl8192e/rtl8192e/rtl_core.c +3 -3
Lines of this file are not shown. View the raw message.
drivers/staging/rtl8192e/rtl8192e/rtl_core.h +0 -5
Lines of this file are not shown. View the raw message.
drivers/usb/dwc3/debugfs.c +109 -0
109 lines not on this page · raw message
drivers/usb/dwc3/gadget.c +34 -33
67 lines not on this page · raw message
drivers/usb/gadget/udc/core.c +44 -107
151 lines not on this page · raw message
drivers/usb/typec/altmodes/displayport.c +4 -0
Lines of this file are not shown. View the raw message.
drivers/usb/typec/ucsi/ucsi_acpi.c +42 -2
44 lines not on this page · raw message
fs/ext4/mballoc.c +95 -36
131 lines not on this page · raw message
kernel/time/tick-broadcast.c +88 -32
120 lines not on this page · raw message
net/netfilter/nf_conntrack_standalone.c +2 -1
Lines of this file are not shown. View the raw message.
net/sunrpc/xprtrdma/svc_rdma_recvfrom.c +5 -6
Lines of this file are not shown. View the raw message.
net/sunrpc/xprtrdma/svc_rdma_transport.c +1 -1
Lines of this file are not shown. View the raw message.
net/xfrm/xfrm_interface.c +4 -50
54 lines not on this page · raw message
sound/firewire/digi00x/digi00x-stream.c +3 -1
Lines of this file are not shown. View the raw message.
sound/soc/mediatek/mt8186/mt8186-afe-clk.c +0 -6
Lines of this file are not shown. View the raw message.
sound/soc/mediatek/mt8186/mt8186-afe-clk.h +0 -1
Lines of this file are not shown. View the raw message.
sound/soc/mediatek/mt8186/mt8186-afe-pcm.c +0 -4
Lines of this file are not shown. View the raw message.
sound/soc/mediatek/mt8186/mt8186-audsys-clk.c +24 -22
46 lines not on this page · raw message
sound/soc/mediatek/mt8186/mt8186-audsys-clk.h +0 -1
Lines of this file are not shown. View the raw message.
tools/power/cpupower/utils/idle_monitor/mperf_monitor.c +14 -17
Lines of this file are not shown. View the raw message.
tools/testing/selftests/cgroup/test_memcontrol.c +15 -0
Lines of this file are not shown. View the raw message.
tools/testing/selftests/net/fib_nexthops.sh +1 -1
Lines of this file are not shown. View the raw message.
tools/testing/selftests/net/srv6_end_dt4_l3vpn_test.sh +11 -6
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.