Linux 6.1.47
Greg Kroah-Hartman
maintainerI'm announcing the release of the 6.1.47 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/admin-guide/kernel-parameters.txt | 1 Makefile | 2 arch/arm/boot/dts/imx50-kobo-aura.dts | 2 arch/arm/boot/dts/imx53-cx9020.dts | 10 arch/arm/boot/dts/imx53-m53evk.dts | 4 arch/arm/boot/dts/imx53-m53menlo.dts | 6 arch/arm/boot/dts/imx53-tx53.dtsi | 2 arch/arm/boot/dts/imx53-usbarmory.dts | 2 arch/arm/boot/dts/imx6dl-b1x5pv2.dtsi | 6 arch/arm/boot/dts/imx6dl-prtrvt.dts | 4 arch/arm/boot/dts/imx6dl-riotboard.dts | 4 arch/arm/boot/dts/imx6dl-yapp4-common.dtsi | 6 arch/arm/boot/dts/imx6q-gw5400-a.dts | 6 arch/arm/boot/dts/imx6q-h100.dts | 6 arch/arm/boot/dts/imx6q-kp.dtsi | 4 arch/arm/boot/dts/imx6q-marsboard.dts | 4 arch/arm/boot/dts/imx6q-tbs2910.dts | 2 arch/arm/boot/dts/imx6qdl-emcon.dtsi | 4 arch/arm/boot/dts/imx6qdl-gw51xx.dtsi | 4 arch/arm/boot/dts/imx6qdl-gw52xx.dtsi | 6 arch/arm/boot/dts/imx6qdl-gw53xx.dtsi | 6 arch/arm/boot/dts/imx6qdl-gw54xx.dtsi | 6 arch/arm/boot/dts/imx6qdl-gw551x.dtsi | 2 arch/arm/boot/dts/imx6qdl-gw552x.dtsi | 6 arch/arm/boot/dts/imx6qdl-gw553x.dtsi | 4 arch/arm/boot/dts/imx6qdl-gw560x.dtsi | 6 arch/arm/boot/dts/imx6qdl-gw5903.dtsi | 2 arch/arm/boot/dts/imx6qdl-gw5904.dtsi | 6 arch/arm/boot/dts/imx6qdl-gw5907.dtsi | 4 arch/arm/boot/dts/imx6qdl-gw5910.dtsi | 6 arch/arm/boot/dts/imx6qdl-gw5912.dtsi | 6 arch/arm/boot/dts/imx6qdl-gw5913.dtsi | 4 arch/arm/boot/dts/imx6qdl-nit6xlite.dtsi | 10 arch/arm/boot/dts/imx6qdl-nitrogen6_max.dtsi | 4 arch/arm/boot/dts/imx6qdl-phytec-mira.dtsi | 8 arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | 4 arch/arm/boot/dts/imx6qdl-prti6q.dtsi | 11 arch/arm/boot/dts/imx6qdl-rex.dtsi | 2 arch/arm/boot/dts/imx6qdl-sabreauto.dtsi | 2 arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 2 arch/arm/boot/dts/imx6qdl-ts7970.dtsi | 4 arch/arm/boot/dts/imx6qdl-tx6.dtsi | 2 arch/arm/boot/dts/imx6sl-evk.dts | 2 arch/arm/boot/dts/imx6sll-evk.dts | 2 arch/arm/boot/dts/imx6sll.dtsi | 2 arch/arm/boot/dts/imx6sx-sabreauto.dts | 2 arch/arm/boot/dts/imx6sx-udoo-neo.dtsi | 4 arch/arm/boot/dts/imx6sx.dtsi | 6 arch/arm/boot/dts/imx6ul-phytec-phycore-som.dtsi | 2 arch/arm/boot/dts/imx6ul-tx6ul.dtsi | 2 arch/arm64/boot/dts/freescale/imx8mm.dtsi | 7 arch/arm64/boot/dts/freescale/imx93.dtsi | 2 arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 2 arch/arm64/boot/dts/rockchip/rk3399-rock-4c-plus.dts | 3 arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi | 6 arch/arm64/include/asm/fpsimd.h | 4 arch/arm64/include/asm/kvm_host.h | 2 arch/arm64/kernel/fpsimd.c | 6 arch/arm64/kernel/ptrace.c | 9 arch/arm64/kernel/signal.c | 2 arch/arm64/kvm/arm.c | 6 arch/arm64/kvm/vgic/vgic-v3.c | 2 arch/arm64/kvm/vgic/vgic-v4.c | 7 arch/powerpc/kernel/rtas_flash.c | 6 arch/powerpc/mm/kasan/Makefile | 1 arch/riscv/lib/uaccess.S | 11 block/blk-crypto-fallback.c | 36 + drivers/bluetooth/btusb.c | 3 drivers/bus/ti-sysc.c | 2 drivers/cpuidle/cpuidle-psci-domain.c | 42 -- drivers/firewire/net.c | 6 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 8 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 1 drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 41 + drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 9 drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | 1 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 4 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | 2 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 6 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 209 ++++++++-- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.h | 14 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 30 + drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dccg.h | 3 drivers/gpu/drm/amd/display/dc/dcn31/dcn31_dccg.c | 8 drivers/gpu/drm/amd/display/dc/dcn314/dcn314_dccg.c | 5 drivers/gpu/drm/amd/display/dc/dcn314/dcn314_resource.c | 20 drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dccg.c | 22 + drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dccg.h | 3 drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c | 2 drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource.h | 3 drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_32.c | 4 drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_32.h | 2 drivers/gpu/drm/amd/display/dc/inc/hw/dccg.h | 1 drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 4 drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c | 14 drivers/gpu/drm/i915/display/intel_sdvo.c | 2 drivers/gpu/drm/nouveau/nouveau_connector.c | 8 drivers/gpu/drm/panel/panel-simple.c | 24 - drivers/gpu/drm/qxl/qxl_drv.h | 2 drivers/gpu/drm/qxl/qxl_dumb.c | 5 drivers/gpu/drm/qxl/qxl_gem.c | 25 - drivers/gpu/drm/qxl/qxl_ioctl.c | 6 drivers/gpu/drm/rcar-du/rcar_du_crtc.c | 37 - drivers/gpu/drm/rcar-du/rcar_du_drv.c | 48 -- drivers/gpu/drm/rcar-du/rcar_du_drv.h | 2 drivers/gpu/drm/rcar-du/rcar_du_regs.h | 3 drivers/gpu/drm/stm/ltdc.c | 4 drivers/hid/hid-logitech-hidpp.c | 4 drivers/hid/intel-ish-hid/ipc/hw-ish.h | 1 drivers/hid/intel-ish-hid/ipc/pci-ish.c | 1 drivers/i2c/busses/i2c-bcm-iproc.c | 11 drivers/i2c/busses/i2c-designware-master.c | 16 drivers/i2c/busses/i2c-hisi.c | 8 drivers/i2c/busses/i2c-tegra.c | 2 drivers/infiniband/hw/mlx5/qpc.c | 10 drivers/iommu/amd/amd_iommu_types.h | 4 drivers/iommu/amd/init.c | 36 + drivers/leds/rgb/leds-qcom-lpg.c | 8 drivers/media/platform/mediatek/vpu/mtk_vpu.c | 6 drivers/media/platform/qcom/camss/camss-vfe.c | 6 drivers/misc/habanalabs/common/device.c | 15 drivers/misc/habanalabs/common/habanalabs.h | 2 drivers/misc/habanalabs/common/habanalabs_drv.c | 2 drivers/mmc/core/block.c | 7 drivers/mmc/host/sdhci_f_sdh30.c | 66 +-- drivers/mmc/host/wbsd.c | 2 drivers/net/dsa/mv88e6xxx/chip.c | 8 drivers/net/ethernet/cadence/macb_main.c | 9 drivers/net/ethernet/intel/i40e/i40e_nvm.c | 16 drivers/net/ethernet/intel/iavf/iavf_ethtool.c | 10 drivers/net/ethernet/intel/iavf/iavf_fdir.c | 77 +++ drivers/net/ethernet/intel/iavf/iavf_fdir.h | 2 drivers/net/ethernet/intel/ice/ice_eswitch.c | 6 drivers/net/ethernet/intel/ice/ice_main.c | 5 drivers/net/ethernet/intel/igc/igc_base.h | 11 drivers/net/ethernet/intel/igc/igc_main.c | 7 drivers/net/ethernet/marvell/octeon_ep/octep_main.c | 2 drivers/net/ethernet/qlogic/qede/qede_main.c | 10 drivers/net/ethernet/sfc/tc.c | 2 drivers/net/pcs/pcs-rzn1-miic.c | 10 drivers/net/phy/at803x.c | 89 +--- drivers/net/phy/broadcom.c | 13 drivers/net/phy/phy_device.c | 13 drivers/net/team/team.c | 4 drivers/net/virtio_net.c | 26 + drivers/pci/controller/dwc/pcie-tegra194.c | 13 drivers/pcmcia/rsrc_nonstatic.c | 2 drivers/soc/aspeed/aspeed-socinfo.c | 1 drivers/soc/aspeed/aspeed-uart-routing.c | 2 drivers/thunderbolt/nhi.c | 2 drivers/thunderbolt/nhi.h | 4 drivers/thunderbolt/quirks.c | 8 drivers/thunderbolt/retimer.c | 29 + drivers/tty/n_gsm.c | 3 drivers/tty/serial/8250/8250_port.c | 1 drivers/tty/serial/fsl_lpuart.c | 4 drivers/tty/serial/stm32-usart.c | 5 drivers/usb/chipidea/ci_hdrc_imx.c | 5 drivers/usb/chipidea/usbmisc_imx.c | 2 drivers/usb/gadget/function/u_serial.c | 3 drivers/usb/gadget/function/uvc_video.c | 32 + drivers/vdpa/mlx5/core/mlx5_vdpa.h | 2 drivers/vdpa/mlx5/core/mr.c | 97 +++- drivers/vdpa/mlx5/net/mlx5_vnet.c | 4 drivers/vdpa/vdpa.c | 9 drivers/vdpa/vdpa_user/vduse_dev.c | 8 drivers/video/aperture.c | 7 drivers/video/fbdev/hyperv_fb.c | 17 drivers/video/fbdev/mmp/hw/mmp_ctrl.c | 4 drivers/virtio/virtio_mmio.c | 5 drivers/watchdog/sp5100_tco.c | 4 fs/btrfs/block-group.c | 14 fs/btrfs/block-group.h | 18 fs/btrfs/extent_map.c | 6 fs/btrfs/free-space-tree.c | 10 fs/btrfs/tests/free-space-tree-tests.c | 2 fs/btrfs/volumes.c | 3 fs/btrfs/zoned.c | 7 fs/ceph/mds_client.c | 4 fs/gfs2/super.c | 26 - fs/ntfs3/frecord.c | 16 fs/ntfs3/fsntfs.c | 2 fs/ntfs3/index.c | 6 fs/ntfs3/ntfs_fs.h | 2 fs/ntfs3/record.c | 10 fs/smb/client/cifsfs.c | 28 - fs/smb/client/file.c | 25 - fs/smb/client/smb2pdu.c | 6 include/kvm/arm_vgic.h | 2 include/linux/iopoll.h | 2 include/linux/virtio_net.h | 4 include/media/v4l2-mem2mem.h | 18 include/net/sock.h | 6 kernel/dma/remap.c | 4 kernel/sched/fair.c | 189 ++++----- kernel/sched/sched.h | 19 kernel/trace/ring_buffer.c | 14 kernel/trace/trace.c | 3 mm/hugetlb.c | 75 ++- mm/zsmalloc.c | 113 ++--- net/bluetooth/l2cap_core.c | 5 net/bluetooth/mgmt.c | 2 net/core/sock.c | 2 net/ipv4/ip_vti.c | 4 net/ipv4/tcp_timer.c | 4 net/ipv6/ip6_vti.c | 4 net/key/af_key.c | 4 net/netfilter/ipvs/ip_vs_ctl.c | 4 net/netfilter/nf_conntrack_proto_sctp.c | 6 net/netfilter/nf_tables_api.c | 1 net/netfilter/nft_dynset.c | 3 net/netfilter/nft_set_pipapo.c | 13 net/openvswitch/datapath.c | 8 net/smc/af_smc.c | 4 net/smc/smc.h | 2 net/smc/smc_clc.c | 4 net/smc/smc_core.c | 80 +-- net/smc/smc_core.h | 4 net/smc/smc_llc.c | 16 net/smc/smc_sysctl.c | 10 net/unix/af_unix.c | 9 net/xfrm/xfrm_compat.c | 2 net/xfrm/xfrm_interface_core.c | 4 net/xfrm/xfrm_user.c | 14 sound/hda/hdac_regmap.c | 7 sound/pci/hda/patch_realtek.c | 91 ++++ sound/soc/amd/Kconfig | 1 sound/soc/amd/vangogh/acp5x.h | 2 sound/soc/amd/vangogh/pci-acp5x.c | 7 sound/soc/codecs/rt5665.c | 2 sound/soc/intel/boards/sof_sdw.c | 25 + sound/soc/intel/boards/sof_sdw_rt711_sdca.c | 3 sound/soc/meson/axg-tdm-formatter.c | 42 +- sound/soc/sof/amd/acp.h | 3 sound/soc/sof/amd/pci-rmb.c | 3 sound/soc/sof/amd/pci-rn.c | 3 sound/soc/sof/core.c | 4 sound/soc/sof/intel/hda.c | 12 sound/usb/quirks-table.h | 29 + tools/testing/selftests/net/forwarding/mirror_gre_changes.sh | 3 tools/testing/selftests/net/forwarding/tc_actions.sh | 18 241 files changed, 1862 insertions(+), 997 deletions(-)
Abel Wu (1):
sock: Fix misuse of sk_under_memory_pressure()
Alexander Stein (1):
arm64: dts: imx93: Fix anatop node size
Alexandre Ghiti (1):
riscv: uaccess: Return the number of bytes effectively not copied
Alfred Lee (1):
net: dsa: mv88e6xxx: Wait for EEPROM done before HW reset
Alvin Lee (1):
drm/amd/display: Apply 60us prefetch for DCFCLK <= 300Mhz
Andrej Picej (1):
ARM: dts: imx6: phytec: fix RTC interrupt level
Andrew Yang (1):
zsmalloc: fix races between modifications of fullness and isolated
Andrey Konovalov (1):
media: camss: set VFE bpl_alignment to 16 for sdm845 and sm8250
Andrii Staikov (1):
i40e: fix misleading debug logs
Andy Shevchenko (1):
Bluetooth: MGMT: Use correct address for memcpy()
Armin Wolf (1):
pcmcia: rsrc_nonstatic: Fix memory leak in nonstatic_release_resource_db()
Arnd Bergmann (1):
ASoC: amd: vangogh: select CONFIG_SND_AMD_ACP_CONFIG
Avichal Rakesh (1):
usb: gadget: uvc: queue empty isoc requests if no video buffer is available
Bard Liao (2):
ASoC: Intel: sof_sdw: add quirk for MTL RVP
ASoC: Intel: sof_sdw_rt_sdca_jack_common: test SOF_JACK_JDSRC in _exit
Benjamin Gray (1):
powerpc/kasan: Disable KCOV in KASAN code
Chen Lin (1):
ring-buffer: Do not swap cpu_buffer during resize process
Chengfeng Ye (1):
i2c: bcm-iproc: Fix bcm_iproc_i2c_isr deadlock issue
Christophe JAILLET (1):
net: phy: at803x: Use devm_regulator_get_enable_optional()
Christopher Obbard (2):
arm64: dts: rockchip: Disable HS400 for eMMC on ROCK Pi 4
arm64: dts: rockchip: Disable HS400 for eMMC on ROCK 4C+
D. Wythe (1):
net/smc: replace mutex rmbs_lock and sndbufs_lock with rw_semaphore
Daniel Miess (2):
drm/amd/display: Enable dcn314 DPP RCO
drm/amd/display: disable RCO for DCN314
Daniel Vetter (1):
video/aperture: Only remove sysfb on the default vga pci device
David Sterba (2):
btrfs: convert btrfs_block_group::needs_free_space to runtime flag
btrfs: convert btrfs_block_group::seq_zone to runtime flag
Davide Caratti (1):
selftests: forwarding: tc_actions: cleanup temporary files when test is aborted
Dmitry Baryshkov (1):
arm64: dts: qcom: qrb5165-rb5: fix thermal zone conflict
Dragos Tatulea (2):
vdpa/mlx5: Fix mr->initialized semantics
vdpa: Enable strict validation for netlinks ops
Edward Cree (1):
sfc: don't unregister flow_indr if it was never registered
Edward Lo (1):
fs/ntfs3: Enhance sanity check while generating attr_list
Eric Dumazet (1):
net: do not allow gso_size to be set to GSO_BY_FRAGS
Eugenio Pérez (1):
vdpa/mlx5: Delete control vq iotlb in destroy_mr only when necessary
Even Xu (1):
HID: intel-ish-hid: ipc: Add Arrow Lake PCI device ID
Fabio Estevam (1):
arm64: dts: imx8mm: Drop CSI1 PHY reference clock configuration
Filipe Manana (1):
btrfs: fix use-after-free of new block group that became unused
Florian Westphal (2):
netfilter: nf_tables: fix false-positive lockdep splat
netfilter: nf_tables: deactivate catchall elements in next generation
Geert Uytterhoeven (1):
iopoll: Call cpu_relax() in busy loops
Gerd Bayer (1):
net/smc: Fix setsockopt and sysctl to specify same buffer size again
Greg Kroah-Hartman (1):
Linux 6.1.47
Guchun Chen (1):
drm/amdgpu: keep irq count in amdgpu_irq_disable_all
Hans Verkuil (1):
media: platform: mediatek: vpu: fix NULL ptr dereference
Hawkins Jiawei (1):
virtio-net: Zero max_tx_vq field for VIRTIO_NET_CTRL_MQ_HASH_CONFIG case
Hersen Wu (1):
drm/amd/display: fix access hdcp_workqueue assert
Ido Schimmel (1):
selftests: forwarding: tc_actions: Use ncat instead of nc
Jack Xiao (1):
drm/amdgpu: fix memory leak in mes self test
Jakub Kicinski (1):
net: openvswitch: reject negative ifindex
Jani Nikula (1):
drm/i915/sdvo: fix panel_type initialization
Jason Wang (1):
virtio-net: set queues after driver_ok
Jason Xing (1):
net: fix the RTO timer retransmitting skb every 1ms if linear option is enabled
Jerome Brunet (1):
ASoC: meson: axg-tdm-formatter: fix channel slot allocation
Jia-Ju Bai (1):
fs: ntfs3: Fix possible null-pointer dereferences in mi_read()
Jiasheng Jiang (1):
soc: aspeed: socinfo: Add kfree for kstrdup
Josef Bacik (1):
btrfs: fix incorrect splitting in btrfs_drop_extent_map_range
Justin Chen (1):
net: phy: broadcom: stub c45 read/write for 54810
Kailang Yang (1):
ALSA: hda/realtek - Remodified 3k pull low procedure
Karol Herbst (1):
drm/nouveau/disp: fix use-after-free in error handling of nouveau_connector_create
Konstantin Komarov (1):
fs/ntfs3: Mark ntfs dirty when on-disk struct is corrupted
Krzysztof Kozlowski (1):
ARM: dts: imx: align LED node names with dtschema
Kunihiko Hayashi (1):
mmc: sdhci-f-sdh30: Replace with sdhci_pltfm
Kuniyuki Iwashima (1):
af_unix: Fix null-ptr-deref in unix_stream_sendpage().
Lang Yu (1):
drm/amdgpu: install stub fence into potential unused fence pointers
Laurent Vivier (1):
virtio_net: notify MAC address change on device initialization
Li Yang (1):
net: phy: at803x: fix the wol setting functions
Lin Ma (8):
vdpa: Add features attr to vdpa_nl_policy for nlattr length check
vdpa: Add queue index attr to vdpa_nl_policy for nlattr length check
vdpa: Add max vqp attr to vdpa_nl_policy for nlattr length check
net: xfrm: Fix xfrm_address_filter OOB read
net: af_key: fix sadb_x_filter validation
net: xfrm: Amend XFRMA_SEC_CTX nla_policy structure
xfrm: add NULL check in xfrm_update_ae_params
xfrm: add forgotten nla_policy for XFRMA_MTIMER_THRESH
Longlong Yao (1):
drm/amdgpu: fix calltrace warning in amddrm_buddy_fini
Lu Hongfei (1):
led: qcom-lpg: Fix resource leaks in for_each_available_child_of_node() loops
Luca Ceresoli (1):
drm/panel: simple: Fix AUO G121EAN01 panel timings according to the docs
Luke D. Jones (3):
ALSA: hda/realtek: Add quirk for ASUS ROG GX650P
ALSA: hda/realtek: Add quirk for ASUS ROG GA402X
ALSA: hda/realtek: Add quirk for ASUS ROG GZ301V
Manish Chopra (1):
qede: fix firmware halt over suspend and resume
Marc Zyngier (1):
KVM: arm64: vgic-v4: Make the doorbell request robust w.r.t preemption
Marcin Szycik (1):
ice: Block switchdev mode when ADQ is active and vice versa
Mario Limonciello (1):
drm/amd: flush any delayed gfxoff on suspend entry
Mark Brown (1):
arm64/ptrace: Ensure that SME is set up for target when writing SSVE state
Matthew Anderson (2):
ALSA: hda/realtek: Add quirks for ROG ALLY CS35l41 audio
Bluetooth: btusb: Add MT7922 bluetooth ID for the Asus Ally
Maulik Shah (1):
cpuidle: psci: Move enabling OSI mode after power domains creation
Maxime Coquelin (1):
vduse: Use proper spinlock for IRQ injection
Michal Schmidt (1):
octeon_ep: cancel tx_timeout_task later in remove sequence
Mika Westerberg (3):
thunderbolt: Read retimer NVM authentication status prior tb_retimer_set_inbound_sbtx()
thunderbolt: Add Intel Barlow Ridge PCI ID
thunderbolt: Limit Intel Barlow Ridge USB3 bandwidth
Mike Kravetz (1):
hugetlb: do not clear hugetlb dtor until allocating vmemmap
Naohiro Aota (1):
btrfs: move out now unused BG from the reclaim list
Nathan Lynch (1):
powerpc/rtas_flash: allow user copy to flash block cache objects
Nhat Pham (1):
zsmalloc: consolidate zs_pool's migrate_lock and size_class's locks
Nicholas Kazlauskas (1):
drm/amd/display: Skip DPP DTO update if root clock is gated
Ofir Bitton (1):
accel/habanalabs: add pci health check during heartbeat
Oleksij Rempel (1):
ARM: dts: imx6dl: prtrvt, prtvt7, prti6q, prtwd2: fix USB related warnings
Pablo Neira Ayuso (1):
netfilter: nft_dynset: disallow object maps
Parker Newman (1):
i2c: tegra: Fix i2c-tegra DMA config option processing
Patrisious Haddad (1):
RDMA/mlx5: Return the firmware result upon destroying QP/RQ
Paulo Alcantara (1):
smb: client: fix warning in cifs_smb3_do_mount()
Peter Ujfalusi (2):
ASoC: Intel: sof_sdw: add quirk for LNL RVP
ASoC: SOF: core: Free the firmware trace before calling snd_sof_shutdown()
Petr Machata (1):
selftests: mirror_gre_changes: Tighten up the TTL test match
Pierre-Louis Bossart (1):
ASoC: SOF: Intel: fix SoundWire/HDaudio mutual exclusion
Piotr Gardocki (1):
iavf: fix FDIR rule fields masks validation
Prashanth K (1):
usb: gadget: u_serial: Avoid spinlock recursion in __gs_console_push
Quan Nguyen (1):
i2c: designware: Correct length byte validation logic
Radhey Shyam Pandey (1):
net: macb: In ZynqMP resume always configure PS GTR for non-wakeup source
Raphael Gallais-Pou (1):
drm/stm: ltdc: fix late dereference check
Russell Harmon via samba-technical (1):
cifs: Release folio lock on fscache read hit.
Russell King (Oracle) (1):
net: phy: fix IRQ-based wake-on-lan over hibernate / power off
Saaem Rizvi (1):
drm/amd/display: Implement workaround for writing to OTG_PIXEL_RATE_DIV register
Sergey Senozhatsky (1):
zsmalloc: allow only one active pool compaction context
Sherry Sun (1):
tty: serial: fsl_lpuart: Clear the error flags by writing 1 for lpuart32 platforms
Sishuai Gong (1):
ipvs: fix racy memcpy in proc_do_sync_threshold
Song Yoong Siang (1):
igc: read before write to SRRCTL register
Stefan Binding (1):
ALSA: hda/realtek: Add quirks for HP G11 Laptops
Steve French (1):
cifs: fix potential oops in cifs_oplock_break
Sumit Gupta (1):
PCI: tegra194: Fix possible array out of bounds access
Suravee Suthikulpanit (1):
iommu/amd: Introduce Disable IRTE Caching Support
Sweet Tea Dorminy (1):
blk-crypto: dynamically allocate fallback profile
Tam Nguyen (1):
i2c: designware: Handle invalid SMBus block data response length value
Thomas Zimmermann (1):
fbdev/hyperv-fb: Do not set struct fb_info.apertures
Tim Huang (2):
drm/amdgpu: skip fence GFX interrupts disable/enable for S0ix drm/amd/pm: skip the RLC stop when S0i3 suspend for SMU v13.0.4/11
Tony Lindgren (2):
bus: ti-sysc: Flush posted write on enable before reset
serial: 8250: Fix oops for port->pm on uart_change_pm()
Tuo Li (2):
gfs2: Fix possible data races in gfs2_show_options()
ALSA: hda: fix a possible null-pointer dereference due to data race in snd_hdac_regmap_sync()
Uday M Bhat (1):
ASoC: Intel: sof_sdw: Add support for Rex soundwire
Ulf Hansson (1):
cpuidle: psci: Extend information in log about OSI/PC mode
Umio Yasuno (1):
drm/amdgpu/pm: fix throttle_status for other than MP1 11.0.7
Uwe Kleine-König (1):
serial: stm32: Ignore return value of uart_remove_one_port() in .remove()
Venkata Prasad Potturu (2):
ASoC: SOF: amd: Add pci revision id check
ASoC: amd: vangogh: Add check for acp config flags in vangogh platform
Vincent Guittot (2):
sched/fair: unlink misfit task from cpu overutilized sched/fair: Remove capacity inversion detection
Wander Lairson Costa (1):
drm/qxl: fix UAF on handle creation
Winston Wen (1):
cifs: fix session state check in reconnect to avoid use-after-free issue
Wolfram Sang (2):
drm: rcar-du: remove R-Car H3 ES1.* workarounds
virtio-mmio: don't break lifecycle of vm_dev
Xiang Yang (1):
net: pcs: Add missing put_device call in miic_create
Xiaolei Wang (1):
ARM: dts: imx: Set default tuning step for imx6sx usdhc
Xin Long (1):
netfilter: set default timeout to 3 secs for sctp shutdown send and recv state
Xiubo Li (1):
ceph: try to dump the msgs when decoding fails
Xu Yang (3):
usb: chipidea: imx: don't request QoS for imx8ulp
usb: chipidea: imx: add missing USB PHY DPDM wakeup setting
ARM: dts: nxp/imx6sll: fix wrong property name in usbphy node
Yang Yingliang (1):
mmc: wbsd: fix double mmc_free_host() in wbsd_init()
Yangtao Li (1):
mmc: f-sdh30: fix order of function calls in sdhci_f_sdh30_remove
Yi Yang (1):
tty: n_gsm: fix the UAF caused by race condition in gsm_cleanup_mux
Yibin Ding (1):
mmc: block: Fix in_flight[issue_type] value error
Yicong Yang (1):
i2c: hisi: Only handle the interrupt of the driver's transfer
Yogesh Hegde (1):
arm64: dts: rockchip: Fix Wifi/Bluetooth on ROCK Pi 4 boards
Yuanjun Gong (1):
fbdev: mmp: fix value check in mmphw_probe()
Yuechao Zhao (1):
watchdog: sp5100_tco: support Hygon FCH/SCH (Server Controller Hub)
Yunfei Dong (1):
media: v4l2-mem2mem: add lock to protect parameter num_rdy
Zev Weiss (1):
soc: aspeed: uart-routing: Use __sysfs_match_string
Zhang Shurong (2):
firewire: net: fix use after free in fwnet_finish_incoming_packet()
ASoC: rt5665: add missed regulator_bulk_disable
Zhengchao Shao (3):
xfrm: fix slab-use-after-free in decode_session6
ip6_vti: fix slab-use-after-free in decode_session6
ip_vti: fix potential slab-use-after-free in decode_session6
Zhengping Jiang (1):
Bluetooth: L2CAP: Fix use-after-free
Ziyang Xuan (1):
team: Fix incorrect deletion of ETH_P_8021AD protocol vid from slaves
dengxiang (2):
ALSA: hda/realtek: Add quirks for Unis H3C Desktop B760 & Q760
ALSA: usb-audio: Add support for Mythware XA001AU capture and playback interfaces.
gaoxu (1):
dma-remap: use kvmalloc_array/kvfree for larger dma memory remap
hackyzh002 (1):
drm/amdgpu: Fix integer overflow in amdgpu_cs_pass1
hersen wu (2):
drm/amd/display: save restore hdcp state when display is unplugged from mst hub drm/amd/display: phase3 mst hdcp for multiple displays
shanzhulig (1):
drm/amdgpu: Fix potential fence use-after-free v2
stuarthayhurst (1):
HID: logitech-hidpp: Add USB and Bluetooth IDs for the Logitech G915 TKL Keyboard
xiaoshoukui (1):
btrfs: fix BUG_ON condition in btrfs_cancel_balance
Greg Kroah-Hartman
maintainerDocumentation/admin-guide/kernel-parameters.txt +1 -0
@@ -323,6 +323,7 @@ option with care. pgtbl_v1 - Use v1 page table for DMA-API (Default). pgtbl_v2 - Use v2 page table for DMA-API. + irtcachedis - Disable Interrupt Remapping Table (IRT) caching. amd_iommu_dump= [HW,X86-64] Enable AMD IOMMU driver option to dump the ACPI table
Makefile +1 -1
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 6 PATCHLEVEL = 1 -SUBLEVEL = 46 +SUBLEVEL = 47 EXTRAVERSION = NAME = Curry Ramen
arch/arm/boot/dts/imx50-kobo-aura.dts +1 -1
@@ -26,7 +26,7 @@ gpio-leds { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_leds>; - on { + led-on { label = "kobo_aura:orange:on"; gpios = <&gpio6 24 GPIO_ACTIVE_LOW>; panic-indicator;
arch/arm/boot/dts/imx53-cx9020.dts +5 -5
@@ -86,27 +86,27 @@ tfp410_out: endpoint { leds { compatible = "gpio-leds"; - pwr-r { + led-pwr-r { gpios = <&gpio3 22 GPIO_ACTIVE_HIGH>; default-state = "off"; }; - pwr-g { + led-pwr-g { gpios = <&gpio3 24 GPIO_ACTIVE_HIGH>; default-state = "on"; }; - pwr-b { + led-pwr-b { gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>; default-state = "off"; }; - sd1-b { + led-sd1-b { linux,default-trigger = "mmc0"; gpios = <&gpio3 20 GPIO_ACTIVE_HIGH>; }; - sd2-b { + led-sd2-b { linux,default-trigger = "mmc1"; gpios = <&gpio3 17 GPIO_ACTIVE_HIGH>; };
arch/arm/boot/dts/imx53-m53evk.dts +2 -2
@@ -52,13 +52,13 @@ leds { pinctrl-names = "default"; pinctrl-0 = <&led_pin_gpio>; - user1 { + led-user1 { label = "user1"; gpios = <&gpio2 8 0>; linux,default-trigger = "heartbeat"; }; - user2 { + led-user2 { label = "user2"; gpios = <&gpio2 9 0>; linux,default-trigger = "heartbeat";
arch/arm/boot/dts/imx53-m53menlo.dts +3 -3
@@ -34,19 +34,19 @@ leds { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_led>; - user1 { + led-user1 { label = "TestLed601"; gpios = <&gpio6 1 GPIO_ACTIVE_HIGH>; linux,default-trigger = "mmc0"; }; - user2 { + led-user2 { label = "TestLed602"; gpios = <&gpio6 2 GPIO_ACTIVE_HIGH>; linux,default-trigger = "heartbeat"; }; - eth { + led-eth { label = "EthLedYe"; gpios = <&gpio2 11 GPIO_ACTIVE_LOW>; linux,default-trigger = "netdev";
arch/arm/boot/dts/imx53-tx53.dtsi +1 -1
@@ -94,7 +94,7 @@ leds { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_stk5led>; - user { + led-user { label = "Heartbeat"; gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>; linux,default-trigger = "heartbeat";
arch/arm/boot/dts/imx53-usbarmory.dts +1 -1
@@ -67,7 +67,7 @@ leds { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_led>; - user { + led-user { label = "LED"; gpios = <&gpio4 27 GPIO_ACTIVE_LOW>; linux,default-trigger = "heartbeat";
arch/arm/boot/dts/imx6dl-b1x5pv2.dtsi +3 -3
@@ -211,17 +211,17 @@ leds { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_q7_gpio1 &pinctrl_q7_gpio3 &pinctrl_q7_gpio5>; - alarm1 { + led-alarm1 { label = "alarm:red"; gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>; }; - alarm2 { + led-alarm2 { label = "alarm:yellow"; gpios = <&gpio4 27 GPIO_ACTIVE_HIGH>; }; - alarm3 { + led-alarm3 { label = "alarm:blue"; gpios = <&gpio4 15 GPIO_ACTIVE_HIGH>; };
arch/arm/boot/dts/imx6dl-prtrvt.dts +4 -0
@@ -124,6 +124,10 @@ &usbh1 { status = "disabled"; }; +&usbotg { + disable-over-current; +}; + &vpu { status = "disabled"; };
arch/arm/boot/dts/imx6dl-riotboard.dts +2 -2
@@ -25,14 +25,14 @@ leds { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_led>; - led0: user1 { + led0: led-user1 { label = "user1"; gpios = <&gpio5 2 GPIO_ACTIVE_LOW>; default-state = "on"; linux,default-trigger = "heartbeat"; }; - led1: user2 { + led1: led-user2 { label = "user2"; gpios = <&gpio3 28 GPIO_ACTIVE_LOW>; default-state = "off";
arch/arm/boot/dts/imx6dl-yapp4-common.dtsi +3 -3
@@ -274,7 +274,7 @@ leds: led-controller@30 { #address-cells = <1>; #size-cells = <0>; - chan@0 { + led@0 { chan-name = "R"; led-cur = /bits/ 8 <0x20>; max-cur = /bits/ 8 <0x60>;
@@ -282,7 +282,7 @@ chan@0 { color = <LED_COLOR_ID_RED>; }; - chan@1 { + led@1 { chan-name = "G"; led-cur = /bits/ 8 <0x20>; max-cur = /bits/ 8 <0x60>;
@@ -290,7 +290,7 @@ chan@1 { color = <LED_COLOR_ID_GREEN>; }; - chan@2 { + led@2 { chan-name = "B"; led-cur = /bits/ 8 <0x20>; max-cur = /bits/ 8 <0x60>;
arch/arm/boot/dts/imx6q-gw5400-a.dts +3 -3
@@ -34,20 +34,20 @@ leds { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpio_leds>; - led0: user1 { + led0: led-user1 { label = "user1"; gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>; /* 102 -> MX6_PANLEDG */ default-state = "on"; linux,default-trigger = "heartbeat"; }; - led1: user2 { + led1: led-user2 { label = "user2"; gpios = <&gpio4 10 GPIO_ACTIVE_HIGH>; /* 106 -> MX6_PANLEDR */ default-state = "off"; }; - led2: user3 { + led2: led-user3 { label = "user3"; gpios = <&gpio4 15 GPIO_ACTIVE_LOW>; /* 111 -> MX6_LOCLED# */ default-state = "off";
arch/arm/boot/dts/imx6q-h100.dts +3 -3
@@ -76,19 +76,19 @@ leds { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_h100_leds>; - led0: power { + led0: led-power { label = "power"; gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; default-state = "on"; }; - led1: stream { + led1: led-stream { label = "stream"; gpios = <&gpio2 29 GPIO_ACTIVE_LOW>; default-state = "off"; }; - led2: rec { + led2: led-rec { label = "rec"; gpios = <&gpio2 28 GPIO_ACTIVE_LOW>; default-state = "off";
arch/arm/boot/dts/imx6q-kp.dtsi +2 -2
@@ -66,14 +66,14 @@ lcd_panel_in: endpoint { leds { compatible = "gpio-leds"; - green { + led-green { label = "led1"; gpios = <&gpio3 16 GPIO_ACTIVE_HIGH>; linux,default-trigger = "gpio"; default-state = "off"; }; - red { + led-red { label = "led0"; gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>; linux,default-trigger = "gpio";
arch/arm/boot/dts/imx6q-marsboard.dts +2 -2
@@ -73,14 +73,14 @@ leds { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_led>; - user1 { + led-user1 { label = "imx6:green:user1"; gpios = <&gpio5 2 GPIO_ACTIVE_LOW>; default-state = "off"; linux,default-trigger = "heartbeat"; }; - user2 { + led-user2 { label = "imx6:green:user2"; gpios = <&gpio3 28 GPIO_ACTIVE_LOW>; default-state = "off";
arch/arm/boot/dts/imx6q-tbs2910.dts +1 -1
@@ -49,7 +49,7 @@ leds { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpio_leds>; - blue { + led-blue { label = "blue_status_led"; gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>; default-state = "keep";
arch/arm/boot/dts/imx6qdl-emcon.dtsi +2 -2
@@ -46,14 +46,14 @@ som_leds: leds { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_som_leds>; - green { + led-green { label = "som:green"; gpios = <&gpio3 0 GPIO_ACTIVE_HIGH>; linux,default-trigger = "heartbeat"; default-state = "on"; }; - red { + led-red { label = "som:red"; gpios = <&gpio3 1 GPIO_ACTIVE_LOW>; default-state = "keep";
arch/arm/boot/dts/imx6qdl-gw51xx.dtsi +2 -2
@@ -71,14 +71,14 @@ leds { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpio_leds>; - led0: user1 { + led0: led-user1 { label = "user1"; gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDG */ default-state = "on"; linux,default-trigger = "heartbeat"; }; - led1: user2 { + led1: led-user2 { label = "user2"; gpios = <&gpio4 7 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDR */ default-state = "off";
arch/arm/boot/dts/imx6qdl-gw52xx.dtsi +3 -3
@@ -80,20 +80,20 @@ leds { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpio_leds>; - led0: user1 { + led0: led-user1 { label = "user1"; gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDG */ default-state = "on"; linux,default-trigger = "heartbeat"; }; - led1: user2 { + led1: led-user2 { label = "user2"; gpios = <&gpio4 7 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDR */ default-state = "off"; }; - led2: user3 { + led2: led-user3 { label = "user3"; gpios = <&gpio4 15 GPIO_ACTIVE_LOW>; /* MX6_LOCLED# */ default-state = "off";
arch/arm/boot/dts/imx6qdl-gw53xx.dtsi +3 -3
@@ -80,20 +80,20 @@ leds { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpio_leds>; - led0: user1 { + led0: led-user1 { label = "user1"; gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDG */ default-state = "on"; linux,default-trigger = "heartbeat"; }; - led1: user2 { + led1: led-user2 { label = "user2"; gpios = <&gpio4 7 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDR */ default-state = "off"; }; - led2: user3 { + led2: led-user3 { label = "user3"; gpios = <&gpio4 15 GPIO_ACTIVE_LOW>; /* MX6_LOCLED# */ default-state = "off";
arch/arm/boot/dts/imx6qdl-gw54xx.dtsi +3 -3
@@ -81,20 +81,20 @@ leds { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpio_leds>; - led0: user1 { + led0: led-user1 { label = "user1"; gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDG */ default-state = "on"; linux,default-trigger = "heartbeat"; }; - led1: user2 { + led1: led-user2 { label = "user2"; gpios = <&gpio4 7 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDR */ default-state = "off"; }; - led2: user3 { + led2: led-user3 { label = "user3"; gpios = <&gpio4 15 GPIO_ACTIVE_LOW>; /* MX6_LOCLED# */ default-state = "off";
arch/arm/boot/dts/imx6qdl-gw551x.dtsi +1 -1
@@ -115,7 +115,7 @@ leds { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpio_leds>; - led0: user1 { + led0: led-user1 { label = "user1"; gpios = <&gpio4 7 GPIO_ACTIVE_LOW>; default-state = "on";
arch/arm/boot/dts/imx6qdl-gw552x.dtsi +3 -3
@@ -72,20 +72,20 @@ leds { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpio_leds>; - led0: user1 { + led0: led-user1 { label = "user1"; gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDG */ default-state = "on"; linux,default-trigger = "heartbeat"; }; - led1: user2 { + led1: led-user2 { label = "user2"; gpios = <&gpio4 7 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDR */ default-state = "off"; }; - led2: user3 { + led2: led-user3 { label = "user3"; gpios = <&gpio4 15 GPIO_ACTIVE_LOW>; /* MX6_LOCLED# */ default-state = "off";
arch/arm/boot/dts/imx6qdl-gw553x.dtsi +2 -2
@@ -113,14 +113,14 @@ leds { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpio_leds>; - led0: user1 { + led0: led-user1 { label = "user1"; gpios = <&gpio4 10 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDG */ default-state = "on"; linux,default-trigger = "heartbeat"; }; - led1: user2 { + led1: led-user2 { label = "user2"; gpios = <&gpio4 11 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDR */ default-state = "off";
arch/arm/boot/dts/imx6qdl-gw560x.dtsi +3 -3
@@ -139,20 +139,20 @@ leds { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpio_leds>; - led0: user1 { + led0: led-user1 { label = "user1"; gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDG */ default-state = "on"; linux,default-trigger = "heartbeat"; }; - led1: user2 { + led1: led-user2 { label = "user2"; gpios = <&gpio4 7 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDR */ default-state = "off"; }; - led2: user3 { + led2: led-user3 { label = "user3"; gpios = <&gpio4 15 GPIO_ACTIVE_LOW>; /* MX6_LOCLED# */ default-state = "off";
arch/arm/boot/dts/imx6qdl-gw5903.dtsi +1 -1
@@ -123,7 +123,7 @@ leds { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpio_leds>; - led0: user1 { + led0: led-user1 { label = "user1"; gpios = <&gpio6 14 GPIO_ACTIVE_LOW>; /* MX6_LOCLED# */ default-state = "off";
arch/arm/boot/dts/imx6qdl-gw5904.dtsi +3 -3
@@ -120,20 +120,20 @@ leds { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpio_leds>; - led0: user1 { + led0: led-user1 { label = "user1"; gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDG */ default-state = "on"; linux,default-trigger = "heartbeat"; }; - led1: user2 { + led1: led-user2 { label = "user2"; gpios = <&gpio4 7 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDR */ default-state = "off"; }; - led2: user3 { + led2: led-user3 { label = "user3"; gpios = <&gpio4 15 GPIO_ACTIVE_LOW>; /* MX6_LOCLED# */ default-state = "off";
arch/arm/boot/dts/imx6qdl-gw5907.dtsi +2 -2
@@ -71,14 +71,14 @@ leds { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpio_leds>; - led0: user1 { + led0: led-user1 { label = "user1"; gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDG */ default-state = "on"; linux,default-trigger = "heartbeat"; }; - led1: user2 { + led1: led-user2 { label = "user2"; gpios = <&gpio4 7 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDR */ default-state = "off";
arch/arm/boot/dts/imx6qdl-gw5910.dtsi +3 -3
@@ -74,20 +74,20 @@ leds { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpio_leds>; - led0: user1 { + led0: led-user1 { label = "user1"; gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDG */ default-state = "on"; linux,default-trigger = "heartbeat"; }; - led1: user2 { + led1: led-user2 { label = "user2"; gpios = <&gpio4 7 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDR */ default-state = "off"; }; - led2: user3 { + led2: led-user3 { label = "user3"; gpios = <&gpio4 15 GPIO_ACTIVE_LOW>; /* MX6_LOCLED# */ default-state = "off";
arch/arm/boot/dts/imx6qdl-gw5912.dtsi +3 -3
@@ -72,20 +72,20 @@ leds { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpio_leds>; - led0: user1 { + led0: led-user1 { label = "user1"; gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDG */ default-state = "on"; linux,default-trigger = "heartbeat"; }; - led1: user2 { + led1: led-user2 { label = "user2"; gpios = <&gpio4 7 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDR */ default-state = "off"; }; - led2: user3 { + led2: led-user3 { label = "user3"; gpios = <&gpio4 15 GPIO_ACTIVE_LOW>; /* MX6_LOCLED# */ default-state = "off";
arch/arm/boot/dts/imx6qdl-gw5913.dtsi +2 -2
@@ -71,14 +71,14 @@ leds { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpio_leds>; - led0: user1 { + led0: led-user1 { label = "user1"; gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDG */ default-state = "on"; linux,default-trigger = "heartbeat"; }; - led1: user2 { + led1: led-user2 { label = "user2"; gpios = <&gpio4 7 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDR */ default-state = "off";
arch/arm/boot/dts/imx6qdl-nit6xlite.dtsi +5 -5
@@ -85,31 +85,31 @@ leds { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_leds>; - j14-pin1 { + led-j14-pin1 { gpios = <&gpio1 2 GPIO_ACTIVE_LOW>; retain-state-suspended; default-state = "off"; }; - j14-pin3 { + led-j14-pin3 { gpios = <&gpio1 3 GPIO_ACTIVE_LOW>; retain-state-suspended; default-state = "off"; }; - j14-pins8-9 { + led-j14-pins8-9 { gpios = <&gpio3 29 GPIO_ACTIVE_LOW>; retain-state-suspended; default-state = "off"; }; - j46-pin2 { + led-j46-pin2 { gpios = <&gpio1 7 GPIO_ACTIVE_LOW>; retain-state-suspended; default-state = "off"; }; - j46-pin3 { + led-j46-pin3 { gpios = <&gpio1 8 GPIO_ACTIVE_LOW>; retain-state-suspended; default-state = "off";
arch/arm/boot/dts/imx6qdl-nitrogen6_max.dtsi +2 -2
@@ -181,13 +181,13 @@ i2c3mux@1 { leds { compatible = "gpio-leds"; - speaker-enable { + led-speaker-enable { gpios = <&gpio1 29 GPIO_ACTIVE_HIGH>; retain-state-suspended; default-state = "off"; }; - ttymxc4-rs232 { + led-ttymxc4-rs232 { gpios = <&gpio6 10 GPIO_ACTIVE_HIGH>; retain-state-suspended; default-state = "on";
arch/arm/boot/dts/imx6qdl-phytec-mira.dtsi +4 -4
@@ -25,17 +25,17 @@ gpio_leds: leds { pinctrl-0 = <&pinctrl_gpioleds>; status = "disabled"; - red { + led-red { label = "phyboard-mira:red"; gpios = <&gpio5 22 GPIO_ACTIVE_HIGH>; }; - green { + led-green { label = "phyboard-mira:green"; gpios = <&gpio5 23 GPIO_ACTIVE_HIGH>; }; - blue { + led-blue { label = "phyboard-mira:blue"; gpios = <&gpio5 24 GPIO_ACTIVE_HIGH>; linux,default-trigger = "mmc0";
@@ -182,7 +182,7 @@ i2c_rtc: rtc@68 { pinctrl-0 = <&pinctrl_rtc_int>; reg = <0x68>; interrupt-parent = <&gpio7>; - interrupts = <8 IRQ_TYPE_LEVEL_HIGH>; + interrupts = <8 IRQ_TYPE_LEVEL_LOW>; status = "disabled"; }; };
arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi +2 -2
@@ -47,12 +47,12 @@ gpio_leds: leds { pinctrl-0 = <&pinctrl_leds>; compatible = "gpio-leds"; - led_green: green { + led_green: led-green { label = "phyflex:green"; gpios = <&gpio1 30 0>; }; - led_red: red { + led_red: led-red { label = "phyflex:red"; gpios = <&gpio2 31 0>; };
arch/arm/boot/dts/imx6qdl-prti6q.dtsi +10 -1
@@ -69,6 +69,7 @@ &usbh1 { vbus-supply = <®_usb_h1_vbus>; phy_type = "utmi"; dr_mode = "host"; + disable-over-current; status = "okay"; };
@@ -78,10 +79,18 @@ &usbotg { pinctrl-0 = <&pinctrl_usbotg>; phy_type = "utmi"; dr_mode = "host"; - disable-over-current; + over-current-active-low; status = "okay"; }; +&usbphynop1 { + status = "disabled"; +}; + +&usbphynop2 { + status = "disabled"; +}; + &usdhc1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usdhc1>;
arch/arm/boot/dts/imx6qdl-rex.dtsi +1 -1
@@ -55,7 +55,7 @@ leds { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_led>; - led0: usr { + led0: led-usr { label = "usr"; gpios = <&gpio1 2 GPIO_ACTIVE_LOW>; default-state = "off";
arch/arm/boot/dts/imx6qdl-sabreauto.dtsi +1 -1
@@ -21,7 +21,7 @@ leds { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpio_leds>; - user { + led-user { label = "debug"; gpios = <&gpio5 15 GPIO_ACTIVE_HIGH>; };
arch/arm/boot/dts/imx6qdl-sabresd.dtsi +1 -1
@@ -130,7 +130,7 @@ leds { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpio_leds>; - red { + led-red { gpios = <&gpio1 2 0>; default-state = "on"; };
arch/arm/boot/dts/imx6qdl-ts7970.dtsi +2 -2
@@ -73,13 +73,13 @@ blue-led { default-state = "off"; }; - en-usb-5v { + en-usb-5v-led { label = "en-usb-5v"; gpios = <&gpio2 22 GPIO_ACTIVE_HIGH>; default-state = "on"; }; - sel_dc_usb { + sel-dc-usb-led { label = "sel_dc_usb"; gpios = <&gpio5 17 GPIO_ACTIVE_HIGH>; default-state = "off";
arch/arm/boot/dts/imx6qdl-tx6.dtsi +1 -1
@@ -92,7 +92,7 @@ power { leds { compatible = "gpio-leds"; - user_led: user { + user_led: led-user { label = "Heartbeat"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_user_led>;
arch/arm/boot/dts/imx6sl-evk.dts +1 -1
@@ -33,7 +33,7 @@ leds { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_led>; - user { + led-user { label = "debug"; gpios = <&gpio3 20 GPIO_ACTIVE_HIGH>; linux,default-trigger = "heartbeat";
arch/arm/boot/dts/imx6sll-evk.dts +1 -1
@@ -37,7 +37,7 @@ leds { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_led>; - user { + led-user { label = "debug"; gpios = <&gpio2 4 GPIO_ACTIVE_HIGH>; linux,default-trigger = "heartbeat";
arch/arm/boot/dts/imx6sll.dtsi +1 -1
@@ -552,7 +552,7 @@ usbphy2: usb-phy@20ca000 { reg = <0x020ca000 0x1000>; interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; clocks = <&clks IMX6SLL_CLK_USBPHY2>; - phy-reg_3p0-supply = <®_3p0>; + phy-3p0-supply = <®_3p0>; fsl,anatop = <&anatop>; };
arch/arm/boot/dts/imx6sx-sabreauto.dts +1 -1
@@ -20,7 +20,7 @@ leds { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_led>; - user { + led-user { label = "debug"; gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>; linux,default-trigger = "heartbeat";
arch/arm/boot/dts/imx6sx-udoo-neo.dtsi +2 -2
@@ -15,14 +15,14 @@ chosen { leds { compatible = "gpio-leds"; - red { + led-red { label = "udoo-neo:red:mmc"; gpios = <&gpio6 0 GPIO_ACTIVE_HIGH>; default-state = "off"; linux,default-trigger = "mmc0"; }; - orange { + led-orange { label = "udoo-neo:orange:user"; gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>; default-state = "keep";
arch/arm/boot/dts/imx6sx.dtsi +6 -0
@@ -981,6 +981,8 @@ usdhc1: mmc@2190000 { <&clks IMX6SX_CLK_USDHC1>; clock-names = "ipg", "ahb", "per"; bus-width = <4>; + fsl,tuning-start-tap = <20>; + fsl,tuning-step= <2>; status = "disabled"; };
@@ -993,6 +995,8 @@ usdhc2: mmc@2194000 { <&clks IMX6SX_CLK_USDHC2>; clock-names = "ipg", "ahb", "per"; bus-width = <4>; + fsl,tuning-start-tap = <20>; + fsl,tuning-step= <2>; status = "disabled"; };
@@ -1005,6 +1009,8 @@ usdhc3: mmc@2198000 { <&clks IMX6SX_CLK_USDHC3>; clock-names = "ipg", "ahb", "per"; bus-width = <4>; + fsl,tuning-start-tap = <20>; + fsl,tuning-step= <2>; status = "disabled"; };
arch/arm/boot/dts/imx6ul-phytec-phycore-som.dtsi +1 -1
@@ -30,7 +30,7 @@ gpio_leds_som: leds { pinctrl-0 = <&pinctrl_gpioleds_som>; compatible = "gpio-leds"; - phycore-green { + led-phycore-green { gpios = <&gpio5 4 GPIO_ACTIVE_HIGH>; linux,default-trigger = "heartbeat"; };
arch/arm/boot/dts/imx6ul-tx6ul.dtsi +1 -1
@@ -131,7 +131,7 @@ ds1339: rtc@68 { leds { compatible = "gpio-leds"; - user_led: user { + user_led: led-user { label = "Heartbeat"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_led>;
arch/arm64/boot/dts/freescale/imx8mm.dtsi +3 -4
@@ -1145,10 +1145,9 @@ mipi_csi: mipi-csi@32e30000 { compatible = "fsl,imx8mm-mipi-csi2"; reg = <0x32e30000 0x1000>; interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>; - assigned-clocks = <&clk IMX8MM_CLK_CSI1_CORE>, - <&clk IMX8MM_CLK_CSI1_PHY_REF>; - assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_1000M>, - <&clk IMX8MM_SYS_PLL2_1000M>; + assigned-clocks = <&clk IMX8MM_CLK_CSI1_CORE>; + assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_1000M>; + clock-frequency = <333000000>; clocks = <&clk IMX8MM_CLK_DISP_APB_ROOT>, <&clk IMX8MM_CLK_CSI1_ROOT>,
arch/arm64/boot/dts/freescale/imx93.dtsi +1 -1
@@ -254,7 +254,7 @@ mlmix: power-domain@44461800 { anatop: anatop@44480000 { compatible = "fsl,imx93-anatop", "syscon"; - reg = <0x44480000 0x10000>; + reg = <0x44480000 0x2000>; }; };
arch/arm64/boot/dts/qcom/qrb5165-rb5.dts +1 -1
@@ -121,7 +121,7 @@ active-config0 { }; }; - pm8150l-thermal { + pm8150l-pcb-thermal { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&pm8150l_adc_tm 1>;
arch/arm64/boot/dts/rockchip/rk3399-rock-4c-plus.dts +1 -2
@@ -548,9 +548,8 @@ &saradc { &sdhci { max-frequency = <150000000>; bus-width = <8>; - mmc-hs400-1_8v; + mmc-hs200-1_8v; non-removable; - mmc-hs400-enhanced-strobe; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi +3 -3
@@ -45,7 +45,7 @@ led-0 { sdio_pwrseq: sdio-pwrseq { compatible = "mmc-pwrseq-simple"; clocks = <&rk808 1>; - clock-names = "ext_clock"; + clock-names = "lpo"; pinctrl-names = "default"; pinctrl-0 = <&wifi_enable_h>; reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>;
@@ -645,9 +645,9 @@ &saradc { }; &sdhci { + max-frequency = <150000000>; bus-width = <8>; - mmc-hs400-1_8v; - mmc-hs400-enhanced-strobe; + mmc-hs200-1_8v; non-removable; status = "okay"; };
arch/arm64/include/asm/fpsimd.h +2 -2
@@ -339,7 +339,7 @@ static inline int sme_max_virtualisable_vl(void)return vec_max_virtualisable_vl (ARM64_VEC_SME ); } -extern void sme_alloc (struct task_struct *task); +extern void sme_alloc (struct task_struct *task,bool flush);extern unsigned int sme_get_vl (void );extern int sme_set_current_vl (unsigned long arg);extern int sme_get_current_vl (void );
@@ -365,7 +365,7 @@ static inline void sme_smstart_sm(void) { }static inline void sme_smstop_sm (void ) { }static inline void sme_smstop (void ) { } -static inline void sme_alloc (struct task_struct *task) { } +static inline void sme_alloc (struct task_struct *task,bool flush) { }static inline void sme_setup (void ) { }static inline unsigned int sme_get_vl (void ) {return 0 ; }static inline int sme_max_vl (void ) {return 0 ; }
arch/arm64/include/asm/kvm_host.h +2 -0
@@ -559,6 +559,8 @@ struct kvm_vcpu_arch {#define SYSREGS_ON_CPU __vcpu_single_flag(sflags, BIT(4))/* Software step state is Active-pending */ #define DBG_SS_ACTIVE_PENDING __vcpu_single_flag(sflags, BIT(5)) +/* WFI instruction trapped */ +#define IN_WFI __vcpu_single_flag(sflags, BIT(7))/* Pointer to the vcpu's SVE FFR for sve_{save,load}_state() */
arch/arm64/kernel/fpsimd.c +3 -3
@@ -1239,9 +1239,9 @@ void fpsimd_release_task(struct task_struct *dead_task)* the interest of testability and predictability, the architecture * guarantees that when ZA is enabled it will be zeroed. */ -void sme_alloc (struct task_struct *task) +void sme_alloc (struct task_struct *task,bool flush) { -if (task->thread.za_state) { +if (task->thread.za_state && flush) {memset (task->thread.za_state,0 ,za_state_size (task));return ; }
@@ -1460,7 +1460,7 @@ void do_sme_acc(unsigned long esr, struct pt_regs *regs) }sve_alloc (current, false); -sme_alloc (current); +sme_alloc (current, true);if (!current->thread.sve_state || !current->thread.za_state) {force_sig (SIGKILL );return ;
arch/arm64/kernel/ptrace.c +8 -1
@@ -886,6 +886,13 @@ static int sve_set_common(struct task_struct *target,break ;case ARM64_VEC_SME : target->thread.svcr |=SVCR_SM_MASK ; + +/* +* Disable traps and ensure there is SME storage but +* preserve any currently set values in ZA/ZT. +*/ +sme_alloc (target, false); +set_tsk_thread_flag (target,TIF_SME );break ;default :WARN_ON_ONCE (1 );
@@ -1107,7 +1114,7 @@ static int za_set(struct task_struct *target, }/* Allocate/reinit ZA storage */ -sme_alloc (target); +sme_alloc (target, true);if (!target->thread.za_state) { ret = -ENOMEM ; goto out;
arch/arm64/kernel/signal.c +1 -1
@@ -430,7 +430,7 @@ static int restore_za_context(struct user_ctxs *user)fpsimd_flush_task_state (current);/* From now, fpsimd_thread_switch() won't touch thread.sve_state */ -sme_alloc (current); +sme_alloc (current, true);if (!current->thread.za_state) { current->thread.svcr &= ~SVCR_ZA_MASK ;clear_thread_flag (TIF_SME );
arch/arm64/kvm/arm.c +4 -2
@@ -692,13 +692,15 @@ void kvm_vcpu_wfi(struct kvm_vcpu *vcpu)*/ preempt_disable ();kvm_vgic_vmcr_sync (vcpu); -vgic_v4_put (vcpu, true); +vcpu_set_flag (vcpu,IN_WFI ); +vgic_v4_put (vcpu);preempt_enable ();kvm_vcpu_halt (vcpu);vcpu_clear_flag (vcpu,IN_WFIT );preempt_disable (); +vcpu_clear_flag (vcpu,IN_WFI );vgic_v4_load (vcpu);preempt_enable (); }
@@ -766,7 +768,7 @@ static int check_vcpu_requests(struct kvm_vcpu *vcpu)if (kvm_check_request (KVM_REQ_RELOAD_GICv4, vcpu)) {/* The distributor enable bits were changed */ preempt_disable (); -vgic_v4_put (vcpu, false); +vgic_v4_put (vcpu);vgic_v4_load (vcpu);preempt_enable (); }
arch/arm64/kvm/vgic/vgic-v3.c +1 -1
@@ -742,7 +742,7 @@ void vgic_v3_put(struct kvm_vcpu *vcpu) {struct vgic_v3_cpu_if *cpu_if = &vcpu->arch.vgic_cpu.vgic_v3; -WARN_ON (vgic_v4_put (vcpu, false)); +WARN_ON (vgic_v4_put (vcpu));vgic_v3_vmcr_sync (vcpu);
arch/arm64/kvm/vgic/vgic-v4.c +5 -2
@@ -336,14 +336,14 @@ void vgic_v4_teardown(struct kvm *kvm) its_vm->vpes =NULL ; } -int vgic_v4_put (struct kvm_vcpu *vcpu,bool need_db) +int vgic_v4_put (struct kvm_vcpu *vcpu) {struct its_vpe *vpe = &vcpu->arch.vgic_cpu.vgic_v3.its_vpe;if (!vgic_supports_direct_msis (vcpu->kvm) || !vpe->resident)return 0 ; -return its_make_vpe_non_resident (vpe, need_db); +return its_make_vpe_non_resident (vpe, !!vcpu_get_flag (vcpu,IN_WFI )); }int vgic_v4_load (struct kvm_vcpu *vcpu)
@@ -354,6 +354,9 @@ int vgic_v4_load(struct kvm_vcpu *vcpu)if (!vgic_supports_direct_msis (vcpu->kvm) || vpe->resident)return 0 ; +if (vcpu_get_flag (vcpu,IN_WFI )) +return 0 ; +/* * Before making the VPE resident, make sure the redistributor * corresponding to our current CPU expects us here. See the
arch/powerpc/kernel/rtas_flash.c +3 -3
@@ -710,9 +710,9 @@ static int __init rtas_flash_init(void)if (!rtas_validate_flash_data.buf)return -ENOMEM ; - flash_block_cache =kmem_cache_create ("rtas_flash_cache" , -RTAS_BLK_SIZE ,RTAS_BLK_SIZE ,0 , -NULL ); + flash_block_cache =kmem_cache_create_usercopy ("rtas_flash_cache" , +RTAS_BLK_SIZE ,RTAS_BLK_SIZE , +0 ,0 ,RTAS_BLK_SIZE ,NULL );if (!flash_block_cache) {printk (KERN_ERR "%s: failed to create block cache\n" , __func__);
arch/powerpc/mm/kasan/Makefile +1 -0
@@ -1,6 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 KASAN_SANITIZE := n +KCOV_INSTRUMENT := n obj-$(CONFIG_PPC32) += init_32.o obj-$(CONFIG_PPC_8xx) += 8xx.o
arch/riscv/lib/uaccess.S +7 -4
@@ -17,8 +17,11 @@ ENTRY(__asm_copy_from_user) li t6, SR_SUM csrs CSR_STATUS, t6 - /* Save for return value */ - mv t5, a2 + /* + * Save the terminal address which will be used to compute the number + * of bytes copied in case of a fixup exception. + */ + add t5, a0, a2 /* * Register allocation for code below:
@@ -176,7 +179,7 @@ ENTRY(__asm_copy_from_user) 10: /* Disable access to user memory */ csrc CSR_STATUS, t6 - mv a0, t5 + sub a0, t5, a0 ret ENDPROC(__asm_copy_to_user) ENDPROC(__asm_copy_from_user)
@@ -228,7 +231,7 @@ ENTRY(__clear_user) 11: /* Disable access to user memory */ csrc CSR_STATUS, t6 - mv a0, a1 + sub a0, a3, a0 ret ENDPROC(__clear_user) EXPORT_SYMBOL(__clear_user)
block/blk-crypto-fallback.c +23 -13
@@ -78,7 +78,7 @@ static struct blk_crypto_fallback_keyslot {struct crypto_skcipher *tfms[BLK_ENCRYPTION_MODE_MAX ]; } *blk_crypto_keyslots; -static struct blk_crypto_profile blk_crypto_fallback_profile; +static struct blk_crypto_profile *blk_crypto_fallback_profile;static struct workqueue_struct *blk_crypto_wq;static mempool_t *blk_crypto_bounce_page_pool;static struct bio_set crypto_bio_split;
@@ -292,7 +292,7 @@ static bool blk_crypto_fallback_encrypt_bio(struct bio **bio_ptr)* Get a blk-crypto-fallback keyslot that contains a crypto_skcipher for * this bio's algorithm and key. */ - blk_st =blk_crypto_get_keyslot (&blk_crypto_fallback_profile, + blk_st =blk_crypto_get_keyslot (blk_crypto_fallback_profile, bc->bc_key, &slot);if (blk_st !=BLK_STS_OK ) { src_bio->bi_status = blk_st;
@@ -395,7 +395,7 @@ static void blk_crypto_fallback_decrypt_bio(struct work_struct *work)* Get a blk-crypto-fallback keyslot that contains a crypto_skcipher for * this bio's algorithm and key. */ - blk_st =blk_crypto_get_keyslot (&blk_crypto_fallback_profile, + blk_st =blk_crypto_get_keyslot (blk_crypto_fallback_profile, bc->bc_key, &slot);if (blk_st !=BLK_STS_OK ) { bio->bi_status = blk_st;
@@ -499,7 +499,7 @@ bool blk_crypto_fallback_bio_prep(struct bio **bio_ptr)return false; } -if (!__blk_crypto_cfg_supported (&blk_crypto_fallback_profile, +if (!__blk_crypto_cfg_supported (blk_crypto_fallback_profile, &bc->bc_key->crypto_cfg)) { bio->bi_status =BLK_STS_NOTSUPP ;return false;
@@ -526,7 +526,7 @@ bool blk_crypto_fallback_bio_prep(struct bio **bio_ptr)int blk_crypto_fallback_evict_key (const struct blk_crypto_key *key) { -return __blk_crypto_evict_key (&blk_crypto_fallback_profile, key); +return __blk_crypto_evict_key (blk_crypto_fallback_profile, key); }static bool blk_crypto_fallback_inited;
@@ -534,7 +534,6 @@ static int blk_crypto_fallback_init(void) {int i;int err; -struct blk_crypto_profile *profile = &blk_crypto_fallback_profile;if (blk_crypto_fallback_inited)return 0 ;
@@ -545,18 +544,27 @@ static int blk_crypto_fallback_init(void)if (err) goto out; - err =blk_crypto_profile_init (profile, blk_crypto_num_keyslots); -if (err) +/* Dynamic allocation is needed because of lockdep_register_key(). */ + blk_crypto_fallback_profile = +kzalloc (sizeof (*blk_crypto_fallback_profile),GFP_KERNEL ); +if (!blk_crypto_fallback_profile) { + err = -ENOMEM ; goto fail_free_bioset; + } + + err =blk_crypto_profile_init (blk_crypto_fallback_profile, + blk_crypto_num_keyslots); +if (err) + goto fail_free_profile; err = -ENOMEM ; - profile->ll_ops = blk_crypto_fallback_ll_ops; - profile->max_dun_bytes_supported =BLK_CRYPTO_MAX_IV_SIZE ; + blk_crypto_fallback_profile->ll_ops = blk_crypto_fallback_ll_ops; + blk_crypto_fallback_profile->max_dun_bytes_supported =BLK_CRYPTO_MAX_IV_SIZE ;/* All blk-crypto modes have a crypto API fallback. */ for (i =0 ; i <BLK_ENCRYPTION_MODE_MAX ; i++) - profile->modes_supported[i] =0xFFFFFFFF ; - profile->modes_supported[BLK_ENCRYPTION_MODE_INVALID ] =0 ; + blk_crypto_fallback_profile->modes_supported[i] =0xFFFFFFFF ; + blk_crypto_fallback_profile->modes_supported[BLK_ENCRYPTION_MODE_INVALID ] =0 ; blk_crypto_wq = alloc_workqueue("blk_crypto_wq", WQ_UNBOUND | WQ_HIGHPRI |
@@ -597,7 +605,9 @@ static int blk_crypto_fallback_init(void) fail_free_wq:destroy_workqueue (blk_crypto_wq); fail_destroy_profile: -blk_crypto_profile_destroy (profile); +blk_crypto_profile_destroy (blk_crypto_fallback_profile); +fail_free_profile: +kfree (blk_crypto_fallback_profile); fail_free_bioset:bioset_exit (&crypto_bio_split); out:
drivers/bluetooth/btusb.c +3 -0
@@ -600,6 +600,9 @@ static const struct usb_device_id blacklist_table[] = { { USB_DEVICE(0x0489, 0xe0d9), .driver_info = BTUSB_MEDIATEK |BTUSB_WIDEBAND_SPEECH | BTUSB_VALID_LE_STATES }, + { USB_DEVICE(0x0489, 0xe0f5), .driver_info = BTUSB_MEDIATEK | +BTUSB_WIDEBAND_SPEECH | + BTUSB_VALID_LE_STATES }, { USB_DEVICE(0x13d3, 0x3568), .driver_info = BTUSB_MEDIATEK |BTUSB_WIDEBAND_SPEECH | BTUSB_VALID_LE_STATES },
drivers/bus/ti-sysc.c +2 -0
@@ -2159,6 +2159,8 @@ static int sysc_reset(struct sysc *ddata) sysc_val =sysc_read_sysconfig (ddata); sysc_val |= sysc_mask;sysc_write (ddata, sysc_offset, sysc_val); +/* Flush posted write */ + sysc_val =sysc_read_sysconfig (ddata); }if (ddata->cfg.srst_udelay)
drivers/cpuidle/cpuidle-psci-domain.c +15 -27
82 lines not on this page · raw message
drivers/firewire/net.c +4 -2
@@ -479,7 +479,7 @@ static int fwnet_finish_incoming_packet(struct net_device *net, struct sk_buff *skb, u16 source_node_id, bool is_broadcast, u16 ether_type) { - int status; + int status, len;switch (ether_type) {case ETH_P_ARP :
@@ -533,13 +533,15 @@ static int fwnet_finish_incoming_packet(struct net_device *net, } skb->protocol = protocol; } + + len = skb->len; status =netif_rx (skb);if (status ==NET_RX_DROP ) { net->stats.rx_errors++; net->stats.rx_dropped++; }else { net->stats.rx_packets++; - net->stats.rx_bytes += skb->len; + net->stats.rx_bytes += len; }return 0 ;
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c +4 -4
@@ -185,7 +185,7 @@ static int amdgpu_cs_pass1(struct amdgpu_cs_parser *p,uint64_t *chunk_array_user;uint64_t *chunk_array;uint32_t uf_offset =0 ; -unsigned int size; +size_t size;int ret;int i;
@@ -1607,15 +1607,15 @@ static int amdgpu_cs_wait_all_fences(struct amdgpu_device *adev,continue ; r =dma_fence_wait_timeout (fence, true, timeout); +if (r >0 && fence->error) + r = fence->error; +dma_fence_put (fence);if (r <0 )return r;if (r ==0 )break ; - -if (fence->error) -return fence->error; }memset (wait,0 ,sizeof (*wait));
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +1 -0
@@ -4232,6 +4232,7 @@ int amdgpu_device_suspend(struct drm_device *dev, bool fbcon)drm_fb_helper_set_suspend_unlocked (adev_to_drm (adev)->fb_helper, true);cancel_delayed_work_sync (&adev->delayed_init_work); +flush_delayed_work (&adev->gfx.gfx_off_delay_work);amdgpu_ras_suspend (adev);
drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c +39 -2
59 lines not on this page · raw message
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c +1 -8
@@ -585,15 +585,8 @@ void amdgpu_gfx_off_ctrl(struct amdgpu_device *adev, bool enable)if (adev->gfx.gfx_off_req_count ==0 && !adev->gfx.gfx_off_state) { -/* If going to s2idle, no need to wait */ -if (adev->in_s0ix) { -if (!amdgpu_dpm_set_powergating_by_smu (adev, -AMD_IP_BLOCK_TYPE_GFX , true)) - adev->gfx.gfx_off_state = true; - }else { -schedule_delayed_work (&adev->gfx.gfx_off_delay_work, +schedule_delayed_work (&adev->gfx.gfx_off_delay_work, delay); - } } }else {if (adev->gfx.gfx_off_req_count ==0 ) {
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c +0 -1
@@ -160,7 +160,6 @@ void amdgpu_irq_disable_all(struct amdgpu_device *adev)continue ;for (k =0 ; k < src->num_types; ++k) { -atomic_set (&src->enabled_types[k],0 ); r = src->funcs->set (adev, src, k,AMDGPU_IRQ_STATE_DISABLE );if (r)
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c +2 -2
@@ -514,6 +514,8 @@ static int psp_sw_fini(void *handle)kfree (cmd); cmd =NULL ; +psp_free_shared_bufs (psp); +if (psp->km_ring.ring_mem) amdgpu_bo_free_kernel(&adev->firmware.rbuf, &psp->km_ring.ring_mem_mc_addr,
@@ -2673,8 +2675,6 @@ static int psp_hw_fini(void *handle)psp_ring_destroy (psp,PSP_RING_TYPE__KM ); -psp_free_shared_bufs (psp); -return 0 ; }
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c +2 -0
@@ -361,6 +361,8 @@ void amdgpu_ring_fini(struct amdgpu_ring *ring)amdgpu_bo_free_kernel (&ring->ring_obj, &ring->gpu_addr, (void **)&ring->ring); + }else { +kfree (ring->fence_drv.fences); }dma_fence_put (ring->vmid_wait);
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +4 -2
@@ -1352,6 +1352,7 @@ struct amdgpu_bo_va *amdgpu_vm_bo_add(struct amdgpu_device *adev,amdgpu_vm_bo_base_init (&bo_va->base, vm, bo); bo_va->ref_count =1 ; + bo_va->last_pt_update =dma_fence_get_stub ();INIT_LIST_HEAD (&bo_va->valids);INIT_LIST_HEAD (&bo_va->invalids);
@@ -2073,7 +2074,8 @@ int amdgpu_vm_init(struct amdgpu_device *adev, struct amdgpu_vm *vm) vm->update_funcs = &amdgpu_vm_cpu_funcs; else vm->update_funcs = &amdgpu_vm_sdma_funcs; - vm->last_update =NULL ; + + vm->last_update =dma_fence_get_stub (); vm->last_unlocked =dma_fence_get_stub (); vm->last_tlb_flush =dma_fence_get_stub ();
@@ -2198,7 +2200,7 @@ int amdgpu_vm_make_compute(struct amdgpu_device *adev, struct amdgpu_vm *vm) goto unreserve_bo;dma_fence_put (vm->last_update); - vm->last_update =NULL ; + vm->last_update =dma_fence_get_stub (); vm->is_compute_context = true;/* Free the shadow bo for compute VM */
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +168 -41
270 lines not on this page · raw message
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.h +14 -0
@@ -52,6 +52,20 @@ struct hdcp_workqueue {struct mod_hdcp_link link;enum mod_hdcp_encryption_status encryption_status; + +/* when display is unplugged from mst hub, connctor will be +* destroyed within dm_dp_mst_connector_destroy. connector +* hdcp perperties, like type, undesired, desired, enabled, +* will be lost. So, save hdcp properties into hdcp_work within +* amdgpu_dm_atomic_commit_tail. if the same display is +* plugged back with same display index, its hdcp properties +* will be retrieved from hdcp_work within dm_dp_mst_get_modes +*/ +/* un-desired, desired, enabled */ +unsigned int content_protection[AMDGPU_DM_MAX_DISPLAY_INDEX ]; +/* hdcp1.x, hdcp2.x */ +unsigned int hdcp_content_type[AMDGPU_DM_MAX_DISPLAY_INDEX ]; +uint8_t max_link;uint8_t *srm;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c +30 -0
@@ -32,6 +32,10 @@#include "amdgpu_dm.h" #include "amdgpu_dm_mst_types.h" +#ifdef CONFIG_DRM_AMD_DC_HDCP +#include "amdgpu_dm_hdcp.h" +#endif +#include "dc.h" #include "dm_helpers.h"
@@ -363,6 +367,32 @@ static int dm_dp_mst_get_modes(struct drm_connector *connector)/* dc_link_add_remote_sink returns a new reference */ aconnector->dc_sink = dc_sink; +/* when display is unplugged from mst hub, connctor will be +* destroyed within dm_dp_mst_connector_destroy. connector +* hdcp perperties, like type, undesired, desired, enabled, +* will be lost. So, save hdcp properties into hdcp_work within +* amdgpu_dm_atomic_commit_tail. if the same display is +* plugged back with same display index, its hdcp properties +* will be retrieved from hdcp_work within dm_dp_mst_get_modes +*/ +#ifdef CONFIG_DRM_AMD_DC_HDCP +if (aconnector->dc_sink && connector->state) { +struct drm_device *dev = connector->dev; +struct amdgpu_device *adev =drm_to_adev (dev); + +if (adev->dm.hdcp_workqueue) { +struct hdcp_workqueue *hdcp_work = adev->dm.hdcp_workqueue; +struct hdcp_workqueue *hdcp_w = + &hdcp_work[aconnector->dc_link->link_index]; + + connector->state->hdcp_content_type = + hdcp_w->hdcp_content_type[connector->index]; + connector->state->content_protection = + hdcp_w->content_protection[connector->index]; + } + } +#endif +if (aconnector->dc_sink) {amdgpu_dm_update_freesync_caps ( connector, aconnector->edid);
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dccg.h +2 -1
@@ -230,7 +230,8 @@type DTBCLK_P2_SRC_SEL ;\type DTBCLK_P2_EN ;\type DTBCLK_P3_SRC_SEL ;\ -type DTBCLK_P3_EN ; +type DTBCLK_P3_EN ;\ +type DENTIST_DISPCLK_CHG_DONE ;struct dccg_shift {DCCG_REG_FIELD_LIST (uint8_t )
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_dccg.c +8 -0
@@ -47,6 +47,14 @@ void dccg31_update_dpp_dto(struct dccg *dccg, int dpp_inst, int req_dppclk) {struct dcn_dccg *dccg_dcn =TO_DCN_DCCG (dccg); +if (dccg->dpp_clock_gated[dpp_inst]) { +/* +* Do not update the DPPCLK DTO if the clock is stopped. +* It is treated the same as if the pipe itself were in PG. +*/ +return ; + } +if (dccg->ref_dppclk && req_dppclk) {int ref_dppclk = dccg->ref_dppclk;int modulo, phase;
drivers/gpu/drm/amd/display/dc/dcn314/dcn314_dccg.c +5 -0
@@ -296,6 +296,9 @@ static void dccg314_dpp_root_clock_control( {struct dcn_dccg *dccg_dcn =TO_DCN_DCCG (dccg); +if (dccg->dpp_clock_gated[dpp_inst] != clock_on) +return ; +if (clock_on) {/* turn off the DTO and leave phase/modulo at max */ REG_UPDATE (DPPCLK_DTO_CTRL ,DPPCLK_DTO_ENABLE [dpp_inst],0 );
@@ -309,6 +312,8 @@ static void dccg314_dpp_root_clock_control(DPPCLK0_DTO_PHASE ,0 , DPPCLK0_DTO_MODULO, 1); } + + dccg->dpp_clock_gated[dpp_inst] = !clock_on; }static const struct dccg_funcs dccg314_funcs = {
drivers/gpu/drm/amd/display/dc/dcn314/dcn314_resource.c +20 -0
@@ -920,6 +920,22 @@ static const struct dc_debug_options debug_defaults_drv = { .afmt = true, } }, + + .root_clock_optimization = { + .bits = { + .dpp = true, + .dsc = false, + .hdmistream = false, + .hdmichar = false, + .dpstream = false, + .symclk32_se = false, + .symclk32_le = false, + .symclk_fe = false, + .physymclk = false, + .dpiasymclk = false, + } + }, + .seamless_boot_odm_combine = true };
@@ -1917,6 +1933,10 @@ static bool dcn314_resource_construct( dc->debug = debug_defaults_drv; else dc->debug = debug_defaults_diags; + +/* Disable root clock optimization */ + dc->debug.root_clock_optimization.u32All =0 ; +// Init the vm_helper if (dc->vm_helper)vm_helper_init (dc->vm_helper,16 );
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dccg.c +22 -0
@@ -42,6 +42,20 @@#define DC_LOGGER \ dccg->ctx->logger +/* This function is a workaround for writing to OTG_PIXEL_RATE_DIV +* without the probability of causing a DIG FIFO error. +*/ +static void dccg32_wait_for_dentist_change_done ( +struct dccg *dccg) +{ +struct dcn_dccg *dccg_dcn =TO_DCN_DCCG (dccg); + +uint32_t dentist_dispclk_value =REG_READ (DENTIST_DISPCLK_CNTL ); + +REG_WRITE (DENTIST_DISPCLK_CNTL , dentist_dispclk_value); +REG_WAIT (DENTIST_DISPCLK_CNTL ,DENTIST_DISPCLK_CHG_DONE ,1 ,50 ,2000 ); +} + static void dccg32_get_pixel_rate_div( struct dccg *dccg, uint32_t otg_inst,
@@ -110,21 +124,29 @@ static void dccg32_set_pixel_rate_div(REG_UPDATE_2 (OTG_PIXEL_RATE_DIV ,OTG0_PIXEL_RATE_DIVK1 , k1,OTG0_PIXEL_RATE_DIVK2 , k2); + +dccg32_wait_for_dentist_change_done (dccg);break ;case 1 :REG_UPDATE_2 (OTG_PIXEL_RATE_DIV ,OTG1_PIXEL_RATE_DIVK1 , k1,OTG1_PIXEL_RATE_DIVK2 , k2); + +dccg32_wait_for_dentist_change_done (dccg);break ;case 2 :REG_UPDATE_2 (OTG_PIXEL_RATE_DIV ,OTG2_PIXEL_RATE_DIVK1 , k1,OTG2_PIXEL_RATE_DIVK2 , k2); + +dccg32_wait_for_dentist_change_done (dccg);break ;case 3 :REG_UPDATE_2 (OTG_PIXEL_RATE_DIV ,OTG3_PIXEL_RATE_DIVK1 , k1,OTG3_PIXEL_RATE_DIVK2 , k2); + +dccg32_wait_for_dentist_change_done (dccg);break ;default :BREAK_TO_DEBUGGER ();
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dccg.h +2 -1
@@ -147,7 +147,8 @@DCCG_SF (DTBCLK_P_CNTL ,DTBCLK_P3_SRC_SEL , mask_sh),\DCCG_SF (DTBCLK_P_CNTL ,DTBCLK_P3_EN , mask_sh),\DCCG_SF (DCCG_AUDIO_DTO_SOURCE ,DCCG_AUDIO_DTO_SEL , mask_sh),\ - DCCG_SF(DCCG_AUDIO_DTO_SOURCE, DCCG_AUDIO_DTO0_SOURCE_SEL, mask_sh) +DCCG_SF (DCCG_AUDIO_DTO_SOURCE ,DCCG_AUDIO_DTO0_SOURCE_SEL , mask_sh),\ + DCCG_SF(DENTIST_DISPCLK_CNTL, DENTIST_DISPCLK_CHG_DONE, mask_sh) struct dccg *dccg32_create(
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c +1 -1
@@ -1177,7 +1177,7 @@ unsigned int dcn32_calculate_dccg_k1_k2_values(struct pipe_ctx *pipe_ctx, unsign *k2_div =PIXEL_RATE_DIV_BY_2 ; else *k2_div =PIXEL_RATE_DIV_BY_4 ; - }else if (dc_is_dp_signal (stream->signal)) { + }else if (dc_is_dp_signal (stream->signal) ||dc_is_virtual_signal (stream->signal)) {if (two_pix_per_container) { *k1_div =PIXEL_RATE_DIV_BY_1 ; *k2_div =PIXEL_RATE_DIV_BY_2 ;
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource.h +2 -1
@@ -1272,7 +1272,8 @@ unsigned int dcn32_calc_num_avail_chans_for_mall(struct dc *dc, int num_chans);DCCG_SRII (PHASE ,DTBCLK_DTO ,0 ),DCCG_SRII (PHASE ,DTBCLK_DTO ,1 ), \DCCG_SRII (PHASE ,DTBCLK_DTO ,2 ),DCCG_SRII (PHASE ,DTBCLK_DTO ,3 ), \SR (DCCG_AUDIO_DTBCLK_DTO_MODULO ),SR (DCCG_AUDIO_DTBCLK_DTO_PHASE ), \ -SR (OTG_PIXEL_RATE_DIV ),SR (DTBCLK_P_CNTL ),SR (DCCG_AUDIO_DTO_SOURCE ) \ +SR (OTG_PIXEL_RATE_DIV ),SR (DTBCLK_P_CNTL ), \ +SR (DCCG_AUDIO_DTO_SOURCE ),SR (DENTIST_DISPCLK_CNTL ) \ )/* VMID */
drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_32.c +2 -2
@@ -808,7 +808,7 @@ static void DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerforman v->SwathHeightC[k], TWait, (v->DRAMSpeedPerState[mode_lib->vba.VoltageLevel] <=MEM_STROBE_FREQ_MHZ || - v->DCFCLKPerState[mode_lib->vba.VoltageLevel] <=MIN_DCFCLK_FREQ_MHZ ) ? + v->DCFCLKPerState[mode_lib->vba.VoltageLevel] <=DCFCLK_FREQ_EXTRA_PREFETCH_REQ_MHZ ) ? mode_lib->vba.ip.min_prefetch_in_strobe_us :0 ,/* Output */ &v->DSTXAfterScaler[k],
@@ -3289,7 +3289,7 @@ void dml32_ModeSupportAndSystemConfigurationFull(struct display_mode_lib *mode_l v->swath_width_chroma_ub_this_state[k], v->SwathHeightYThisState[k], v->SwathHeightCThisState[k], v->TWait, - (v->DRAMSpeedPerState[i] <=MEM_STROBE_FREQ_MHZ || v->DCFCLKState[i][j] <=MIN_DCFCLK_FREQ_MHZ ) ? + (v->DRAMSpeedPerState[i] <=MEM_STROBE_FREQ_MHZ || v->DCFCLKState[i][j] <=DCFCLK_FREQ_EXTRA_PREFETCH_REQ_MHZ ) ? mode_lib->vba.ip.min_prefetch_in_strobe_us : 0,/* Output */
drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_32.h +1 -1
@@ -52,7 +52,7 @@#define BPP_BLENDED_PIPE 0xffffffff#define MEM_STROBE_FREQ_MHZ 1600 -#define MIN_DCFCLK_FREQ_MHZ 200 +#define DCFCLK_FREQ_EXTRA_PREFETCH_REQ_MHZ 300#define MEM_STROBE_MAX_DELIVERY_TIME_US 60.0struct display_mode_lib ;
drivers/gpu/drm/amd/display/dc/inc/hw/dccg.h +1 -0
@@ -68,6 +68,7 @@ struct dccg {const struct dccg_funcs *funcs;int pipe_dppclk_khz[MAX_PIPES ];int ref_dppclk; +bool dpp_clock_gated[MAX_PIPES ];//int dtbclk_khz[MAX_PIPES];/* TODO needs to be removed */ //int audio_dtbclk_khz;/* TODO needs to be removed */ //int ref_dtbclk_khz;/* TODO needs to be removed */
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c +2 -2
@@ -1562,9 +1562,9 @@ static int smu_disable_dpms(struct smu_context *smu)/* * For SMU 13.0.4/11, PMFW will handle the features disablement properly -* for gpu reset case. Driver involvement is unnecessary. +* for gpu reset and S0i3 cases. Driver involvement is unnecessary. */ -if (amdgpu_in_reset (adev)) { +if (amdgpu_in_reset (adev) || adev->in_s0ix) {switch (adev->ip_versions[MP1_HWIP ][0 ]) {case IP_VERSION (13 ,0 ,4 ):case IP_VERSION (13 ,0 ,11 ):
drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c +7 -7
@@ -588,7 +588,9 @@ static int sienna_cichlid_tables_init(struct smu_context *smu)return -ENOMEM ; } -static uint32_t sienna_cichlid_get_throttler_status_locked (struct smu_context *smu) +static uint32_t sienna_cichlid_get_throttler_status_locked (struct smu_context *smu, +bool use_metrics_v3, +bool use_metrics_v2) {struct smu_table_context *smu_table= &smu->smu_table; SmuMetricsExternal_t *metrics_ext =
@@ -596,13 +598,11 @@ static uint32_t sienna_cichlid_get_throttler_status_locked(struct smu_context *suint32_t throttler_status =0 ;int i; -if ((smu->adev->ip_versions[MP1_HWIP ][0 ] ==IP_VERSION (11 ,0 ,7 )) && - (smu->smc_fw_version >=0x3A4900 )) { +if (use_metrics_v3) {for (i =0 ; i <THROTTLER_COUNT ; i++) throttler_status |= (metrics_ext->SmuMetrics_V3.ThrottlingPercentage[i] ?1U << i :0 ); - }else if ((smu->adev->ip_versions[MP1_HWIP ][0 ] ==IP_VERSION (11 ,0 ,7 )) && - (smu->smc_fw_version >=0x3A4300 )) { + }else if (use_metrics_v2) {for (i =0 ; i <THROTTLER_COUNT ; i++) throttler_status |= (metrics_ext->SmuMetrics_V2.ThrottlingPercentage[i] ?1U << i :0 );
@@ -864,7 +864,7 @@ static int sienna_cichlid_get_smu_metrics_data(struct smu_context *smu, metrics->TemperatureVrSoc) * SMU_TEMPERATURE_UNITS_PER_CENTIGRADES;break ;case METRICS_THROTTLER_STATUS : - *value =sienna_cichlid_get_throttler_status_locked (smu); + *value =sienna_cichlid_get_throttler_status_locked (smu, use_metrics_v3, use_metrics_v2);break ;case METRICS_CURR_FANSPEED : *value = use_metrics_v3 ? metrics_v3->CurrFanSpeed :
@@ -4017,7 +4017,7 @@ static ssize_t sienna_cichlid_get_gpu_metrics(struct smu_context *smu, gpu_metrics->current_dclk1 = use_metrics_v3 ? metrics_v3->CurrClock[PPCLK_DCLK_1 ] : use_metrics_v2 ? metrics_v2->CurrClock[PPCLK_DCLK_1 ] : metrics->CurrClock[PPCLK_DCLK_1 ]; - gpu_metrics->throttle_status =sienna_cichlid_get_throttler_status_locked (smu); + gpu_metrics->throttle_status =sienna_cichlid_get_throttler_status_locked (smu, use_metrics_v3, use_metrics_v2); gpu_metrics->indep_throttle_status =smu_cmn_get_indep_throttler_status (gpu_metrics->throttle_status, sienna_cichlid_throttler_map);
drivers/gpu/drm/i915/display/intel_sdvo.c +1 -1
@@ -2727,7 +2727,7 @@ static struct intel_sdvo_connector *intel_sdvo_connector_alloc(void)__drm_atomic_helper_connector_reset (&sdvo_connector->base.base, &conn_state->base.base); -INIT_LIST_HEAD (&sdvo_connector->base.panel.fixed_modes); +intel_panel_init_alloc (&sdvo_connector->base);return sdvo_connector; }
drivers/gpu/drm/nouveau/nouveau_connector.c +6 -2
@@ -1407,8 +1407,7 @@ nouveau_connector_create(struct drm_device *dev, ret =nvif_conn_ctor (&disp->disp, nv_connector->base.name, nv_connector->index, &nv_connector->conn);if (ret) { -kfree (nv_connector); -return ERR_PTR (ret); + goto drm_conn_err; } }
@@ -1470,4 +1469,9 @@ nouveau_connector_create(struct drm_device *dev,drm_connector_register (connector);return connector; + +drm_conn_err: +drm_connector_cleanup (connector); +kfree (nv_connector); +return ERR_PTR (ret); }
drivers/gpu/drm/panel/panel-simple.c +12 -12
@@ -969,21 +969,21 @@ static const struct panel_desc auo_g104sn02 = { .connector_type = DRM_MODE_CONNECTOR_LVDS, }; -static const struct drm_display_mode auo_g121ean01_mode = { - .clock =66700 , - .hdisplay =1280 , - .hsync_start =1280 +58 , - .hsync_end =1280 +58 +8 , - .htotal =1280 +58 +8 +70 , - .vdisplay =800 , - .vsync_start =800 +6 , - .vsync_end =800 +6 +4 , - .vtotal =800 +6 +4 +10 , +static const struct display_timing auo_g121ean01_timing = { + .pixelclock = {60000000 ,74400000 ,90000000 }, + .hactive = {1280 ,1280 ,1280 }, + .hfront_porch = {20 ,50 ,100 }, + .hback_porch = {20 ,50 ,100 }, + .hsync_len = {30 ,100 ,200 }, + .vactive = {800 ,800 ,800 }, + .vfront_porch = {2 ,10 ,25 }, + .vback_porch = {2 ,10 ,25 }, + .vsync_len = {4 ,18 ,50 }, };static const struct panel_desc auo_g121ean01 = { - .modes = &auo_g121ean01_mode, - .num_modes =1 , + .timings = &auo_g121ean01_timing, + .num_timings =1 , .bpc =8 , .size = { .width =261 ,
drivers/gpu/drm/qxl/qxl_drv.h +1 -1
@@ -312,7 +312,7 @@ int qxl_gem_object_create_with_handle(struct qxl_device *qdev,u32 domain, size_t size, struct qxl_surface *surf, - struct qxl_bo **qobj, + struct drm_gem_object **gobj, uint32_t *handle);void qxl_gem_object_free (struct drm_gem_object *gobj);int qxl_gem_object_open (struct drm_gem_object *obj,struct drm_file *file_priv);
drivers/gpu/drm/qxl/qxl_dumb.c +4 -1
@@ -34,6 +34,7 @@ int qxl_mode_dumb_create(struct drm_file *file_priv, {struct qxl_device *qdev =to_qxl (dev);struct qxl_bo *qobj; +struct drm_gem_object *gobj;uint32_t handle;int r;struct qxl_surface surf;
@@ -62,11 +63,13 @@ int qxl_mode_dumb_create(struct drm_file *file_priv, r =qxl_gem_object_create_with_handle (qdev, file_priv,QXL_GEM_DOMAIN_CPU , - args->size, &surf, &qobj, + args->size, &surf, &gobj, &handle);if (r)return r; + qobj =gem_to_qxl_bo (gobj); qobj->is_dumb = true; +drm_gem_object_put (gobj); args->pitch = pitch; args->handle = handle;return 0 ;
drivers/gpu/drm/qxl/qxl_gem.c +17 -8
@@ -72,32 +72,41 @@ int qxl_gem_object_create(struct qxl_device *qdev, int size,return 0 ; } +/* +* If the caller passed a valid gobj pointer, it is responsible to call +* drm_gem_object_put() when it no longer needs to acess the object. +* +* If gobj is NULL, it is handled internally. +*/ int qxl_gem_object_create_with_handle (struct qxl_device *qdev,struct drm_file *file_priv,u32 domain,size_t size,struct qxl_surface *surf, -struct qxl_bo **qobj, +struct drm_gem_object **gobj,uint32_t *handle) { -struct drm_gem_object *gobj;int r; +struct drm_gem_object *local_gobj; -BUG_ON (!qobj);BUG_ON (!handle); r =qxl_gem_object_create (qdev, size,0 , domain, false, false, surf, - &gobj); + &local_gobj);if (r)return -ENOMEM ; - r =drm_gem_handle_create (file_priv, gobj, handle); + r =drm_gem_handle_create (file_priv, local_gobj, handle);if (r)return r; -/* drop reference from allocate - handle holds it now */ - *qobj =gem_to_qxl_bo (gobj); -drm_gem_object_put (gobj); + +if (gobj) + *gobj = local_gobj; +else +/* drop reference from allocate - handle holds it now */ +drm_gem_object_put (local_gobj); +return 0 ; }
drivers/gpu/drm/qxl/qxl_ioctl.c +2 -4
@@ -38,7 +38,6 @@ int qxl_alloc_ioctl(struct drm_device *dev, void *data, struct drm_file *file_prstruct qxl_device *qdev =to_qxl (dev);struct drm_qxl_alloc *qxl_alloc = data;int ret; -struct qxl_bo *qobj;uint32_t handle;u32 domain =QXL_GEM_DOMAIN_VRAM ;
@@ -50,7 +49,7 @@ int qxl_alloc_ioctl(struct drm_device *dev, void *data, struct drm_file *file_pr domain, qxl_alloc->size,NULL , - &qobj, &handle); + NULL, &handle);if (ret) {DRM_ERROR ("%s: failed to create gem ret=%d\n" , __func__, ret);
@@ -386,7 +385,6 @@ int qxl_alloc_surf_ioctl(struct drm_device *dev, void *data, struct drm_file *fi {struct qxl_device *qdev =to_qxl (dev);struct drm_qxl_alloc_surf *param = data; -struct qxl_bo *qobj;int handle;int ret;int size, actual_stride;
@@ -406,7 +404,7 @@ int qxl_alloc_surf_ioctl(struct drm_device *dev, void *data, struct drm_file *fiQXL_GEM_DOMAIN_SURFACE , size, &surf, - &qobj, &handle); + NULL, &handle);if (ret) {DRM_ERROR ("%s: failed to create gem ret=%d\n" , __func__, ret);
drivers/gpu/drm/rcar-du/rcar_du_crtc.c +3 -34
@@ -223,20 +223,6 @@ static void rcar_du_crtc_set_display_timing(struct rcar_du_crtc *rcrtc)* DU channels that have a display PLL can't use the internal * system clock, and have no internal clock divider. */ - -/* -* The H3 ES1.x exhibits dot clock duty cycle stability issues. -* We can work around them by configuring the DPLL to twice the -* desired frequency, coupled with a /2 post-divider. Restrict -* the workaround to H3 ES1.x as ES2.0 and all other SoCs have -* no post-divider when a display PLL is present (as shown by -* the workaround breaking HDMI output on M3-W during testing). -*/ -if (rcdu->info->quirks &RCAR_DU_QUIRK_H3_ES1_PCLK_STABILITY ) { - target *=2 ; - div =1 ; - } - extclk =clk_get_rate (rcrtc->extclock);rcar_du_dpll_divider (rcrtc, &dpll, extclk, target);
@@ -245,30 +231,13 @@ static void rcar_du_crtc_set_display_timing(struct rcar_du_crtc *rcrtc) | DPLLCR_N(dpll.n) | DPLLCR_M(dpll.m) |DPLLCR_STBY ; -if (rcrtc->index ==1 ) { +if (rcrtc->index ==1 ) dpllcr |=DPLLCR_PLCS1 |DPLLCR_INCS_DOTCLKIN1 ; - }else { - dpllcr |=DPLLCR_PLCS0_PLL +else + dpllcr |=DPLLCR_PLCS0 |DPLLCR_INCS_DOTCLKIN0 ; -/* -* On ES2.x we have a single mux controlled via bit 21, -* which selects between DCLKIN source (bit 21 = 0) and -* a PLL source (bit 21 = 1), where the PLL is always -* PLL1. -* -* On ES1.x we have an additional mux, controlled -* via bit 20, for choosing between PLL0 (bit 20 = 0) -* and PLL1 (bit 20 = 1). We always want to use PLL1, -* so on ES1.x, in addition to setting bit 21, we need -* to set the bit 20. -*/ - -if (rcdu->info->quirks &RCAR_DU_QUIRK_H3_ES1_PLL ) - dpllcr |=DPLLCR_PLCS0_H3ES1X_PLL1 ; - } -rcar_du_group_write (rcrtc->group,DPLLCR , dpllcr); escr =ESCR_DCLKSEL_DCLKIN | div;
drivers/gpu/drm/rcar-du/rcar_du_drv.c +0 -48
78 lines not on this page · raw message
drivers/gpu/drm/rcar-du/rcar_du_drv.h +0 -2
@@ -34,8 +34,6 @@ struct rcar_du_device;#define RCAR_DU_FEATURE_NO_BLENDING BIT(5)/* PnMR.SPIM does not have ALP nor EOR bits */ #define RCAR_DU_QUIRK_ALIGN_128B BIT(0)/* Align pitches to 128 bytes */ -#define RCAR_DU_QUIRK_H3_ES1_PCLK_STABILITY BIT(1)/* H3 ES1 has pclk stability issue */ -#define RCAR_DU_QUIRK_H3_ES1_PLL BIT(2)/* H3 ES1 PLL setup differs from non-ES1 */ enum rcar_du_output {RCAR_DU_OUTPUT_DPAD0 ,
drivers/gpu/drm/rcar-du/rcar_du_regs.h +1 -2
@@ -283,8 +283,7 @@#define DPLLCR 0x20044#define DPLLCR_CODE (0x95 << 24)#define DPLLCR_PLCS1 (1 << 23) -#define DPLLCR_PLCS0_PLL (1 << 21) -#define DPLLCR_PLCS0_H3ES1X_PLL1 (1 << 20) +#define DPLLCR_PLCS0 (1 << 21)#define DPLLCR_CLKE (1 << 18)#define DPLLCR_FDPLL (n) ((n) << 12)#define DPLLCR_N (n) ((n) << 5)
drivers/gpu/drm/stm/ltdc.c +3 -1
@@ -1145,7 +1145,7 @@ static void ltdc_crtc_disable_vblank(struct drm_crtc *crtc)static int ltdc_crtc_set_crc_source (struct drm_crtc *crtc,const char *source) { -struct ltdc_device *ldev =crtc_to_ltdc (crtc); +struct ltdc_device *ldev;int ret;DRM_DEBUG_DRIVER ("\n" );
@@ -1153,6 +1153,8 @@ static int ltdc_crtc_set_crc_source(struct drm_crtc *crtc, const char *source)if (!crtc)return -ENODEV ; + ldev =crtc_to_ltdc (crtc); +if (source &&strcmp (source,"auto" ) ==0 ) { ldev->crc_active = true; ret =regmap_set_bits (ldev->regmap,LTDC_GCR ,GCR_CRCEN );
drivers/hid/hid-logitech-hidpp.c +4 -0
@@ -4403,6 +4403,8 @@ static const struct hid_device_id hidpp_devices[] = { HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, 0xC086) }, {/* Logitech G903 Hero Gaming Mouse over USB */ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, 0xC091) }, + { /* Logitech G915 TKL Keyboard over USB */ + HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, 0xC343) }, { /* Logitech G920 Wheel over USB */HID_USB_DEVICE (USB_VENDOR_ID_LOGITECH ,USB_DEVICE_ID_LOGITECH_G920_WHEEL ), .driver_data = HIDPP_QUIRK_CLASS_G920 | HIDPP_QUIRK_FORCE_OUTPUT_REPORTS},
@@ -4418,6 +4420,8 @@ static const struct hid_device_id hidpp_devices[] = { {/* MX5500 keyboard over Bluetooth */ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb30b), .driver_data = HIDPP_QUIRK_HIDPP_CONSUMER_VENDOR_KEYS }, + { /* Logitech G915 TKL keyboard over Bluetooth */ + HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb35f) }, { /* M-RCQ142 V470 Cordless Laser Mouse over Bluetooth */ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb008) }, { /* MX Master mouse over Bluetooth */
drivers/hid/intel-ish-hid/ipc/hw-ish.h +1 -0
@@ -33,6 +33,7 @@#define ADL_N_DEVICE_ID 0x54FC#define RPL_S_DEVICE_ID 0x7A78#define MTL_P_DEVICE_ID 0x7E45 +#define ARL_H_DEVICE_ID 0x7745#define REVISION_ID_CHT_A0 0x6#define REVISION_ID_CHT_Ax_SI 0x0
drivers/hid/intel-ish-hid/ipc/pci-ish.c +1 -0
@@ -44,6 +44,7 @@ static const struct pci_device_id ish_pci_tbl[] = { {PCI_DEVICE(PCI_VENDOR_ID_INTEL, ADL_N_DEVICE_ID)}, {PCI_DEVICE(PCI_VENDOR_ID_INTEL, RPL_S_DEVICE_ID)}, {PCI_DEVICE(PCI_VENDOR_ID_INTEL, MTL_P_DEVICE_ID)}, + {PCI_DEVICE(PCI_VENDOR_ID_INTEL, ARL_H_DEVICE_ID)}, {0, } };MODULE_DEVICE_TABLE (pci, ish_pci_tbl);
drivers/i2c/busses/i2c-bcm-iproc.c +7 -4
@@ -233,13 +233,14 @@ static inline u32 iproc_i2c_rd_reg(struct bcm_iproc_i2c_dev *iproc_i2c, u32 offset) {u32 val; +unsigned long flags;if (iproc_i2c->idm_base) { -spin_lock (&iproc_i2c->idm_lock); +spin_lock_irqsave (&iproc_i2c->idm_lock, flags);writel (iproc_i2c->ape_addr_mask, iproc_i2c->idm_base +IDM_CTRL_DIRECT_OFFSET ); val =readl (iproc_i2c->base + offset); -spin_unlock (&iproc_i2c->idm_lock); +spin_unlock_irqrestore (&iproc_i2c->idm_lock, flags); }else { val =readl (iproc_i2c->base + offset); }
@@ -250,12 +251,14 @@ static inline u32 iproc_i2c_rd_reg(struct bcm_iproc_i2c_dev *iproc_i2c,static inline void iproc_i2c_wr_reg (struct bcm_iproc_i2c_dev *iproc_i2c,u32 offset,u32 val) { +unsigned long flags; +if (iproc_i2c->idm_base) { -spin_lock (&iproc_i2c->idm_lock); +spin_lock_irqsave (&iproc_i2c->idm_lock, flags);writel (iproc_i2c->ape_addr_mask, iproc_i2c->idm_base +IDM_CTRL_DIRECT_OFFSET );writel (val, iproc_i2c->base + offset); -spin_unlock (&iproc_i2c->idm_lock); +spin_unlock_irqrestore (&iproc_i2c->idm_lock, flags); }else {writel (val, iproc_i2c->base + offset); }
drivers/i2c/busses/i2c-designware-master.c +14 -2
@@ -525,9 +525,21 @@ i2c_dw_read(struct dw_i2c_dev *dev)u32 flags = msgs[dev->msg_read_idx].flags;regmap_read (dev->map,DW_IC_DATA_CMD , &tmp); + tmp &=DW_IC_DATA_CMD_DAT ;/* Ensure length byte is a valid value */ -if (flags &I2C_M_RECV_LEN && - (tmp &DW_IC_DATA_CMD_DAT ) <=I2C_SMBUS_BLOCK_MAX && tmp >0 ) { +if (flags &I2C_M_RECV_LEN ) { +/* +* if IC_EMPTYFIFO_HOLD_MASTER_EN is set, which cannot be +* detected from the registers, the controller can be +* disabled if the STOP bit is set. But it is only set +* after receiving block data response length in +* I2C_FUNC_SMBUS_BLOCK_DATA case. That needs to read +* another byte with STOP bit set when the block data +* response length is invalid to complete the transaction. +*/ +if (!tmp || tmp >I2C_SMBUS_BLOCK_MAX ) + tmp =1 ; + len =i2c_dw_recv_len (dev, tmp); } *buf++ = tmp;
drivers/i2c/busses/i2c-hisi.c +8 -0
@@ -328,6 +328,14 @@ static irqreturn_t hisi_i2c_irq(int irq, void *context)struct hisi_i2c_controller *ctlr = context;u32 int_stat; +/* +* Don't handle the interrupt if cltr->completion is NULL. We may +* reach here because the interrupt is spurious or the transfer is +* started by another port (e.g. firmware) rather than us. +*/ +if (!ctlr->completion) +return IRQ_NONE ; + int_stat =readl (ctlr->iobase +HISI_I2C_INT_MSTAT );hisi_i2c_clear_int (ctlr, int_stat);if (!(int_stat &HISI_I2C_INT_ALL ))
drivers/i2c/busses/i2c-tegra.c +1 -1
@@ -449,7 +449,7 @@ static int tegra_i2c_init_dma(struct tegra_i2c_dev *i2c_dev)if (i2c_dev->is_vi)return 0 ; -if (!i2c_dev->hw->has_apb_dma) { +if (i2c_dev->hw->has_apb_dma) {if (!IS_ENABLED (CONFIG_TEGRA20_APB_DMA )) {dev_dbg (i2c_dev->dev,"APB DMA support not enabled\n" );return 0 ;
drivers/infiniband/hw/mlx5/qpc.c +4 -6
@@ -297,8 +297,7 @@ int mlx5_core_destroy_qp(struct mlx5_ib_dev *dev, struct mlx5_core_qp *qp)MLX5_SET (destroy_qp_in, in, opcode,MLX5_CMD_OP_DESTROY_QP );MLX5_SET (destroy_qp_in, in, qpn, qp->qpn);MLX5_SET (destroy_qp_in, in, uid, qp->uid); -mlx5_cmd_exec_in (dev->mdev, destroy_qp, in); -return 0 ; +return mlx5_cmd_exec_in (dev->mdev, destroy_qp, in); } int mlx5_core_set_delay_drop(struct mlx5_ib_dev *dev,
@@ -548,14 +547,14 @@ int mlx5_core_xrcd_dealloc(struct mlx5_ib_dev *dev, u32 xrcdn)return mlx5_cmd_exec_in (dev->mdev, dealloc_xrcd, in); } -static void destroy_rq_tracked (struct mlx5_ib_dev *dev,u32 rqn,u16 uid) +static int destroy_rq_tracked (struct mlx5_ib_dev *dev,u32 rqn,u16 uid) {u32 in[MLX5_ST_SZ_DW (destroy_rq_in)] = {};MLX5_SET (destroy_rq_in, in, opcode,MLX5_CMD_OP_DESTROY_RQ );MLX5_SET (destroy_rq_in, in, rqn, rqn);MLX5_SET (destroy_rq_in, in, uid, uid); -mlx5_cmd_exec_in (dev->mdev, destroy_rq, in); +return mlx5_cmd_exec_in (dev->mdev, destroy_rq, in); } int mlx5_core_create_rq_tracked(struct mlx5_ib_dev *dev, u32 *in, int inlen,
@@ -586,8 +585,7 @@ int mlx5_core_destroy_rq_tracked(struct mlx5_ib_dev *dev, struct mlx5_core_qp *rq) {destroy_resource_common (dev, rq); -destroy_rq_tracked (dev, rq->qpn, rq->uid); -return 0 ; +return destroy_rq_tracked (dev, rq->qpn, rq->uid); }static void destroy_sq_tracked (struct mlx5_ib_dev *dev,u32 sqn,u16 uid)
drivers/iommu/amd/amd_iommu_types.h +4 -0
@@ -172,6 +172,7 @@#define CONTROL_GAINT_EN 29#define CONTROL_XT_EN 50#define CONTROL_INTCAPXT_EN 51 +#define CONTROL_IRTCACHEDIS 59#define CONTROL_SNPAVIC_EN 61#define CTRL_INV_TO_MASK (7 << CONTROL_INV_TIMEOUT)
@@ -708,6 +709,9 @@ struct amd_iommu {/* if one, we need to send a completion wait command */ bool need_sync; +/* true if disable irte caching */ +bool irtcachedis_enabled; +/* Handle for IOMMU core code */ struct iommu_device iommu;
drivers/iommu/amd/init.c +36 -0
@@ -160,6 +160,7 @@ static int amd_iommu_xt_mode = IRQ_REMAP_XAPIC_MODE;static bool amd_iommu_detected;static bool amd_iommu_disabled__initdata ;static bool amd_iommu_force_enable__initdata ; +static bool amd_iommu_irtcachedis;static int amd_iommu_target_ivhd_type;/* Global EFR and EFR2 registers */
@@ -477,6 +478,9 @@ static void iommu_disable(struct amd_iommu *iommu)/* Disable IOMMU hardware itself */ iommu_feature_disable (iommu,CONTROL_IOMMU_EN ); + +/* Clear IRTE cache disabling bit */ +iommu_feature_disable (iommu,CONTROL_IRTCACHEDIS ); }/*
@@ -2700,6 +2704,33 @@ static void iommu_enable_ga(struct amd_iommu *iommu)#endif } +static void iommu_disable_irtcachedis (struct amd_iommu *iommu) +{ +iommu_feature_disable (iommu,CONTROL_IRTCACHEDIS ); +} + +static void iommu_enable_irtcachedis (struct amd_iommu *iommu) +{ +u64 ctrl; + +if (!amd_iommu_irtcachedis) +return ; + +/* +* Note: +* The support for IRTCacheDis feature is dertermined by +* checking if the bit is writable. +*/ +iommu_feature_enable (iommu,CONTROL_IRTCACHEDIS ); + ctrl =readq (iommu->mmio_base +MMIO_CONTROL_OFFSET ); + ctrl &= (1ULL <<CONTROL_IRTCACHEDIS ); +if (ctrl) + iommu->irtcachedis_enabled = true; +pr_info ("iommu%d (%#06x) : IRT cache is %s\n" , + iommu->index, iommu->devid, + iommu->irtcachedis_enabled ?"disabled" :"enabled" ); +} +static void early_enable_iommu (struct amd_iommu *iommu) {iommu_disable (iommu);
@@ -2710,6 +2741,7 @@ static void early_enable_iommu(struct amd_iommu *iommu)iommu_set_exclusion_range (iommu);iommu_enable_ga (iommu);iommu_enable_xt (iommu); +iommu_enable_irtcachedis (iommu);iommu_enable (iommu);iommu_flush_all_caches (iommu); }
@@ -2760,10 +2792,12 @@ static void early_enable_iommus(void)for_each_iommu (iommu) {iommu_disable_command_buffer (iommu);iommu_disable_event_buffer (iommu); +iommu_disable_irtcachedis (iommu);iommu_enable_command_buffer (iommu);iommu_enable_event_buffer (iommu);iommu_enable_ga (iommu);iommu_enable_xt (iommu); +iommu_enable_irtcachedis (iommu);iommu_set_device_table (iommu);iommu_flush_all_caches (iommu); }
@@ -3411,6 +3445,8 @@ static int __init parse_amd_iommu_options(char *str) amd_iommu_pgtable =AMD_IOMMU_V1 ; }else if (strncmp (str,"pgtbl_v2" ,8 ) ==0 ) { amd_iommu_pgtable =AMD_IOMMU_V2 ; + }else if (strncmp (str,"irtcachedis" ,11 ) ==0 ) { + amd_iommu_irtcachedis = true; }else {pr_notice ("Unknown option - '%s'\n" , str); }
drivers/leds/rgb/leds-qcom-lpg.c +6 -2
@@ -1112,8 +1112,10 @@ static int lpg_add_led(struct lpg *lpg, struct device_node *np) i =0 ;for_each_available_child_of_node (np, child) { ret =lpg_parse_channel (lpg, child, &led->channels[i]); -if (ret <0 ) +if (ret <0 ) { +of_node_put (child);return ret; + } info[i].color_index = led->channels[i]->color; info[i].intensity =0 ;
@@ -1291,8 +1293,10 @@ static int lpg_probe(struct platform_device *pdev)for_each_available_child_of_node (pdev->dev.of_node, np) { ret =lpg_add_led (lpg, np); -if (ret) +if (ret) { +of_node_put (np);return ret; + } }for (i =0 ; i < lpg->num_channels; i++)
drivers/media/platform/mediatek/vpu/mtk_vpu.c +4 -2
@@ -562,15 +562,17 @@ static int load_requested_vpu(struct mtk_vpu *vpu,int vpu_load_firmware (struct platform_device *pdev) {struct mtk_vpu *vpu; -struct device *dev = &pdev->dev; +struct device *dev;struct vpu_run *run;int ret;if (!pdev) { -dev_err (dev,"VPU platform device is invalid\n" ); +pr_err ("VPU platform device is invalid\n" );return -EINVAL ; } + dev = &pdev->dev; + vpu =platform_get_drvdata (pdev); run = &vpu->run;
drivers/media/platform/qcom/camss/camss-vfe.c +5 -1
@@ -1540,7 +1540,11 @@ int msm_vfe_register_entities(struct vfe_device *vfe, } video_out->ops = &vfe->video_ops; - video_out->bpl_alignment =8 ; +if (vfe->camss->version ==CAMSS_845 || + vfe->camss->version ==CAMSS_8250 ) + video_out->bpl_alignment =16 ; +else + video_out->bpl_alignment =8 ; video_out->line_based =0 ;if (i ==VFE_LINE_PIX ) { video_out->bpl_alignment =16 ;
drivers/misc/habanalabs/common/device.c +14 -1
@@ -870,6 +870,18 @@ static void device_early_fini(struct hl_device *hdev) hdev->asic_funcs->early_fini (hdev); } +static bool is_pci_link_healthy (struct hl_device *hdev) +{ +u16 vendor_id; + +if (!hdev->pdev) +return false; + +pci_read_config_word (hdev->pdev,PCI_VENDOR_ID , &vendor_id); + +return (vendor_id ==PCI_VENDOR_ID_HABANALABS ); +} +static void hl_device_heartbeat (struct work_struct *work) { struct hl_device *hdev = container_of(work, struct hl_device,
@@ -882,7 +894,8 @@ static void hl_device_heartbeat(struct work_struct *work) goto reschedule;if (hl_device_operational (hdev,NULL )) -dev_err (hdev->dev,"Device heartbeat failed!\n" ); +dev_err (hdev->dev,"Device heartbeat failed! PCI link is %s\n" , +is_pci_link_healthy (hdev) ?"healthy" :"broken" );hl_device_reset (hdev,HL_DRV_RESET_HARD |HL_DRV_RESET_HEARTBEAT );
drivers/misc/habanalabs/common/habanalabs.h +2 -0
@@ -34,6 +34,8 @@struct hl_device ;struct hl_fpriv ; +#define PCI_VENDOR_ID_HABANALABS 0x1da3 +/* Use upper bits of mmap offset to store habana driver specific information. * bits[63:59] - Encode mmap type * bits[45:0] - mmap offset value
drivers/misc/habanalabs/common/habanalabs_drv.c +0 -2
@@ -54,8 +54,6 @@ module_param(boot_error_status_mask, ulong, 0444);MODULE_PARM_DESC (boot_error_status_mask,"Mask of the error status during device CPU boot (If bitX is cleared then error X is masked. Default all 1's)" ); -#define PCI_VENDOR_ID_HABANALABS 0x1da3 -#define PCI_IDS_GOYA 0x0001#define PCI_IDS_GAUDI 0x1000#define PCI_IDS_GAUDI_SEC 0x1010
drivers/mmc/core/block.c +4 -3
@@ -2097,14 +2097,14 @@ static void mmc_blk_mq_poll_completion(struct mmc_queue *mq,mmc_blk_urgent_bkops (mq, mqrq); } -static void mmc_blk_mq_dec_in_flight (struct mmc_queue *mq,struct request *req) +static void mmc_blk_mq_dec_in_flight (struct mmc_queue *mq,enum mmc_issue_type issue_type) {unsigned long flags;bool put_card;spin_lock_irqsave (&mq->lock, flags); - mq->in_flight[mmc_issue_type (mq, req)] -=1 ; + mq->in_flight[issue_type] -=1 ; put_card = (mmc_tot_in_flight (mq) ==0 );
@@ -2117,6 +2117,7 @@ static void mmc_blk_mq_dec_in_flight(struct mmc_queue *mq, struct request *req)static void mmc_blk_mq_post_req (struct mmc_queue *mq,struct request *req,bool can_sleep) { +enum mmc_issue_type issue_type =mmc_issue_type (mq, req);struct mmc_queue_req *mqrq =req_to_mmc_queue_req (req);struct mmc_request *mrq = &mqrq->brq.mrq;struct mmc_host *host = mq->card->host;
@@ -2136,7 +2137,7 @@ static void mmc_blk_mq_post_req(struct mmc_queue *mq, struct request *req,blk_mq_complete_request (req); } -mmc_blk_mq_dec_in_flight (mq, req); +mmc_blk_mq_dec_in_flight (mq, issue_type); }void mmc_blk_mq_recovery (struct mmc_queue *mq)
drivers/mmc/host/sdhci_f_sdh30.c +31 -35
118 lines not on this page · raw message
drivers/mmc/host/wbsd.c +0 -2
@@ -1705,8 +1705,6 @@ static int wbsd_init(struct device *dev, int base, int irq, int dma,wbsd_release_resources (host);wbsd_free_mmc (dev); - -mmc_free_host (mmc);return ret; }
drivers/net/dsa/mv88e6xxx/chip.c +8 -0
@@ -3006,6 +3006,14 @@ static void mv88e6xxx_hardware_reset(struct mv88e6xxx_chip *chip)/* If there is a GPIO connected to the reset pin, toggle it */ if (gpiod) { +/* If the switch has just been reset and not yet completed +* loading EEPROM, the reset may interrupt the I2C transaction +* mid-byte, causing the first EEPROM read after the reset +* from the wrong location resulting in the switch booting +* to wrong mode and inoperable. +*/ +mv88e6xxx_g1_wait_eeprom_done (chip); +gpiod_set_value_cansleep (gpiod,1 );usleep_range (10000 ,20000 );gpiod_set_value_cansleep (gpiod,0 );
drivers/net/ethernet/cadence/macb_main.c +6 -3
@@ -5070,6 +5070,9 @@ static int __maybe_unused macb_suspend(struct device *dev)unsigned int q;int err; +if (!device_may_wakeup (&bp->dev->dev)) +phy_exit (bp->sgmii_phy); +if (!netif_running (netdev))return 0 ;
@@ -5130,7 +5133,6 @@ static int __maybe_unused macb_suspend(struct device *dev)if (!(bp->wol &MACB_WOL_ENABLED )) {rtnl_lock ();phylink_stop (bp->phylink); -phy_exit (bp->sgmii_phy);rtnl_unlock ();spin_lock_irqsave (&bp->lock, flags);macb_reset_hw (bp);
@@ -5160,6 +5162,9 @@ static int __maybe_unused macb_resume(struct device *dev)unsigned int q;int err; +if (!device_may_wakeup (&bp->dev->dev)) +phy_init (bp->sgmii_phy); +if (!netif_running (netdev))return 0 ;
@@ -5220,8 +5225,6 @@ static int __maybe_unused macb_resume(struct device *dev)macb_set_rx_mode (netdev);macb_restore_features (bp);rtnl_lock (); -if (!device_may_wakeup (&bp->dev->dev)) -phy_init (bp->sgmii_phy);phylink_start (bp->phylink);rtnl_unlock ();
drivers/net/ethernet/intel/i40e/i40e_nvm.c +8 -8
@@ -210,11 +210,11 @@ static int i40e_read_nvm_word_srctl(struct i40e_hw *hw, u16 offset,* @hw: pointer to the HW structure. * @module_pointer: module pointer location in words from the NVM beginning * @offset: offset in words from module start -* @words: number of words to write -* @data: buffer with words to write to the Shadow RAM +* @words: number of words to read +* @data: buffer with words to read to the Shadow RAM * @last_command: tells the AdminQ that this is the last command * -* Writes a 16 bit words buffer to the Shadow RAM using the admin command. +* Reads a 16 bit words buffer to the Shadow RAM using the admin command. **/ static int i40e_read_nvm_aq(struct i40e_hw *hw, u8 module_pointer, u32 offset,
@@ -234,18 +234,18 @@ static int i40e_read_nvm_aq(struct i40e_hw *hw,*/ if ((offset + words) > hw->nvm.sr_size)i40e_debug (hw,I40E_DEBUG_NVM , -"NVM write error: offset %d beyond Shadow RAM limit %d\n" , +"NVM read error: offset %d beyond Shadow RAM limit %d\n" , (offset + words), hw->nvm.sr_size);else if (words >I40E_SR_SECTOR_SIZE_IN_WORDS ) -/* We can write only up to 4KB (one sector), in one AQ write */ +/* We can read only up to 4KB (one sector), in one AQ write */ i40e_debug (hw,I40E_DEBUG_NVM , -"NVM write fail error: tried to write %d words, limit is %d.\n" , +"NVM read fail error: tried to read %d words, limit is %d.\n" , words,I40E_SR_SECTOR_SIZE_IN_WORDS );else if (((offset + (words -1 )) /I40E_SR_SECTOR_SIZE_IN_WORDS ) != (offset /I40E_SR_SECTOR_SIZE_IN_WORDS )) -/* A single write cannot spread over two sectors */ +/* A single read cannot spread over two sectors */ i40e_debug (hw,I40E_DEBUG_NVM , -"NVM write error: cannot spread over two sectors in a single write offset=%d words=%d\n" , +"NVM read error: cannot spread over two sectors in a single read offset=%d words=%d\n" , offset, words);else ret_code = i40e_aq_read_nvm(hw, module_pointer,
drivers/net/ethernet/intel/iavf/iavf_ethtool.c +10 -0
@@ -1289,6 +1289,7 @@ iavf_add_fdir_fltr_info(struct iavf_adapter *adapter, struct ethtool_rx_flow_spe fltr->ip_mask.src_port = fsp->m_u.tcp_ip4_spec.psrc; fltr->ip_mask.dst_port = fsp->m_u.tcp_ip4_spec.pdst; fltr->ip_mask.tos = fsp->m_u.tcp_ip4_spec.tos; + fltr->ip_ver =4 ;break ;case AH_V4_FLOW :case ESP_V4_FLOW :
@@ -1300,6 +1301,7 @@ iavf_add_fdir_fltr_info(struct iavf_adapter *adapter, struct ethtool_rx_flow_spe fltr->ip_mask.v4_addrs.dst_ip = fsp->m_u.ah_ip4_spec.ip4dst; fltr->ip_mask.spi = fsp->m_u.ah_ip4_spec.spi; fltr->ip_mask.tos = fsp->m_u.ah_ip4_spec.tos; + fltr->ip_ver =4 ;break ;case IPV4_USER_FLOW : fltr->ip_data.v4_addrs.src_ip = fsp->h_u.usr_ip4_spec.ip4src;
@@ -1312,6 +1314,7 @@ iavf_add_fdir_fltr_info(struct iavf_adapter *adapter, struct ethtool_rx_flow_spe fltr->ip_mask.l4_header = fsp->m_u.usr_ip4_spec.l4_4_bytes; fltr->ip_mask.tos = fsp->m_u.usr_ip4_spec.tos; fltr->ip_mask.proto = fsp->m_u.usr_ip4_spec.proto; + fltr->ip_ver =4 ;break ;case TCP_V6_FLOW :case UDP_V6_FLOW :
@@ -1330,6 +1333,7 @@ iavf_add_fdir_fltr_info(struct iavf_adapter *adapter, struct ethtool_rx_flow_spe fltr->ip_mask.src_port = fsp->m_u.tcp_ip6_spec.psrc; fltr->ip_mask.dst_port = fsp->m_u.tcp_ip6_spec.pdst; fltr->ip_mask.tclass = fsp->m_u.tcp_ip6_spec.tclass; + fltr->ip_ver =6 ;break ;case AH_V6_FLOW :case ESP_V6_FLOW :
@@ -1345,6 +1349,7 @@ iavf_add_fdir_fltr_info(struct iavf_adapter *adapter, struct ethtool_rx_flow_spe sizeof(struct in6_addr)); fltr->ip_mask.spi = fsp->m_u.ah_ip6_spec.spi; fltr->ip_mask.tclass = fsp->m_u.ah_ip6_spec.tclass; + fltr->ip_ver =6 ;break ;case IPV6_USER_FLOW : memcpy(&fltr->ip_data.v6_addrs.src_ip, fsp->h_u.usr_ip6_spec.ip6src,
@@ -1361,6 +1366,7 @@ iavf_add_fdir_fltr_info(struct iavf_adapter *adapter, struct ethtool_rx_flow_spe fltr->ip_mask.l4_header = fsp->m_u.usr_ip6_spec.l4_4_bytes; fltr->ip_mask.tclass = fsp->m_u.usr_ip6_spec.tclass; fltr->ip_mask.proto = fsp->m_u.usr_ip6_spec.l4_proto; + fltr->ip_ver =6 ;break ;case ETHER_FLOW : fltr->eth_data.etype = fsp->h_u.ether_spec.h_proto;
@@ -1371,6 +1377,10 @@ iavf_add_fdir_fltr_info(struct iavf_adapter *adapter, struct ethtool_rx_flow_spereturn -EINVAL ; } + err =iavf_validate_fdir_fltr_masks (adapter, fltr); +if (err) +return err; +if (iavf_fdir_is_dup_fltr (adapter, fltr))return -EEXIST ;
drivers/net/ethernet/intel/iavf/iavf_fdir.c +73 -4
77 lines not on this page · raw message
drivers/net/ethernet/intel/iavf/iavf_fdir.h +2 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/ice/ice_eswitch.c +6 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/ice/ice_main.c +5 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/igc/igc_base.h +8 -3
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/igc/igc_main.c +5 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/marvell/octeon_ep/octep_main.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/qlogic/qede/qede_main.c +10 -0
Lines of this file are not shown. View the raw message.
drivers/net/phy/at803x.c +32 -57
89 lines not on this page · raw message
drivers/pci/controller/dwc/pcie-tegra194.c +11 -2
Lines of this file are not shown. View the raw message.
drivers/soc/aspeed/aspeed-uart-routing.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/usb/gadget/function/uvc_video.c +24 -8
Lines of this file are not shown. View the raw message.
drivers/vdpa/mlx5/core/mr.c +70 -27
97 lines not on this page · raw message
kernel/sched/fair.c +87 -102
189 lines not on this page · raw message
mm/hugetlb.c +51 -24
75 lines not on this page · raw message
mm/zsmalloc.c +58 -55
113 lines not on this page · raw message
net/netfilter/nf_conntrack_proto_sctp.c +3 -3
Lines of this file are not shown. View the raw message.
net/smc/smc_core.c +40 -40
80 lines not on this page · raw message
sound/pci/hda/patch_realtek.c +88 -3
91 lines not on this page · raw message
sound/soc/intel/boards/sof_sdw_rt711_sdca.c +3 -0
Lines of this file are not shown. View the raw message.
sound/soc/meson/axg-tdm-formatter.c +26 -16
42 lines not on this page · raw message
tools/testing/selftests/net/forwarding/mirror_gre_changes.sh +2 -1
Lines of this file are not shown. View the raw message.
tools/testing/selftests/net/forwarding/tc_actions.sh +12 -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.