Skip to contentSkip to conversation

Linux 6.4.7

DISCUSSION Greg Kroah-Hartman 1 participant 2 messages Jul 27, 2023 Stable branch

lore
Share & tools
lore

Greg Kroah-Hartman

author maintainer
#0 lore raw

I'm announcing the release of the 6.4.7 kernel.

All users of the 6.4 kernel series must upgrade.

The updated 6.4.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-6.4.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

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

 Makefile                                                     |    2 
 arch/arm64/include/asm/exception.h                           |    5 
 arch/arm64/include/asm/kvm_host.h                            |    2 
 arch/arm64/include/asm/kvm_pgtable.h                         |   26 -
 arch/arm64/kernel/fpsimd.c                                   |   33 +
 arch/arm64/kvm/arch_timer.c                                  |    6 
 arch/arm64/kvm/arm.c                                         |   19 
 arch/arm64/kvm/hyp/pgtable.c                                 |   47 +
 arch/arm64/kvm/mmu.c                                         |   18 
 arch/arm64/kvm/vgic/vgic-v3.c                                |    2 
 arch/arm64/kvm/vgic/vgic-v4.c                                |    7 
 arch/arm64/mm/mmu.c                                          |    4 
 arch/arm64/net/bpf_jit_comp.c                                |    8 
 arch/arm64/tools/sysreg                                      |   12 
 arch/ia64/kernel/sys_ia64.c                                  |    2 
 arch/mips/include/asm/dec/prom.h                             |    2 
 arch/parisc/kernel/sys_parisc.c                              |   15 
 block/blk-mq.c                                               |   10 
 drivers/accel/qaic/qaic_control.c                            |   39 +
 drivers/acpi/button.c                                        |    9 
 drivers/acpi/resource.c                                      |   60 --
 drivers/acpi/video_detect.c                                  |   24 +
 drivers/acpi/x86/utils.c                                     |   26 -
 drivers/base/regmap/regmap-i2c.c                             |    8 
 drivers/base/regmap/regmap-spi-avmm.c                        |    2 
 drivers/base/regmap/regmap.c                                 |    6 
 drivers/bluetooth/btusb.c                                    |    1 
 drivers/dma-buf/dma-resv.c                                   |   13 
 drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c                     |    5 
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c            |  264 ++++-------
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h            |    7 
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c       |   12 
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c  |  110 ++++
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.h  |   11 
 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/dcn31_clk_mgr.c |    5 
 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c    |    3 
 drivers/gpu/drm/amd/display/dc/dcn303/dcn303_resource.c      |    2 
 drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c      |    8 
 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c         |    2 
 drivers/gpu/drm/drm_client_modeset.c                         |    6 
 drivers/gpu/drm/i915/i915_perf.c                             |    1 
 drivers/gpu/drm/nouveau/dispnv50/disp.c                      |    4 
 drivers/gpu/drm/nouveau/include/nvkm/subdev/i2c.h            |    4 
 drivers/gpu/drm/nouveau/nvkm/engine/disp/uconn.c             |   27 -
 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c               |   11 
 drivers/gpu/drm/radeon/radeon_cs.c                           |    3 
 drivers/gpu/drm/ttm/ttm_resource.c                           |    5 
 drivers/hid/hid-ids.h                                        |    1 
 drivers/hid/hid-quirks.c                                     |    1 
 drivers/iommu/iommu-sva.c                                    |    3 
 drivers/md/md.c                                              |   14 
 drivers/md/raid10.c                                          |    2 
 drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c               |   10 
 drivers/net/can/spi/mcp251xfd/mcp251xfd.h                    |    1 
 drivers/net/can/usb/gs_usb.c                                 |  130 +++--
 drivers/net/dsa/microchip/ksz8795.c                          |    8 
 drivers/net/dsa/microchip/ksz_common.c                       |    8 
 drivers/net/dsa/microchip/ksz_common.h                       |    7 
 drivers/net/dsa/mv88e6xxx/chip.c                             |    7 
 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c           |   31 +
 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c   |   29 +
 drivers/net/ethernet/intel/iavf/iavf.h                       |   16 
 drivers/net/ethernet/intel/iavf/iavf_ethtool.c               |   39 -
 drivers/net/ethernet/intel/iavf/iavf_main.c                  |  223 ++++++---
 drivers/net/ethernet/intel/iavf/iavf_txrx.c                  |   43 -
 drivers/net/ethernet/intel/iavf/iavf_txrx.h                  |    4 
 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c              |    5 
 drivers/net/ethernet/intel/ice/ice_base.c                    |    2 
 drivers/net/ethernet/intel/ice/ice_ethtool.c                 |   13 
 drivers/net/ethernet/intel/ice/ice_lib.c                     |   27 -
 drivers/net/ethernet/intel/ice/ice_main.c                    |   10 
 drivers/net/ethernet/intel/igb/igb_main.c                    |    5 
 drivers/net/ethernet/intel/igc/igc_main.c                    |   12 
 drivers/net/ethernet/litex/litex_liteeth.c                   |   19 
 drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c         |    5 
 drivers/net/ethernet/mediatek/mtk_eth_soc.c                  |   29 -
 drivers/net/ethernet/mediatek/mtk_ppe_debugfs.c              |    2 
 drivers/net/ethernet/realtek/r8169_main.c                    |   18 
 drivers/net/ethernet/ti/cpsw_ale.c                           |   24 -
 drivers/net/phy/phy_device.c                                 |   21 
 drivers/net/vrf.c                                            |   12 
 drivers/net/wireless/ath/ath11k/core.c                       |   53 +-
 drivers/net/wireless/ath/ath11k/mac.c                        |    3 
 drivers/net/wireless/ath/ath11k/wmi.c                        |    5 
 drivers/net/wireless/ath/ath12k/mac.c                        |    1 
 drivers/net/wireless/intel/iwlwifi/mvm/mld-key.c             |    9 
 drivers/net/wireless/intel/iwlwifi/mvm/power.c               |   14 
 drivers/net/wireless/intel/iwlwifi/mvm/sta.c                 |    2 
 drivers/net/wireless/intel/iwlwifi/pcie/drv.c                |    4 
 drivers/net/wireless/realtek/rtw88/sdio.c                    |   24 -
 drivers/net/wireless/virtual/mac80211_hwsim.c                |    4 
 drivers/of/platform.c                                        |    2 
 drivers/pinctrl/renesas/pinctrl-rzg2l.c                      |   28 -
 drivers/pinctrl/renesas/pinctrl-rzv2m.c                      |   28 -
 drivers/regulator/da9063-regulator.c                         |    3 
 drivers/s390/crypto/zcrypt_msgtype6.c                        |   35 +
 drivers/scsi/sg.c                                            |   10 
 drivers/spi/spi-bcm63xx.c                                    |    2 
 drivers/spi/spi-cadence-quadspi.c                            |   19 
 drivers/spi/spi-dw-mmio.c                                    |   22 
 drivers/spi/spi-s3c64xx.c                                    |    2 
 drivers/video/fbdev/au1200fb.c                               |    3 
 drivers/video/fbdev/imxfb.c                                  |    5 
 fs/btrfs/block-group.c                                       |    1 
 fs/btrfs/ctree.c                                             |   10 
 fs/btrfs/disk-io.c                                           |    3 
 fs/btrfs/extent_io.c                                         |   33 -
 fs/btrfs/inode.c                                             |   35 -
 fs/btrfs/qgroup.c                                            |    1 
 fs/btrfs/raid56.c                                            |   11 
 fs/btrfs/volumes.c                                           |   17 
 fs/erofs/zdata.c                                             |    2 
 fs/ext4/xattr.c                                              |   14 
 fs/fuse/dir.c                                                |    2 
 fs/fuse/inode.c                                              |    8 
 fs/fuse/ioctl.c                                              |   21 
 fs/jbd2/checkpoint.c                                         |  102 +---
 fs/jfs/jfs_dmap.c                                            |    3 
 fs/jfs/jfs_txnmgr.c                                          |    5 
 fs/jfs/namei.c                                               |    5 
 fs/overlayfs/ovl_entry.h                                     |    9 
 fs/quota/dquot.c                                             |    5 
 fs/smb/client/connect.c                                      |   19 
 fs/smb/client/dfs.c                                          |   26 -
 fs/smb/client/smb2transport.c                                |    2 
 fs/udf/unicode.c                                             |    2 
 include/kvm/arm_vgic.h                                       |    2 
 include/linux/psi.h                                          |    5 
 include/linux/psi_types.h                                    |    3 
 include/linux/sched/signal.h                                 |    2 
 include/linux/tcp.h                                          |    2 
 include/net/bluetooth/hci_core.h                             |    5 
 include/net/ip.h                                             |    2 
 include/net/tcp.h                                            |   31 +
 include/uapi/linux/fuse.h                                    |    3 
 io_uring/io_uring.c                                          |   50 +-
 kernel/bpf/bpf_lru_list.c                                    |   21 
 kernel/bpf/bpf_lru_list.h                                    |    7 
 kernel/bpf/btf.c                                             |   19 
 kernel/bpf/log.c                                             |    3 
 kernel/bpf/syscall.c                                         |    3 
 kernel/bpf/verifier.c                                        |   32 +
 kernel/cgroup/cgroup.c                                       |    2 
 kernel/kallsyms.c                                            |    5 
 kernel/rcu/tasks.h                                           |    5 
 kernel/rcu/tree_exp.h                                        |    2 
 kernel/rcu/tree_plugin.h                                     |    4 
 kernel/sched/fair.c                                          |    4 
 kernel/sched/psi.c                                           |   29 -
 kernel/sys.c                                                 |   10 
 kernel/time/posix-timers.c                                   |   31 -
 kernel/trace/trace_events_hist.c                             |    3 
 lib/iov_iter.c                                               |    2 
 lib/maple_tree.c                                             |    3 
 mm/mlock.c                                                   |    9 
 net/bluetooth/hci_conn.c                                     |   14 
 net/bluetooth/hci_core.c                                     |   42 +
 net/bluetooth/hci_event.c                                    |   15 
 net/bluetooth/hci_sync.c                                     |  117 ++++
 net/bluetooth/iso.c                                          |   53 +-
 net/bluetooth/mgmt.c                                         |   26 -
 net/bluetooth/sco.c                                          |   23 
 net/bridge/br_stp_if.c                                       |    3 
 net/can/bcm.c                                                |   12 
 net/devlink/health.c                                         |    2 
 net/devlink/leftover.c                                       |    5 
 net/ipv4/esp4.c                                              |    2 
 net/ipv4/inet_connection_sock.c                              |    2 
 net/ipv4/inet_hashtables.c                                   |   17 
 net/ipv4/inet_timewait_sock.c                                |    8 
 net/ipv4/ip_output.c                                         |    4 
 net/ipv4/tcp.c                                               |   57 +-
 net/ipv4/tcp_fastopen.c                                      |    6 
 net/ipv4/tcp_ipv4.c                                          |   27 -
 net/ipv4/tcp_minisocks.c                                     |   11 
 net/ipv4/tcp_output.c                                        |    6 
 net/ipv4/udp_offload.c                                       |   16 
 net/ipv6/ip6_gre.c                                           |    3 
 net/ipv6/tcp_ipv6.c                                          |    4 
 net/ipv6/udp_offload.c                                       |    3 
 net/llc/llc_input.c                                          |    3 
 net/netfilter/nf_tables_api.c                                |   12 
 net/netfilter/nft_set_pipapo.c                               |    6 
 net/sched/cls_bpf.c                                          |   99 +---
 net/sched/cls_matchall.c                                     |   35 -
 net/sched/cls_u32.c                                          |   48 +-
 net/wireless/wext-core.c                                     |    6 
 scripts/Makefile.build                                       |    5 
 scripts/Makefile.host                                        |    6 
 scripts/kallsyms.c                                           |    6 
 security/keys/request_key.c                                  |   35 +
 security/keys/trusted-keys/trusted_tpm2.c                    |    2 
 sound/pci/emu10k1/emufx.c                                    |  112 ----
 sound/pci/hda/patch_realtek.c                                |  100 +++-
 sound/soc/amd/acp/amd.h                                      |    7 
 sound/soc/codecs/Kconfig                                     |    1 
 sound/soc/codecs/cs42l51-i2c.c                               |    6 
 sound/soc/codecs/cs42l51.c                                   |    7 
 sound/soc/codecs/cs42l51.h                                   |    1 
 sound/soc/codecs/rt5640.c                                    |   12 
 sound/soc/codecs/wcd-mbhc-v2.c                               |   57 +-
 sound/soc/codecs/wcd934x.c                                   |   12 
 sound/soc/codecs/wcd938x.c                                   |   86 +++
 sound/soc/fsl/fsl_sai.c                                      |    8 
 sound/soc/fsl/fsl_sai.h                                      |    1 
 sound/soc/qcom/qdsp6/q6apm.c                                 |    7 
 sound/soc/qcom/qdsp6/topology.c                              |    4 
 sound/soc/sof/ipc3-dtrace.c                                  |    9 
 sound/soc/tegra/tegra210_adx.c                               |   34 -
 sound/soc/tegra/tegra210_amx.c                               |   40 -
 tools/include/nolibc/stackprotector.h                        |    5 
 tools/perf/Makefile.config                                   |    4 
 tools/perf/tests/shell/test_uprobe_from_different_cu.sh      |   77 +++
 tools/perf/util/dwarf-aux.c                                  |    4 
 tools/testing/radix-tree/maple.c                             |    6 
 tools/testing/selftests/mm/mkdirty.c                         |    2 
 tools/testing/selftests/tc-testing/config                    |    2 
 tools/testing/selftests/tc-testing/settings                  |    1 
 218 files changed, 2456 insertions(+), 1482 deletions(-)

Abe Kohandel (2):
spi: dw: Add compatible for Intel Mount Evans SoC
spi: dw: Remove misleading comment for Mount Evans SoC

Aditi Ghag (1):
bpf: tcp: Avoid taking fast sock lock in iterator

Ahmed Zaki (3):
iavf: use internal state to free traffic IRQs
iavf: fix a deadlock caused by rtnl and driver's lock circular dependencies
iavf: fix reset task race with iavf_remove()

Alex Deucher (2):
drm/amdgpu/pm: make gfxclock consistent for sienna cichlid drm/amdgpu/pm: make mclk consistent for smu 13.0.7

Alexander Duyck (1):
bpf, arm64: Fix BTI type used for freplace attached functions

Andrii Nakryiko (1):
bpf: drop unnecessary user-triggerable WARN_ONCE in verifierl log

Andrzej Hajda (1):
drm/i915/perf: add sentinel to xehp_oa_b_counters

Antoine Tenart (1):
net: ipv4: use consistent txhash in TIME_WAIT and SYN_RECV

Balamurugan S (1):
wifi: ath12k: Avoid NULL pointer access during management transmit cleanup

Ben Skeggs (3):
drm/nouveau/disp: PIOR DP uses GPIO for HPD, not PMGR AUX interrupts drm/nouveau/kms/nv50-: init hpd_irq_lock for PIOR DP drm/nouveau/i2c: fix number of aux event slots

Bernd Schubert (1):
fuse: Apply flags2 only when userspace set the FUSE_INIT_EXT

Biju Das (1):
pinctrl: renesas: rzg2l: Handle non-unique subnode names

Brad Larson (1):
spi: cadence-quadspi: Add compatible for AMD Pensando Elba SoC

Christian Brauner (1):
ovl: check type and offset of struct vfsmount in ovl_entry

Christoffer Sandberg (1):
ALSA: hda/realtek: Add quirk for Clevo NS70AU

Christoph Hellwig (2):
btrfs: don't check PageError in __extent_writepage
btrfs: be a bit more careful when setting mirror_num_ret in btrfs_map_block

Colin Ian King (1):
selftests/mm: mkdirty: fix incorrect position of #endif

Dan Carpenter (6):
accel/qaic: Fix a leak in map_user_pages()
accel/qaic: tighten bounds checking in encode_message() accel/qaic: tighten bounds checking in decode_message() accel/qaic: Add consistent integer overflow checks
iommu/sva: Fix signedness bug in iommu_sva_alloc_pasid()
ASoC: SOF: ipc3-dtrace: uninitialized data in dfsentry_trace_filter_write()

Daniel Golle (2):
net: ethernet: mtk_eth_soc: handle probe deferral
net: ethernet: mtk_eth_soc: always mtk_get_ib1_pkt_type

David Sterba (1):
btrfs: add xxhash to fast checksum implementations

Ding Hui (2):
iavf: Fix use-after-free in free_netdev
iavf: Fix out-of-bounds when setting channels on remove

Douglas Anderson (1):
Bluetooth: hci_sync: Avoid use-after-free in dbg for hci_remove_adv_monitor()

Eric Dumazet (13):

      tcp: annotate data-races around tcp_rsk(req)->txhash
      tcp: annotate data-races around tcp_rsk(req)->ts_recent
      tcp: annotate data-races around tp->tcp_tx_delay
      tcp: annotate data-races around tp->tsoffset
      tcp: annotate data-races around tp->keepalive_time
      tcp: annotate data-races around tp->keepalive_intvl
      tcp: annotate data-races around tp->keepalive_probes
      tcp: annotate data-races around icsk->icsk_syn_retries
      tcp: annotate data-races around tp->linger2
      tcp: annotate data-races around rskq_defer_accept
      tcp: annotate data-races around tp->notsent_lowat
      tcp: annotate data-races around icsk->icsk_user_timeout
      tcp: annotate data-races around fastopenq.max_qlen

Eric Whitney (1):
ext4: correct inline offset when handling xattrs in inode body

Fabio Estevam (1):
ASoC: fsl_sai: Revert "ASoC: fsl_sai: Enable MCTL_MCLK_EN bit for master mode"

Fedor Ross (1):
can: mcp251xfd: __mcp251xfd_chip_set_mode(): increase poll timeout

Filipe Manana (5):
btrfs: fix iput() on error pointer after error during orphan cleanup
btrfs: fix warning when putting transaction with qgroups enabled after abort
btrfs: fix double iput() on inode after an error during orphan cleanup
btrfs: zoned: fix memory leak after finding block group with super blocks
btrfs: abort transaction at update_ref_for_cow() when ref count is zero

Florian Kauer (1):
igc: Prevent garbled TX queue with XDP ZEROCOPY

Florian Westphal (3):
netfilter: nf_tables: fix spurious set element insertion failure
netfilter: nf_tables: can't schedule in nft_chain_validate
netfilter: nft_set_pipapo: fix improper element removal

Geert Uytterhoeven (1):
pinctrl: renesas: rzv2m: Handle non-unique subnode names

Geetha sowjanya (1):
octeontx2-pf: Dont allocate BPIDs for LBK interfaces

Georg Müller (2):
perf probe: Add test for regression introduced by switch to die_get_decl_file() perf probe: Read DWARF files from the correct CU

Greg Kroah-Hartman (1):

      Linux 6.4.7

Gregory Greenman (1):
wifi: iwlwifi: mvm: fix potential array out of bounds access

Guchun Chen (1):
drm/amdgpu/vkms: relax timer deactivation by hrtimer_try_to_cancel

Gustavo A. R. Silva (2):
MIPS: dec: prom: Address -Warray-bounds warning
wifi: wext-core: Fix -Wstringop-overflow warning in ioctl_standard_iw_point()

Hans de Goede (6):
ACPI: x86: Add skip i2c clients quirk for Nextbook Ares 8A
ACPI: button: Add lid disable DMI quirk for Nextbook Ares 8A
ACPI: x86: Add ACPI_QUIRK_UART1_SKIP for Lenovo Yoga Book yb1-x90f/l
ACPI: video: Add backlight=native DMI quirk for Apple iMac11,3
ACPI: video: Add backlight=native DMI quirk for Lenovo ThinkPad X131e (3371 AMD version)
ACPI: video: Add backlight=native DMI quirk for Dell Studio 1569

Hao Chen (1):
net: hns3: fix strncpy() not using dest-buf length as length issue

Harald Freudenberger (1):
s390/zcrypt: fix reply buffer calculations for CCA replies

Heiner Kallweit (2):
Revert "r8169: disable ASPM during NAPI poll"
r8169: fix ASPM-related problem for chip version 42 and 43

Helge Deller (2):
io_uring: Fix io_uring mmap() by using architecture-provided get_unmapped_area()
ia64: mmap: Consider pgoff when searching for free mapping

Hersen Wu (1):
Revert "drm/amd/display: edp do not add non-edid timings"

Ido Schimmel (1):
vrf: Fix lockdep splat in output path

Ilan Peer (1):
wifi: mac80211_hwsim: Fix possible NULL dereference

Immad Mir (2):
FS: JFS: Fix null-ptr-deref Read in txBegin
FS: JFS: Check for read-only mounted filesystem in txBegin

Jaewon Kim (1):
spi: s3c64xx: clear loopback bit after loopback test

Jakub Kicinski (1):
devlink: make health report on unregistered instance warn just once

James Clark (1):
perf build: Fix library not found error when using CSLIBS

Jan Kara (2):
quota: Properly disable quotas when add_dquot_ref() fails
udf: Fix uninitialized array access for some pathnames

Jens Axboe (1):
io_uring: treat -EAGAIN for REQ_F_NOWAIT as final for io-wq

Jiapeng Chong (1):
security: keys: Modify mismatched function name

Jisheng Zhang (1):
net: ethernet: litex: add support for 64 bit stats

Jocelyn Falempe (2):
drm/client: Fix memory leak in drm_client_target_cloned drm/client: Fix memory leak in drm_client_modeset_probe

Johan Hovold (9):
ASoC: codecs: wcd938x: fix missing clsh ctrl error handling
ASoC: codecs: wcd-mbhc-v2: fix resource leaks on component remove
ASoC: qdsp6: audioreach: fix topology probe deferral
ASoC: codecs: wcd938x: fix resource leaks on component remove
ASoC: codecs: wcd938x: fix missing mbhc init error handling
ASoC: codecs: wcd934x: fix resource leaks on component remove
ASoC: codecs: wcd938x: fix codec initialisation race
ASoC: codecs: wcd938x: fix soundwire initialisation race
ASoC: codecs: wcd938x: fix mbhc impedance loglevel

Johannes Berg (1):
wifi: iwlwifi: mvm: avoid baid size integer overflow

Jonas Gorski (1):
spi: bcm63xx: fix max prepend length

Josef Bacik (2):
btrfs: set_page_extent_mapped after read_folio in btrfs_cont_expand
btrfs: fix race between balance and cancel/pause

Kailang Yang (1):
ALSA: hda/realtek - remove 3k pull low procedure

Kui-Feng Lee (1):
bpf: Print a warning only if writing to unprivileged_bpf_disabled.

Kumar Kartikeya Dwivedi (2):
bpf: Fix subprog idx logic in check_max_stack_depth
bpf: Repeat check_max_stack_depth for async callbacks

Kuniyuki Iwashima (3):
bridge: Add extack warning when enabling STP in netns. Revert "tcp: avoid the lookup process failing to get sk in ehash table"
llc: Don't drop packet from non-root netns.

Kurt Kanzenbach (1):
igc: Avoid transmit queue timeout for XDP

Liam R. Howlett (2):
mm/mlock: fix vma iterator conversion of apply_vma_lock_flags()
maple_tree: fix node allocation testing on 32 bit

Linus Walleij (1):
dsa: mv88e6xxx: Do a final check before timing out

Luka Guzenko (1):
ALSA: hda/realtek: Enable Mute LED on HP Laptop 15s-eq2xxx

Marc Kleine-Budde (2):
can: gs_usb: gs_can_open(): improve error handling
can: gs_usb: fix time stamp counter initialization

Marc Zyngier (4):
KVM: arm64: timers: Use CNTHCTL_EL2 when setting non-CNTKCTL_EL1 bits
KVM: arm64: Disable preemption in kvm_arch_hardware_enable()
KVM: arm64: vgic-v4: Make the doorbell request robust w.r.t preemption
arm64: Fix HFGxTR_EL2 field naming

Marcin Szycik (1):
iavf: Wait for reset in callbacks which trigger it

Marco Morandini (1):
HID: add quirk for 03f0:464a HP Elite Presenter Mouse

Mario Limonciello (1):
ACPI: resource: Remove "Zen" specific match and quirks

Mark Brown (3):
regmap: Drop initial version of maximum transfer length fixes
regmap: Account for register length in SMBus I/O limits arm64/fpsimd: Ensure SME storage is allocated after SVE VL changes

Mark Rutland (1):
arm64: mm: fix VA-range sanity check

Martin Blumenstingl (1):
wifi: rtw88: sdio: Check the HISR RX_REQUEST bit in rtw_sdio_rx_isr()

Martin Fuzzey (1):
regulator: da9063: fix null pointer deref with partial DT config

Martin KaFai Lau (1):
bpf: Address KCSAN report on bpf_lru_list

Martin Kaiser (1):
fbdev: imxfb: warn about invalid left/right margin

Matthew Anderson (1):
ALSA: hda/realtek: Add quirks for ROG ALLY CS35l41 audio

Matthieu Baerts (3):
selftests: tc: set timeout to 15 minutes
selftests: tc: add 'ct' action kconfig dep
selftests: tc: add ConnTrack procfs kconfig

Matus Gajdos (1):
ASoC: fsl_sai: Disable bit clock with transmitter

Maxime Bizon (1):
wifi: ath11k: fix registration of 6Ghz-only phy without the full channel range

Miaohe Lin (1):

      sched/fair: Use recent_used_cpu to test p->cpus_ptr

Michal Swiatkowski (1):
ice: prevent NULL pointer deref during reload

Miguel Ojeda (2):
prctl: move PR_GET_AUXV out of PR_MCE_KILL
kbuild: rust: avoid creating temporary files

Miklos Szeredi (3):
fuse: revalidate: don't invalidate if interrupted
fuse: add feature flag for expire-only
fuse: ioctl: translate ENOSYS in outarg

Ming Lei (1):

      blk-mq: fix NULL dereference on q->elevator in blk_mq_elv_switch_none

Mohamed Khalfella (1):
tracing/histograms: Return an error if we fail to add histogram to hist_vars list

Mukesh Sisodiya (2):
wifi: iwlwifi: mvm: Add NULL check before dereferencing the pointer
wifi: iwlwifi: Add support for new PCI Id

Nathan Chancellor (1):
ASoC: cs35l45: Select REGMAP_IRQ

Nicholas Kazlauskas (1):
drm/amd/display: Keep PHY active for DP displays on DCN31

Oliver Upton (1):
KVM: arm64: Correctly handle page aging notifiers for unaligned memslot

Oswald Buddenhagen (1):
ALSA: emu10k1: roll up loops in DSP setup code for Audigy

P Praneesh (1):
wifi: ath11k: fix memory leak in WMI firmware stats

Pablo Neira Ayuso (2):
netfilter: nf_tables: skip bound chain in netns release path
netfilter: nf_tables: skip bound chain on rule flush

Paul E. McKenney (1):

      rcu: Mark additional concurrent load from ->cpu_no_qs.b.exp

Pauli Virtanen (4):
Bluetooth: use RCU for hci_conn_params and iterate safely in hci_sync
Bluetooth: hci_event: call disconnect callback before deleting conn
Bluetooth: ISO: fix iso_conn related locking and validity issues
Bluetooth: SCO: fix sco_conn related locking and validity issues

Paulo Alcantara (1):
smb: client: fix missed ses refcounting

Peng Zhang (1):
maple_tree: set the node limit when creating a new root node

Peter Zijlstra (1):
iov_iter: Mark copy_iovec_from_user() noclone

Petr Oros (2):
devlink: report devlink_port_type_warn source device
ice: Unregister netdev and devlink_port only once

Petr Pavlu (1):
keys: Fix linking a duplicate key to a keyring's assoc_array

Przemek Kitszel (1):
iavf: make functions static where possible

Qu Wenruo (1):
btrfs: raid56: always verify the P/Q contents for scrub

Rob Herring (1):
of: Preserve "of-display" device name for compatibility

Sameer Pujar (1):
ASoC: rt5640: Fix sleep in atomic context

Sandeep Dhavale (1):
erofs: Fix detection of atomic context

Sheetal (2):
ASoC: tegra: Fix ADX byte map
ASoC: tegra: Fix AMX byte map

Shigeru Yoshida (1):
rcu-tasks: Avoid pr_info() with spin lock in cblist_init_generic()

Shyam Prasad N (1):
cifs: fix mid leak during reconnection after timeout threshold

Siddh Raman Pant (1):
Bluetooth: hci_conn: return ERR_PTR instead of NULL when there is no link

Simon Ser (1):
drm/amd/display: only accept async flips for fast updates

Srinivas Kandagatla (2):
ASoC: codecs: wcd938x: fix dB range for HPHL and HPHR
ASoC: qcom: q6apm: do not close GPR port before closing graph

Srinivasan Shanmugam (1):
drm/amd/display: Clean up errors & warnings in amdgpu_dm.c

Suren Baghdasaryan (1):
sched/psi: use kernfs polling functions for PSI trigger polling

Taimur Hassan (1):
drm/amd/display: check TG is non-null before checking if enabled

Tanmay Patil (1):
net: ethernet: ti: cpsw_ale: Fix cpsw_ale_get_field()/cpsw_ale_set_field()

Thomas Gleixner (1):
posix-timers: Ensure timer ID search-loop limit is valid

Thomas Petazzoni (1):
ASoC: cs42l51: fix driver to properly autoload with automatic module loading

Thomas Weißschuh (1):
tools/nolibc: ensure stack protector guard is never zero

Tomasz Moń (1):
Bluetooth: btusb: Fix bluetooth on Intel Macbook 2014

Tristram Ha (1):
net: dsa: microchip: correct KSZ8795 static MAC table access

Victor Nogueira (4):
net: sched: cls_matchall: Undo tcf_bind_filter in case of failure after mall_set_parms
net: sched: cls_u32: Undo tcf_bind_filter if u32_replace_hw_knode
net: sched: cls_u32: Undo refcount decrement in case update failed
net: sched: cls_bpf: Undo tcf_bind_filter in case of an error

Vijendar Mukunda (1):
ASoC: amd: acp: fix for invalid dai id handling in acp_get_byte_count()

Ville Syrjälä (1):
dma-buf/dma-resv: Stop leaking on krealloc() failure

Vitaly Rodionov (1):
ALSA: hda/realtek: Fix generic fixup definition for cs35l41 amp

Vladimir Oltean (1):
net: phy: prevent stale pointer dereference in phy_init()

Wang Ming (1):
net: ipv4: Use kfree_sensitive instead of kfree

Wayne Lin (1):
drm/amd/display: Add polling method to handle MST reply packet

Wen Gong (1):
wifi: ath11k: add support default regdb while searching board-2.bin for WCN6855

Yan Zhai (1):
gso: fix dodgy bit handling for GSO_UDP_L4

Yangtao Li (1):
fbdev: imxfb: Removed unneeded release_mem_region

Ye Bin (1):
quota: fix warning in dqgrab()

Yi Kuo (1):
wifi: iwlwifi: pcie: add device id 51F1 for killer 1675

Yicong Yang (1):
sched/fair: Don't balance task to its current running CPU

Ying Hsu (1):
igb: Fix igb_down hung on surprise removal

Yogesh (1):
fs: jfs: Fix UBSAN: array-index-out-of-bounds in dbAllocDmapLev

Yonghong Song (2):
bpf: Silence a warning in btf_type_id_size()
kallsyms: strip LTO-only suffixes from promoted global functions

Youngmin Nam (1):
arm64: set __exception_irq_entry with __irq_entry as a default

Yu Kuai (5):
md: fix data corruption for raid456 when reshape restart while grow up md/raid10: prevent soft lockup while flush writes
scsi: sg: fix blktrace debugfs entries leakage
scsi/sg: don't grab scsi host module reference
scsi: sg: Fix checking return value of blk_get_queue()

Yuanjun Gong (1):
net:ipv6: check return value of pskb_trim()

YueHaibing (1):
can: bcm: Fix UAF in bcm_proc_show()

Yunxiang Li (1):
drm/ttm: fix bulk_move corruption when adding a entry

Zhang Shurong (1):
fbdev: au1200fb: Fix missing IRQ check in au1200fb_drv_probe

Zhang Yi (1):
jbd2: recheck chechpointing non-dirty buffer

Zhikai Zhai (1):
drm/amd/display: Disable MPC split by default on special asic

hackyzh002 (1):
drm/radeon: Fix integer overflow in radeon_cs_parser_init

author maintainer
#1 lore raw
Makefile +1 -1
index 23ddaa3f3034..b3dc3b5f14ca 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 6
 PATCHLEVEL = 4
-SUBLEVEL = 6
+SUBLEVEL = 7
 EXTRAVERSION =
 NAME = Hurr durr I'ma ninja sloth
 
arch/arm64/include/asm/exception.h +0 -5
index e73af709cb7a..88d8dfeed0db 100644
@@ -8,16 +8,11 @@
 #define __ASM_EXCEPTION_H
 
 #include <asm/esr.h>
-#include <asm/kprobes.h>
 #include <asm/ptrace.h>
 
 #include <linux/interrupt.h>
 
-#ifdef CONFIG_FUNCTION_GRAPH_TRACER
 #define __exception_irq_entry	__irq_entry
-#else
-#define __exception_irq_entry	__kprobes
-#endif
 
 static inline unsigned long disr_to_esr(u64 disr)
 {
arch/arm64/include/asm/kvm_host.h +2 -0
index 9787503ff43f..36d72d0300db 100644
@@ -701,6 +701,8 @@ struct kvm_vcpu_arch {
 #define DBG_SS_ACTIVE_PENDING	__vcpu_single_flag(sflags, BIT(5))
 /* PMUSERENR for the guest EL0 is on physical CPU */
 #define PMUSERENR_ON_CPU	__vcpu_single_flag(sflags, BIT(6))
+/* 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/include/asm/kvm_pgtable.h +9 -17
index 93bd0975b15f..f5e5730c2c1c 100644
@@ -556,22 +556,26 @@ int kvm_pgtable_stage2_wrprotect(struct kvm_pgtable *pgt, u64 addr, u64 size);
 kvm_pte_t kvm_pgtable_stage2_mkyoung(struct kvm_pgtable *pgt, u64 addr);
 
 /**
- * kvm_pgtable_stage2_mkold() - Clear the access flag in a page-table entry.
+ * kvm_pgtable_stage2_test_clear_young() - Test and optionally clear the access
+ *					   flag in a page-table entry.
  * @pgt:	Page-table structure initialised by kvm_pgtable_stage2_init*().
  * @addr:	Intermediate physical address to identify the page-table entry.
+ * @size:	Size of the address range to visit.
+ * @mkold:	True if the access flag should be cleared.
  *
  * The offset of @addr within a page is ignored.
  *
- * If there is a valid, leaf page-table entry used to translate @addr, then
- * clear the access flag in that entry.
+ * Tests and conditionally clears the access flag for every valid, leaf
+ * page-table entry used to translate the range [@addr, @addr + @size).
  *
  * Note that it is the caller's responsibility to invalidate the TLB after
  * calling this function to ensure that the updated permissions are visible
  * to the CPUs.
  *
- * Return: The old page-table entry prior to clearing the flag, 0 on failure.
+ * Return: True if any of the visited PTEs had the access flag set.
  */
-kvm_pte_t kvm_pgtable_stage2_mkold(struct kvm_pgtable *pgt, u64 addr);
+bool kvm_pgtable_stage2_test_clear_young(struct kvm_pgtable *pgt, u64 addr,
+					 u64 size, bool mkold);
 
 /**
  * kvm_pgtable_stage2_relax_perms() - Relax the permissions enforced by a
@@ -593,18 +597,6 @@ kvm_pte_t kvm_pgtable_stage2_mkold(struct kvm_pgtable *pgt, u64 addr);
 int kvm_pgtable_stage2_relax_perms(struct kvm_pgtable *pgt, u64 addr,
 				   enum kvm_pgtable_prot prot);
 
-/**
- * kvm_pgtable_stage2_is_young() - Test whether a page-table entry has the
- *				   access flag set.
- * @pgt:	Page-table structure initialised by kvm_pgtable_stage2_init*().
- * @addr:	Intermediate physical address to identify the page-table entry.
- *
- * The offset of @addr within a page is ignored.
- *
- * Return: True if the page-table entry has the access flag set, false otherwise.
- */
-bool kvm_pgtable_stage2_is_young(struct kvm_pgtable *pgt, u64 addr);
-
 /**
  * kvm_pgtable_stage2_flush_range() - Clean and invalidate data cache to Point
  * 				      of Coherency for guest stage-2 address
arch/arm64/kernel/fpsimd.c +25 -8
index 2fbafa5cc7ac..9d7d10d60bfd 100644
@@ -847,6 +847,8 @@ void sve_sync_from_fpsimd_zeropad(struct task_struct *task)
 int vec_set_vector_length(struct task_struct *task, enum vec_type type,
 			  unsigned long vl, unsigned long flags)
 {
+	bool free_sme = false;
+
 	if (flags & ~(unsigned long)(PR_SVE_VL_INHERIT |
 				     PR_SVE_SET_VL_ONEXEC))
 		return -EINVAL;
@@ -897,21 +899,36 @@ int vec_set_vector_length(struct task_struct *task, enum vec_type type,
 		task->thread.fp_type = FP_STATE_FPSIMD;
 	}
 
-	if (system_supports_sme() && type == ARM64_VEC_SME) {
-		task->thread.svcr &= ~(SVCR_SM_MASK |
-				       SVCR_ZA_MASK);
-		clear_thread_flag(TIF_SME);
+	if (system_supports_sme()) {
+		if (type == ARM64_VEC_SME ||
+		    !(task->thread.svcr & (SVCR_SM_MASK | SVCR_ZA_MASK))) {
+			/*
+			 * We are changing the SME VL or weren't using
+			 * SME anyway, discard the state and force a
+			 * reallocation.
+			 */
+			task->thread.svcr &= ~(SVCR_SM_MASK |
+					       SVCR_ZA_MASK);
+			clear_thread_flag(TIF_SME);
+			free_sme = true;
+		}
 	}
 
 	if (task == current)
 		put_cpu_fpsimd_context();
 
 	/*
-	 * Force reallocation of task SVE and SME state to the correct
-	 * size on next use:
+	 * Free the changed states if they are not in use, SME will be
+	 * reallocated to the correct size on next use and we just
+	 * allocate SVE now in case it is needed for use in streaming
+	 * mode.
 	 */
-	sve_free(task);
-	if (system_supports_sme() && type == ARM64_VEC_SME)
+	if (system_supports_sve()) {
+		sve_free(task);
+		sve_alloc(task, true);
+	}
+
+	if (free_sme)
 		sme_free(task);
 
 	task_set_vl(task, type, vl);
arch/arm64/kvm/arch_timer.c +3 -3
index 05b022be885b..644a687100aa 100644
@@ -827,8 +827,8 @@ static void timer_set_traps(struct kvm_vcpu *vcpu, struct timer_map *map)
 	assign_clear_set_bit(tpt, CNTHCTL_EL1PCEN << 10, set, clr);
 	assign_clear_set_bit(tpc, CNTHCTL_EL1PCTEN << 10, set, clr);
 
-	/* This only happens on VHE, so use the CNTKCTL_EL1 accessor */
-	sysreg_clear_set(cntkctl_el1, clr, set);
+	/* This only happens on VHE, so use the CNTHCTL_EL2 accessor. */
+	sysreg_clear_set(cnthctl_el2, clr, set);
 }
 
 void kvm_timer_vcpu_load(struct kvm_vcpu *vcpu)
@@ -1559,7 +1559,7 @@ int kvm_timer_enable(struct kvm_vcpu *vcpu)
 void kvm_timer_init_vhe(void)
 {
 	if (cpus_have_final_cap(ARM64_HAS_ECV_CNTPOFF))
-		sysreg_clear_set(cntkctl_el1, 0, CNTHCTL_ECV);
+		sysreg_clear_set(cnthctl_el2, 0, CNTHCTL_ECV);
 }
 
 int kvm_arm_timer_set_attr(struct kvm_vcpu *vcpu, struct kvm_device_attr *attr)
arch/arm64/kvm/arm.c +16 -3
index 14391826241c..7d8c3dd8b7ca 100644
@@ -704,13 +704,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();
 }
@@ -778,7 +780,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();
 		}
@@ -1793,8 +1795,17 @@ static void _kvm_arch_hardware_enable(void *discard)
 
 int kvm_arch_hardware_enable(void)
 {
-	int was_enabled = __this_cpu_read(kvm_arm_hardware_enabled);
+	int was_enabled;
 
+	/*
+	 * Most calls to this function are made with migration
+	 * disabled, but not with preemption disabled. The former is
+	 * enough to ensure correctness, but most of the helpers
+	 * expect the later and will throw a tantrum otherwise.
+	 */
+	preempt_disable();
+
+	was_enabled = __this_cpu_read(kvm_arm_hardware_enabled);
 	_kvm_arch_hardware_enable(NULL);
 
 	if (!was_enabled) {
@@ -1802,6 +1813,8 @@ int kvm_arch_hardware_enable(void)
 		kvm_timer_cpu_up();
 	}
 
+	preempt_enable();
+
 	return 0;
 }
 
arch/arm64/kvm/hyp/pgtable.c +38 -9

63 lines not on this page · raw message

arch/arm64/kvm/mmu.c +8 -10
index 3b9d4d24c361..8a7e9381710e 100644
@@ -1639,27 +1639,25 @@ bool kvm_set_spte_gfn(struct kvm *kvm, struct kvm_gfn_range *range)
 bool kvm_age_gfn(struct kvm *kvm, struct kvm_gfn_range *range)
 {
 	u64 size = (range->end - range->start) << PAGE_SHIFT;
-	kvm_pte_t kpte;
-	pte_t pte;
 
 	if (!kvm->arch.mmu.pgt)
 		return false;
 
-	WARN_ON(size != PAGE_SIZE && size != PMD_SIZE && size != PUD_SIZE);
-
-	kpte = kvm_pgtable_stage2_mkold(kvm->arch.mmu.pgt,
-					range->start << PAGE_SHIFT);
-	pte = __pte(kpte);
-	return pte_valid(pte) && pte_young(pte);
+	return kvm_pgtable_stage2_test_clear_young(kvm->arch.mmu.pgt,
+						   range->start << PAGE_SHIFT,
+						   size, true);
 }
 
 bool kvm_test_age_gfn(struct kvm *kvm, struct kvm_gfn_range *range)
 {
+	u64 size = (range->end - range->start) << PAGE_SHIFT;
+
 	if (!kvm->arch.mmu.pgt)
 		return false;
 
-	return kvm_pgtable_stage2_is_young(kvm->arch.mmu.pgt,
-					   range->start << PAGE_SHIFT);
+	return kvm_pgtable_stage2_test_clear_young(kvm->arch.mmu.pgt,
+						   range->start << PAGE_SHIFT,
+						   size, false);
 }
 
 phys_addr_t kvm_mmu_get_httbr(void)
arch/arm64/kvm/vgic/vgic-v3.c +1 -1
index c3b8e132d599..3dfc8b84e03e 100644
@@ -749,7 +749,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
index c1c28fe680ba..339a55194b2c 100644
@@ -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/arm64/mm/mmu.c +2 -2
index af6bc8403ee4..72b3c21820b9 100644
@@ -451,7 +451,7 @@ static phys_addr_t pgd_pgtable_alloc(int shift)
 void __init create_mapping_noalloc(phys_addr_t phys, unsigned long virt,
 				   phys_addr_t size, pgprot_t prot)
 {
-	if ((virt >= PAGE_END) && (virt < VMALLOC_START)) {
+	if (virt < PAGE_OFFSET) {
 		pr_warn("BUG: not creating mapping for %pa at 0x%016lx - outside kernel range\n",
 			&phys, virt);
 		return;
@@ -478,7 +478,7 @@ void __init create_pgd_mapping(struct mm_struct *mm, phys_addr_t phys,
 static void update_mapping_prot(phys_addr_t phys, unsigned long virt,
 				phys_addr_t size, pgprot_t prot)
 {
-	if ((virt >= PAGE_END) && (virt < VMALLOC_START)) {
+	if (virt < PAGE_OFFSET) {
 		pr_warn("BUG: not updating mapping for %pa at 0x%016lx - outside kernel range\n",
 			&phys, virt);
 		return;
arch/arm64/net/bpf_jit_comp.c +7 -1
index b26da8efa616..0ce5f13eabb1 100644
@@ -322,7 +322,13 @@ static int build_prologue(struct jit_ctx *ctx, bool ebpf_from_cbpf)
 	 *
 	 */
 
-	emit_bti(A64_BTI_C, ctx);
+	/* bpf function may be invoked by 3 instruction types:
+	 * 1. bl, attached via freplace to bpf prog via short jump
+	 * 2. br, attached via freplace to bpf prog via long jump
+	 * 3. blr, working as a function pointer, used by emit_call.
+	 * So BTI_JC should used here to support both br and blr.
+	 */
+	emit_bti(A64_BTI_JC, ctx);
 
 	emit(A64_MOV(1, A64_R(9), A64_LR), ctx);
 	emit(A64_NOP, ctx);
arch/arm64/tools/sysreg +6 -6
index c9a0d1fa3209..930c8cc0812f 100644
@@ -1890,7 +1890,7 @@ Field	0	SM
 EndSysreg
 
 SysregFields	HFGxTR_EL2
-Field	63	nAMIAIR2_EL1
+Field	63	nAMAIR2_EL1
 Field	62	nMAIR2_EL1
 Field	61	nS2POR_EL1
 Field	60	nPOR_EL1
@@ -1905,9 +1905,9 @@ Field	52	nGCS_EL0
 Res0	51
 Field	50	nACCDATA_EL1
 Field	49	ERXADDR_EL1
-Field	48	EXRPFGCDN_EL1
-Field	47	EXPFGCTL_EL1
-Field	46	EXPFGF_EL1
+Field	48	ERXPFGCDN_EL1
+Field	47	ERXPFGCTL_EL1
+Field	46	ERXPFGF_EL1
 Field	45	ERXMISCn_EL1
 Field	44	ERXSTATUS_EL1
 Field	43	ERXCTLR_EL1
@@ -1922,8 +1922,8 @@ Field	35	TPIDR_EL0
 Field	34	TPIDRRO_EL0
 Field	33	TPIDR_EL1
 Field	32	TCR_EL1
-Field	31	SCTXNUM_EL0
-Field	30	SCTXNUM_EL1
+Field	31	SCXTNUM_EL0
+Field	30	SCXTNUM_EL1
 Field	29	SCTLR_EL1
 Field	28	REVIDR_EL1
 Field	27	PAR_EL1
arch/ia64/kernel/sys_ia64.c +1 -1
index 6e948d015332..eb561cc93632 100644
@@ -63,7 +63,7 @@ arch_get_unmapped_area (struct file *filp, unsigned long addr, unsigned long len
 	info.low_limit = addr;
 	info.high_limit = TASK_SIZE;
 	info.align_mask = align_mask;
-	info.align_offset = 0;
+	info.align_offset = pgoff << PAGE_SHIFT;
 	return vm_unmapped_area(&info);
 }
 
arch/mips/include/asm/dec/prom.h +1 -1
index 1e1247add1cf..908e96e3a311 100644
@@ -70,7 +70,7 @@ static inline bool prom_is_rex(u32 magic)
  */
 typedef struct {
 	int pagesize;
-	unsigned char bitmap[0];
+	unsigned char bitmap[];
 } memmap;
 
 
arch/parisc/kernel/sys_parisc.c +10 -5
index 39acccabf2ed..465b7cb9d44f 100644
@@ -26,12 +26,17 @@
 #include <linux/compat.h>
 
 /*
- * Construct an artificial page offset for the mapping based on the physical
+ * Construct an artificial page offset for the mapping based on the virtual
  * address of the kernel file mapping variable.
+ * If filp is zero the calculated pgoff value aliases the memory of the given
+ * address. This is useful for io_uring where the mapping shall alias a kernel
+ * address and a userspace adress where both the kernel and the userspace
+ * access the same memory region.
  */
-#define GET_FILP_PGOFF(filp)		\
-	(filp ? (((unsigned long) filp->f_mapping) >> 8)	\
-		 & ((SHM_COLOUR-1) >> PAGE_SHIFT) : 0UL)
+#define GET_FILP_PGOFF(filp, addr)		\
+	((filp ? (((unsigned long) filp->f_mapping) >> 8)	\
+		 & ((SHM_COLOUR-1) >> PAGE_SHIFT) : 0UL)	\
+	  + (addr >> PAGE_SHIFT))
 
 static unsigned long shared_align_offset(unsigned long filp_pgoff,
 					 unsigned long pgoff)
@@ -111,7 +116,7 @@ static unsigned long arch_get_unmapped_area_common(struct file *filp,
 	do_color_align = 0;
 	if (filp || (flags & MAP_SHARED))
 		do_color_align = 1;
-	filp_pgoff = GET_FILP_PGOFF(filp);
+	filp_pgoff = GET_FILP_PGOFF(filp, addr);
 
 	if (flags & MAP_FIXED) {
 		/* Even MAP_FIXED mappings must reside within TASK_SIZE */
block/blk-mq.c +7 -3
index b9f454613989..73ed8ccb09ce 100644
@@ -4617,9 +4617,6 @@ static bool blk_mq_elv_switch_none(struct list_head *head,
 {
 	struct blk_mq_qe_pair *qe;
 
-	if (!q->elevator)
-		return true;
-
 	qe = kmalloc(sizeof(*qe), GFP_NOIO | __GFP_NOWARN | __GFP_NORETRY);
 	if (!qe)
 		return false;
@@ -4627,6 +4624,12 @@ static bool blk_mq_elv_switch_none(struct list_head *head,
 	/* q->elevator needs protection from ->sysfs_lock */
 	mutex_lock(&q->sysfs_lock);
 
+	/* the check has to be done with holding sysfs_lock */
+	if (!q->elevator) {
+		kfree(qe);
+		goto unlock;
+	}
+
 	INIT_LIST_HEAD(&qe->node);
 	qe->q = q;
 	qe->type = q->elevator->type;
@@ -4634,6 +4637,7 @@ static bool blk_mq_elv_switch_none(struct list_head *head,
 	__elevator_get(qe->type);
 	list_add(&qe->node, head);
 	elevator_disable(q);
+unlock:
 	mutex_unlock(&q->sysfs_lock);
 
 	return true;
drivers/accel/qaic/qaic_control.c +25 -14
index 5c57f7b4494e..cfbc92da426f 100644
@@ -14,6 +14,7 @@
 #include <linux/mm.h>
 #include <linux/moduleparam.h>
 #include <linux/mutex.h>
+#include <linux/overflow.h>
 #include <linux/pci.h>
 #include <linux/scatterlist.h>
 #include <linux/types.h>
@@ -366,7 +367,7 @@ static int encode_passthrough(struct qaic_device *qdev, void *trans, struct wrap
 	if (in_trans->hdr.len % 8 != 0)
 		return -EINVAL;
 
-	if (msg_hdr_len + in_trans->hdr.len > QAIC_MANAGE_EXT_MSG_LENGTH)
+	if (size_add(msg_hdr_len, in_trans->hdr.len) > QAIC_MANAGE_EXT_MSG_LENGTH)
 		return -ENOSPC;
 
 	trans_wrapper = add_wrapper(wrappers,
@@ -418,9 +419,12 @@ static int find_and_map_user_pages(struct qaic_device *qdev,
 	}
 
 	ret = get_user_pages_fast(xfer_start_addr, nr_pages, 0, page_list);
-	if (ret < 0 || ret != nr_pages) {
-		ret = -EFAULT;
+	if (ret < 0)
 		goto free_page_list;
+	if (ret != nr_pages) {
+		nr_pages = ret;
+		ret = -EFAULT;
+		goto put_pages;
 	}
 
 	sgt = kmalloc(sizeof(*sgt), GFP_KERNEL);
@@ -557,11 +561,8 @@ static int encode_dma(struct qaic_device *qdev, void *trans, struct wrapper_list
 	msg = &wrapper->msg;
 	msg_hdr_len = le32_to_cpu(msg->hdr.len);
 
-	if (msg_hdr_len > (UINT_MAX - QAIC_MANAGE_EXT_MSG_LENGTH))
-		return -EINVAL;
-
 	/* There should be enough space to hold at least one ASP entry. */
-	if (msg_hdr_len + sizeof(*out_trans) + sizeof(struct wire_addr_size_pair) >
+	if (size_add(msg_hdr_len, sizeof(*out_trans) + sizeof(struct wire_addr_size_pair)) >
 	    QAIC_MANAGE_EXT_MSG_LENGTH)
 		return -ENOMEM;
 
@@ -634,7 +635,7 @@ static int encode_activate(struct qaic_device *qdev, void *trans, struct wrapper
 	msg = &wrapper->msg;
 	msg_hdr_len = le32_to_cpu(msg->hdr.len);
 
-	if (msg_hdr_len + sizeof(*out_trans) > QAIC_MANAGE_MAX_MSG_LENGTH)
+	if (size_add(msg_hdr_len, sizeof(*out_trans)) > QAIC_MANAGE_MAX_MSG_LENGTH)
 		return -ENOSPC;
 
 	if (!in_trans->queue_size)
@@ -718,7 +719,7 @@ static int encode_status(struct qaic_device *qdev, void *trans, struct wrapper_l
 	msg = &wrapper->msg;
 	msg_hdr_len = le32_to_cpu(msg->hdr.len);
 
-	if (msg_hdr_len + in_trans->hdr.len > QAIC_MANAGE_MAX_MSG_LENGTH)
+	if (size_add(msg_hdr_len, in_trans->hdr.len) > QAIC_MANAGE_MAX_MSG_LENGTH)
 		return -ENOSPC;
 
 	trans_wrapper = add_wrapper(wrappers, sizeof(*trans_wrapper));
@@ -748,7 +749,8 @@ static int encode_message(struct qaic_device *qdev, struct manage_msg *user_msg,
 	int ret;
 	int i;
 
-	if (!user_msg->count) {
+	if (!user_msg->count ||
+	    user_msg->len < sizeof(*trans_hdr)) {
 		ret = -EINVAL;
 		goto out;
 	}
@@ -765,12 +767,13 @@ static int encode_message(struct qaic_device *qdev, struct manage_msg *user_msg,
 	}
 
 	for (i = 0; i < user_msg->count; ++i) {
-		if (user_len >= user_msg->len) {
+		if (user_len > user_msg->len - sizeof(*trans_hdr)) {
 			ret = -EINVAL;
 			break;
 		}
 		trans_hdr = (struct qaic_manage_trans_hdr *)(user_msg->data + user_len);
-		if (user_len + trans_hdr->len > user_msg->len) {
+		if (trans_hdr->len < sizeof(trans_hdr) ||
+		    size_add(user_len, trans_hdr->len) > user_msg->len) {
 			ret = -EINVAL;
 			break;
 		}
@@ -953,15 +956,23 @@ static int decode_message(struct qaic_device *qdev, struct manage_msg *user_msg,
 	int ret;
 	int i;
 
-	if (msg_hdr_len > QAIC_MANAGE_MAX_MSG_LENGTH)
+	if (msg_hdr_len < sizeof(*trans_hdr) ||
+	    msg_hdr_len > QAIC_MANAGE_MAX_MSG_LENGTH)
 		return -EINVAL;
 
 	user_msg->len = 0;
 	user_msg->count = le32_to_cpu(msg->hdr.count);
 
 	for (i = 0; i < user_msg->count; ++i) {
+		u32 hdr_len;
+
+		if (msg_len > msg_hdr_len - sizeof(*trans_hdr))
+			return -EINVAL;
+
 		trans_hdr = (struct wire_trans_hdr *)(msg->data + msg_len);
-		if (msg_len + le32_to_cpu(trans_hdr->len) > msg_hdr_len)
+		hdr_len = le32_to_cpu(trans_hdr->len);
+		if (hdr_len < sizeof(*trans_hdr) ||
+		    size_add(msg_len, hdr_len) > msg_hdr_len)
 			return -EINVAL;
 
 		switch (le32_to_cpu(trans_hdr->type)) {
drivers/acpi/button.c +9 -0
index 475e1eddfa3b..ef77c14c72a9 100644
@@ -77,6 +77,15 @@ static const struct dmi_system_id dmi_lid_quirks[] = {
 		},
 		.driver_data = (void *)(long)ACPI_BUTTON_LID_INIT_DISABLED,
 	},
+	{
+		/* Nextbook Ares 8A tablet, _LID device always reports lid closed */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Insyde"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "CherryTrail"),
+			DMI_MATCH(DMI_BIOS_VERSION, "M882"),
+		},
+		.driver_data = (void *)(long)ACPI_BUTTON_LID_INIT_DISABLED,
+	},
 	{
 		/*
 		 * Lenovo Yoga 9 14ITL5, initial notification of the LID device
drivers/acpi/resource.c +0 -60

78 lines not on this page · raw message

drivers/acpi/video_detect.c +24 -0
index bcc25d457581..e7d04ab864a1 100644
@@ -470,6 +470,22 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
 		DMI_MATCH(DMI_PRODUCT_NAME, "82BK"),
 		},
 	},
+	{
+	 .callback = video_detect_force_native,
+	 /* Lenovo ThinkPad X131e (3371 AMD version) */
+	 .matches = {
+		DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+		DMI_MATCH(DMI_PRODUCT_NAME, "3371"),
+		},
+	},
+	{
+	 .callback = video_detect_force_native,
+	 /* Apple iMac11,3 */
+	 .matches = {
+		DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),
+		DMI_MATCH(DMI_PRODUCT_NAME, "iMac11,3"),
+		},
+	},
 	{
 	 /* https://bugzilla.redhat.com/show_bug.cgi?id=1217249 */
 	 .callback = video_detect_force_native,
@@ -512,6 +528,14 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
 		DMI_MATCH(DMI_PRODUCT_NAME, "Precision 7510"),
 		},
 	},
+	{
+	 .callback = video_detect_force_native,
+	 /* Dell Studio 1569 */
+	 .matches = {
+		DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+		DMI_MATCH(DMI_PRODUCT_NAME, "Studio 1569"),
+		},
+	},
 	{
 	 .callback = video_detect_force_native,
 	 /* Acer Aspire 3830TG */
drivers/acpi/x86/utils.c +21 -5
index 9c2d6f35f88a..c2b925f8cd4e 100644
@@ -259,10 +259,11 @@ bool force_storage_d3(void)
  * drivers/platform/x86/x86-android-tablets.c kernel module.
  */
 #define ACPI_QUIRK_SKIP_I2C_CLIENTS				BIT(0)
-#define ACPI_QUIRK_UART1_TTY_UART2_SKIP				BIT(1)
-#define ACPI_QUIRK_SKIP_ACPI_AC_AND_BATTERY			BIT(2)
-#define ACPI_QUIRK_USE_ACPI_AC_AND_BATTERY			BIT(3)
-#define ACPI_QUIRK_SKIP_GPIO_EVENT_HANDLERS			BIT(4)
+#define ACPI_QUIRK_UART1_SKIP					BIT(1)
+#define ACPI_QUIRK_UART1_TTY_UART2_SKIP				BIT(2)
+#define ACPI_QUIRK_SKIP_ACPI_AC_AND_BATTERY			BIT(3)
+#define ACPI_QUIRK_USE_ACPI_AC_AND_BATTERY			BIT(4)
+#define ACPI_QUIRK_SKIP_GPIO_EVENT_HANDLERS			BIT(5)
 
 static const struct dmi_system_id acpi_quirk_skip_dmi_ids[] = {
 	/*
@@ -319,6 +320,7 @@ static const struct dmi_system_id acpi_quirk_skip_dmi_ids[] = {
 			DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "YETI-11"),
 		},
 		.driver_data = (void *)(ACPI_QUIRK_SKIP_I2C_CLIENTS |
+					ACPI_QUIRK_UART1_SKIP |
 					ACPI_QUIRK_SKIP_ACPI_AC_AND_BATTERY |
 					ACPI_QUIRK_SKIP_GPIO_EVENT_HANDLERS),
 	},
@@ -365,7 +367,7 @@ static const struct dmi_system_id acpi_quirk_skip_dmi_ids[] = {
 					ACPI_QUIRK_SKIP_ACPI_AC_AND_BATTERY),
 	},
 	{
-		/* Nextbook Ares 8 */
+		/* Nextbook Ares 8 (BYT version)*/
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "Insyde"),
 			DMI_MATCH(DMI_PRODUCT_NAME, "M890BAP"),
@@ -374,6 +376,16 @@ static const struct dmi_system_id acpi_quirk_skip_dmi_ids[] = {
 					ACPI_QUIRK_SKIP_ACPI_AC_AND_BATTERY |
 					ACPI_QUIRK_SKIP_GPIO_EVENT_HANDLERS),
 	},
+	{
+		/* Nextbook Ares 8A (CHT version)*/
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Insyde"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "CherryTrail"),
+			DMI_MATCH(DMI_BIOS_VERSION, "M882"),
+		},
+		.driver_data = (void *)(ACPI_QUIRK_SKIP_I2C_CLIENTS |
+					ACPI_QUIRK_SKIP_ACPI_AC_AND_BATTERY),
+	},
 	{
 		/* Whitelabel (sold as various brands) TM800A550L */
 		.matches = {
@@ -392,6 +404,7 @@ static const struct dmi_system_id acpi_quirk_skip_dmi_ids[] = {
 #if IS_ENABLED(CONFIG_X86_ANDROID_TABLETS)
 static const struct acpi_device_id i2c_acpi_known_good_ids[] = {
 	{ "10EC5640", 0 }, /* RealTek ALC5640 audio codec */
+	{ "10EC5651", 0 }, /* RealTek ALC5651 audio codec */
 	{ "INT33F4", 0 },  /* X-Powers AXP288 PMIC */
 	{ "INT33FD", 0 },  /* Intel Crystal Cove PMIC */
 	{ "INT34D3", 0 },  /* Intel Whiskey Cove PMIC */
@@ -438,6 +451,9 @@ int acpi_quirk_skip_serdev_enumeration(struct device *controller_parent, bool *s
 	if (dmi_id)
 		quirks = (unsigned long)dmi_id->driver_data;
 
+	if ((quirks & ACPI_QUIRK_UART1_SKIP) && uid == 1)
+		*skip = true;
+
 	if (quirks & ACPI_QUIRK_UART1_TTY_UART2_SKIP) {
 		if (uid == 1)
 			return -ENODEV; /* Create tty cdev instead of serdev */
drivers/base/regmap/regmap-i2c.c +4 -4
index 980e5ce6a3a3..3ec611dc0c09 100644
@@ -242,8 +242,8 @@ static int regmap_i2c_smbus_i2c_read(void *context, const void *reg,
 static const struct regmap_bus regmap_i2c_smbus_i2c_block = {
 	.write = regmap_i2c_smbus_i2c_write,
 	.read = regmap_i2c_smbus_i2c_read,
-	.max_raw_read = I2C_SMBUS_BLOCK_MAX,
-	.max_raw_write = I2C_SMBUS_BLOCK_MAX,
+	.max_raw_read = I2C_SMBUS_BLOCK_MAX - 1,
+	.max_raw_write = I2C_SMBUS_BLOCK_MAX - 1,
 };
 
 static int regmap_i2c_smbus_i2c_write_reg16(void *context, const void *data,
@@ -299,8 +299,8 @@ static int regmap_i2c_smbus_i2c_read_reg16(void *context, const void *reg,
 static const struct regmap_bus regmap_i2c_smbus_i2c_block_reg16 = {
 	.write = regmap_i2c_smbus_i2c_write_reg16,
 	.read = regmap_i2c_smbus_i2c_read_reg16,
-	.max_raw_read = I2C_SMBUS_BLOCK_MAX,
-	.max_raw_write = I2C_SMBUS_BLOCK_MAX,
+	.max_raw_read = I2C_SMBUS_BLOCK_MAX - 2,
+	.max_raw_write = I2C_SMBUS_BLOCK_MAX - 2,
 };
 
 static const struct regmap_bus *regmap_get_i2c_bus(struct i2c_client *i2c,
drivers/base/regmap/regmap-spi-avmm.c +1 -1
index 6af692844c19..4c2b94b3e30b 100644
@@ -660,7 +660,7 @@ static const struct regmap_bus regmap_spi_avmm_bus = {
 	.reg_format_endian_default = REGMAP_ENDIAN_NATIVE,
 	.val_format_endian_default = REGMAP_ENDIAN_NATIVE,
 	.max_raw_read = SPI_AVMM_VAL_SIZE * MAX_READ_CNT,
-	.max_raw_write = SPI_AVMM_REG_SIZE + SPI_AVMM_VAL_SIZE * MAX_WRITE_CNT,
+	.max_raw_write = SPI_AVMM_VAL_SIZE * MAX_WRITE_CNT,
 	.free_context = spi_avmm_bridge_ctx_free,
 };
 
drivers/base/regmap/regmap.c +2 -4
index fa2d3fba6ac9..db7851f0e3b8 100644
@@ -2082,8 +2082,6 @@ int _regmap_raw_write(struct regmap *map, unsigned int reg,
 	size_t val_count = val_len / val_bytes;
 	size_t chunk_count, chunk_bytes;
 	size_t chunk_regs = val_count;
-	size_t max_data = map->max_raw_write - map->format.reg_bytes -
-			map->format.pad_bytes;
 	int ret, i;
 
 	if (!val_count)
@@ -2091,8 +2089,8 @@ int _regmap_raw_write(struct regmap *map, unsigned int reg,
 
 	if (map->use_single_write)
 		chunk_regs = 1;
-	else if (map->max_raw_write && val_len > max_data)
-		chunk_regs = max_data / val_bytes;
+	else if (map->max_raw_write && val_len > map->max_raw_write)
+		chunk_regs = map->max_raw_write / val_bytes;
 
 	chunk_count = val_count / chunk_regs;
 	chunk_bytes = chunk_regs * val_bytes;
drivers/bluetooth/btusb.c +1 -0
index 2a8e2bb038f5..50e23762ec5e 100644
@@ -4099,6 +4099,7 @@ static int btusb_probe(struct usb_interface *intf,
 	BT_DBG("intf %p id %p", intf, id);
 
 	if ((id->driver_info & BTUSB_IFNUM_2) &&
+	    (intf->cur_altsetting->desc.bInterfaceNumber != 0) &&
 	    (intf->cur_altsetting->desc.bInterfaceNumber != 2))
 		return -ENODEV;
 
drivers/dma-buf/dma-resv.c +9 -4
index 2a594b754af1..b630f2acc105 100644
@@ -571,6 +571,7 @@ int dma_resv_get_fences(struct dma_resv *obj, enum dma_resv_usage usage,
 	dma_resv_for_each_fence_unlocked(&cursor, fence) {
 
 		if (dma_resv_iter_is_restarted(&cursor)) {
+			struct dma_fence **new_fences;
 			unsigned int count;
 
 			while (*num_fences)
@@ -579,13 +580,17 @@ int dma_resv_get_fences(struct dma_resv *obj, enum dma_resv_usage usage,
 			count = cursor.num_fences + 1;
 
 			/* Eventually re-allocate the array */
-			*fences = krealloc_array(*fences, count,
-						 sizeof(void *),
-						 GFP_KERNEL);
-			if (count && !*fences) {
+			new_fences = krealloc_array(*fences, count,
+						    sizeof(void *),
+						    GFP_KERNEL);
+			if (count && !new_fences) {
+				kfree(*fences);
+				*fences = NULL;
+				*num_fences = 0;
 				dma_resv_iter_end(&cursor);
 				return -ENOMEM;
 			}
+			*fences = new_fences;
 		}
 
 		(*fences)[(*num_fences)++] = dma_fence_get(fence);
drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c +3 -2
index 53ff91fc6cf6..d0748bcfad16 100644
@@ -55,8 +55,9 @@ static enum hrtimer_restart amdgpu_vkms_vblank_simulate(struct hrtimer *timer)
 		DRM_WARN("%s: vblank timer overrun\n", __func__);
 
 	ret = drm_crtc_handle_vblank(crtc);
+	/* Don't queue timer again when vblank is disabled. */
 	if (!ret)
-		DRM_ERROR("amdgpu_vkms failure on handling vblank");
+		return HRTIMER_NORESTART;
 
 	return HRTIMER_RESTART;
 }
@@ -81,7 +82,7 @@ static void amdgpu_vkms_disable_vblank(struct drm_crtc *crtc)
 {
 	struct amdgpu_crtc *amdgpu_crtc = to_amdgpu_crtc(crtc);
 
-	hrtimer_cancel(&amdgpu_crtc->vblank_timer);
+	hrtimer_try_to_cancel(&amdgpu_crtc->vblank_timer);
 }
 
 static bool amdgpu_vkms_get_vblank_timestamp(struct drm_crtc *crtc,
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +104 -160

595 lines not on this page · raw message

drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h +7 -0
index 2e2413fd73a4..b91b902ab3c8 100644
@@ -194,6 +194,11 @@ struct hpd_rx_irq_offload_work_queue {
 	 * we're handling link loss
 	 */
 	bool is_handling_link_loss;
+	/**
+	 * @is_handling_mst_msg_rdy_event: Used to prevent inserting mst message
+	 * ready event when we're already handling mst message ready event
+	 */
+	bool is_handling_mst_msg_rdy_event;
 	/**
 	 * @aconnector: The aconnector that this work queue is attached to
 	 */
@@ -638,6 +643,8 @@ struct amdgpu_dm_connector {
 	struct drm_dp_mst_port *mst_output_port;
 	struct amdgpu_dm_connector *mst_root;
 	struct drm_dp_aux *dsc_aux;
+	struct mutex handle_mst_msg_ready;
+
 	/* TODO see if we can merge with ddc_bus or make a dm_connector */
 	struct amdgpu_i2c_adapter *i2c;
 
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c +12 -0
index 440fc0869a34..30d4c6fd95f5 100644
@@ -398,6 +398,18 @@ static int dm_crtc_helper_atomic_check(struct drm_crtc *crtc,
 		return -EINVAL;
 	}
 
+	/*
+	 * Only allow async flips for fast updates that don't change the FB
+	 * pitch, the DCC state, rotation, etc.
+	 */
+	if (crtc_state->async_flip &&
+	    dm_crtc_state->update_type != UPDATE_TYPE_FAST) {
+		drm_dbg_atomic(crtc->dev,
+			       "[CRTC:%d:%s] async flips are only supported for fast updates\n",
+			       crtc->base.id, crtc->name);
+		return -EINVAL;
+	}
+
 	/* In some use cases, like reset, no stream is attached */
 	if (!dm_crtc_state->stream)
 		return 0;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c +110 -0

118 lines not on this page · raw message

drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.h +11 -0
index 1e4ede1e57ab..37c820ab0fdb 100644
@@ -49,6 +49,13 @@
 #define PBN_FEC_OVERHEAD_MULTIPLIER_8B_10B	1031
 #define PBN_FEC_OVERHEAD_MULTIPLIER_128B_132B	1000
 
+enum mst_msg_ready_type {
+	NONE_MSG_RDY_EVENT = 0,
+	DOWN_REP_MSG_RDY_EVENT = 1,
+	UP_REQ_MSG_RDY_EVENT = 2,
+	DOWN_OR_UP_MSG_RDY_EVENT = 3
+};
+
 struct amdgpu_display_manager;
 struct amdgpu_dm_connector;
 
@@ -61,6 +68,10 @@ void amdgpu_dm_initialize_dp_connector(struct amdgpu_display_manager *dm,
 void
 dm_dp_create_fake_mst_encoders(struct amdgpu_device *adev);
 
+void dm_handle_mst_sideband_msg_ready_event(
+	struct drm_dp_mst_topology_mgr *mgr,
+	enum mst_msg_ready_type msg_rdy_type);
+
 struct dsc_mst_fairness_vars {
 	int pbn;
 	bool dsc_enabled;
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/dcn31_clk_mgr.c +5 -0
index f9e2e0c3095e..b686efa43c34 100644
@@ -87,6 +87,11 @@ static int dcn31_get_active_display_cnt_wa(
 				stream->signal == SIGNAL_TYPE_DVI_SINGLE_LINK ||
 				stream->signal == SIGNAL_TYPE_DVI_DUAL_LINK)
 			tmds_present = true;
+
+		/* Checking stream / link detection ensuring that PHY is active*/
+		if (dc_is_dp_signal(stream->signal) && !stream->dpms_off)
+			display_count++;
+
 	}
 
 	for (i = 0; i < dc->link_count; i++) {
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c +2 -1
index 1c3b6f25a782..6f56a35c0857 100644
@@ -3309,7 +3309,8 @@ void dcn10_wait_for_mpcc_disconnect(
 		if (pipe_ctx->stream_res.opp->mpcc_disconnect_pending[mpcc_inst]) {
 			struct hubp *hubp = get_hubp_by_inst(res_pool, mpcc_inst);
 
-			if (pipe_ctx->stream_res.tg->funcs->is_tg_enabled(pipe_ctx->stream_res.tg))
+			if (pipe_ctx->stream_res.tg &&
+				pipe_ctx->stream_res.tg->funcs->is_tg_enabled(pipe_ctx->stream_res.tg))
 				res_pool->mpc->funcs->wait_for_idle(res_pool->mpc, mpcc_inst);
 			pipe_ctx->stream_res.opp->mpcc_disconnect_pending[mpcc_inst] = false;
 			hubp->funcs->set_blank(hubp, true);
drivers/gpu/drm/amd/display/dc/dcn303/dcn303_resource.c +1 -1
index 7f72ef882ca4..21eea8d7bf7f 100644
@@ -65,7 +65,7 @@ static const struct dc_debug_options debug_defaults_drv = {
 		.timing_trace = false,
 		.clock_trace = true,
 		.disable_pplib_clock_request = true,
-		.pipe_split_policy = MPC_SPLIT_DYNAMIC,
+		.pipe_split_policy = MPC_SPLIT_AVOID,
 		.force_single_disp_pipe_split = false,
 		.disable_dcc = DCC_ENABLE,
 		.vsr_support = true,
drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c +6 -2
index 8fe2e1716da4..e22fc563b462 100644
@@ -1927,12 +1927,16 @@ static int sienna_cichlid_read_sensor(struct smu_context *smu,
 		*size = 4;
 		break;
 	case AMDGPU_PP_SENSOR_GFX_MCLK:
-		ret = sienna_cichlid_get_current_clk_freq_by_table(smu, SMU_UCLK, (uint32_t *)data);
+		ret = sienna_cichlid_get_smu_metrics_data(smu,
+							  METRICS_CURR_UCLK,
+							  (uint32_t *)data);
 		*(uint32_t *)data *= 100;
 		*size = 4;
 		break;
 	case AMDGPU_PP_SENSOR_GFX_SCLK:
-		ret = sienna_cichlid_get_current_clk_freq_by_table(smu, SMU_GFXCLK, (uint32_t *)data);
+		ret = sienna_cichlid_get_smu_metrics_data(smu,
+							  METRICS_AVERAGE_GFXCLK,
+							  (uint32_t *)data);
 		*(uint32_t *)data *= 100;
 		*size = 4;
 		break;
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c +1 -1
index aac72925db34..f53a09b02c38 100644
@@ -940,7 +940,7 @@ static int smu_v13_0_7_read_sensor(struct smu_context *smu,
 		break;
 	case AMDGPU_PP_SENSOR_GFX_MCLK:
 		ret = smu_v13_0_7_get_smu_metrics_data(smu,
-						       METRICS_AVERAGE_UCLK,
+						       METRICS_CURR_UCLK,
 						       (uint32_t *)data);
 		*(uint32_t *)data *= 100;
 		*size = 4;
drivers/gpu/drm/drm_client_modeset.c +6 -0
index 1b12a3c201a3..871e4e2129d6 100644
@@ -311,6 +311,9 @@ static bool drm_client_target_cloned(struct drm_device *dev,
 	can_clone = true;
 	dmt_mode = drm_mode_find_dmt(dev, 1024, 768, 60, false);
 
+	if (!dmt_mode)
+		goto fail;
+
 	for (i = 0; i < connector_count; i++) {
 		if (!enabled[i])
 			continue;
@@ -326,11 +329,13 @@ static bool drm_client_target_cloned(struct drm_device *dev,
 		if (!modes[i])
 			can_clone = false;
 	}
+	kfree(dmt_mode);
 
 	if (can_clone) {
 		DRM_DEBUG_KMS("can clone using 1024x768\n");
 		return true;
 	}
+fail:
 	DRM_INFO("kms: can't enable cloning when we probably wanted to.\n");
 	return false;
 }
@@ -862,6 +867,7 @@ int drm_client_modeset_probe(struct drm_client_dev *client, unsigned int width,
 				break;
 			}
 
+			kfree(modeset->mode);
 			modeset->mode = drm_mode_duplicate(dev, mode);
 			drm_connector_get(connector);
 			modeset->connectors[modeset->num_connectors++] = connector;
drivers/gpu/drm/i915/i915_perf.c +1 -0
index 3035cba2c6a2..d7caae281fb9 100644
@@ -4442,6 +4442,7 @@ static const struct i915_range mtl_oam_b_counters[] = {
 static const struct i915_range xehp_oa_b_counters[] = {
 	{ .start = 0xdc48, .end = 0xdc48 },	/* OAA_ENABLE_REG */
 	{ .start = 0xdd00, .end = 0xdd48 },	/* OAG_LCE0_0 - OAA_LENABLE_REG */
+	{}
 };
 
 static const struct i915_range gen7_oa_mux_regs[] = {
drivers/gpu/drm/nouveau/dispnv50/disp.c +4 -0
index 42e1665ba11a..1ecd3d63b108 100644
@@ -1873,6 +1873,8 @@ nv50_pior_destroy(struct drm_encoder *encoder)
 	nvif_outp_dtor(&nv_encoder->outp);
 
 	drm_encoder_cleanup(encoder);
+
+	mutex_destroy(&nv_encoder->dp.hpd_irq_lock);
 	kfree(encoder);
 }
 
@@ -1917,6 +1919,8 @@ nv50_pior_create(struct drm_connector *connector, struct dcb_output *dcbe)
 	nv_encoder->i2c = ddc;
 	nv_encoder->aux = aux;
 
+	mutex_init(&nv_encoder->dp.hpd_irq_lock);
+
 	encoder = to_drm_encoder(nv_encoder);
 	encoder->possible_crtcs = dcbe->heads;
 	encoder->possible_clones = 0;
drivers/gpu/drm/nouveau/include/nvkm/subdev/i2c.h +2 -2
index 40a1065ae626..ef441dfdea09 100644
@@ -16,7 +16,7 @@ struct nvkm_i2c_bus {
 	const struct nvkm_i2c_bus_func *func;
 	struct nvkm_i2c_pad *pad;
 #define NVKM_I2C_BUS_CCB(n) /* 'n' is ccb index */                           (n)
-#define NVKM_I2C_BUS_EXT(n) /* 'n' is dcb external encoder type */ ((n) + 0x100)
+#define NVKM_I2C_BUS_EXT(n) /* 'n' is dcb external encoder type */  ((n) + 0x10)
 #define NVKM_I2C_BUS_PRI /* ccb primary comm. port */                        -1
 #define NVKM_I2C_BUS_SEC /* ccb secondary comm. port */                      -2
 	int id;
@@ -38,7 +38,7 @@ struct nvkm_i2c_aux {
 	const struct nvkm_i2c_aux_func *func;
 	struct nvkm_i2c_pad *pad;
 #define NVKM_I2C_AUX_CCB(n) /* 'n' is ccb index */                           (n)
-#define NVKM_I2C_AUX_EXT(n) /* 'n' is dcb external encoder type */ ((n) + 0x100)
+#define NVKM_I2C_AUX_EXT(n) /* 'n' is dcb external encoder type */  ((n) + 0x10)
 	int id;
 
 	struct mutex mutex;
drivers/gpu/drm/nouveau/nvkm/engine/disp/uconn.c +18 -9
index dad942be6679..46b057fe1412 100644
@@ -81,20 +81,29 @@ nvkm_uconn_uevent(struct nvkm_object *object, void *argv, u32 argc, struct nvkm_
 		return -ENOSYS;
 
 	list_for_each_entry(outp, &conn->disp->outps, head) {
-		if (outp->info.connector == conn->index && outp->dp.aux) {
-			if (args->v0.types & NVIF_CONN_EVENT_V0_PLUG  ) bits |= NVKM_I2C_PLUG;
-			if (args->v0.types & NVIF_CONN_EVENT_V0_UNPLUG) bits |= NVKM_I2C_UNPLUG;
-			if (args->v0.types & NVIF_CONN_EVENT_V0_IRQ   ) bits |= NVKM_I2C_IRQ;
+		if (outp->info.connector == conn->index)
+			break;
+	}
 
-			return nvkm_uevent_add(uevent, &device->i2c->event, outp->dp.aux->id, bits,
-					       nvkm_uconn_uevent_aux);
-		}
+	if (&outp->head == &conn->disp->outps)
+		return -EINVAL;
+
+	if (outp->dp.aux && !outp->info.location) {
+		if (args->v0.types & NVIF_CONN_EVENT_V0_PLUG  ) bits |= NVKM_I2C_PLUG;
+		if (args->v0.types & NVIF_CONN_EVENT_V0_UNPLUG) bits |= NVKM_I2C_UNPLUG;
+		if (args->v0.types & NVIF_CONN_EVENT_V0_IRQ   ) bits |= NVKM_I2C_IRQ;
+
+		return nvkm_uevent_add(uevent, &device->i2c->event, outp->dp.aux->id, bits,
+				       nvkm_uconn_uevent_aux);
 	}
 
 	if (args->v0.types & NVIF_CONN_EVENT_V0_PLUG  ) bits |= NVKM_GPIO_HI;
 	if (args->v0.types & NVIF_CONN_EVENT_V0_UNPLUG) bits |= NVKM_GPIO_LO;
-	if (args->v0.types & NVIF_CONN_EVENT_V0_IRQ)
-		return -EINVAL;
+	if (args->v0.types & NVIF_CONN_EVENT_V0_IRQ) {
+		/* TODO: support DP IRQ on ANX9805 and remove this hack. */
+		if (!outp->info.location)
+			return -EINVAL;
+	}
 
 	return nvkm_uevent_add(uevent, &device->gpio->event, conn->info.hpd, bits,
 			       nvkm_uconn_uevent_gpio);
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c +9 -2
index 976539de4220..731b2f68d3db 100644
@@ -260,10 +260,11 @@ nvkm_i2c_new_(const struct nvkm_i2c_func *func, struct nvkm_device *device,
 {
 	struct nvkm_bios *bios = device->bios;
 	struct nvkm_i2c *i2c;
+	struct nvkm_i2c_aux *aux;
 	struct dcb_i2c_entry ccbE;
 	struct dcb_output dcbE;
 	u8 ver, hdr;
-	int ret, i;
+	int ret, i, ids;
 
 	if (!(i2c = *pi2c = kzalloc(sizeof(*i2c), GFP_KERNEL)))
 		return -ENOMEM;
@@ -406,5 +407,11 @@ nvkm_i2c_new_(const struct nvkm_i2c_func *func, struct nvkm_device *device,
 		}
 	}
 
-	return nvkm_event_init(&nvkm_i2c_intr_func, &i2c->subdev, 4, i, &i2c->event);
+	ids = 0;
+	list_for_each_entry(aux, &i2c->aux, head)
+		ids = max(ids, aux->id + 1);
+	if (!ids)
+		return 0;
+
+	return nvkm_event_init(&nvkm_i2c_intr_func, &i2c->subdev, 4, ids, &i2c->event);
 }
drivers/gpu/drm/radeon/radeon_cs.c +2 -1
index 46a27ebf4588..a6700d7278bf 100644
@@ -270,7 +270,8 @@ int radeon_cs_parser_init(struct radeon_cs_parser *p, void *data)
 {
 	struct drm_radeon_cs *cs = data;
 	uint64_t *chunk_array_ptr;
-	unsigned size, i;
+	u64 size;
+	unsigned i;
 	u32 ring = RADEON_CS_RING_GFX;
 	s32 priority = 0;
 
drivers/gpu/drm/ttm/ttm_resource.c +4 -1
index 7333f7a87a2f..46ff9c75bb12 100644
@@ -86,6 +86,8 @@ static void ttm_lru_bulk_move_pos_tail(struct ttm_lru_bulk_move_pos *pos,
 				       struct ttm_resource *res)
 {
 	if (pos->last != res) {
+		if (pos->first == res)
+			pos->first = list_next_entry(res, lru);
 		list_move(&res->lru, &pos->last->lru);
 		pos->last = res;
 	}
@@ -111,7 +113,8 @@ static void ttm_lru_bulk_move_del(struct ttm_lru_bulk_move *bulk,
 {
 	struct ttm_lru_bulk_move_pos *pos = ttm_lru_bulk_move_pos(bulk, res);
 
-	if (unlikely(pos->first == res && pos->last == res)) {
+	if (unlikely(WARN_ON(!pos->first || !pos->last) ||
+		     (pos->first == res && pos->last == res))) {
 		pos->first = NULL;
 		pos->last = NULL;
 	} else if (pos->first == res) {
drivers/hid/hid-ids.h +1 -0
index 5d29abac2300..55a436a6dde9 100644
@@ -620,6 +620,7 @@
 #define USB_DEVICE_ID_UGCI_FIGHTING	0x0030
 
 #define USB_VENDOR_ID_HP		0x03f0
+#define USB_PRODUCT_ID_HP_ELITE_PRESENTER_MOUSE_464A		0x464a
 #define USB_PRODUCT_ID_HP_LOGITECH_OEM_USB_OPTICAL_MOUSE_0A4A	0x0a4a
 #define USB_PRODUCT_ID_HP_LOGITECH_OEM_USB_OPTICAL_MOUSE_0B4A	0x0b4a
 #define USB_PRODUCT_ID_HP_PIXART_OEM_USB_OPTICAL_MOUSE		0x134a
drivers/hid/hid-quirks.c +1 -0
index 804fc03600cc..3983b4f282f8 100644
@@ -96,6 +96,7 @@ static const struct hid_device_id hid_quirks[] = {
 	{ HID_USB_DEVICE(USB_VENDOR_ID_HOLTEK_ALT, USB_DEVICE_ID_HOLTEK_ALT_KEYBOARD_A096), HID_QUIRK_NO_INIT_REPORTS },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_HOLTEK_ALT, USB_DEVICE_ID_HOLTEK_ALT_KEYBOARD_A293), HID_QUIRK_ALWAYS_POLL },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_HP, USB_PRODUCT_ID_HP_LOGITECH_OEM_USB_OPTICAL_MOUSE_0A4A), HID_QUIRK_ALWAYS_POLL },
+	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_HP, USB_PRODUCT_ID_HP_ELITE_PRESENTER_MOUSE_464A), HID_QUIRK_MULTI_INPUT },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_HP, USB_PRODUCT_ID_HP_LOGITECH_OEM_USB_OPTICAL_MOUSE_0B4A), HID_QUIRK_ALWAYS_POLL },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_HP, USB_PRODUCT_ID_HP_PIXART_OEM_USB_OPTICAL_MOUSE), HID_QUIRK_ALWAYS_POLL },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_HP, USB_PRODUCT_ID_HP_PIXART_OEM_USB_OPTICAL_MOUSE_094A), HID_QUIRK_ALWAYS_POLL },
drivers/iommu/iommu-sva.c +2 -1
index 3ebd4b6586b3..05c0fb2acbc4 100644
@@ -34,8 +34,9 @@ static int iommu_sva_alloc_pasid(struct mm_struct *mm, ioasid_t min, ioasid_t ma
 	}
 
 	ret = ida_alloc_range(&iommu_global_pasid_ida, min, max, GFP_KERNEL);
-	if (ret < min)
+	if (ret < 0)
 		goto out;
+
 	mm->pasid = ret;
 	ret = 0;
 out:
drivers/md/md.c +12 -2
index 350094f1cb09..18384251399a 100644
@@ -4807,11 +4807,21 @@ action_store(struct mddev *mddev, const char *page, size_t len)
 			return -EINVAL;
 		err = mddev_lock(mddev);
 		if (!err) {
-			if (test_bit(MD_RECOVERY_RUNNING, &mddev->recovery))
+			if (test_bit(MD_RECOVERY_RUNNING, &mddev->recovery)) {
 				err =  -EBUSY;
-			else {
+			} else if (mddev->reshape_position == MaxSector ||
+				   mddev->pers->check_reshape == NULL ||
+				   mddev->pers->check_reshape(mddev)) {
 				clear_bit(MD_RECOVERY_FROZEN, &mddev->recovery);
 				err = mddev->pers->start_reshape(mddev);
+			} else {
+				/*
+				 * If reshape is still in progress, and
+				 * md_check_recovery() can continue to reshape,
+				 * don't restart reshape because data can be
+				 * corrupted for raid456.
+				 */
+				clear_bit(MD_RECOVERY_FROZEN, &mddev->recovery);
 			}
 			mddev_unlock(mddev);
 		}
drivers/md/raid10.c +2 -0
index 9d2396349619..ee75b058438f 100644
@@ -920,6 +920,7 @@ static void flush_pending_writes(struct r10conf *conf)
 
 			raid1_submit_write(bio);
 			bio = next;
+			cond_resched();
 		}
 		blk_finish_plug(&plug);
 	} else
@@ -1132,6 +1133,7 @@ static void raid10_unplug(struct blk_plug_cb *cb, bool from_schedule)
 
 		raid1_submit_write(bio);
 		bio = next;
+		cond_resched();
 	}
 	kfree(plug);
 }
drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c +8 -2
index 68df6d4641b5..eebf967f4711 100644
@@ -227,6 +227,8 @@ static int
 __mcp251xfd_chip_set_mode(const struct mcp251xfd_priv *priv,
 			  const u8 mode_req, bool nowait)
 {
+	const struct can_bittiming *bt = &priv->can.bittiming;
+	unsigned long timeout_us = MCP251XFD_POLL_TIMEOUT_US;
 	u32 con = 0, con_reqop, osc = 0;
 	u8 mode;
 	int err;
@@ -246,12 +248,16 @@ __mcp251xfd_chip_set_mode(const struct mcp251xfd_priv *priv,
 	if (mode_req == MCP251XFD_REG_CON_MODE_SLEEP || nowait)
 		return 0;
 
+	if (bt->bitrate)
+		timeout_us = max_t(unsigned long, timeout_us,
+				   MCP251XFD_FRAME_LEN_MAX_BITS * USEC_PER_SEC /
+				   bt->bitrate);
+
 	err = regmap_read_poll_timeout(priv->map_reg, MCP251XFD_REG_CON, con,
 				       !mcp251xfd_reg_invalid(con) &&
 				       FIELD_GET(MCP251XFD_REG_CON_OPMOD_MASK,
 						 con) == mode_req,
-				       MCP251XFD_POLL_SLEEP_US,
-				       MCP251XFD_POLL_TIMEOUT_US);
+				       MCP251XFD_POLL_SLEEP_US, timeout_us);
 	if (err != -ETIMEDOUT && err != -EBADMSG)
 		return err;
 
drivers/net/can/spi/mcp251xfd/mcp251xfd.h +1 -0
index 7024ff0cc2c0..24510b3b8020 100644
@@ -387,6 +387,7 @@ static_assert(MCP251XFD_TIMESTAMP_WORK_DELAY_SEC <
 #define MCP251XFD_OSC_STAB_TIMEOUT_US (10 * MCP251XFD_OSC_STAB_SLEEP_US)
 #define MCP251XFD_POLL_SLEEP_US (10)
 #define MCP251XFD_POLL_TIMEOUT_US (USEC_PER_MSEC)
+#define MCP251XFD_FRAME_LEN_MAX_BITS (736)
 
 /* Misc */
 #define MCP251XFD_NAPI_WEIGHT 32
drivers/net/can/usb/gs_usb.c +74 -56

264 lines not on this page · raw message

drivers/net/dsa/microchip/ksz8795.c +7 -1
index f56fca1b1a22..cc5b19a3d0df 100644
@@ -506,7 +506,13 @@ static int ksz8_r_sta_mac_table(struct ksz_device *dev, u16 addr,
 		(data_hi & masks[STATIC_MAC_TABLE_FWD_PORTS]) >>
 			shifts[STATIC_MAC_FWD_PORTS];
 	alu->is_override = (data_hi & masks[STATIC_MAC_TABLE_OVERRIDE]) ? 1 : 0;
-	data_hi >>= 1;
+
+	/* KSZ8795 family switches have STATIC_MAC_TABLE_USE_FID and
+	 * STATIC_MAC_TABLE_FID definitions off by 1 when doing read on the
+	 * static MAC table compared to doing write.
+	 */
+	if (ksz_is_ksz87xx(dev))
+		data_hi >>= 1;
 	alu->is_static = true;
 	alu->is_use_fid = (data_hi & masks[STATIC_MAC_TABLE_USE_FID]) ? 1 : 0;
 	alu->fid = (data_hi & masks[STATIC_MAC_TABLE_FID]) >>
drivers/net/dsa/microchip/ksz_common.c +4 -4
index a4428be5f483..a0ba2605bb62 100644
@@ -331,13 +331,13 @@ static const u32 ksz8795_masks[] = {
 	[STATIC_MAC_TABLE_VALID]	= BIT(21),
 	[STATIC_MAC_TABLE_USE_FID]	= BIT(23),
 	[STATIC_MAC_TABLE_FID]		= GENMASK(30, 24),
-	[STATIC_MAC_TABLE_OVERRIDE]	= BIT(26),
-	[STATIC_MAC_TABLE_FWD_PORTS]	= GENMASK(24, 20),
+	[STATIC_MAC_TABLE_OVERRIDE]	= BIT(22),
+	[STATIC_MAC_TABLE_FWD_PORTS]	= GENMASK(20, 16),
 	[DYNAMIC_MAC_TABLE_ENTRIES_H]	= GENMASK(6, 0),
-	[DYNAMIC_MAC_TABLE_MAC_EMPTY]	= BIT(8),
+	[DYNAMIC_MAC_TABLE_MAC_EMPTY]	= BIT(7),
 	[DYNAMIC_MAC_TABLE_NOT_READY]	= BIT(7),
 	[DYNAMIC_MAC_TABLE_ENTRIES]	= GENMASK(31, 29),
-	[DYNAMIC_MAC_TABLE_FID]		= GENMASK(26, 20),
+	[DYNAMIC_MAC_TABLE_FID]		= GENMASK(22, 16),
 	[DYNAMIC_MAC_TABLE_SRC_PORT]	= GENMASK(26, 24),
 	[DYNAMIC_MAC_TABLE_TIMESTAMP]	= GENMASK(28, 27),
 	[P_MII_TX_FLOW_CTRL]		= BIT(5),
drivers/net/dsa/microchip/ksz_common.h +7 -0
index 8abecaf6089e..33d9a2f6af27 100644
@@ -569,6 +569,13 @@ static inline void ksz_regmap_unlock(void *__mtx)
 	mutex_unlock(mtx);
 }
 
+static inline bool ksz_is_ksz87xx(struct ksz_device *dev)
+{
+	return dev->chip_id == KSZ8795_CHIP_ID ||
+	       dev->chip_id == KSZ8794_CHIP_ID ||
+	       dev->chip_id == KSZ8765_CHIP_ID;
+}
+
 static inline bool ksz_is_ksz88x3(struct ksz_device *dev)
 {
 	return dev->chip_id == KSZ8830_CHIP_ID;
drivers/net/dsa/mv88e6xxx/chip.c +7 -0
index 08a46ffd53af..642e93e8623e 100644
@@ -109,6 +109,13 @@ int mv88e6xxx_wait_mask(struct mv88e6xxx_chip *chip, int addr, int reg,
 			usleep_range(1000, 2000);
 	}
 
+	err = mv88e6xxx_read(chip, addr, reg, &data);
+	if (err)
+		return err;
+
+	if ((data & mask) == val)
+		return 0;
+
 	dev_err(chip->dev, "Timeout while waiting for switch\n");
 	return -ETIMEDOUT;
 }
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c +24 -7
index d385ffc21876..32bb14303473 100644
@@ -438,19 +438,36 @@ static void hns3_dbg_fill_content(char *content, u16 len,
 				  const struct hns3_dbg_item *items,
 				  const char **result, u16 size)
 {
+#define HNS3_DBG_LINE_END_LEN	2
 	char *pos = content;
+	u16 item_len;
 	u16 i;
 
+	if (!len) {
+		return;
+	} else if (len <= HNS3_DBG_LINE_END_LEN) {
+		*pos++ = '\0';
+		return;
+	}
+
 	memset(content, ' ', len);
-	for (i = 0; i < size; i++) {
-		if (result)
-			strncpy(pos, result[i], strlen(result[i]));
-		else
-			strncpy(pos, items[i].name, strlen(items[i].name));
+	len -= HNS3_DBG_LINE_END_LEN;
 
-		pos += strlen(items[i].name) + items[i].interval;
+	for (i = 0; i < size; i++) {
+		item_len = strlen(items[i].name) + items[i].interval;
+		if (len < item_len)
+			break;
+
+		if (result) {
+			if (item_len < strlen(result[i]))
+				break;
+			strscpy(pos, result[i], strlen(result[i]));
+		} else {
+			strscpy(pos, items[i].name, strlen(items[i].name));
+		}
+		pos += item_len;
+		len -= item_len;
 	}
-
 	*pos++ = '\n';
 	*pos++ = '\0';
 }
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c +24 -5
index a0b46e7d863e..233c132dc513 100644
@@ -88,16 +88,35 @@ static void hclge_dbg_fill_content(char *content, u16 len,
 				   const struct hclge_dbg_item *items,
 				   const char **result, u16 size)
 {
+#define HCLGE_DBG_LINE_END_LEN	2
 	char *pos = content;
+	u16 item_len;
 	u16 i;
 
+	if (!len) {
+		return;
+	} else if (len <= HCLGE_DBG_LINE_END_LEN) {
+		*pos++ = '\0';
+		return;
+	}
+
 	memset(content, ' ', len);
+	len -= HCLGE_DBG_LINE_END_LEN;
+
 	for (i = 0; i < size; i++) {
-		if (result)
-			strncpy(pos, result[i], strlen(result[i]));
-		else
-			strncpy(pos, items[i].name, strlen(items[i].name));
-		pos += strlen(items[i].name) + items[i].interval;
+		item_len = strlen(items[i].name) + items[i].interval;
+		if (len < item_len)
+			break;
+
+		if (result) {
+			if (item_len < strlen(result[i]))
+				break;
+			strscpy(pos, result[i], strlen(result[i]));
+		} else {
+			strscpy(pos, items[i].name, strlen(items[i].name));
+		}
+		pos += item_len;
+		len -= item_len;
 	}
 	*pos++ = '\n';
 	*pos++ = '\0';
drivers/net/ethernet/intel/iavf/iavf.h +5 -11
index 39d0fe76a38f..8cbdebc5b698 100644
@@ -255,8 +255,10 @@ struct iavf_adapter {
 	struct workqueue_struct *wq;
 	struct work_struct reset_task;
 	struct work_struct adminq_task;
+	struct work_struct finish_config;
 	struct delayed_work client_task;
 	wait_queue_head_t down_waitqueue;
+	wait_queue_head_t reset_waitqueue;
 	wait_queue_head_t vc_waitqueue;
 	struct iavf_q_vector *q_vectors;
 	struct list_head vlan_filter_list;
@@ -518,14 +520,12 @@ int iavf_up(struct iavf_adapter *adapter);
 void iavf_down(struct iavf_adapter *adapter);
 int iavf_process_config(struct iavf_adapter *adapter);
 int iavf_parse_vf_resource_msg(struct iavf_adapter *adapter);
-void iavf_schedule_reset(struct iavf_adapter *adapter);
+void iavf_schedule_reset(struct iavf_adapter *adapter, u64 flags);
 void iavf_schedule_request_stats(struct iavf_adapter *adapter);
+void iavf_schedule_finish_config(struct iavf_adapter *adapter);
 void iavf_reset(struct iavf_adapter *adapter);
 void iavf_set_ethtool_ops(struct net_device *netdev);
 void iavf_update_stats(struct iavf_adapter *adapter);
-void iavf_reset_interrupt_capability(struct iavf_adapter *adapter);
-int iavf_init_interrupt_scheme(struct iavf_adapter *adapter);
-void iavf_irq_enable_queues(struct iavf_adapter *adapter);
 void iavf_free_all_tx_resources(struct iavf_adapter *adapter);
 void iavf_free_all_rx_resources(struct iavf_adapter *adapter);
 
@@ -579,17 +579,11 @@ void iavf_enable_vlan_stripping_v2(struct iavf_adapter *adapter, u16 tpid);
 void iavf_disable_vlan_stripping_v2(struct iavf_adapter *adapter, u16 tpid);
 void iavf_enable_vlan_insertion_v2(struct iavf_adapter *adapter, u16 tpid);
 void iavf_disable_vlan_insertion_v2(struct iavf_adapter *adapter, u16 tpid);
-int iavf_replace_primary_mac(struct iavf_adapter *adapter,
-			     const u8 *new_mac);
-void
-iavf_set_vlan_offload_features(struct iavf_adapter *adapter,
-			       netdev_features_t prev_features,
-			       netdev_features_t features);
 void iavf_add_fdir_filter(struct iavf_adapter *adapter);
 void iavf_del_fdir_filter(struct iavf_adapter *adapter);
 void iavf_add_adv_rss_cfg(struct iavf_adapter *adapter);
 void iavf_del_adv_rss_cfg(struct iavf_adapter *adapter);
 struct iavf_mac_filter *iavf_add_filter(struct iavf_adapter *adapter,
 					const u8 *macaddr);
-int iavf_lock_timeout(struct mutex *lock, unsigned int msecs);
+int iavf_wait_for_reset(struct iavf_adapter *adapter);
 #endif /* _IAVF_H_ */
drivers/net/ethernet/intel/iavf/iavf_ethtool.c +18 -21
index 6f171d1d85b7..2f47cfa7f06e 100644
@@ -484,6 +484,7 @@ static int iavf_set_priv_flags(struct net_device *netdev, u32 flags)
 {
 	struct iavf_adapter *adapter = netdev_priv(netdev);
 	u32 orig_flags, new_flags, changed_flags;
+	int ret = 0;
 	u32 i;
 
 	orig_flags = READ_ONCE(adapter->flags);
@@ -531,12 +532,14 @@ static int iavf_set_priv_flags(struct net_device *netdev, u32 flags)
 	/* issue a reset to force legacy-rx change to take effect */
 	if (changed_flags & IAVF_FLAG_LEGACY_RX) {
 		if (netif_running(netdev)) {
-			adapter->flags |= IAVF_FLAG_RESET_NEEDED;
-			queue_work(adapter->wq, &adapter->reset_task);
+			iavf_schedule_reset(adapter, IAVF_FLAG_RESET_NEEDED);
+			ret = iavf_wait_for_reset(adapter);
+			if (ret)
+				netdev_warn(netdev, "Changing private flags timeout or interrupted waiting for reset");
 		}
 	}
 
-	return 0;
+	return ret;
 }
 
 /**
@@ -627,6 +630,7 @@ static int iavf_set_ringparam(struct net_device *netdev,
 {
 	struct iavf_adapter *adapter = netdev_priv(netdev);
 	u32 new_rx_count, new_tx_count;
+	int ret = 0;
 
 	if ((ring->rx_mini_pending) || (ring->rx_jumbo_pending))
 		return -EINVAL;
@@ -671,11 +675,13 @@ static int iavf_set_ringparam(struct net_device *netdev,
 	}
 
 	if (netif_running(netdev)) {
-		adapter->flags |= IAVF_FLAG_RESET_NEEDED;
-		queue_work(adapter->wq, &adapter->reset_task);
+		iavf_schedule_reset(adapter, IAVF_FLAG_RESET_NEEDED);
+		ret = iavf_wait_for_reset(adapter);
+		if (ret)
+			netdev_warn(netdev, "Changing ring parameters timeout or interrupted waiting for reset");
 	}
 
-	return 0;
+	return ret;
 }
 
 /**
@@ -1830,7 +1836,7 @@ static int iavf_set_channels(struct net_device *netdev,
 {
 	struct iavf_adapter *adapter = netdev_priv(netdev);
 	u32 num_req = ch->combined_count;
-	int i;
+	int ret = 0;
 
 	if ((adapter->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_ADQ) &&
 	    adapter->num_tc) {
@@ -1852,22 +1858,13 @@ static int iavf_set_channels(struct net_device *netdev,
 
 	adapter->num_req_queues = num_req;
 	adapter->flags |= IAVF_FLAG_REINIT_ITR_NEEDED;
-	iavf_schedule_reset(adapter);
+	iavf_schedule_reset(adapter, IAVF_FLAG_RESET_NEEDED);
 
-	/* wait for the reset is done */
-	for (i = 0; i < IAVF_RESET_WAIT_COMPLETE_COUNT; i++) {
-		msleep(IAVF_RESET_WAIT_MS);
-		if (adapter->flags & IAVF_FLAG_RESET_PENDING)
-			continue;
-		break;
-	}
-	if (i == IAVF_RESET_WAIT_COMPLETE_COUNT) {
-		adapter->flags &= ~IAVF_FLAG_REINIT_ITR_NEEDED;
-		adapter->num_active_queues = num_req;
-		return -EOPNOTSUPP;
-	}
+	ret = iavf_wait_for_reset(adapter);
+	if (ret)
+		netdev_warn(netdev, "Changing channel count timeout or interrupted waiting for reset");
 
-	return 0;
+	return ret;
 }
 
 /**
drivers/net/ethernet/intel/iavf/iavf_main.c +155 -68

429 lines not on this page · raw message

drivers/net/ethernet/intel/iavf/iavf_txrx.c +21 -22

73 lines not on this page · raw message

drivers/net/ethernet/intel/iavf/iavf_txrx.h +0 -4
index 2624bf6d009e..7e6ee32d19b6 100644
@@ -442,15 +442,11 @@ static inline unsigned int iavf_rx_pg_order(struct iavf_ring *ring)
 
 bool iavf_alloc_rx_buffers(struct iavf_ring *rxr, u16 cleaned_count);
 netdev_tx_t iavf_xmit_frame(struct sk_buff *skb, struct net_device *netdev);
-void iavf_clean_tx_ring(struct iavf_ring *tx_ring);
-void iavf_clean_rx_ring(struct iavf_ring *rx_ring);
 int iavf_setup_tx_descriptors(struct iavf_ring *tx_ring);
 int iavf_setup_rx_descriptors(struct iavf_ring *rx_ring);
 void iavf_free_tx_resources(struct iavf_ring *tx_ring);
 void iavf_free_rx_resources(struct iavf_ring *rx_ring);
 int iavf_napi_poll(struct napi_struct *napi, int budget);
-void iavf_force_wb(struct iavf_vsi *vsi, struct iavf_q_vector *q_vector);
-u32 iavf_get_tx_pending(struct iavf_ring *ring, bool in_sw);
 void iavf_detect_recover_hung(struct iavf_vsi *vsi);
 int __iavf_maybe_stop_tx(struct iavf_ring *tx_ring, int size);
 bool __iavf_chk_linearize(struct sk_buff *skb);
drivers/net/ethernet/intel/iavf/iavf_virtchnl.c +3 -2
index 7c0578b5457b..be3c007ce90a 100644
@@ -1961,9 +1961,8 @@ void iavf_virtchnl_completion(struct iavf_adapter *adapter,
 		case VIRTCHNL_EVENT_RESET_IMPENDING:
 			dev_info(&adapter->pdev->dev, "Reset indication received from the PF\n");
 			if (!(adapter->flags & IAVF_FLAG_RESET_PENDING)) {
-				adapter->flags |= IAVF_FLAG_RESET_PENDING;
 				dev_info(&adapter->pdev->dev, "Scheduling reset task\n");
-				queue_work(adapter->wq, &adapter->reset_task);
+				iavf_schedule_reset(adapter, IAVF_FLAG_RESET_PENDING);
 			}
 			break;
 		default:
@@ -2237,6 +2236,7 @@ void iavf_virtchnl_completion(struct iavf_adapter *adapter,
 
 		iavf_process_config(adapter);
 		adapter->flags |= IAVF_FLAG_SETUP_NETDEV_FEATURES;
+		iavf_schedule_finish_config(adapter);
 
[… more lines in the raw message]

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

drivers/net/ethernet/intel/ice/ice_base.c +2 -0
index 1911d644dfa8..619cb07a4069 100644

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

drivers/net/ethernet/intel/ice/ice_ethtool.c +11 -2
index f86e814354a3..ec4138e684bd 100644

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

drivers/net/ethernet/intel/ice/ice_lib.c +0 -27
index 11ae0e41f518..284a1f0bfdb5 100644

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

drivers/net/ethernet/intel/ice/ice_main.c +8 -2
index 1277e0a044ee..fbe70458fda2 100644

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

drivers/net/ethernet/intel/igb/igb_main.c +5 -0
index bb3db387d49c..ba5e1d1320f6 100644

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

drivers/net/ethernet/intel/igc/igc_main.c +10 -2
index 44aa4342cbbb..496a4eb687b0 100644

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

drivers/net/ethernet/litex/litex_liteeth.c +15 -4
index 35f24e0f0934..ffa96059079c 100644

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

drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c +3 -2
index 18284ad75157..384d26bee9b2 100644

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

drivers/net/ethernet/mediatek/mtk_eth_soc.c +11 -18
index 834c644b67db..2d15342c260a 100644

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

drivers/net/ethernet/mediatek/mtk_ppe_debugfs.c +1 -1
index 316fe2e70fea..1a97feca77f2 100644

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

drivers/net/ethernet/realtek/r8169_main.c +8 -10
index 4b19803a7dd0..b69122686407 100644

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

drivers/net/ethernet/ti/cpsw_ale.c +19 -5
index 0c5e783e574c..64bf22cd860c 100644

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

drivers/net/phy/phy_device.c +14 -7
index 53598210be6c..2c4e6de8f4d9 100644

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

drivers/net/vrf.c +6 -6
index bdb3a76a352e..6043e63b42f9 100644

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

drivers/net/wireless/ath/ath11k/core.c +40 -13

53 lines not on this page · raw message

drivers/net/wireless/ath/ath11k/mac.c +2 -1
index 1c93f1afccc5..01ff197b017f 100644

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

drivers/net/wireless/ath/ath11k/wmi.c +5 -0
index d0b59bc2905a..42d9b29623a4 100644

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

drivers/net/wireless/ath/ath12k/mac.c +1 -0
index ee792822b411..58acfe8fdf8c 100644

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

drivers/net/wireless/intel/iwlwifi/mvm/mld-key.c +7 -2
index 8853821b3716..1e659bd07392 100644

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

drivers/net/wireless/intel/iwlwifi/mvm/power.c +8 -6
index ac1dae52556f..19839cc44eb3 100644

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

drivers/net/wireless/intel/iwlwifi/mvm/sta.c +1 -1
index b85e363544f8..7f9a809dd081 100644

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

drivers/net/wireless/intel/iwlwifi/pcie/drv.c +4 -0
index 79115eb1c285..e086664a4eac 100644

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

drivers/net/wireless/realtek/rtw88/sdio.c +21 -3
index 06fce7c3adda..2c1fb2dabd40 100644

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

drivers/net/wireless/virtual/mac80211_hwsim.c +2 -2
index 89c7a1420381..ed5af6302597 100644

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

drivers/of/platform.c +1 -1
index 78ae84187449..e46482cef9c7 100644

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

drivers/pinctrl/renesas/pinctrl-rzg2l.c +20 -8
index 9511d920565e..b53d26167da5 100644

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

drivers/pinctrl/renesas/pinctrl-rzv2m.c +20 -8
index e5472293bc7f..35b23c1a5684 100644

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

drivers/regulator/da9063-regulator.c +3 -0
index c5dd77be558b..dfd5ec9f75c9 100644

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

drivers/s390/crypto/zcrypt_msgtype6.c +24 -11
index 9eb515373700..f7fb6836eaaa 100644

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

drivers/scsi/sg.c +10 -0
index 037f8c98a6d3..3c766a9ade38 100644

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

drivers/spi/spi-bcm63xx.c +1 -1
index 9aecb77c3d89..07b5b71b2352 100644

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

drivers/spi/spi-cadence-quadspi.c +19 -0
index 32449bef4415..abf10f92415d 100644

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

drivers/spi/spi-dw-mmio.c +22 -0
index 15f5e9cb54ad..a963bc96c223 100644

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

drivers/spi/spi-s3c64xx.c +2 -0
index 7ac17f0d18a9..1a8b31e20baf 100644

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

drivers/video/fbdev/au1200fb.c +3 -0
index aed88ce45bf0..d8f085d4ede3 100644

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

drivers/video/fbdev/imxfb.c +2 -3
index adf36690c342..c8b1c73412d3 100644

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

fs/btrfs/block-group.c +1 -0
index e2b344847649..152b3ec91159 100644

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

fs/btrfs/ctree.c +7 -3
index 4912d624ca3d..886e661a218f 100644

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

fs/btrfs/disk-io.c +3 -0
index fc59eb402443..795b30913c54 100644

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

fs/btrfs/extent_io.c +1 -32
index e3ae55d8bae1..a37a6587efaf 100644

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

fs/btrfs/inode.c +22 -13
index 2e6eed4b1b3c..c89071186388 100644

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

fs/btrfs/qgroup.c +1 -0
index f8735b31da16..360bf2522a87 100644

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

fs/btrfs/raid56.c +3 -8
index 2fab37f062de..fd2cd30aeb0d 100644

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

fs/btrfs/volumes.c +6 -11
index 72a838c97534..436e15e3759d 100644

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

fs/erofs/zdata.c +1 -1
index 997ca4b32e87..4a1c238600c5 100644

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

fs/ext4/xattr.c +14 -0
index 321e3a888c20..05151d61b00b 100644

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

fs/fuse/dir.c +1 -1
index 35bc174f9ba2..49c3e9620726 100644

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

fs/fuse/inode.c +6 -2
index d66070af145d..f19d748890f0 100644

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

fs/fuse/ioctl.c +13 -8
index 8e01bfdfc430..726640fa439e 100644

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

fs/jbd2/checkpoint.c +29 -73

102 lines not on this page · raw message

fs/jfs/jfs_dmap.c +3 -0
index da6a2bc6bf02..bd4ef43b0203 100644

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

fs/jfs/jfs_txnmgr.c +5 -0
index ffd4feece078..ce4b4760fcb1 100644

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

fs/jfs/namei.c +5 -0
index b29d68b5eec5..f370c7605120 100644

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

fs/overlayfs/ovl_entry.h +9 -0
index fd11fe6d6d45..6b9f7917fc1b 100644

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

fs/quota/dquot.c +3 -2
index ffd40dc3e4e9..e3e4f4047657 100644

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

fs/smb/client/connect.c +15 -4
index d9f0b3b94f00..853209268f50 100644

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

fs/smb/client/dfs.c +10 -16
index 26d14dd0482e..cf83617236d8 100644

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

fs/smb/client/smb2transport.c +1 -1
index 22954a9c7a6c..355e8700530f 100644

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

fs/udf/unicode.c +1 -1
index 622569007b53..2142cbd1dde2 100644

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

include/kvm/arm_vgic.h +1 -1
index 402b545959af..5b27f94d4fad 100644

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

include/linux/psi.h +3 -2
index ab26200c2803..e0745873e3f2 100644

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

include/linux/psi_types.h +3 -0
index 040c089581c6..f1fd3a8044e0 100644

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

include/linux/sched/signal.h +1 -1
index 20099268fa25..669e8cff40c7 100644

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

include/linux/tcp.h +1 -1
index b4c08ac86983..91a37c99ba66 100644

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

include/net/bluetooth/hci_core.h +5 -0
index 9654567cfae3..870b6d3c5146 100644

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

include/net/ip.h +1 -1
index acec504c469a..83a1a9bc3ceb 100644

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

include/net/tcp.h +24 -7
index 5066e4586cf0..182337a8cf94 100644

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

include/uapi/linux/fuse.h +3 -0
index 1b9d0dfae72d..b3fcab13fcd3 100644

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

io_uring/io_uring.c +25 -25

50 lines not on this page · raw message

kernel/bpf/bpf_lru_list.c +13 -8
index d99e89f113c4..3dabdd137d10 100644

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

kernel/bpf/bpf_lru_list.h +2 -5
index 4ea227c9c1ad..8f3c8b2b4490 100644

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

kernel/bpf/btf.c +10 -9
index 25ca17a8e196..8b4e92439d1d 100644

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

kernel/bpf/log.c +0 -3
index 046ddff37a76..850494423530 100644

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

kernel/bpf/syscall.c +2 -1
index f1c8733f76b8..5524fcf6fb2a 100644

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

kernel/bpf/verifier.c +25 -7
index aac31e33323b..4fbfe1d08646 100644

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

kernel/cgroup/cgroup.c +1 -1
index 4d42f0cbc11e..3299ec69ce0d 100644

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

kernel/kallsyms.c +2 -3
index 77747391f49b..4874508bb950 100644

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

kernel/rcu/tasks.h +4 -1
index 8f08c087142b..9b9ce09f8f35 100644

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

kernel/rcu/tree_exp.h +1 -1
index 3b7abb58157d..8239b39d945b 100644

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

kernel/rcu/tree_plugin.h +3 -1
index 7b0fe741a088..41021080ad25 100644

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

kernel/sched/fair.c +2 -2
index 4da5f3541762..dacb56d7e914 100644

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

kernel/sched/psi.c +21 -8
index e072f6b31bf3..80d8c10e9363 100644

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

kernel/sys.c +5 -5
index 339fee3eff6a..a36a27ebac33 100644

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

kernel/time/posix-timers.c +18 -13
index ed3c4a954398..2d6cf93ca370 100644

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

kernel/trace/trace_events_hist.c +2 -1
index c8c61381eba4..d06938ae0717 100644

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

lib/iov_iter.c +1 -1
index 960223ed9199..061cc3ed58f5 100644

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

lib/maple_tree.c +2 -1
index 35264f1936a3..bb28a49d173c 100644

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

mm/mlock.c +5 -4
index 40b43f8740df..39e03a37f0a9 100644

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

net/bluetooth/hci_conn.c +7 -7
index 2275e0d9f841..31c115b225e7 100644

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

net/bluetooth/hci_core.c +34 -8

42 lines not on this page · raw message

net/bluetooth/hci_event.c +9 -6
index 21e26d3b286c..cb0b5fe7a6f8 100644

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

net/bluetooth/hci_sync.c +106 -11

117 lines not on this page · raw message

net/bluetooth/iso.c +31 -22

53 lines not on this page · raw message

net/bluetooth/mgmt.c +11 -15
index f7b2d0971f24..1e07d0f28972 100644

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

net/bluetooth/sco.c +12 -11
index cd1a27ac555d..7762604ddfc0 100644

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

net/bridge/br_stp_if.c +3 -0
index 75204d36d7f9..b65962682771 100644

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

net/can/bcm.c +6 -6
index a962ec2b8ba5..925d48cc50f8 100644

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

net/devlink/health.c +1 -1
index 0839706d5741..194340a8bb86 100644

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

net/devlink/leftover.c +4 -1
index cd0254968076..790e61b2a940 100644

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

net/ipv4/esp4.c +1 -1
index ba06ed42e428..2be2d4922557 100644

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

net/ipv4/inet_connection_sock.c +1 -1
index 1386787eaf1a..3105a676eba7 100644

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

net/ipv4/inet_hashtables.c +2 -15
index e7391bf310a7..0819d6001b9a 100644

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

net/ipv4/inet_timewait_sock.c +4 -4
index 40052414c7c7..2c1b245dba8e 100644

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

net/ipv4/ip_output.c +3 -1
index 61892268e8a6..a1bead441026 100644

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

net/ipv4/tcp.c +30 -27

57 lines not on this page · raw message

net/ipv4/tcp_fastopen.c +4 -2
index 45cc7f1ca296..85e4953f1182 100644

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

net/ipv4/tcp_ipv4.c +16 -11
index 06d2573685ca..f37d13ee7b4c 100644

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

net/ipv4/tcp_minisocks.c +7 -4
index dac0d62120e6..62641d42b06b 100644

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

net/ipv4/tcp_output.c +3 -3
index cfe128b81a01..518cb4abc8b4 100644

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

net/ipv4/udp_offload.c +11 -5
index 1f01e15ca24f..4a61832e7f69 100644

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

net/ipv6/ip6_gre.c +2 -1
index da80974ad23a..070d87abf7c0 100644

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

net/ipv6/tcp_ipv6.c +2 -2
index 7132eb213a7a..f7c248a7f8d1 100644

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

net/ipv6/udp_offload.c +1 -2
index c39c1e32f980..e0e10f6bcdc1 100644

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

net/llc/llc_input.c +0 -3
index c309b72a5877..7cac441862e2 100644

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

net/netfilter/nf_tables_api.c +10 -2
index 18546f9b2a63..ccf0b3d80fd9 100644

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

net/netfilter/nft_set_pipapo.c +5 -1
index 0452ee586c1c..a81829c10fea 100644

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

net/sched/cls_bpf.c +47 -52

99 lines not on this page · raw message

net/sched/cls_matchall.c +12 -23
index fa3bbd187eb9..c4ed11df6254 100644

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

net/sched/cls_u32.c +37 -11

48 lines not on this page · raw message

net/wireless/wext-core.c +6 -0
index a125fd1fa134..a161c64d1765 100644

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

scripts/Makefile.build +4 -1
index 9f94fc83f086..5f4a0228543a 100644

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

scripts/Makefile.host +5 -1
index 7aea9005e497..8f7f842b54f9 100644

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

scripts/kallsyms.c +3 -3
index 0d2db41177b2..13af6d0ff845 100644

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

security/keys/request_key.c +24 -11
index 07a0ef2baacd..a7673ad86d18 100644

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

security/keys/trusted-keys/trusted_tpm2.c +1 -1
index 2b2c8eb258d5..bc700f85f80b 100644

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

sound/pci/emu10k1/emufx.c +9 -103

112 lines not on this page · raw message

sound/pci/hda/patch_realtek.c +88 -12

100 lines not on this page · raw message

sound/soc/amd/acp/amd.h +4 -3
index 5f2119f42271..12a176a50fd6 100644

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

sound/soc/codecs/Kconfig +1 -0
index 8020097d4e4c..1b50b2d66beb 100644

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

sound/soc/codecs/cs42l51-i2c.c +6 -0
index 85238339fbca..b2085ff4b322 100644

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

sound/soc/codecs/cs42l51.c +0 -7
index e88d9ff95cdf..4b832d52f643 100644

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

sound/soc/codecs/cs42l51.h +0 -1
index a79343e8a54e..125703ede113 100644

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

sound/soc/codecs/rt5640.c +7 -5
index 139257055507..31578ea712a9 100644

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

sound/soc/codecs/wcd-mbhc-v2.c +41 -16

57 lines not on this page · raw message

sound/soc/codecs/wcd934x.c +12 -0
index c0d1fa36d841..e467cbe12d8a 100644

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

sound/soc/codecs/wcd938x.c +74 -12

86 lines not on this page · raw message

sound/soc/fsl/fsl_sai.c +1 -7
index e3105d48fb65..e9f1398ca933 100644

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

sound/soc/fsl/fsl_sai.h +1 -0
index a53c4f0e25fa..db8aabb156c7 100644

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

sound/soc/qcom/qdsp6/q6apm.c +6 -1
index a7a3f973eb6d..cdebf209c8a5 100644

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

sound/soc/qcom/qdsp6/topology.c +2 -2
index cccc59b570b9..130b22a34fb3 100644

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

sound/soc/sof/ipc3-dtrace.c +4 -5
index 1d3bca2d28dd..35da85a45a9a 100644

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

sound/soc/tegra/tegra210_adx.c +22 -12
index 41117c1d61fb..c9eba3566aee 100644

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

sound/soc/tegra/tegra210_amx.c +22 -18
index 782a141b65c0..179876949b30 100644

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

tools/include/nolibc/stackprotector.h +3 -2
index d119cbbbc256..9890e86c2617 100644

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

tools/perf/Makefile.config +2 -2
index a794d9eca93d..72f068682c9a 100644

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

tools/perf/tests/shell/test_uprobe_from_different_cu.sh new file +77 -0

77 lines not on this page · raw message

tools/perf/util/dwarf-aux.c +3 -1
index 3bff67874563..3597ca288c9c 100644

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

tools/testing/radix-tree/maple.c +3 -3
index 9286d3baa12d..adc5392df400 100644

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

tools/testing/selftests/mm/mkdirty.c +1 -1
index 6d71d972997b..301abb99e027 100644

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

tools/testing/selftests/tc-testing/config +2 -0
index 6e73b09c20c8..71706197ba0f 100644

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

tools/testing/selftests/tc-testing/settings new file +1 -0
new file mode 100644
index 000000000000..e2206265f67c

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.