Skip to contentSkip to conversation

Linux 6.1.42

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.1.42 kernel.

All users of the 6.1 kernel series must upgrade.

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

thanks,

greg k-h

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

 Documentation/accounting/psi.rst                             |    4 
 Makefile                                                     |    2 
 arch/arm64/kernel/fpsimd.c                                   |   33 
 arch/arm64/net/bpf_jit_comp.c                                |    8 
 arch/mips/include/asm/dec/prom.h                             |    2 
 drivers/acpi/video_detect.c                                  |    8 
 drivers/base/regmap/regmap-i2c.c                             |    8 
 drivers/base/regmap/regmap-spi-avmm.c                        |    2 
 drivers/base/regmap/regmap.c                                 |    6 
 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            |  423 ++++----
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h            |   12 
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c       |   12 
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c    |  125 ++
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c  |  121 ++
 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/core/dc_link_dp.c             |  141 --
 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/display/dc/dm_helpers.h                  |    6 
 drivers/gpu/drm/amd/display/dc/inc/dc_link_dp.h              |    4 
 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/display/drm_dp_mst_topology.c                |   54 -
 drivers/gpu/drm/drm_client_modeset.c                         |    6 
 drivers/gpu/drm/i915/display/intel_dp.c                      |    7 
 drivers/gpu/drm/nouveau/dispnv50/disp.c                      |   12 
 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/net/can/spi/mcp251xfd/mcp251xfd-core.c               |   10 
 drivers/net/can/spi/mcp251xfd/mcp251xfd.h                    |    1 
 drivers/net/can/usb/gs_usb.c                                 |   31 
 drivers/net/dsa/microchip/ksz8.h                             |    2 
 drivers/net/dsa/microchip/ksz8795.c                          |  121 +-
 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                  |  232 +++-
 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              |    8 
 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/ti/cpsw_ale.c                           |   24 
 drivers/net/phy/phy_device.c                                 |   21 
 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/intel/iwlwifi/mvm/sta.c                 |    2 
 drivers/net/wireless/intel/iwlwifi/pcie/drv.c                |    4 
 drivers/net/wireless/mac80211_hwsim.c                        |    4 
 drivers/of/platform.c                                        |    2 
 drivers/pinctrl/renesas/pinctrl-rzg2l.c                      |   28 
 drivers/pinctrl/renesas/pinctrl-rzv2m.c                      |   28 
 drivers/spi/spi-bcm63xx.c                                    |    2 
 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/inode.c                                             |   14 
 fs/btrfs/qgroup.c                                            |    1 
 fs/btrfs/volumes.c                                           |   20 
 fs/ext4/xattr.c                                              |   14 
 fs/fuse/dir.c                                                |    2 
 fs/fuse/inode.c                                              |    5 
 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/udf/unicode.c                                             |    2 
 include/drm/display/drm_dp_mst_helper.h                      |    7 
 include/linux/psi.h                                          |    5 
 include/linux/psi_types.h                                    |   49 -
 include/linux/tcp.h                                          |    2 
 include/net/bluetooth/hci_core.h                             |    5 
 include/net/ip.h                                             |    2 
 include/net/tcp.h                                            |   31 
 io_uring/io_uring.c                                          |    8 
 kernel/bpf/bpf_lru_list.c                                    |   21 
 kernel/bpf/bpf_lru_list.h                                    |    7 
 kernel/bpf/syscall.c                                         |    3 
 kernel/bpf/verifier.c                                        |  234 ++++
 kernel/cgroup/cgroup.c                                       |    2 
 kernel/kallsyms.c                                            |   91 +
 kernel/kallsyms_internal.h                                   |    1 
 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                                           |  528 ++++++-----
 kernel/trace/trace_events_hist.c                             |    3 
 lib/maple_tree.c                                             |    3 
 net/bluetooth/hci_conn.c                                     |   10 
 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/bridge/br_stp_if.c                                       |    3 
 net/can/bcm.c                                                |   12 
 net/core/devlink.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/ipv6/ip6_gre.c                                           |    3 
 net/ipv6/tcp_ipv6.c                                          |    4 
 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/kallsyms.c                                           |   75 +
 scripts/link-vmlinux.sh                                      |    4 
 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                                |   54 -
 sound/soc/amd/acp/amd.h                                      |    7 
 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/perf/Makefile.config                                   |    4 
 tools/perf/tests/shell/test_uprobe_from_different_cu.sh      |   77 +
 tools/testing/radix-tree/maple.c                             |    6 
 tools/testing/selftests/bpf/prog_tests/align.c               |   38 
 tools/testing/selftests/bpf/prog_tests/sk_assign.c           |   25 
 tools/testing/selftests/bpf/progs/connect4_prog.c            |    2 
 tools/testing/selftests/bpf/progs/test_sk_assign.c           |   11 
 tools/testing/selftests/bpf/progs/test_sk_assign_libbpf.c    |    3 
 tools/testing/selftests/tc-testing/config                    |    2 
 tools/testing/selftests/tc-testing/settings                  |    1 
 167 files changed, 2989 insertions(+), 1559 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 (4):
iavf: use internal state to free traffic IRQs
iavf: send VLAN offloading caps once after VFR
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 (4):
bpf: allow precision tracking for programs with subprogs
bpf: stop setting precise in current state
bpf: aggressively forget precise markings during state checkpointing selftests/bpf: make test_align selftest more robust

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

Arnd Bergmann (1):
kallsyms: add kallsyms_seqs_of_names to list of special symbols

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

Chengming Zhou (1):
sched/psi: Fix avgs_work re-arm in psi_avgs_work()

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 (1):
btrfs: be a bit more careful when setting mirror_num_ret in btrfs_map_block

Dan Carpenter (1):
ASoC: SOF: ipc3-dtrace: uninitialized data in dfsentry_trace_filter_write()

Daniel Golle (1):
net: ethernet: mtk_eth_soc: handle probe deferral

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

Domenico Cerasuolo (4):
sched/psi: Rearrange polling code in preparation sched/psi: Rename existing poll members in preparation sched/psi: Extract update_triggers side effect sched/psi: Allow unprivileged polling of N*2s period

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 (2):
btrfs: fix warning when putting transaction with qgroups enabled after abort
btrfs: zoned: fix memory leak after finding block group with super blocks

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 (1):
perf probe: Add test for regression introduced by switch to die_get_decl_file()

Greg Kroah-Hartman (1):

      Linux 6.1.42

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()

Hamza Mahfooz (1):
drm/amd/display: use max_dsc_bpp in amdgpu_dm

Hans de Goede (1):
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

Hersen Wu (2):
drm/amd/display: fix linux dp link lost handled only one time Revert "drm/amd/display: edp do not add non-edid timings"

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

Ilya Leoshkevich (1):

      selftests/bpf: Fix sk_assign on s390x

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

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 (1):
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 (1):
can: gs_usb: gs_can_open(): improve error handling

Marcin Szycik (2):
iavf: Move netdev_update_features() into watchdog task
iavf: Wait for reset in callbacks which trigger it

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

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

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

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

Masahiro Yamada (1):
scripts/kallsyms: update the usage in the comment block

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

Miklos Szeredi (2):
fuse: revalidate: don't invalidate if interrupted
fuse: ioctl: translate ENOSYS in outarg

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

Mukesh Sisodiya (1):
wifi: iwlwifi: Add support for new PCI Id

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

Oleksij Rempel (3):
net: dsa: microchip: ksz8: Separate static MAC table operations for code reuse
net: dsa: microchip: ksz8: Make ksz8_r_sta_mac_table() static
net: dsa: microchip: ksz8_r_sta_mac_table(): Avoid using error code for empty entries

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 (3):
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

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

Petr Oros (1):
devlink: report devlink_port_type_warn source device

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

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

Qingqing Zhuo (1):
drm/amd/display: force connector state when bpc changes during compliance

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

Sameer Pujar (1):
ASoC: rt5640: Fix sleep in 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

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 (2):
drm/amd/display: fix some coding style issues 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 Petazzoni (1):
ASoC: cs42l51: fix driver to properly autoload with automatic module loading

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 (2):
drm/dp_mst: Clear MSG_RDY flag before sending new message 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

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):
kallsyms: strip LTO-only suffixes from promoted global functions selftests/bpf: Workaround verification failure for fexit_bpf2bpf/func_replace_return_code

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

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

Yuma Ueda (1):
scripts/kallsyms.c Make the comment up-to-date with current implementation

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

Zhen Lei (2):
kallsyms: Improve the performance of kallsyms_lookup_name()
kallsyms: Correctly sequence symbols when CONFIG_LTO_CLANG=y

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
Documentation/accounting/psi.rst +4 -0
index 5e40b3f437f9..df6062eb3abb 100644
@@ -105,6 +105,10 @@ prevent overly frequent polling. Max limit is chosen as a high enough number
 after which monitors are most likely not needed and psi averages can be used
 instead.
 
+Unprivileged users can also create monitors, with the only limitation that the
+window size must be a multiple of 2s, in order to prevent excessive resource
+usage.
+
 When activated, psi monitor stays active for at least the duration of one
 tracking window to avoid repeated activations/deactivations when system is
 bouncing in and out of the stall state.
Makefile +1 -1
index 6c940cce3656..b569bed80052 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 6
 PATCHLEVEL = 1
-SUBLEVEL = 41
+SUBLEVEL = 42
 EXTRAVERSION =
 NAME = Curry Ramen
 
arch/arm64/kernel/fpsimd.c +25 -8
index 23834d96d1e7..656f613bacf7 100644
@@ -803,6 +803,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;
@@ -851,21 +853,36 @@ int vec_set_vector_length(struct task_struct *task, enum vec_type type,
 	    thread_sm_enabled(&task->thread))
 		sve_to_fpsimd(task);
 
-	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/net/bpf_jit_comp.c +7 -1
index 8f16217c111c..14134fd34ff7 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/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;
 
 
drivers/acpi/video_detect.c +8 -0
index b6d429a2bcb6..707d6811615b 100644
@@ -510,6 +510,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/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 8359164bff90..7de1f27d0323 100644
@@ -2064,8 +2064,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)
@@ -2073,8 +2071,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/dma-buf/dma-resv.c +9 -4
index e3885c90a3ac..f1ba71aed33c 100644
@@ -566,6 +566,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)
@@ -574,13 +575,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 500a1dc4fe02..d60c4a2eeb0c 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 +219 -204

984 lines not on this page · raw message

drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h +12 -0
index ac26e917240b..2c9a33c80c81 100644
@@ -31,6 +31,7 @@
 #include <drm/drm_connector.h>
 #include <drm/drm_crtc.h>
 #include <drm/drm_plane.h>
+#include "link_service_types.h"
 
 /*
  * This file contains the definition for amdgpu_display_manager
@@ -192,6 +193,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
 	 */
@@ -613,6 +619,8 @@ struct amdgpu_dm_connector {
 	struct drm_dp_mst_port *port;
 	struct amdgpu_dm_connector *mst_port;
 	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;
 
@@ -650,6 +658,10 @@ struct amdgpu_dm_connector {
 
 	/* Record progress status of mst*/
 	uint8_t mst_status;
+
+	/* Automated testing */
+	bool timing_changed;
+	struct dc_crtc_timing *timing_requested;
 };
 
 static inline void amdgpu_dm_set_mst_status(uint8_t *status,
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c +12 -0
index 1ec643a0d00d..b9b70f4562c7 100644
@@ -406,6 +406,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_helpers.c +125 -0

137 lines not on this page · raw message

drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c +119 -2

154 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 c1eaf571407a..9f593eddb6b7 100644
@@ -86,6 +86,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/core/dc_link_dp.c +20 -121

159 lines not on this page · raw message

drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c +2 -1
index 0dcd9fea122d..a6fde27d1347 100644
@@ -3293,7 +3293,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 7e7f18bef098..1f263326cdf9 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/display/dc/dm_helpers.h +6 -0
index e3e5c39895a3..d0ad682fdde8 100644
@@ -156,6 +156,12 @@ enum dc_edid_status dm_helpers_read_local_edid(
 		struct dc_link *link,
 		struct dc_sink *sink);
 
+bool dm_helpers_dp_handle_test_pattern_request(
+		struct dc_context *ctx,
+		const struct dc_link *link,
+		union link_test_pattern dpcd_test_pattern,
+		union test_misc dpcd_test_params);
+
 void dm_set_dcn_clocks(
 		struct dc_context *ctx,
 		struct dc_clocks *clks);
drivers/gpu/drm/amd/display/dc/inc/dc_link_dp.h +4 -0
index b304d450b038..d60d93ed7df0 100644
@@ -82,6 +82,10 @@ bool perform_link_training_with_retries(
 	enum signal_type signal,
 	bool do_fallback);
 
+enum dc_status read_hpd_rx_irq_data(
+	struct dc_link *link,
+	union hpd_irq_data *irq_data);
+
 bool hpd_rx_irq_check_link_loss_status(
 	struct dc_link *link,
 	union hpd_irq_data *hpd_irq_dpcd_data);
drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c +6 -2
index f7ed3e655e39..1b7d93709a35 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 d980eff2b616..bf24850027da 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/display/drm_dp_mst_topology.c +47 -7

82 lines not on this page · raw message

drivers/gpu/drm/drm_client_modeset.c +6 -0
index bbc535cc50dd..7847020de0a4 100644
@@ -315,6 +315,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;
@@ -330,11 +333,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;
 }
@@ -866,6 +871,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/display/intel_dp.c +4 -3
index b1653308f145..594ea037050a 100644
@@ -3804,9 +3804,7 @@ intel_dp_mst_hpd_irq(struct intel_dp *intel_dp, u8 *esi, u8 *ack)
 {
 	bool handled = false;
 
-	drm_dp_mst_hpd_irq(&intel_dp->mst_mgr, esi, &handled);
-	if (handled)
-		ack[1] |= esi[1] & (DP_DOWN_REP_MSG_RDY | DP_UP_REQ_MSG_RDY);
+	drm_dp_mst_hpd_irq_handle_event(&intel_dp->mst_mgr, esi, ack, &handled);
 
 	if (esi[1] & DP_CP_IRQ) {
 		intel_hdcp_handle_cp_irq(intel_dp->attached_connector);
@@ -3881,6 +3879,9 @@ intel_dp_check_mst_status(struct intel_dp *intel_dp)
 
 		if (!intel_dp_ack_sink_irq_esi(intel_dp, ack))
 			drm_dbg_kms(&i915->drm, "Failed to ack ESI\n");
+
+		if (ack[1] & (DP_DOWN_REP_MSG_RDY | DP_UP_REQ_MSG_RDY))
+			drm_dp_mst_hpd_irq_send_new_request(&intel_dp->mst_mgr);
 	}
 
 	return link_ok;
drivers/gpu/drm/nouveau/dispnv50/disp.c +8 -4
index 006cb76adaa9..a851354c0c5f 100644
@@ -1473,22 +1473,26 @@ nv50_mstm_service(struct nouveau_drm *drm,
 	u8 esi[8] = {};
 
 	while (handled) {
+		u8 ack[8] = {};
+
 		rc = drm_dp_dpcd_read(aux, DP_SINK_COUNT_ESI, esi, 8);
 		if (rc != 8) {
 			ret = false;
 			break;
 		}
 
-		drm_dp_mst_hpd_irq(&mstm->mgr, esi, &handled);
+		drm_dp_mst_hpd_irq_handle_event(&mstm->mgr, esi, ack, &handled);
 		if (!handled)
 			break;
 
-		rc = drm_dp_dpcd_write(aux, DP_SINK_COUNT_ESI + 1, &esi[1],
-				       3);
-		if (rc != 3) {
+		rc = drm_dp_dpcd_writeb(aux, DP_SINK_COUNT_ESI + 1, ack[1]);
+
+		if (rc != 1) {
 			ret = false;
 			break;
 		}
+
+		drm_dp_mst_hpd_irq_send_new_request(&mstm->mgr);
 	}
 
 	if (!ret)
drivers/gpu/drm/radeon/radeon_cs.c +2 -1
index 446f7bae54c4..e3664f65d1a9 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 a729c32a1e48..3287032a2f8e 100644
@@ -85,6 +85,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;
 	}
@@ -110,7 +112,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 653db6cdab57..9a17e5cc3539 100644
@@ -614,6 +614,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 66e64350f138..f8f20a7c24b1 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/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 2b0309fedfac..ba0fd2b95a52 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 +22 -9
index 9c2c25fde3d1..fe532d504889 100644
@@ -833,6 +833,7 @@ static int gs_can_open(struct net_device *netdev)
 		.mode = cpu_to_le32(GS_CAN_MODE_START),
 	};
 	struct gs_host_frame *hf;
+	struct urb *urb = NULL;
 	u32 ctrlmode;
 	u32 flags = 0;
 	int rc, i;
@@ -858,13 +859,14 @@ static int gs_can_open(struct net_device *netdev)
 
 	if (!parent->active_channels) {
 		for (i = 0; i < GS_MAX_RX_URBS; i++) {
-			struct urb *urb;
 			u8 *buf;
 
 			/* alloc rx urb */
 			urb = usb_alloc_urb(0, GFP_KERNEL);
-			if (!urb)
-				return -ENOMEM;
+			if (!urb) {
+				rc = -ENOMEM;
+				goto out_usb_kill_anchored_urbs;
+			}
 
 			/* alloc rx buffer */
 			buf = kmalloc(dev->parent->hf_size_rx,
@@ -872,8 +874,8 @@ static int gs_can_open(struct net_device *netdev)
 			if (!buf) {
 				netdev_err(netdev,
 					   "No memory left for USB buffer\n");
-				usb_free_urb(urb);
-				return -ENOMEM;
+				rc = -ENOMEM;
+				goto out_usb_free_urb;
 			}
 
 			/* fill, anchor, and submit rx urb */
@@ -896,9 +898,7 @@ static int gs_can_open(struct net_device *netdev)
 				netdev_err(netdev,
 					   "usb_submit failed (err=%d)\n", rc);
 
-				usb_unanchor_urb(urb);
-				usb_free_urb(urb);
-				break;
+				goto out_usb_unanchor_urb;
 			}
 
 			/* Drop reference,
@@ -944,7 +944,8 @@ static int gs_can_open(struct net_device *netdev)
 		if (dev->feature & GS_CAN_FEATURE_HW_TIMESTAMP)
 			gs_usb_timestamp_stop(dev);
 		dev->can.state = CAN_STATE_STOPPED;
-		return rc;
+
+		goto out_usb_kill_anchored_urbs;
 	}
 
 	parent->active_channels++;
@@ -952,6 +953,18 @@ static int gs_can_open(struct net_device *netdev)
 		netif_start_queue(netdev);
 
 	return 0;
+
+out_usb_unanchor_urb:
+	usb_unanchor_urb(urb);
+out_usb_free_urb:
+	usb_free_urb(urb);
+out_usb_kill_anchored_urbs:
+	if (!parent->active_channels)
+		usb_kill_anchored_urbs(&dev->tx_submitted);
+
+	close_candev(netdev);
+
+	return rc;
 }
 
 static int gs_can_close(struct net_device *netdev)
drivers/net/dsa/microchip/ksz8.h +0 -2
index 8582b4b67d98..28137c4bf292 100644
@@ -21,8 +21,6 @@ int ksz8_r_phy(struct ksz_device *dev, u16 phy, u16 reg, u16 *val);
 int ksz8_w_phy(struct ksz_device *dev, u16 phy, u16 reg, u16 val);
 int ksz8_r_dyn_mac_table(struct ksz_device *dev, u16 addr, u8 *mac_addr,
 			 u8 *fid, u8 *src_port, u8 *timestamp, u16 *entries);
-int ksz8_r_sta_mac_table(struct ksz_device *dev, u16 addr,
-			 struct alu_struct *alu);
 void ksz8_w_sta_mac_table(struct ksz_device *dev, u16 addr,
 			  struct alu_struct *alu);
 void ksz8_r_mib_cnt(struct ksz_device *dev, int port, u16 addr, u64 *cnt);
drivers/net/dsa/microchip/ksz8795.c +76 -45

176 lines not on this page · raw message

drivers/net/dsa/microchip/ksz_common.c +4 -4
index 3d59298eaa5c..8c492d56d2c3 100644
@@ -286,13 +286,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 9cfa179575ce..d1b2db8e6533 100644
@@ -512,6 +512,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 4db1652015d1..b69bd44ada1f 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 bcccd82a2620..f6ededec5a4f 100644
@@ -435,19 +435,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 142415c84c6b..0ebc21401b7c 100644
@@ -87,16 +87,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 6625625f91e4..543931c06bb1 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 83cfc54a4706..fd6d6f6263f6 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 -77

435 lines not on this page · raw message

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

40 lines not on this page · raw message

drivers/net/ethernet/intel/iavf/iavf_txrx.h +0 -4
index 2624bf6d009e..7e6ee32d19b6 100644

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

drivers/net/ethernet/intel/iavf/iavf_virtchnl.c +6 -2
index 00dccdd290dc..2fc8e60ef6af 100644

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

drivers/net/ethernet/intel/igb/igb_main.c +5 -0
index 18ffbc892f86..3e0444354632 100644

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

drivers/net/ethernet/intel/igc/igc_main.c +10 -2
index 273941f90f06..2e091a4a065e 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 ed911d994627..c236dba80ff1 100644

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

drivers/net/ethernet/mediatek/mtk_eth_soc.c +11 -18
index 49975924e242..7e318133423a 100644

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

drivers/net/ethernet/ti/cpsw_ale.c +19 -5
index 231370e9a801..2647c18d40d9 100644

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

drivers/net/phy/phy_device.c +14 -7
index 7fbb0904b3c0..82f74f96eba2 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 ef7617802491..cb77dd6ce966 100644

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

drivers/net/wireless/ath/ath11k/wmi.c +5 -0
index fad9f8d308a2..3e0a47f4a3eb 100644

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

drivers/net/wireless/intel/iwlwifi/mvm/sta.c +1 -1
index 013aca70c3d3..6b52afcf0272 100644

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

drivers/net/wireless/intel/iwlwifi/pcie/drv.c +4 -0
index f6872b2a0d9d..4d4db5f6836b 100644

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

drivers/net/wireless/mac80211_hwsim.c +2 -2
index 0d81098c7b45..da5c355405f6 100644

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

drivers/of/platform.c +1 -1
index 6e93fd37ccd1..e181c3f50f1d 100644

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

drivers/pinctrl/renesas/pinctrl-rzg2l.c +20 -8
index ca6303fc41f9..fd11d28e5a1e 100644

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

drivers/pinctrl/renesas/pinctrl-rzv2m.c +20 -8
index e8c18198bebd..35f382b055e8 100644

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

drivers/spi/spi-bcm63xx.c +1 -1
index 80fa0ef8909c..147199002df1 100644

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

drivers/spi/spi-dw-mmio.c +22 -0
index 26c40ea6dd12..8046e9138881 100644

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

drivers/spi/spi-s3c64xx.c +2 -0
index 71d324ec9a70..1480df7b43b3 100644

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

drivers/video/fbdev/au1200fb.c +3 -0
index b6b22fa4a8a0..fd3ff398d234 100644

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

drivers/video/fbdev/imxfb.c +2 -3
index 51fde1b2a793..36ada87b49a4 100644

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

fs/btrfs/block-group.c +1 -0
index 30b264eb9d20..d93e8735ab1f 100644

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

fs/btrfs/inode.c +11 -3
index c5583fc2a585..3c48273cd7a5 100644

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

fs/btrfs/qgroup.c +1 -0
index 04ca0a4075b6..cacdb2c5d152 100644

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

fs/btrfs/volumes.c +8 -12
index 099af8ba6fe5..2e0832d70406 100644

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

fs/ext4/xattr.c +14 -0
index 51d642a95bd2..eaed9fd2f890 100644

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

fs/fuse/dir.c +1 -1
index 904673a4f690..5e408e7ec4c6 100644

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

fs/fuse/inode.c +4 -1
index 6b3beda16c1b..bc3c3e76c646 100644

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

fs/fuse/ioctl.c +13 -8
index 8ba1545e01f9..5a6c715b9a70 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 4fbbf88435e6..b3a0fe0649c4 100644

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

fs/overlayfs/ovl_entry.h +9 -0
index e1af8f660698..a479680a5ccd 100644

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

fs/quota/dquot.c +3 -2
index f27faf5db554..46dca88d89c3 100644

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

fs/smb/client/connect.c +15 -4
index 935fe198a4ba..cbe08948baf4 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/drm/display/drm_dp_mst_helper.h +5 -2
index 32c764fb9cb5..40e855c8407c 100644

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

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

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

include/linux/psi_types.h +31 -18

49 lines not on this page · raw message

include/linux/tcp.h +1 -1
index 41b1da621a45..9cd289ad3f5b 100644

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

include/net/bluetooth/hci_core.h +5 -0
index 84c5ce57eab6..ddbcbf9ccb2c 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 5eedd476a38d..e9c8f88f4769 100644

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

io_uring/io_uring.c +8 -0
index 38bc0073a7d4..bd7b8cf8bc67 100644

Lines of this file are not shown. View the 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/syscall.c +2 -1
index 8633ec4f92df..0c44a716f0a2 100644

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

kernel/bpf/verifier.c +214 -20

234 lines not on this page · raw message

kernel/cgroup/cgroup.c +1 -1
index 2380c4daef33..73f11e4db3a4 100644

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

kernel/kallsyms.c +77 -14

91 lines not on this page · raw message

kernel/kallsyms_internal.h +1 -0
index 2d0c6f2f0243..a04b7a5cb1e3 100644

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

kernel/rcu/tasks.h +4 -1
index df968321fead..c1f18c63b9b1 100644

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

kernel/rcu/tree_exp.h +1 -1
index e25321dbb068..aa3ec3c3b9f7 100644

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

kernel/rcu/tree_plugin.h +3 -1
index e3142ee35fc6..044026abfdd7 100644

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

kernel/sched/fair.c +2 -2
index fa33c441ae86..5e5aea2360a8 100644

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

kernel/sched/psi.c +304 -224

528 lines not on this page · raw message

kernel/trace/trace_events_hist.c +2 -1
index 105253b9bc31..0f5d16eabd3b 100644

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

lib/maple_tree.c +2 -1
index 2f1f661157c9..47d0c95b9a01 100644

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

net/bluetooth/hci_conn.c +5 -5
index fef09d212138..61059571c877 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 b272cc1f3648..83eaf25ece46 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 815f2abe918e..89c94f3e96bc 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/core/devlink.c +4 -1
index 2aa77d4b80d0..5a4a4b34ac15 100644

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

net/ipv4/esp4.c +1 -1
index 52c8047efedb..2d094d417eca 100644

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

net/ipv4/inet_connection_sock.c +1 -1
index 8e35ea66d930..62a3b103f258 100644

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

net/ipv4/inet_hashtables.c +2 -15
index e8734ffca85a..c19b462662ad 100644

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

net/ipv4/inet_timewait_sock.c +4 -4
index beed32fff484..1d77d992e6e7 100644

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

net/ipv4/ip_output.c +3 -1
index 2a07588265c7..7b4ab545c06e 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 b37c1bcb1509..9a8d59e9303a 100644

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

net/ipv4/tcp_minisocks.c +7 -4
index 7f37e7da6467..42844d20da02 100644

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

net/ipv4/tcp_output.c +3 -3
index 925594dbeb92..26bd039f9296 100644

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

net/ipv6/ip6_gre.c +2 -1
index 216b40ccadae..d3fba7d8dec4 100644

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

net/ipv6/tcp_ipv6.c +2 -2
index 8d61efeab9c9..d9253aa764fa 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 938cfa9a3adb..ecde497368ec 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 39a5d9c170de..43f8df584741 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 fe8765c4075d..8a4b85f96a13 100644

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

scripts/kallsyms.c +73 -2

75 lines not on this page · raw message

scripts/link-vmlinux.sh +4 -0
index 918470d768e9..32e573943cf0 100755

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 +42 -12

54 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/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 0f8e6dd214b0..a7071d0a2562 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 28175c746b9a..0b5999c819db 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 b33104715c7b..b7552b0df7c3 100644

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

sound/soc/fsl/fsl_sai.h +1 -0
index c5423f81e456..caad5b0ac4ff 100644

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

sound/soc/qcom/qdsp6/q6apm.c +6 -1
index 794019286c70..16acdf3a99e1 100644

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

sound/soc/qcom/qdsp6/topology.c +2 -2
index bd649c232a06..98b4d90a994a 100644

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

sound/soc/sof/ipc3-dtrace.c +4 -5
index b815b0244d9e..8cf421577378 100644

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

sound/soc/tegra/tegra210_adx.c +22 -12
index 49691d2cce50..dd3a2717f00d 100644

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

sound/soc/tegra/tegra210_amx.c +22 -18
index d064cc67fea6..a71c5916da79 100644

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

tools/perf/Makefile.config +2 -2
index 898226ea8cad..fac6ba07eacd 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/testing/radix-tree/maple.c +3 -3
index 18e319e6ce33..d1ab5f23f4e4 100644

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

tools/testing/selftests/bpf/prog_tests/align.c +24 -14
index de27a29af270..8baebb41541d 100644

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

tools/testing/selftests/bpf/prog_tests/sk_assign.c +19 -6
index 3e190ed63976..1374b626a985 100644

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

tools/testing/selftests/bpf/progs/connect4_prog.c +1 -1
index ec25371de789..7ef49ec04838 100644

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

tools/testing/selftests/bpf/progs/test_sk_assign.c +11 -0
index 98c6493d9b91..21b19b758c4e 100644

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

tools/testing/selftests/bpf/progs/test_sk_assign_libbpf.c new file +3 -0
new file mode 100644
index 000000000000..dcf46adfda04

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

tools/testing/selftests/tc-testing/config +2 -0
index aec4de8bea78..0c3978fd6bcc 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.