Skip to contentSkip to conversation

Linux 6.6.142

DISCUSSION Greg Kroah-Hartman 1 participant 2 messages Jun 1 Stable branch

lore
Share & tools
lore

Greg Kroah-Hartman

author maintainer
#0 lore raw

I'm announcing the release of the 6.6.142 kernel.

All users of the 6.6 kernel series must upgrade.

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

thanks,

greg k-h

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

 Makefile                                                 |    2 
 arch/arm/mach-versatile/integrator_cp.c                  |   13 
 arch/arm64/include/asm/insn.h                            |    2 
 arch/arm64/kvm/vgic/vgic-its.c                           |    4 
 arch/loongarch/kernel/kprobes.c                          |    4 
 arch/loongarch/mm/init.c                                 |    4 
 arch/powerpc/kernel/time.c                               |    6 
 arch/s390/kernel/debug.c                                 |    3 
 arch/x86/include/asm/segment.h                           |    8 
 arch/x86/xen/setup.c                                     |    2 
 drivers/accel/qaic/qaic_data.c                           |   23 -
 drivers/base/bus.c                                       |   43 +
 drivers/base/core.c                                      |    2 
 drivers/base/dd.c                                        |   60 ++
 drivers/base/memory.c                                    |    8 
 drivers/base/platform.c                                  |   37 -
 drivers/bluetooth/btmtk.c                                |  295 ++++++++++++-
 drivers/bluetooth/btmtk.h                                |   41 +
 drivers/bluetooth/btmtksdio.c                            |    1 
 drivers/bluetooth/btmtkuart.c                            |    1 
 drivers/bluetooth/btusb.c                                |  338 +--------------
 drivers/bluetooth/hci_ldisc.c                            |   48 +-
 drivers/bus/simple-pm-bus.c                              |    4 
 drivers/clk/imx/clk-scu.c                                |    3 
 drivers/firmware/arm_ffa/bus.c                           |    4 
 drivers/firmware/arm_ffa/driver.c                        |    2 
 drivers/firmware/efi/efi.c                               |   28 -
 drivers/gpio/gpiolib-cdev.c                              |   21 
 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c       |    9 
 drivers/gpu/drm/amd/display/dc/bios/bios_parser_helper.c |    9 
 drivers/gpu/drm/amd/display/dc/core/dc.c                 |    6 
 drivers/gpu/drm/bridge/chipone-icn6211.c                 |    4 
 drivers/gpu/drm/bridge/ite-it66121.c                     |    5 
 drivers/gpu/drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.c |   16 
 drivers/gpu/drm/msm/disp/msm_disp_snapshot_util.c        |   24 -
 drivers/gpu/drm/msm/dsi/dsi_host.c                       |    1 
 drivers/gpu/drm/msm/msm_iommu.c                          |    5 
 drivers/gpu/drm/virtio/virtgpu_drv.h                     |    1 
 drivers/gpu/drm/virtio/virtgpu_gem.c                     |   17 
 drivers/gpu/drm/virtio/virtgpu_plane.c                   |   10 
 drivers/hid/hid-quirks.c                                 |    2 
 drivers/hid/hid-uclogic-core.c                           |    4 
 drivers/hwmon/pmbus/adm1266.c                            |   32 -
 drivers/infiniband/sw/siw/siw_qp_rx.c                    |   15 
 drivers/infiniband/ulp/rtrs/rtrs-srv-sysfs.c             |    2 
 drivers/irqchip/irq-ath79-cpu.c                          |    7 
 drivers/net/dsa/mt7530.c                                 |   83 +--
 drivers/net/dsa/mt7530.h                                 |   76 +--
 drivers/net/ethernet/amd/pds_core/debugfs.c              |    7 
 drivers/net/ethernet/amd/pds_core/dev.c                  |   11 
 drivers/net/ethernet/amd/pds_core/devlink.c              |    8 
 drivers/net/ethernet/atheros/ag71xx.c                    |    3 
 drivers/net/ethernet/broadcom/genet/bcmgenet.c           |    9 
 drivers/net/ethernet/cirrus/cs89x0.c                     |    2 
 drivers/net/ethernet/cortina/gemini.c                    |   21 
 drivers/net/ethernet/intel/ice/ice_dcb_lib.c             |    4 
 drivers/net/ethernet/intel/ice/ice_main.c                |    2 
 drivers/net/ethernet/intel/ice/ice_txrx.c                |    7 
 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c        |    1 
 drivers/net/ethernet/mellanox/mlx5/core/esw/ipsec_fs.c   |    3 
 drivers/net/ethernet/microchip/lan966x/lan966x_main.c    |    8 
 drivers/net/ethernet/microsoft/mana/hw_channel.c         |   29 -
 drivers/net/ethernet/qlogic/qed/qed_cxt.c                |    2 
 drivers/net/ifb.c                                        |   11 
 drivers/net/phy/dp83tc811.c                              |    1 
 drivers/net/phy/phy-c45.c                                |  129 +++--
 drivers/net/wireless/ath/ath11k/dp_rx.c                  |    3 
 drivers/net/wireless/ath/ath11k/hal.c                    |   14 
 drivers/net/wireless/ath/ath11k/hal_rx.c                 |    5 
 drivers/net/wireless/ath/ath11k/testmode.c               |    1 
 drivers/net/wireless/ath/ath11k/wmi.c                    |   19 
 drivers/net/wwan/iosm/iosm_ipc_imem.c                    |    2 
 drivers/phy/marvell/phy-mvebu-a3700-utmi.c               |    5 
 drivers/phy/tegra/xusb-tegra186.c                        |   33 +
 drivers/phy/tegra/xusb.h                                 |    1 
 drivers/pinctrl/qcom/pinctrl-sm8150.c                    |    8 
 drivers/platform/x86/adv_swbutton.c                      |    6 
 drivers/platform/x86/hp/hp_accel.c                       |    3 
 drivers/platform/x86/intel/hid.c                         |    6 
 drivers/platform/x86/intel/vbtn.c                        |    6 
 drivers/s390/cio/device.c                                |   37 -
 drivers/scsi/isci/host.c                                 |    3 
 drivers/slimbus/qcom-ngd-ctrl.c                          |    6 
 drivers/spi/spi-mtk-snfi.c                               |    2 
 drivers/spi/spi-qup.c                                    |    3 
 drivers/spi/spi-sprd.c                                   |    3 
 drivers/spi/spi-ti-qspi.c                                |    1 
 drivers/spi/spidev.c                                     |   63 --
 fs/netfs/iterator.c                                      |   26 -
 fs/smb/client/cifs_spnego.c                              |   16 
 fs/smb/client/cifsfs.c                                   |    2 
 fs/smb/client/smb2transport.c                            |    2 
 fs/smb/server/mgmt/user_session.c                        |   10 
 fs/smb/server/oplock.c                                   |   13 
 fs/smb/server/oplock.h                                   |    1 
 fs/smb/server/server.c                                   |    1 
 fs/smb/server/server.h                                   |    1 
 fs/smb/server/smb2pdu.c                                  |    5 
 fs/smb/server/smb2pdu.h                                  |    2 
 fs/smb/server/smbacl.c                                   |   12 
 fs/smb/server/vfs_cache.c                                |  325 +++++++++++++-
 fs/smb/server/vfs_cache.h                                |   15 
 fs/sysfs/group.c                                         |    2 
 fs/zonefs/super.c                                        |    6 
 include/asm-generic/kprobes.h                            |    2 
 include/linux/device.h                                   |   54 ++
 include/linux/device/bus.h                               |    4 
 include/linux/fwnode.h                                   |    1 
 include/linux/phy.h                                      |    1 
 include/linux/platform_device.h                          |    5 
 include/linux/sched/task.h                               |    2 
 include/linux/spinlock.h                                 |   26 +
 include/linux/string.h                                   |   12 
 include/net/af_unix.h                                    |    1 
 include/net/bluetooth/bluetooth.h                        |    1 
 include/net/netfilter/nf_queue.h                         |    1 
 include/trace/events/btrfs.h                             |    4 
 kernel/irq_work.c                                        |    7 
 kernel/ptrace.c                                          |  128 ++---
 kernel/trace/ring_buffer.c                               |    8 
 kernel/trace/trace_events_hist.c                         |    6 
 kernel/trace/tracing_map.c                               |   17 
 lib/kunit/Kconfig                                        |    5 
 lib/test_kprobes.c                                       |   29 -
 mm/damon/sysfs-schemes.c                                 |    1 
 net/batman-adv/bridge_loop_avoidance.c                   |   54 +-
 net/batman-adv/distributed-arp-table.c                   |    3 
 net/batman-adv/fragmentation.c                           |   58 ++
 net/batman-adv/gateway_client.c                          |    4 
 net/batman-adv/originator.c                              |    4 
 net/batman-adv/tp_meter.c                                |   64 +-
 net/batman-adv/types.h                                   |   17 
 net/bluetooth/af_bluetooth.c                             |   97 +++-
 net/bluetooth/bnep/core.c                                |    2 
 net/bluetooth/iso.c                                      |   14 
 net/bluetooth/l2cap_sock.c                               |   51 +-
 net/bluetooth/mgmt.c                                     |    6 
 net/bluetooth/rfcomm/sock.c                              |    9 
 net/bluetooth/sco.c                                      |    9 
 net/bridge/br_multicast.c                                |   27 +
 net/core/gro.c                                           |    3 
 net/core/skmsg.c                                         |    9 
 net/ethtool/bitset.c                                     |    8 
 net/ipv4/inet_connection_sock.c                          |    2 
 net/ipv4/netfilter/arptable_filter.c                     |    2 
 net/ipv4/netfilter/iptable_filter.c                      |    2 
 net/ipv4/netfilter/iptable_mangle.c                      |    2 
 net/ipv4/netfilter/iptable_raw.c                         |    2 
 net/ipv4/netfilter/iptable_security.c                    |    2 
 net/ipv4/raw.c                                           |    2 
 net/ipv6/netfilter/ip6t_hbh.c                            |    4 
 net/ipv6/netfilter/ip6table_filter.c                     |    2 
 net/ipv6/netfilter/ip6table_mangle.c                     |    2 
 net/ipv6/netfilter/ip6table_raw.c                        |    2 
 net/ipv6/netfilter/ip6table_security.c                   |    2 
 net/mac80211/tdls.c                                      |    2 
 net/mptcp/pm_netlink.c                                   |   35 -
 net/mptcp/protocol.c                                     |    3 
 net/netfilter/ipset/ip_set_hash_ipmark.c                 |    6 
 net/netfilter/ipset/ip_set_hash_ipport.c                 |    5 
 net/netfilter/ipset/ip_set_hash_ipportip.c               |    5 
 net/netfilter/ipset/ip_set_hash_ipportnet.c              |    5 
 net/netfilter/nf_queue.c                                 |    4 
 net/netfilter/nfnetlink_queue.c                          |    2 
 net/netfilter/nft_inner.c                                |    1 
 net/phonet/pep.c                                         |   19 
 net/smc/af_smc.c                                         |    3 
 net/smc/smc_tracepoint.h                                 |    2 
 net/tls/tls_sw.c                                         |   46 +-
 net/unix/af_unix.c                                       |    5 
 net/unix/garbage.c                                       |   79 ++-
 net/vmw_vsock/virtio_transport_common.c                  |   20 
 net/vmw_vsock/vmci_transport.c                           |    2 
 net/wireless/scan.c                                      |    3 
 security/keys/keyring.c                                  |    1 
 sound/core/pcm_lib.c                                     |    3 
 sound/core/seq/seq_ump_client.c                          |   37 +
 sound/pci/asihpi/hpicmn.c                                |    6 
 sound/pci/hda/cs35l56_hda.c                              |    1 
 sound/soc/codecs/cs35l56-sdw.c                           |    3 
 sound/soc/samsung/i2s.c                                  |    6 
 sound/usb/misc/ua101.c                                   |    5 
 182 files changed, 2288 insertions(+), 1063 deletions(-)

Abdun Nihaal (1):
net: wwan: iosm: fix potential memory leaks in ipc_imem_init()

Abdurrahman Hussain (10):
hwmon: (pmbus/adm1266) widen blackbox-info buffer to I2C_SMBUS_BLOCK_MAX
hwmon: (pmbus/adm1266) seed timestamp from the real-time clock
hwmon: (pmbus/adm1266) reject implausible blackbox record_count
hwmon: (pmbus/adm1266) include PEC byte in pmbus_block_xfer read buffer
hwmon: (pmbus/adm1266) bounce blackbox records through a protocol-sized buffer
hwmon: (pmbus/adm1266) cap PDIO scan in get_multiple at ADM1266_PDIO_NR
hwmon: (pmbus/adm1266) don't clobber GPIO bits before PDIO read in get_multiple
hwmon: (pmbus/adm1266) register the gpio_chip after pmbus_do_probe()
hwmon: (pmbus/adm1266) register the nvmem device after pmbus_do_probe()
hwmon: (pmbus/adm1266) reject short block-read responses in the GPIO accessors

Aditya Garg (1):
net: mana: validate rx_req_idx to prevent out-of-bounds array access

Andreas Haarmann-Thiemann (1):
net: ethernet: cortina: Drop half-assembled SKB

Andy Shevchenko (1):
gpiolib: cdev: use !mem_is_zero() instead of memchr_inv(s, 0, n)

Ard Biesheuvel (1):
efi: Allocate runtime workqueue before ACPI init

Arınç ÜNAL (1):

      net: dsa: mt7530: rename mt753x_bpdu_port_fw enum to mt753x_to_cpu_fw

Asim Viladi Oglu Manizada (1):
smb: client: reject userspace cifs.spnego descriptions

Bart Van Assche (1):
ice: fix locking in ice_dcb_rebuild()

Bartosz Golaszewski (2):
device property: set fwnode->secondary to NULL in fwnode_init()
gpio: cdev: check if uAPI v2 config attributes are correctly zeroed

ChenXiaoSong (1):
smb/server: promote S_DEL_ON_CLS to S_DEL_PENDING when close

Chenguang Zhao (1):
ethtool: fix ethnl_bitmap32_not_zero() bit interval semantics

Chris Lu (2):
Bluetooth: btmtk: rename btmediatek_data
Bluetooth: btmtk: move btusb_mtk_hci_wmt_sync to btmtk.c

Chuck Lever (1):
tls: Preserve sk_err across recvmsg() when data has been copied

Cássio Gabriel (1):
ALSA: ua101: Reject too-short USB descriptors

DaeMyung Kang (1):
ksmbd: close durable scavenger races against m_fp_list lookups

Daniel Golle (2):
net: dsa: mt7530: fix FDB entries not aging out with short timeout
net: dsa: mt7530: preserve VLAN tags on trapped link-local frames

Danilo Krummrich (2):
driver core: generalize driver_override in struct device driver core: platform: use generic driver_override infrastructure

David Carlier (2):
Bluetooth: ISO: drop ISO_END frames received without prior ISO_START
tracing: Avoid NULL return from hist_field_name() on truncation

David Gow (2):
kunit: config: Enable KUNIT_DEBUGFS by default
kunit: config: KUNIT_DEBUGFS should depend on DEBUG_FS

David Howells (1):
netfs: Fix overrun check in netfs_extract_user_iter()

Dawei Feng (1):
qed: fix double free in qed_cxt_tables_alloc()

Deepanshu Kartikey (2):
wifi: mac80211: check tdls flag in ieee80211_tdls_oper drm/virtio: use uninterruptible resv lock for plane updates

Dmitry Baryshkov (2):
drm/msm/dsi: don't dump registers past the mapped region drm/msm/snapshot: fix dumping of the unaligned regions

Erni Sri Satya Vennela (1):
net: mana: Fix TOCTOU double-fetch of hwc_msg_id from DMA buffer

Ethan Nelson-Moore (1):
net: ethernet: cs89x0: remove stale CONFIG_MACH_MX31ADS reference

Fabian Godehardt (1):
spi: spidev: fix lock inversion between spi_lock and buf_lock

Felix Gu (1):
spi: mtk-snfi: Fix resource leak in mtk_snand_read_page_cache()

Ferry Meng (1):
ksmbd: fix SID memory leak in set_posix_acl_entries_dacl() on overflow

Filipe Manana (1):
btrfs: tracepoints: fix sleep while in atomic context in btrfs_sync_file()

Florian Westphal (1):
netfilter: x_tables: unregister the templates first

Gabor Juhos (1):
phy: marvell: mvebu-a3700-utmi: fix incorrect USB2_PHY_CTRL register access

Gang Yan (1):

      mptcp: sync the msk->sndbuf at accept() time

Greg Kroah-Hartman (2):
sysfs: don't remove existing directory on update failure Linux 6.6.142

Guangshuo Li (1):
RDMA/rtrs: Fix use-after-free in path file creation cleanup

Guenter Roeck (1):
ARM: integrator: Fix early initialization

Hao Qin (1):
Bluetooth: btusb: mediatek: refactor the function btusb_mtk_reset

Haoze Xie (1):

      netfilter: nf_queue: hold bridge skb->dev while queued

Harry Wentland (3):
drm/amd/display: Fix integer overflow in bios_get_image()
drm/amd/display: Validate GPIO pin LUT table size before iterating drm/amd/display: Validate payload length and link_index in dc_process_dmub_aux_transfer_async

Henrique Carvalho (1):
smb: client: protect tc_count increment in smb2_find_smb_sess_tcon_unlocked()

Huacai Chen (1):
LoongArch: Remove unused code to avoid build warning

Ido Schimmel (1):
bridge: mcast: Fix a possible use-after-free when removing a bridge port

Jakub Kicinski (2):
net: tls: fix off-by-one in sg_chain entry count for wrapped sk_msg ring
net: tls: prevent chain-after-chain in plain text SG

Jani Nikula (1):
string: add mem_is_zero() helper to check if memory area is all zeros

Jann Horn (1):

      Bluetooth: bnep: Fix UAF read of dev->name

Jeremy Laratro (1):
ksmbd: fix null pointer dereference in compare_guid_key()

Jeroen Massar (1):
net/mlx5: Do not restore destination-less TC rules

Jiajia Liu (1):

      Bluetooth: btmtk: fix urb->setup_packet leak in error paths

Jianpeng Chang (1):
kprobes: skip non-symbol addresses in kprobe_add_ksym_blacklist()

Jiayuan Chen (1):
irq_work: Fix use-after-free in irq_work_single() on PREEMPT_RT

Jiexun Wang (1):
Bluetooth: serialize accept_q access

Johan Hovold (3):
spi: qup: fix error pointer deref after DMA setup failure
spi: sprd: fix error pointer deref after DMA setup failure
spi: ti-qspi: fix use-after-free after DMA setup failure

Johannes Thumshirn (1):
zonefs: handle integer overflow in zonefs_fname_to_fno

John Walker (1):

      wifi: cfg80211: advance loop vars in cfg80211_merge_profile()

Juergen Gross (1):

      x86/xen: Fix xen_e820_swap_entry_with_ram()

Julien Chauveau (1):
drm/bridge: it66121: acquire reset GPIO in probe

Kuniyuki Iwashima (2):
af_unix: Give up GC if MSG_PEEK intervened.
tcp: Fix imbalanced icsk_accept_queue count.

Kyle Farnung (1):
wifi: ath11k: clear shared SRNG pointer state on restart

Linus Torvalds (1):
security/keys: fix missed RCU read section on lookup

Linus Walleij (2):
net: ethernet: cortina: Make RX SKB per-port
net: ethernet: cortina: Carry over frag counter

Lukas Bulwahn (1):
HID: quirks: really enable the intended work around for appledisplay

Luxiao Xu (1):
batman-adv: fix tp_meter counter underflow during shutdown

Marcin Szycik (1):
ice: fix setting promisc mode while adding VID filter

Martin Kaiser (1):
test_kprobes: clear kprobes between test runs

Masami Hiramatsu (Google) (1):

      tracing: Do not call map->ops->elt_free() if elt_alloc() fails

Matthew Leach (1):
wifi: ath11k: fix peer resolution on rx path when peer_id=0

Matthieu Baerts (NGI0) (3):
mptcp: pm: ADD_ADDR rtx: allow ID 0
mptcp: pm: ADD_ADDR rtx: always decrease sk refcount
mptcp: pm: ADD_ADDR rtx: free sk if last

Maulik Shah (1):
pinctrl: qcom: Fix wakeirq map by removing disconnected irqs for sm8150

Michael Bommarito (7):
Bluetooth: MGMT: validate Add Extended Advertising Data length
net: ifb: report ethtool stats over num_tx_queues
ipv4: raw: reject IP_HDRINCL packets with ihl < 5
ixgbevf: fix use-after-free in VEPA multicast source pruning
KVM: arm64: vgic-its: Reject restored DTE with out-of-range num_eventid_bits
scsi: isci: Fix use-after-free in device removal path
RDMA/siw: Reject MPA FPDU length underflow before signed receive math

Mikko Perttunen (1):
drm/msm: Fix iommu_map_sgtable() return value check and avoid WARN

Mingyu Wang (1):
Bluetooth: hci_uart: fix UAFs and race conditions in close and init paths

Minh Nguyen (1):
vsock/vmci: fix UAF when peer resets connection during handshake

Muchun Song (1):
drivers/base/memory: fix memory block reference leak in poison accounting

Myeonghun Pak (1):
net: lan966x: avoid unregistering netdev on register failure

Namjae Jeon (3):
ksmbd: avoid reclaiming expired durable opens by the client
ksmbd: add durable scavenger timer
ksmbd: validate owner of durable handle on reconnect

Nan Li (1):
netfilter: ipset: stop hash:* range iteration at end

Nicolai Buchwitz (1):
net: bcmgenet: keep RBUF EEE/PM disabled

Nicolas Escande (2):
wifi: ath11k: fix error path leaks in some WMI WOW calls
wifi: ath11k: fix error path leak in ath11k_tm_cmd_wmi_ftm()

Nikhil P. Rao (3):
pds_core: fix error handling in pdsc_devcmd_wait
pds_core: fix debugfs_lookup dentry leak and error handling
pds_core: ensure null-termination for firmware version strings

Oleksij Rempel (1):
net: phy: c45: add genphy_c45_pma_read_ext_abilities() function

Osama Abdelkader (2):
drm/bridge: chipone-icn6211: use devm_drm_bridge_add in i2c probe drm/bridge: megachips: remove bridge when irq request fails

Pengpeng Hou (1):
s390/debug: Reject zero-length input before trimming a newline

Peter Zijlstra (1):
ptrace: Convert ptrace_attach() to use lock guards

Petr Machata (1):
net: bridge: Flush multicast groups when snooping is disabled

Rafael J. Wysocki (4):
platform/x86: adv_swbutton: Check ACPI_HANDLE() against NULL platform/x86: hp_accel: Check ACPI_COMPANION() against NULL platform/x86: intel-hid: Check ACPI_HANDLE() against NULL platform/x86: intel-vbtn: Check ACPI_HANDLE() against NULL

Richard Fitzgerald (1):
ASoC: cs35l56: Fix flushing of IRQ work in cs35l56_sdw_remove()

Rosen Penev (2):
irqchip/ath79-cpu: Remove unused function
net: ag71xx: check error for platform_get_irq

Ruide Cao (1):
batman-adv: fix fragment reassembly length accounting

Ruijie Li (1):
batman-adv: clear current gateway during teardown

Sabrina Dubroca (1):
net: gro: don't merge zcopy skbs

Safa Karakuş (1):
Bluetooth: fix UAF in l2cap_sock_cleanup_listen() vs l2cap_conn_del()

Sasha Levin (5):
Revert "x86/vdso: Fix output operand size of RDPID"
Revert "ice: fix double-free of tx_buf skb"
Revert "ice: Remove jumbo_remove step from TX path"
Revert "s390/cio: Update purge function to unregister the unused subchannels" Revert "af_unix: Reject SIOCATMARK on non-stream sockets"

Sayali Patil (1):
powerpc/time: Remove redundant preempt_disable|enable() calls from arch_irq_work_raise()

Sean Wang (1):
Bluetooth: btmtk: add the function to get the fw name

SeongJae Park (1):
mm/damon/sysfs-schemes: call missing mem_cgroup_iter_break()

Shuhao Fu (1):
ALSA: hda: cs35l56: Put ACPI device after setting companion

Stefano Garzarella (1):
vsock/virtio: reset connection on receiving queue overflow

Steven Rostedt (1):
ring-buffer: Fix reporting of missed events in iterator

Su Hui (1):
pds_core: add an error code check in pdsc_dl_info_get

Sudeep Holla (2):
firmware: arm_ffa: Check for NULL FF-A ID table while driver registration
firmware: arm_ffa: Skip free_pages on RX buffer alloc failure

Sven Eckelmann (9):
batman-adv: mcast: fix use-after-free in orig_node RCU release
batman-adv: dat: handle forward allocation error
batman-adv: frag: disallow unicast fragment in fragment
batman-adv: bla: fix report_work leak on backbone_gw purge
batman-adv: tp_meter: avoid use of uninit sender vars
batman-adv: tp_meter: fix tp_vars reference leak in receiver shutdown
batman-adv: tp_meter: fix race condition in send error reporting
batman-adv: tt: fix negative last_changeset_len
batman-adv: tt: fix negative tt_buff_len

Sven Schuchmann (1):
net: phy: DP83TC811: add reading of abilities

Takashi Iwai (4):
ALSA: pcm: Don't setup bogus iov_iter for silencing
ALSA: asihpi: Fix potential OOB array access at reading cache
HID: uclogic: Fix regression of input name assignment
ALSA: seq: ump: Use guard() for locking

Tiezhu Yang (1):
LoongArch: kprobes: Fix handling of fatal unrecoverable recursions

Vladimir Murzin (1):
arm64: probes: Handle probes on hinted conditional branch instructions

Wayne Chang (1):
phy: tegra: xusb: Fix per-pad high-speed termination calibration

Xiang Mei (2):
net/smc: avoid NULL deref of conn->lnk in smc_msg_event tracepoint net/smc: reject CHID-0 ACCEPT that matches an empty ism_dev slot

Xingwang Xiang (1):
bpf, skmsg: fix verdict sk_data_ready racing with ktls rx

Yizhou Zhao (1):
netfilter: nft_inner: Fix IPv6 inner_thoff desync

Zack McKevitt (1):
accel/qaic: Add overflow check to remap_pfn_range during mmap

Zhang Cen (1):
ALSA: seq: Serialize UMP output teardown with event_input

Zhengchuan Liang (1):
netfilter: ip6t_hbh: reject oversized option lists

Zhihao Cheng (1):
cifs: Fix busy dentry used after unmounting

Zijing Yin (1):
phonet/pep: disable BH around forwarded sk_receive_skb()

author maintainer
#1 lore raw
Makefile +1 -1
index b9916e8715fe..4399fc78a62d 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 6
 PATCHLEVEL = 6
-SUBLEVEL = 141
+SUBLEVEL = 142
 EXTRAVERSION =
 NAME = Pinguïn Aangedreven
 
arch/arm/mach-versatile/integrator_cp.c +4 -9
index 2ed4ded56b3f..03dfb5f720b7 100644
@@ -86,14 +86,6 @@ static u64 notrace intcp_read_sched_clock(void)
 	return val;
 }
 
-static void __init intcp_init_early(void)
-{
-	cm_map = syscon_regmap_lookup_by_compatible("arm,core-module-integrator");
-	if (IS_ERR(cm_map))
-		return;
-	sched_clock_register(intcp_read_sched_clock, 32, 24000000);
-}
-
 static void __init intcp_init_irq_of(void)
 {
 	cm_init();
@@ -119,6 +111,10 @@ static void __init intcp_init_of(void)
 {
 	struct device_node *cpcon;
 
+	cm_map = syscon_regmap_lookup_by_compatible("arm,core-module-integrator");
+	if (!IS_ERR(cm_map))
+		sched_clock_register(intcp_read_sched_clock, 32, 24000000);
+
 	cpcon = of_find_matching_node(NULL, intcp_syscon_match);
 	if (!cpcon)
 		return;
@@ -138,7 +134,6 @@ static const char * intcp_dt_board_compat[] = {
 DT_MACHINE_START(INTEGRATOR_CP_DT, "ARM Integrator/CP (Device Tree)")
 	.reserve	= integrator_reserve,
 	.map_io		= intcp_map_io,
-	.init_early	= intcp_init_early,
 	.init_irq	= intcp_init_irq_of,
 	.init_machine	= intcp_init_of,
 	.dt_compat      = intcp_dt_board_compat,
arch/arm64/include/asm/insn.h +1 -1
index 12c0278294e3..f477ff380620 100644
@@ -399,7 +399,7 @@ __AARCH64_INSN_FUNCS(cbz,	0x7F000000, 0x34000000)
 __AARCH64_INSN_FUNCS(cbnz,	0x7F000000, 0x35000000)
 __AARCH64_INSN_FUNCS(tbz,	0x7F000000, 0x36000000)
 __AARCH64_INSN_FUNCS(tbnz,	0x7F000000, 0x37000000)
-__AARCH64_INSN_FUNCS(bcond,	0xFF000010, 0x54000000)
+__AARCH64_INSN_FUNCS(bcond,	0xFF000000, 0x54000000)
 __AARCH64_INSN_FUNCS(svc,	0xFFE0001F, 0xD4000001)
 __AARCH64_INSN_FUNCS(hvc,	0xFFE0001F, 0xD4000002)
 __AARCH64_INSN_FUNCS(smc,	0xFFE0001F, 0xD4000003)
arch/arm64/kvm/vgic/vgic-its.c +4 -0
index 608c39859f4e..c53186d84869 100644
@@ -2413,6 +2413,10 @@ static int vgic_its_restore_dte(struct vgic_its *its, u32 id,
 	/* dte entry is valid */
 	offset = (entry & KVM_ITS_DTE_NEXT_MASK) >> KVM_ITS_DTE_NEXT_SHIFT;
 
+	/* Mimic the MAPD behaviour and reject invalid EID bits. */
+	if (num_eventid_bits > VITS_TYPER_IDBITS)
+		return -EINVAL;
+
 	if (!vgic_its_check_id(its, baser, id, NULL))
 		return -EINVAL;
 
arch/loongarch/kernel/kprobes.c +2 -2
index 17b040bd6067..ea98b6a3e201 100644
@@ -184,16 +184,16 @@ static bool reenter_kprobe(struct kprobe *p, struct pt_regs *regs,
 			   struct kprobe_ctlblk *kcb)
 {
 	switch (kcb->kprobe_status) {
-	case KPROBE_HIT_SS:
 	case KPROBE_HIT_SSDONE:
 	case KPROBE_HIT_ACTIVE:
 		kprobes_inc_nmissed_count(p);
 		setup_singlestep(p, regs, kcb, 1);
 		break;
+	case KPROBE_HIT_SS:
 	case KPROBE_REENTER:
 		pr_warn("Failed to recover from reentered kprobes.\n");
 		dump_kprobe(p);
-		WARN_ON_ONCE(1);
+		BUG();
 		break;
 	default:
 		WARN_ON(1);
arch/loongarch/mm/init.c +0 -4
index a5bf96993bb1..03f809424363 100644
@@ -106,11 +106,7 @@ void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap)
 {
 	unsigned long start_pfn = start >> PAGE_SHIFT;
 	unsigned long nr_pages = size >> PAGE_SHIFT;
-	struct page *page = pfn_to_page(start_pfn);
 
-	/* With altmap the first mapped page is offset from @start */
-	if (altmap)
-		page += vmem_altmap_offset(altmap);
 	__remove_pages(start_pfn, nr_pages, altmap);
 }
 
arch/powerpc/kernel/time.c +4 -2
index df20cf201f74..dda35c404a67 100644
@@ -436,6 +436,10 @@ DEFINE_PER_CPU(u8, irq_work_pending);
 
 #endif /* 32 vs 64 bit */
 
+/*
+ * Must be called with preemption disabled since it updates
+ * per-CPU irq_work state and programs the local CPU decrementer.
+ */
 void arch_irq_work_raise(void)
 {
 	/*
@@ -449,10 +453,8 @@ void arch_irq_work_raise(void)
 	 * which could get tangled up if we're messing with the same state
 	 * here.
 	 */
-	preempt_disable();
 	set_irq_work_pending_flag();
 	set_dec(1);
-	preempt_enable();
 }
 
 static void set_dec_or_work(u64 val)
arch/s390/kernel/debug.c +3 -0
index cbe209fe0df1..893c35aeb746 100644
@@ -1258,6 +1258,9 @@ static inline char *debug_get_user_string(const char __user *user_buf,
 {
 	char *buffer;
 
+	if (!user_len)
+		return ERR_PTR(-EINVAL);
+
 	buffer = kmalloc(user_len + 1, GFP_KERNEL);
 	if (!buffer)
 		return ERR_PTR(-ENOMEM);
arch/x86/include/asm/segment.h +4 -4
index 00cefbb59fa9..9d6411c65920 100644
@@ -244,7 +244,7 @@ static inline unsigned long vdso_encode_cpunode(int cpu, unsigned long node)
 
 static inline void vdso_read_cpunode(unsigned *cpu, unsigned *node)
 {
-	unsigned long p;
+	unsigned int p;
 
 	/*
 	 * Load CPU and node number from the GDT.  LSL is faster than RDTSCP
@@ -254,10 +254,10 @@ static inline void vdso_read_cpunode(unsigned *cpu, unsigned *node)
 	 *
 	 * If RDPID is available, use it.
 	 */
-	alternative_io ("lsl %[seg],%k[p]",
-			"rdpid %[p]",
+	alternative_io ("lsl %[seg],%[p]",
+			".byte 0xf3,0x0f,0xc7,0xf8", /* RDPID %eax/rax */
 			X86_FEATURE_RDPID,
-			[p] "=r" (p), [seg] "r" (__CPUNODE_SEG));
+			[p] "=a" (p), [seg] "r" (__CPUNODE_SEG));
 
 	if (cpu)
 		*cpu = (p & VDSO_CPUNODE_MASK);
arch/x86/xen/setup.c +1 -1
index ec3ffb94807d..3d5236fa54dd 100644
@@ -656,7 +656,7 @@ static void __init xen_e820_swap_entry_with_ram(struct e820_entry *swap_entry)
 			/* Fill new entry (keep size and page offset). */
 			entry->type = swap_entry->type;
 			entry->addr = entry_end - swap_size +
-				      swap_addr - swap_entry->addr;
+				      swap_entry->addr - swap_addr;
 			entry->size = swap_entry->size;
 
 			/* Convert old entry to RAM, align to pages. */
drivers/accel/qaic/qaic_data.c +21 -2
index d00068987d9b..7beab1309e36 100644
@@ -595,8 +595,11 @@ static const struct vm_operations_struct drm_vm_ops = {
 static int qaic_gem_object_mmap(struct drm_gem_object *obj, struct vm_area_struct *vma)
 {
 	struct qaic_bo *bo = to_qaic_bo(obj);
+	unsigned long remap_start;
 	unsigned long offset = 0;
+	unsigned long remap_end;
 	struct scatterlist *sg;
+	unsigned long length;
 	int ret = 0;
 
 	if (obj->import_attach)
@@ -604,11 +607,27 @@ static int qaic_gem_object_mmap(struct drm_gem_object *obj, struct vm_area_struc
 
 	for (sg = bo->sgt->sgl; sg; sg = sg_next(sg)) {
 		if (sg_page(sg)) {
+			/* if sg is too large for the VMA, so truncate it to fit */
+			if (check_add_overflow(vma->vm_start, offset, &remap_start))
+				return -EINVAL;
+			if (check_add_overflow(remap_start, sg->length, &remap_end))
+				return -EINVAL;
+
+			if (remap_end > vma->vm_end) {
+				if (check_sub_overflow(vma->vm_end, remap_start, &length))
+					return -EINVAL;
+			} else {
+				length = sg->length;
+			}
+
+			if (length == 0)
+				goto out;
+
 			ret = remap_pfn_range(vma, vma->vm_start + offset, page_to_pfn(sg_page(sg)),
-					      sg->length, vma->vm_page_prot);
+					      length, vma->vm_page_prot);
 			if (ret)
 				goto out;
-			offset += sg->length;
+			offset += length;
 		}
 	}
 
drivers/base/bus.c +42 -1

69 lines not on this page · raw message

drivers/base/core.c +2 -0
index 3c172e6d3fe0..5048849cb97a 100644
@@ -2505,6 +2505,7 @@ static void device_release(struct kobject *kobj)
 	devres_release_all(dev);
 
 	kfree(dev->dma_range_map);
+	kfree(dev->driver_override.name);
 
 	if (dev->release)
 		dev->release(dev);
@@ -3153,6 +3154,7 @@ void device_initialize(struct device *dev)
 	kobject_init(&dev->kobj, &device_ktype);
 	INIT_LIST_HEAD(&dev->dma_pools);
 	mutex_init(&dev->mutex);
+	spin_lock_init(&dev->driver_override.lock);
 	lockdep_set_novalidate_class(&dev->mutex);
 	spin_lock_init(&dev->devres_lock);
 	INIT_LIST_HEAD(&dev->devres_head);
drivers/base/dd.c +60 -0

66 lines not on this page · raw message

drivers/base/memory.c +6 -2
index 8a13babd826c..9e413f522bd6 100644
@@ -1211,8 +1211,10 @@ void memblk_nr_poison_inc(unsigned long pfn)
 	const unsigned long block_id = pfn_to_block_id(pfn);
 	struct memory_block *mem = find_memory_block_by_id(block_id);
 
-	if (mem)
+	if (mem) {
 		atomic_long_inc(&mem->nr_hwpoison);
+		put_device(&mem->dev);
+	}
 }
 
 void memblk_nr_poison_sub(unsigned long pfn, long i)
@@ -1220,8 +1222,10 @@ void memblk_nr_poison_sub(unsigned long pfn, long i)
 	const unsigned long block_id = pfn_to_block_id(pfn);
 	struct memory_block *mem = find_memory_block_by_id(block_id);
 
-	if (mem)
+	if (mem) {
 		atomic_long_sub(i, &mem->nr_hwpoison);
+		put_device(&mem->dev);
+	}
 }
 
 static unsigned long memblk_nr_poison(struct memory_block *mem)
drivers/base/platform.c +5 -32
index 76bfcba25003..1cc9a876b3cd 100644
@@ -561,7 +561,6 @@ static void platform_device_release(struct device *dev)
 	kfree(pa->pdev.dev.platform_data);
 	kfree(pa->pdev.mfd_cell);
 	kfree(pa->pdev.resource);
-	kfree(pa->pdev.driver_override);
 	kfree(pa);
 }
 
@@ -1265,38 +1264,9 @@ static ssize_t numa_node_show(struct device *dev,
 }
 static DEVICE_ATTR_RO(numa_node);
 
-static ssize_t driver_override_show(struct device *dev,
-				    struct device_attribute *attr, char *buf)
-{
-	struct platform_device *pdev = to_platform_device(dev);
-	ssize_t len;
-
-	device_lock(dev);
-	len = sysfs_emit(buf, "%s\n", pdev->driver_override);
-	device_unlock(dev);
-
-	return len;
-}
-
-static ssize_t driver_override_store(struct device *dev,
-				     struct device_attribute *attr,
-				     const char *buf, size_t count)
-{
-	struct platform_device *pdev = to_platform_device(dev);
-	int ret;
-
-	ret = driver_set_override(dev, &pdev->driver_override, buf, count);
-	if (ret)
-		return ret;
-
-	return count;
-}
-static DEVICE_ATTR_RW(driver_override);
-
 static struct attribute *platform_dev_attrs[] = {
 	&dev_attr_modalias.attr,
 	&dev_attr_numa_node.attr,
-	&dev_attr_driver_override.attr,
 	NULL,
 };
 
@@ -1336,10 +1306,12 @@ static int platform_match(struct device *dev, struct device_driver *drv)
 {
 	struct platform_device *pdev = to_platform_device(dev);
 	struct platform_driver *pdrv = to_platform_driver(drv);
+	int ret;
 
 	/* When driver_override is set, only bind to the matching driver */
-	if (pdev->driver_override)
-		return !strcmp(pdev->driver_override, drv->name);
+	ret = device_match_driver_override(dev, drv);
+	if (ret >= 0)
+		return ret;
 
 	/* Attempt an OF style match first */
 	if (of_driver_match_device(dev, drv))
@@ -1482,6 +1454,7 @@ static const struct dev_pm_ops platform_dev_pm_ops = {
 struct bus_type platform_bus_type = {
 	.name		= "platform",
 	.dev_groups	= platform_dev_groups,
+	.driver_override = true,
 	.match		= platform_match,
 	.uevent		= platform_uevent,
 	.probe		= platform_probe,
drivers/bluetooth/btmtk.c +290 -5

343 lines not on this page · raw message

drivers/bluetooth/btmtk.h +40 -1

72 lines not on this page · raw message

drivers/bluetooth/btmtksdio.c +1 -0
index 97659b4792e6..e249aa758783 100644
@@ -20,6 +20,7 @@
 #include <linux/of.h>
 #include <linux/pm_runtime.h>
 #include <linux/skbuff.h>
+#include <linux/usb.h>
 
 #include <linux/mmc/host.h>
 #include <linux/mmc/sdio_ids.h>
drivers/bluetooth/btmtkuart.c +1 -0
index 203a000a84e3..9823c40ae268 100644
@@ -22,6 +22,7 @@
 #include <linux/regulator/consumer.h>
 #include <linux/serdev.h>
 #include <linux/skbuff.h>
+#include <linux/usb.h>
 
 #include <net/bluetooth/bluetooth.h>
 #include <net/bluetooth/hci_core.h>
drivers/bluetooth/btusb.c +35 -303

416 lines not on this page · raw message

drivers/bluetooth/hci_ldisc.c +40 -8

102 lines not on this page · raw message

drivers/bus/simple-pm-bus.c +2 -2
index aafcc481de91..cb71774400d4 100644
@@ -36,7 +36,7 @@ static int simple_pm_bus_probe(struct platform_device *pdev)
 	 * that's not listed in simple_pm_bus_of_match. We don't want to do any
 	 * of the simple-pm-bus tasks for these devices, so return early.
 	 */
-	if (pdev->driver_override)
+	if (device_has_driver_override(&pdev->dev))
 		return 0;
 
 	match = of_match_device(dev->driver->of_match_table, dev);
@@ -78,7 +78,7 @@ static int simple_pm_bus_remove(struct platform_device *pdev)
 {
 	const void *data = of_device_get_match_data(&pdev->dev);
 
-	if (pdev->driver_override || data)
+	if (device_has_driver_override(&pdev->dev) || data)
 		return 0;
 
 	dev_dbg(&pdev->dev, "%s\n", __func__);
drivers/clk/imx/clk-scu.c +1 -2
index 564f549ec204..3a68576cdae7 100644
@@ -700,8 +700,7 @@ struct clk_hw *imx_clk_scu_alloc_dev(const char *name,
 		return ERR_PTR(ret);
 	}
 
-	ret = driver_set_override(&pdev->dev, &pdev->driver_override,
-				  "imx-scu-clk", strlen("imx-scu-clk"));
+	ret = device_set_driver_override(&pdev->dev, "imx-scu-clk");
 	if (ret) {
 		platform_device_put(pdev);
 		return ERR_PTR(ret);
drivers/firmware/arm_ffa/bus.c +3 -1
index d885e1381072..31e61602e770 100644
@@ -24,6 +24,8 @@ static int ffa_device_match(struct device *dev, struct device_driver *drv)
 
 	id_table = to_ffa_driver(drv)->id_table;
 	ffa_dev = to_ffa_dev(dev);
+	if (!id_table)
+		return 0;
 
 	while (!uuid_is_null(&id_table->uuid)) {
 		/*
@@ -107,7 +109,7 @@ int ffa_driver_register(struct ffa_driver *driver, struct module *owner,
 {
 	int ret;
 
-	if (!driver->probe)
+	if (!driver->probe || !driver->id_table)
 		return -EINVAL;
 
 	driver->driver.bus = &ffa_bus_type;
drivers/firmware/arm_ffa/driver.c +1 -1
index 488f8345dd1b..ece91d8d820b 100644
@@ -743,7 +743,7 @@ static int __init ffa_init(void)
 	drv_info->rx_buffer = alloc_pages_exact(RXTX_BUFFER_SIZE, GFP_KERNEL);
 	if (!drv_info->rx_buffer) {
 		ret = -ENOMEM;
-		goto free_pages;
+		goto free_drv_info;
 	}
 
 	drv_info->tx_buffer = alloc_pages_exact(RXTX_BUFFER_SIZE, GFP_KERNEL);
drivers/firmware/efi/efi.c +16 -12
index ef55e3851b36..493b6b07bdc3 100644
@@ -371,21 +371,11 @@ static void __init efi_debugfs_init(void)
 static inline void efi_debugfs_init(void) {}
 #endif
 
-/*
- * We register the efi subsystem with the firmware subsystem and the
- * efivars subsystem with the efi subsystem, if the system was booted with
- * EFI.
- */
-static int __init efisubsys_init(void)
+static int __init efipostcore_init(void)
 {
-	int error;
-
 	if (!efi_enabled(EFI_RUNTIME_SERVICES))
 		efi.runtime_supported_mask = 0;
 
-	if (!efi_enabled(EFI_BOOT))
-		return 0;
-
 	if (efi.runtime_supported_mask) {
 		/*
 		 * Since we process only one efi_runtime_service() at a time, an
@@ -397,9 +387,23 @@ static int __init efisubsys_init(void)
 			pr_err("Creating efi_rts_wq failed, EFI runtime services disabled.\n");
 			clear_bit(EFI_RUNTIME_SERVICES, &efi.flags);
 			efi.runtime_supported_mask = 0;
-			return 0;
 		}
 	}
+	return 0;
+}
+postcore_initcall(efipostcore_init);
+
+/*
+ * We register the efi subsystem with the firmware subsystem and the
+ * efivars subsystem with the efi subsystem, if the system was booted with
+ * EFI.
+ */
+static int __init efisubsys_init(void)
+{
+	int error;
+
+	if (!efi_enabled(EFI_BOOT))
+		return 0;
 
 	if (efi_rt_services_supported(EFI_RT_SUPPORTED_TIME_SERVICES))
 		platform_device_register_simple("rtc-efi", 0, NULL, 0);
drivers/gpio/gpiolib-cdev.c +17 -4
index 545998e9f6ad..c6689f66a2d2 100644
@@ -16,7 +16,6 @@
 #include <linux/hte.h>
 #include <linux/interrupt.h>
 #include <linux/irqreturn.h>
-#include <linux/kernel.h>
 #include <linux/kfifo.h>
 #include <linux/module.h>
 #include <linux/mutex.h>
@@ -25,6 +24,7 @@
 #include <linux/rbtree.h>
 #include <linux/seq_file.h>
 #include <linux/spinlock.h>
+#include <linux/string.h>
 #include <linux/timekeeping.h>
 #include <linux/uaccess.h>
 #include <linux/workqueue.h>
@@ -1374,6 +1374,7 @@ static int gpio_v2_line_flags_validate(u64 flags)
 static int gpio_v2_line_config_validate(struct gpio_v2_line_config *lc,
 					unsigned int num_lines)
 {
+	size_t unused_attrs;
 	unsigned int i;
 	u64 flags;
 	int ret;
@@ -1381,9 +1382,21 @@ static int gpio_v2_line_config_validate(struct gpio_v2_line_config *lc,
 	if (lc->num_attrs > GPIO_V2_LINE_NUM_ATTRS_MAX)
 		return -EINVAL;
 
-	if (memchr_inv(lc->padding, 0, sizeof(lc->padding)))
+	unused_attrs = GPIO_V2_LINE_NUM_ATTRS_MAX - lc->num_attrs;
+
+	if (!mem_is_zero(lc->padding, sizeof(lc->padding)))
 		return -EINVAL;
 
+	for (i = 0; i < lc->num_attrs; i++) {
+		if (lc->attrs[i].attr.padding != 0)
+			return -EINVAL;
+	}
+
+	if (unused_attrs) {
+		if (!mem_is_zero(&lc->attrs[lc->num_attrs], unused_attrs * sizeof(*lc->attrs)))
+			return -EINVAL;
+	}
+
 	for (i = 0; i < num_lines; i++) {
 		flags = gpio_v2_line_config_flags(lc, i);
 		ret = gpio_v2_line_flags_validate(flags);
@@ -1825,7 +1838,7 @@ static int linereq_create(struct gpio_device *gdev, void __user *ip)
 	if ((ulr.num_lines == 0) || (ulr.num_lines > GPIO_V2_LINES_MAX))
 		return -EINVAL;
 
-	if (memchr_inv(ulr.padding, 0, sizeof(ulr.padding)))
+	if (!mem_is_zero(ulr.padding, sizeof(ulr.padding)))
 		return -EINVAL;
 
 	lc = &ulr.config;
@@ -2619,7 +2632,7 @@ static int lineinfo_get(struct gpio_chardev_data *cdev, void __user *ip,
 	if (copy_from_user(&lineinfo, ip, sizeof(lineinfo)))
 		return -EFAULT;
 
-	if (memchr_inv(lineinfo.padding, 0, sizeof(lineinfo.padding)))
+	if (!mem_is_zero(lineinfo.padding, sizeof(lineinfo.padding)))
 		return -EINVAL;
 
 	desc = gpiochip_get_desc(cdev->gdev->chip, lineinfo.offset);
drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c +9 -0
index c0a705888cb5..edf17c69c1be 100644
@@ -488,6 +488,10 @@ static enum bp_result get_gpio_i2c_info(
 			- sizeof(struct atom_common_table_header))
 				/ sizeof(struct atom_gpio_pin_assignment);
 
+	if (!bios_get_image(&bp->base, DATA_TABLES(gpio_pin_lut),
+			    le16_to_cpu(header->table_header.structuresize)))
+		return BP_RESULT_BADBIOSTABLE;
+
 	pin = (struct atom_gpio_pin_assignment *) header->gpio_pin;
 
 	for (table_index = 0; table_index < count; table_index++) {
@@ -677,6 +681,11 @@ static enum bp_result bios_parser_get_gpio_pin_info(
 	count = (le16_to_cpu(header->table_header.structuresize)
 			- sizeof(struct atom_common_table_header))
 				/ sizeof(struct atom_gpio_pin_assignment);
+
+	if (!bios_get_image(&bp->base, DATA_TABLES(gpio_pin_lut),
+			    le16_to_cpu(header->table_header.structuresize)))
+		return BP_RESULT_BADBIOSTABLE;
+
 	for (i = 0; i < count; ++i) {
 		if (header->gpio_pin[i].gpio_id != gpio_id)
 			continue;
drivers/gpu/drm/amd/display/dc/bios/bios_parser_helper.c +6 -3
index adc710fe4a45..d3f149192451 100644
@@ -37,10 +37,13 @@ uint8_t *bios_get_image(struct dc_bios *bp,
 	uint32_t offset,
 	uint32_t size)
 {
-	if (bp->bios && offset + size < bp->bios_size)
-		return bp->bios + offset;
-	else
+	if (!bp->bios)
 		return NULL;
+
+	if (offset > bp->bios_size || size > bp->bios_size - offset)
+		return NULL;
+
+	return bp->bios + offset;
 }
 
 #include "reg_helper.h"
drivers/gpu/drm/amd/display/dc/core/dc.c +5 -1
index 31c53491b837..bea18f450ac9 100644
@@ -4965,7 +4965,11 @@ bool dc_process_dmub_aux_transfer_async(struct dc *dc,
 	uint8_t action;
 	union dmub_rb_cmd cmd = {0};
 
-	ASSERT(payload->length <= 16);
+	if (link_index >= dc->link_count || !dc->links[link_index])
+		return false;
+
+	if (payload->length > sizeof(cmd.dp_aux_access.aux_control.dpaux.data))
+		return false;
 
 	cmd.dp_aux_access.header.type = DMUB_CMD__DP_AUX_ACCESS;
 	cmd.dp_aux_access.header.payload_bytes = 0;
drivers/gpu/drm/bridge/chipone-icn6211.c +3 -1
index 5e295f86f2a7..f4741be16ae2 100644
@@ -757,7 +757,9 @@ static int chipone_i2c_probe(struct i2c_client *client)
 	dev_set_drvdata(dev, icn);
 	i2c_set_clientdata(client, icn);
 
-	drm_bridge_add(&icn->bridge);
+	ret = devm_drm_bridge_add(dev, &icn->bridge);
+	if (ret)
+		return ret;
 
 	return chipone_dsi_host_attach(icn);
 }
drivers/gpu/drm/bridge/ite-it66121.c +5 -0
index 2381cd1cba87..588c7df4ff8d 100644
@@ -1566,6 +1566,11 @@ static int it66121_probe(struct i2c_client *client)
 		return ret;
 	}
 
+	ctx->gpio_reset = devm_gpiod_get(dev, "reset", GPIOD_OUT_LOW);
+	if (IS_ERR(ctx->gpio_reset))
+		return dev_err_probe(dev, PTR_ERR(ctx->gpio_reset),
+				     "Failed to get reset GPIO\n");
+
 	it66121_hw_reset(ctx);
 
 	ctx->regmap = devm_regmap_init_i2c(client, &it66121_regmap_config);
drivers/gpu/drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.c +10 -6
index 460db3c8a08c..d8d67170f23e 100644
@@ -302,7 +302,6 @@ static void ge_b850v3_lvds_remove(void)
 		goto out;
 
 	drm_bridge_remove(&ge_b850v3_lvds_ptr->bridge);
-
 	ge_b850v3_lvds_ptr = NULL;
 out:
 	mutex_unlock(&ge_b850v3_lvds_dev_mutex);
@@ -312,6 +311,7 @@ static int ge_b850v3_register(void)
 {
 	struct i2c_client *stdp4028_i2c = ge_b850v3_lvds_ptr->stdp4028_i2c;
 	struct device *dev = &stdp4028_i2c->dev;
+	int ret;
 
 	/* drm bridge initialization */
 	ge_b850v3_lvds_ptr->bridge.funcs = &ge_b850v3_lvds_funcs;
@@ -329,11 +329,15 @@ static int ge_b850v3_register(void)
 	if (!stdp4028_i2c->irq)
 		return 0;
 
-	return devm_request_threaded_irq(&stdp4028_i2c->dev,
-			stdp4028_i2c->irq, NULL,
-			ge_b850v3_lvds_irq_handler,
-			IRQF_TRIGGER_HIGH | IRQF_ONESHOT,
-			"ge-b850v3-lvds-dp", ge_b850v3_lvds_ptr);
+	ret = devm_request_threaded_irq(&stdp4028_i2c->dev,
+					stdp4028_i2c->irq, NULL,
+					ge_b850v3_lvds_irq_handler,
+					IRQF_TRIGGER_HIGH | IRQF_ONESHOT,
+					"ge-b850v3-lvds-dp", ge_b850v3_lvds_ptr);
+	if (ret)
+		drm_bridge_remove(&ge_b850v3_lvds_ptr->bridge);
+
+	return ret;
 }
 
 static int stdp4028_ge_b850v3_fw_probe(struct i2c_client *stdp4028_i2c)
drivers/gpu/drm/msm/disp/msm_disp_snapshot_util.c +18 -6
index 4d55e3cf570f..a966a03167cc 100644
@@ -9,7 +9,7 @@
 
 #include "msm_disp_snapshot.h"
 
-static void msm_disp_state_dump_regs(u32 **reg, u32 aligned_len, void __iomem *base_addr)
+static void msm_disp_state_dump_regs(u32 **reg, u32 len, void __iomem *base_addr)
 {
 	u32 len_padded;
 	u32 num_rows;
@@ -19,11 +19,11 @@ static void msm_disp_state_dump_regs(u32 **reg, u32 aligned_len, void __iomem *b
 	void __iomem *end_addr;
 	int i;
 
-	len_padded = aligned_len * REG_DUMP_ALIGN;
-	num_rows = aligned_len / REG_DUMP_ALIGN;
+	len_padded = round_up(len, REG_DUMP_ALIGN);
+	num_rows = DIV_ROUND_UP(len, REG_DUMP_ALIGN);
 
 	addr = base_addr;
-	end_addr = base_addr + aligned_len;
+	end_addr = base_addr + len;
 
 	if (!(*reg))
 		*reg = kvzalloc(len_padded, GFP_KERNEL);
@@ -51,8 +51,8 @@ static void msm_disp_state_dump_regs(u32 **reg, u32 aligned_len, void __iomem *b
 static void msm_disp_state_print_regs(const u32 *dump_addr, u32 len,
 		void __iomem *base_addr, struct drm_printer *p)
 {
+	void __iomem *addr, *end_addr;
 	int i;
-	void __iomem *addr;
 	u32 num_rows;
 
 	if (!dump_addr) {
@@ -61,6 +61,7 @@ static void msm_disp_state_print_regs(const u32 *dump_addr, u32 len,
 	}
 
 	addr = base_addr;
+	end_addr = base_addr + len;
 	num_rows = len / REG_DUMP_ALIGN;
 
 	for (i = 0; i < num_rows; i++) {
@@ -70,6 +71,17 @@ static void msm_disp_state_print_regs(const u32 *dump_addr, u32 len,
 				dump_addr[i * 4 + 2], dump_addr[i * 4 + 3]);
 		addr += REG_DUMP_ALIGN;
 	}
+
+	if (addr != end_addr) {
+		drm_printf(p, "0x%lx : %08x",
+			   (unsigned long)(addr - base_addr),
+			   dump_addr[i * 4]);
+		if (addr + 0x4 < end_addr)
+			drm_printf(p, " %08x", dump_addr[i * 4 + 1]);
+		if (addr + 0x8 < end_addr)
+			drm_printf(p, " %08x", dump_addr[i * 4 + 2]);
+		drm_printf(p, "\n");
+	}
 }
 
 void msm_disp_state_print(struct msm_disp_state *state, struct drm_printer *p)
@@ -189,7 +201,7 @@ void msm_disp_snapshot_add_block(struct msm_disp_state *disp_state, u32 len,
 	va_end(va);
 
 	INIT_LIST_HEAD(&new_blk->node);
-	new_blk->size = ALIGN(len, REG_DUMP_ALIGN);
+	new_blk->size = len;
 	new_blk->base_addr = base_addr;
 
 	msm_disp_state_dump_regs(&new_blk->state, new_blk->size, base_addr);
drivers/gpu/drm/msm/dsi/dsi_host.c +1 -0
index 771ac3456103..f5ac0e20665f 100644
@@ -1929,6 +1929,7 @@ int msm_dsi_host_init(struct msm_dsi *msm_dsi)
 
 	/* fixup base address by io offset */
 	msm_host->ctrl_base += cfg->io_offset;
+	msm_host->ctrl_size -= cfg->io_offset;
 
 	ret = devm_regulator_bulk_get_const(&pdev->dev, cfg->num_regulators,
 					    cfg->regulator_data,
drivers/gpu/drm/msm/msm_iommu.c +3 -2
index d5512037c38b..10d068fdfebd 100644
@@ -362,14 +362,15 @@ static int msm_iommu_map(struct msm_mmu *mmu, uint64_t iova,
 		struct sg_table *sgt, size_t len, int prot)
 {
 	struct msm_iommu *iommu = to_msm_iommu(mmu);
-	size_t ret;
+	ssize_t ret;
 
 	/* The arm-smmu driver expects the addresses to be sign extended */
 	if (iova & BIT_ULL(48))
 		iova |= GENMASK_ULL(63, 49);
 
 	ret = iommu_map_sgtable(iommu->domain, iova, sgt, prot);
-	WARN_ON(!ret);
+	if (ret < 0)
+		return ret;
 
 	return (ret == len) ? 0 : -EINVAL;
 }
drivers/gpu/drm/virtio/virtgpu_drv.h +1 -0
index 61fd37f95fbd..9f9ded45cd6a 100644
@@ -313,6 +313,7 @@ virtio_gpu_array_from_handles(struct drm_file *drm_file, u32 *handles, u32 nents
 void virtio_gpu_array_add_obj(struct virtio_gpu_object_array *objs,
 			      struct drm_gem_object *obj);
 int virtio_gpu_array_lock_resv(struct virtio_gpu_object_array *objs);
+int virtio_gpu_lock_one_resv_uninterruptible(struct virtio_gpu_object_array *objs);
 void virtio_gpu_array_unlock_resv(struct virtio_gpu_object_array *objs);
 void virtio_gpu_array_add_fence(struct virtio_gpu_object_array *objs,
 				struct dma_fence *fence);
drivers/gpu/drm/virtio/virtgpu_gem.c +17 -0
index 7db48d17ee3a..2e75cdeb49b3 100644
@@ -236,6 +236,23 @@ int virtio_gpu_array_lock_resv(struct virtio_gpu_object_array *objs)
 	return ret;
 }
 
+int virtio_gpu_lock_one_resv_uninterruptible(struct virtio_gpu_object_array *objs)
+{
+	int ret;
+
+	if (objs->nents != 1)
+		return -EINVAL;
+
+	dma_resv_lock(objs->objs[0]->resv, NULL);
+
+	ret = dma_resv_reserve_fences(objs->objs[0]->resv, 1);
+	if (ret) {
+		virtio_gpu_array_unlock_resv(objs);
+		return ret;
+	}
+	return 0;
+}
+
 void virtio_gpu_array_unlock_resv(struct virtio_gpu_object_array *objs)
 {
 	if (objs->nents == 1) {
drivers/gpu/drm/virtio/virtgpu_plane.c +8 -2
index 36de73e03bbf..5c173721759a 100644
@@ -168,7 +168,10 @@ static void virtio_gpu_resource_flush(struct drm_plane *plane,
 		if (!objs)
 			return;
 		virtio_gpu_array_add_obj(objs, vgfb->base.obj[0]);
-		virtio_gpu_array_lock_resv(objs);
+		if (virtio_gpu_lock_one_resv_uninterruptible(objs)) {
+			virtio_gpu_array_put_free(objs);
+			return;
+		}
 		virtio_gpu_cmd_resource_flush(vgdev, bo->hw_res_handle, x, y,
 					      width, height, objs,
 					      vgplane_st->fence);
@@ -339,7 +342,10 @@ static void virtio_gpu_cursor_plane_update(struct drm_plane *plane,
 		if (!objs)
 			return;
 		virtio_gpu_array_add_obj(objs, vgfb->base.obj[0]);
-		virtio_gpu_array_lock_resv(objs);
+		if (virtio_gpu_lock_one_resv_uninterruptible(objs)) {
+			virtio_gpu_array_put_free(objs);
+			return;
+		}
 		virtio_gpu_cmd_transfer_to_host_2d
 			(vgdev, 0,
 			 plane->state->crtc_w,
drivers/hid/hid-quirks.c +1 -1
index d9e33dde8989..9d396d2e534d 100644
@@ -234,7 +234,7 @@ static const struct hid_device_id hid_quirks[] = {
  * used as a driver. See hid_scan_report().
  */
 static const struct hid_device_id hid_have_special_driver[] = {
-#if IS_ENABLED(CONFIG_APPLEDISPLAY)
+#if IS_ENABLED(CONFIG_USB_APPLEDISPLAY)
 	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, 0x9218) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, 0x9219) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, 0x921c) },
drivers/hid/hid-uclogic-core.c +3 -1
index 45de01dea4b1..d4cf8846f326 100644
@@ -142,7 +142,9 @@ static int uclogic_input_configured(struct hid_device *hdev,
 			suffix = "System Control";
 			break;
 		}
-	} else {
+	}
+
+	if (suffix) {
 		hi->input->name = devm_kasprintf(&hdev->dev, GFP_KERNEL,
 						 "%s %s", hdev->name, suffix);
 		if (!hi->input->name)
drivers/hwmon/pmbus/adm1266.c +21 -11
index ed0a7b9fae4b..a8690d6c9b9c 100644
@@ -46,6 +46,7 @@
 
 #define ADM1266_BLACKBOX_OFFSET		0
 #define ADM1266_BLACKBOX_SIZE		64
+#define ADM1266_BLACKBOX_MAX_RECORDS	32
 
 #define ADM1266_PMBUS_BLOCK_MAX		255
 
@@ -60,7 +61,7 @@ struct adm1266_data {
 	u8 *dev_mem;
 	struct mutex buf_mutex;
 	u8 write_buf[ADM1266_PMBUS_BLOCK_MAX + 1] ____cacheline_aligned;
-	u8 read_buf[ADM1266_PMBUS_BLOCK_MAX + 1] ____cacheline_aligned;
+	u8 read_buf[ADM1266_PMBUS_BLOCK_MAX + 2] ____cacheline_aligned;
 };
 
 static const struct nvmem_cell_info adm1266_nvmem_cells[] = {
@@ -175,6 +176,8 @@ static int adm1266_gpio_get(struct gpio_chip *chip, unsigned int offset)
 	ret = i2c_smbus_read_block_data(data->client, pmbus_cmd, read_buf);
 	if (ret < 0)
 		return ret;
+	if (ret < 2)
+		return -EIO;
 
 	pins_status = read_buf[0] + (read_buf[1] << 8);
 	if (offset < ADM1266_GPIO_NR)
@@ -195,6 +198,8 @@ static int adm1266_gpio_get_multiple(struct gpio_chip *chip, unsigned long *mask
 	ret = i2c_smbus_read_block_data(data->client, ADM1266_GPIO_STATUS, read_buf);
 	if (ret < 0)
 		return ret;
+	if (ret < 2)
+		return -EIO;
 
 	status = read_buf[0] + (read_buf[1] << 8);
 
@@ -207,11 +212,12 @@ static int adm1266_gpio_get_multiple(struct gpio_chip *chip, unsigned long *mask
 	ret = i2c_smbus_read_block_data(data->client, ADM1266_PDIO_STATUS, read_buf);
 	if (ret < 0)
 		return ret;
+	if (ret < 2)
+		return -EIO;
 
 	status = read_buf[0] + (read_buf[1] << 8);
 
-	*bits = 0;
-	for_each_set_bit_from(gpio_nr, mask, ADM1266_GPIO_NR + ADM1266_PDIO_STATUS) {
+	for_each_set_bit_from(gpio_nr, mask, ADM1266_GPIO_NR + ADM1266_PDIO_NR) {
 		if (test_bit(gpio_nr - ADM1266_GPIO_NR, &status))
 			set_bit(gpio_nr, bits);
 	}
@@ -347,9 +353,10 @@ static void adm1266_init_debugfs(struct adm1266_data *data)
 
 static int adm1266_nvmem_read_blackbox(struct adm1266_data *data, u8 *read_buff)
 {
+	u8 record[ADM1266_PMBUS_BLOCK_MAX];
 	int record_count;
 	char index;
-	u8 buf[5];
+	u8 buf[I2C_SMBUS_BLOCK_MAX];
 	int ret;
 
 	ret = i2c_smbus_read_block_data(data->client, ADM1266_BLACKBOX_INFO, buf);
@@ -360,15 +367,18 @@ static int adm1266_nvmem_read_blackbox(struct adm1266_data *data, u8 *read_buff)
 		return -EIO;
 
 	record_count = buf[3];
+	if (record_count > ADM1266_BLACKBOX_MAX_RECORDS)
+		return -EIO;
 
 	for (index = 0; index < record_count; index++) {
-		ret = adm1266_pmbus_block_xfer(data, ADM1266_READ_BLACKBOX, 1, &index, read_buff);
+		ret = adm1266_pmbus_block_xfer(data, ADM1266_READ_BLACKBOX, 1, &index, record);
 		if (ret < 0)
 			return ret;
 
 		if (ret != ADM1266_BLACKBOX_SIZE)
 			return -EIO;
 
+		memcpy(read_buff, record, ADM1266_BLACKBOX_SIZE);
 		read_buff += ADM1266_BLACKBOX_SIZE;
 	}
 
@@ -432,7 +442,7 @@ static int adm1266_set_rtc(struct adm1266_data *data)
 	char write_buf[6];
 	int i;
 
-	kt = ktime_get_seconds();
+	kt = ktime_get_real_seconds();
 
 	memset(write_buf, 0, sizeof(write_buf));
 
@@ -462,20 +472,20 @@ static int adm1266_probe(struct i2c_client *client)
 	crc8_populate_msb(pmbus_crc_table, 0x7);
 	mutex_init(&data->buf_mutex);
 
-	ret = adm1266_config_gpio(data);
+	ret = adm1266_set_rtc(data);
 	if (ret < 0)
 		return ret;
 
-	ret = adm1266_set_rtc(data);
-	if (ret < 0)
+	ret = pmbus_do_probe(client, &data->info);
+	if (ret)
 		return ret;
 
 	ret = adm1266_config_nvmem(data);
 	if (ret < 0)
 		return ret;
 
-	ret = pmbus_do_probe(client, &data->info);
-	if (ret)
+	ret = adm1266_config_gpio(data);
+	if (ret < 0)
 		return ret;
 
 	adm1266_init_debugfs(data);
drivers/infiniband/sw/siw/siw_qp_rx.c +15 -0
index e2ad2425d57d..e4fa61a0c6ca 100644
@@ -1101,6 +1101,21 @@ static int siw_get_hdr(struct siw_rx_stream *srx)
 			return -EAGAIN;
 	}
 
+	/*
+	 * Peer-controlled mpa_len must not underflow srx->fpdu_part_rem
+	 * in siw_tcp_rx_data(); a negative value flows as a signed copy
+	 * length into siw_check_mem() and skb_copy_bits().
+	 */
+	if (unlikely(be16_to_cpu(c_hdr->mpa_len) + MPA_HDR_SIZE <
+		     iwarp_pktinfo[opcode].hdr_len)) {
+		pr_warn_ratelimited("siw: short mpa_len %u for opcode %u (hdr_len %u)\n",
+				    be16_to_cpu(c_hdr->mpa_len), opcode,
+				    iwarp_pktinfo[opcode].hdr_len);
+		siw_init_terminate(rx_qp(srx), TERM_ERROR_LAYER_LLP,
+				   LLP_ETYPE_MPA, LLP_ECODE_FPDU_START, 0);
+		return -EINVAL;
+	}
+
 	/*
 	 * DDP/RDMAP header receive completed. Check if the current
 	 * DDP segment starts a new RDMAP message or continues a previously
drivers/infiniband/ulp/rtrs/rtrs-srv-sysfs.c +1 -1
index 3f305e694fe8..1b1c6ea4ee5a 100644
@@ -295,8 +295,8 @@ int rtrs_srv_create_path_files(struct rtrs_srv_path *srv_path)
 put_kobj:
 	kobject_del(&srv_path->kobj);
 destroy_root:
-	kobject_put(&srv_path->kobj);
 	rtrs_srv_destroy_once_sysfs_root_folders(srv_path);
+	kobject_put(&srv_path->kobj);
 
 	return err;
 }
drivers/irqchip/irq-ath79-cpu.c +0 -7
index 923e4bba3776..9b7273a7f8ce 100644
@@ -85,10 +85,3 @@ static int __init ar79_cpu_intc_of_init(
 }
 IRQCHIP_DECLARE(ar79_cpu_intc, "qca,ar7100-cpu-intc",
 		ar79_cpu_intc_of_init);
-
-void __init ath79_cpu_irq_init(unsigned irq_wb_chan2, unsigned irq_wb_chan3)
-{
-	irq_wb_chan[2] = irq_wb_chan2;
-	irq_wb_chan[3] = irq_wb_chan3;
-	mips_cpu_irq_init();
-}
drivers/net/dsa/mt7530.c +43 -40

113 lines not on this page · raw message

drivers/net/dsa/mt7530.h +38 -38

85 lines not on this page · raw message

drivers/net/ethernet/amd/pds_core/debugfs.c +6 -1
index 51f3f73a839a..33b8e8d1fd4c 100644
@@ -64,9 +64,14 @@ DEFINE_SHOW_ATTRIBUTE(identity);
 
 void pdsc_debugfs_add_ident(struct pdsc *pdsc)
 {
+	struct dentry *dentry;
+
 	/* This file will already exist in the reset flow */
-	if (debugfs_lookup("identity", pdsc->dentry))
+	dentry = debugfs_lookup("identity", pdsc->dentry);
+	if (!IS_ERR_OR_NULL(dentry)) {
+		dput(dentry);
 		return;
+	}
 
 	debugfs_create_file("identity", 0400, pdsc->dentry,
 			    pdsc, &identity_fops);
drivers/net/ethernet/amd/pds_core/dev.c +9 -2
index e65a1632df50..0e9398503a04 100644
@@ -162,12 +162,19 @@ static int pdsc_devcmd_wait(struct pdsc *pdsc, u8 opcode, int max_seconds)
 		dev_dbg(dev, "DEVCMD %d %s after %ld secs\n",
 			opcode, pdsc_devcmd_str(opcode), duration / HZ);
 
-	if ((!done || timeout) && running) {
+	if (!running) {
+		dev_err(dev, "DEVCMD %d %s fw not running\n",
+			opcode, pdsc_devcmd_str(opcode));
+		pdsc_devcmd_clean(pdsc);
+		return -ENXIO;
+	}
+
+	if (!done || timeout) {
 		dev_err(dev, "DEVCMD %d %s timeout, done %d timeout %d max_seconds=%d\n",
 			opcode, pdsc_devcmd_str(opcode), done, timeout,
 			max_seconds);
-		err = -ETIMEDOUT;
 		pdsc_devcmd_clean(pdsc);
+		return -ETIMEDOUT;
 	}
 
 	status = pdsc_devcmd_status(pdsc);
drivers/net/ethernet/amd/pds_core/devlink.c +6 -2
index bee70e46e34c..3144bad75a4d 100644
@@ -120,12 +120,16 @@ int pdsc_dl_info_get(struct devlink *dl, struct devlink_info_req *req,
 
 	listlen = min(fw_list.num_fw_slots, ARRAY_SIZE(fw_list.fw_names));
 	for (i = 0; i < listlen; i++) {
+		char *fw_ver = fw_list.fw_names[i].fw_version;
+
 		if (i < ARRAY_SIZE(fw_slotnames))
 			strscpy(buf, fw_slotnames[i], sizeof(buf));
 		else
 			snprintf(buf, sizeof(buf), "fw.slot_%d", i);
-		err = devlink_info_version_stored_put(req, buf,
-						      fw_list.fw_names[i].fw_version);
+		fw_ver[sizeof(fw_list.fw_names[i].fw_version) - 1] = '\0';
+		err = devlink_info_version_stored_put(req, buf, fw_ver);
+		if (err)
+			return err;
 	}
 
 	err = devlink_info_version_running_put(req,
drivers/net/ethernet/atheros/ag71xx.c +3 -0
index baf12ae0b8c4..576e75b5168e 100644
@@ -1880,6 +1880,9 @@ static int ag71xx_probe(struct platform_device *pdev)
 		return -ENOMEM;
 
 	ndev->irq = platform_get_irq(pdev, 0);
+	if (ndev->irq < 0)
+		return ndev->irq;
+
 	err = devm_request_irq(&pdev->dev, ndev->irq, ag71xx_interrupt,
 			       0x0, dev_name(&pdev->dev), ndev);
 	if (err) {
drivers/net/ethernet/broadcom/genet/bcmgenet.c +4 -5
index d1f5ae56fa41..d8e4456d111e 100644
@@ -1326,13 +1326,12 @@ void bcmgenet_eee_enable_set(struct net_device *dev, bool enable,
 		reg &= ~(TBUF_EEE_EN | TBUF_PM_EN);
 	bcmgenet_writel(reg, priv->base + off);
 
-	/* Do the same for thing for RBUF */
+	/* RBUF EEE/PM can break the RX path on GENET. Keep it disabled. */
 	reg = bcmgenet_rbuf_readl(priv, RBUF_ENERGY_CTRL);
-	if (enable)
-		reg |= RBUF_EEE_EN | RBUF_PM_EN;
-	else
+	if (reg & (RBUF_EEE_EN | RBUF_PM_EN)) {
 		reg &= ~(RBUF_EEE_EN | RBUF_PM_EN);
-	bcmgenet_rbuf_writel(priv, reg, RBUF_ENERGY_CTRL);
+		bcmgenet_rbuf_writel(priv, reg, RBUF_ENERGY_CTRL);
+	}
 
 	if (!enable && priv->clk_eee_enabled) {
 		clk_disable_unprepare(priv->clk_eee);
drivers/net/ethernet/cirrus/cs89x0.c +0 -2
index d323c5c23521..e6e9c8a576af 100644
@@ -1271,7 +1271,6 @@ static const struct net_device_ops net_ops = {
 
 static void __init reset_chip(struct net_device *dev)
 {
-#if !defined(CONFIG_MACH_MX31ADS)
 	struct net_local *lp = netdev_priv(dev);
 	unsigned long reset_start_time;
 
@@ -1298,7 +1297,6 @@ static void __init reset_chip(struct net_device *dev)
 	while ((readreg(dev, PP_SelfST) & INIT_DONE) == 0 &&
 	       time_before(jiffies, reset_start_time + 2))
 		;
-#endif /* !CONFIG_MACH_MX31ADS */
 }
 
 /* This is the real probe routine.
drivers/net/ethernet/cortina/gemini.c +19 -2
index fce2ff1e1d83..45a548d93e15 100644
@@ -121,6 +121,9 @@ struct gemini_ethernet_port {
 	struct napi_struct	napi;
 	struct hrtimer		rx_coalesce_timer;
 	unsigned int		rx_coalesce_nsecs;
+	struct sk_buff		*rx_skb;
+	unsigned int		rx_frag_nr;
+
 	unsigned int		freeq_refill;
 	struct gmac_txq		txq[TX_QUEUE_NUM];
 	unsigned int		txq_order;
@@ -1447,10 +1450,11 @@ static unsigned int gmac_rx(struct net_device *netdev, unsigned int budget)
 	unsigned short m = (1 << port->rxq_order) - 1;
 	struct gemini_ethernet *geth = port->geth;
 	void __iomem *ptr_reg = port->rxq_rwptr;
+	unsigned int frag_nr = port->rx_frag_nr;
+	struct sk_buff *skb = port->rx_skb;
 	unsigned int frame_len, frag_len;
 	struct gmac_rxdesc *rx = NULL;
 	struct gmac_queue_page *gpage;
-	static struct sk_buff *skb;
 	union gmac_rxdesc_0 word0;
 	union gmac_rxdesc_1 word1;
 	union gmac_rxdesc_3 word3;
@@ -1460,7 +1464,6 @@ static unsigned int gmac_rx(struct net_device *netdev, unsigned int budget)
 	unsigned short r, w;
 	union dma_rwptr rw;
 	dma_addr_t mapping;
-	int frag_nr = 0;
 
 	spin_lock_irqsave(&geth->irq_lock, flags);
 	rw.bits32 = readl(ptr_reg);
@@ -1496,6 +1499,12 @@ static unsigned int gmac_rx(struct net_device *netdev, unsigned int budget)
 		gpage = gmac_get_queue_page(geth, port, mapping + PAGE_SIZE);
 		if (!gpage) {
 			dev_err(geth->dev, "could not find mapping\n");
+			if (skb) {
+				napi_free_frags(&port->napi);
+				port->stats.rx_dropped++;
+				skb = NULL;
+				frag_nr = 0;
+			}
 			continue;
 		}
 		page = gpage->page;
@@ -1504,6 +1513,8 @@ static unsigned int gmac_rx(struct net_device *netdev, unsigned int budget)
 			if (skb) {
 				napi_free_frags(&port->napi);
 				port->stats.rx_dropped++;
+				skb = NULL;
+				frag_nr = 0;
 			}
 
 			skb = gmac_skb_if_good_frame(port, word0, frame_len);
@@ -1538,6 +1549,7 @@ static unsigned int gmac_rx(struct net_device *netdev, unsigned int budget)
 		if (word3.bits32 & EOF_BIT) {
 			napi_gro_frags(&port->napi);
 			skb = NULL;
+			frag_nr = 0;
 			--budget;
 		}
 		continue;
@@ -1546,6 +1558,7 @@ static unsigned int gmac_rx(struct net_device *netdev, unsigned int budget)
 		if (skb) {
 			napi_free_frags(&port->napi);
 			skb = NULL;
+			frag_nr = 0;
 		}
 
 		if (mapping)
@@ -1554,6 +1567,8 @@ static unsigned int gmac_rx(struct net_device *netdev, unsigned int budget)
 		port->stats.rx_dropped++;
 	}
 
+	port->rx_skb = skb;
+	port->rx_frag_nr = frag_nr;
 	writew(r, ptr_reg);
 	return budget;
 }
@@ -1882,6 +1897,8 @@ static int gmac_stop(struct net_device *netdev)
 	gmac_disable_tx_rx(netdev);
 	gmac_stop_dma(port);
 	napi_disable(&port->napi);
+	port->rx_skb = NULL;
+	port->rx_frag_nr = 0;
 
 	gmac_enable_irq(netdev, 0);
 	gmac_cleanup_rxq(netdev);
drivers/net/ethernet/intel/ice/ice_dcb_lib.c +2 -2
index 850db8e0e6b0..14d765247d73 100644
@@ -537,14 +537,14 @@ void ice_dcb_rebuild(struct ice_pf *pf)
 	struct ice_dcbx_cfg *err_cfg;
 	int ret;
 
+	mutex_lock(&pf->tc_mutex);
+
 	ret = ice_query_port_ets(pf->hw.port_info, &buf, sizeof(buf), NULL);
 	if (ret) {
 		dev_err(dev, "Query Port ETS failed\n");
 		goto dcb_error;
 	}
 
-	mutex_lock(&pf->tc_mutex);
-
 	if (!pf->hw.port_info->qos_cfg.is_sw_lldp)
 		ice_cfg_etsrec_defaults(pf->hw.port_info);
 
drivers/net/ethernet/intel/ice/ice_main.c +1 -1
index 72e394dc68f4..957b6f1b61d6 100644
@@ -3646,7 +3646,7 @@ ice_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid)
 		ret = ice_fltr_set_vsi_promisc(&vsi->back->hw, vsi->idx,
 					       ICE_MCAST_VLAN_PROMISC_BITS,
 					       vid);
-		if (ret)
+		if (ret && ret != -EEXIST)
 			goto finish;
 	}
 
drivers/net/ethernet/intel/ice/ice_txrx.c +4 -3
index 4e110a008a25..eae4376c6859 100644
@@ -2364,8 +2364,8 @@ ice_xmit_frame_ring(struct sk_buff *skb, struct ice_tx_ring *tx_ring)
 
 	ice_trace(xmit_frame_ring, tx_ring, skb);
 
-	/* record the location of the first descriptor for this packet */
-	first = &tx_ring->tx_buf[tx_ring->next_to_use];
+	if (unlikely(ipv6_hopopt_jumbo_remove(skb)))
+		goto out_drop;
 
 	count = ice_xmit_desc_count(skb);
 	if (ice_chk_linearize(skb, count)) {
@@ -2392,6 +2392,8 @@ ice_xmit_frame_ring(struct sk_buff *skb, struct ice_tx_ring *tx_ring)
 
 	offload.tx_ring = tx_ring;
 
+	/* record the location of the first descriptor for this packet */
+	first = &tx_ring->tx_buf[tx_ring->next_to_use];
 	first->skb = skb;
 	first->type = ICE_TX_BUF_SKB;
 	first->bytecount = max_t(unsigned int, skb->len, ETH_ZLEN);
@@ -2453,7 +2455,6 @@ ice_xmit_frame_ring(struct sk_buff *skb, struct ice_tx_ring *tx_ring)
 out_drop:
 	ice_trace(xmit_frame_ring_drop, tx_ring, skb);
 	dev_kfree_skb_any(skb);
-	first->type = ICE_TX_BUF_EMPTY;
 	return NETDEV_TX_OK;
 }
 
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c +1 -0
index 72b17a0f052c..99d6aa03d4b6 100644
@@ -1225,6 +1225,7 @@ static int ixgbevf_clean_rx_irq(struct ixgbevf_q_vector *q_vector,
 		    ether_addr_equal(rx_ring->netdev->dev_addr,
 				     eth_hdr(skb)->h_source)) {
 			dev_kfree_skb_irq(skb);
+			skb = NULL;
 			continue;
 		}
 
drivers/net/ethernet/mellanox/mlx5/core/esw/ipsec_fs.c +2 -1
index eed8fcde2613..7dfec1629bab 100644
@@ -129,7 +129,8 @@ static int mlx5_esw_ipsec_modify_flow_dests(struct mlx5_eswitch *esw,
 
 	attr = flow->attr;
 	esw_attr = attr->esw_attr;
-	if (esw_attr->out_count - esw_attr->split_count > 1)
+	if (!esw_attr->out_count ||
+	    esw_attr->out_count - esw_attr->split_count > 1)
 		return 0;
 
 	err = mlx5_eswitch_restore_ipsec_rule(esw, flow->rule[0], esw_attr,
drivers/net/ethernet/microchip/lan966x/lan966x_main.c +5 -3
index 5466f14e000c..ce48685a50b2 100644
@@ -750,11 +750,10 @@ static void lan966x_cleanup_ports(struct lan966x *lan966x)
 
 	for (p = 0; p < lan966x->num_phys_ports; p++) {
 		port = lan966x->ports[p];
-		if (!port)
+		if (!port || !port->dev)
 			continue;
 
-		if (port->dev)
-			unregister_netdev(port->dev);
+		unregister_netdev(port->dev);
 
 		lan966x_xdp_port_deinit(port);
 		if (lan966x->fdma && lan966x->fdma_ndev == port->dev)
@@ -875,6 +874,9 @@ static int lan966x_probe_port(struct lan966x *lan966x, u32 p,
 	err = register_netdev(dev);
 	if (err) {
 		dev_err(lan966x->dev, "register_netdev failed\n");
+		phylink_destroy(phylink);
+		port->phylink = NULL;
+		port->dev = NULL;
 		return err;
 	}
 
drivers/net/ethernet/microsoft/mana/hw_channel.c +19 -10
index 148dda6570fc..1234c62fcbc7 100644
@@ -75,21 +75,19 @@ static int mana_hwc_post_rx_wqe(const struct hwc_wq *hwc_rxq,
 }
 
 static void mana_hwc_handle_resp(struct hw_channel_context *hwc, u32 resp_len,
-				 struct hwc_work_request *rx_req)
+				 struct hwc_work_request *rx_req, u16 msg_id)
 {
 	const struct gdma_resp_hdr *resp_msg = rx_req->buf_va;
 	struct hwc_caller_ctx *ctx;
 	int err;
 
-	if (!test_bit(resp_msg->response.hwc_msg_id,
-		      hwc->inflight_msg_res.map)) {
-		dev_err(hwc->dev, "hwc_rx: invalid msg_id = %u\n",
-			resp_msg->response.hwc_msg_id);
+	if (!test_bit(msg_id, hwc->inflight_msg_res.map)) {
+		dev_err(hwc->dev, "hwc_rx: invalid msg_id = %u\n", msg_id);
 		mana_hwc_post_rx_wqe(hwc->rxq, rx_req);
 		return;
 	}
 
-	ctx = hwc->caller_ctx + resp_msg->response.hwc_msg_id;
+	ctx = hwc->caller_ctx + msg_id;
 	err = mana_hwc_verify_resp_msg(ctx, resp_msg, resp_len);
 	if (err)
 		goto out;
@@ -218,6 +216,7 @@ static void mana_hwc_rx_event_handler(void *ctx, u32 gdma_rxq_id,
 	struct gdma_sge *sge;
 	u64 rq_base_addr;
 	u64 rx_req_idx;
+	u16 msg_id;
 	u8 *wqe;
 
 	if (WARN_ON_ONCE(hwc_rxq->gdma_wq->id != gdma_rxq_id))
@@ -233,16 +232,26 @@ static void mana_hwc_rx_event_handler(void *ctx, u32 gdma_rxq_id,
 	rq_base_addr = hwc_rxq->msg_buf->mem_info.dma_handle;
 	rx_req_idx = (sge->address - rq_base_addr) / hwc->max_req_msg_size;
 
+	if (rx_req_idx >= hwc_rxq->msg_buf->num_reqs) {
+		dev_err(hwc->dev, "HWC RX: wrong rx_req_idx=%llu, num_reqs=%u\n",
+			rx_req_idx, hwc_rxq->msg_buf->num_reqs);
+		return;
+	}
+
 	rx_req = &hwc_rxq->msg_buf->reqs[rx_req_idx];
 	resp = (struct gdma_resp_hdr *)rx_req->buf_va;
 
-	if (resp->response.hwc_msg_id >= hwc->num_inflight_msg) {
-		dev_err(hwc->dev, "HWC RX: wrong msg_id=%u\n",
-			resp->response.hwc_msg_id);
+	/* Read msg_id once from DMA buffer to prevent TOCTOU:
+	 * DMA memory is shared/unencrypted in CVMs - host can
+	 * modify it between reads.
+	 */
+	msg_id = READ_ONCE(resp->response.hwc_msg_id);
+	if (msg_id >= hwc->num_inflight_msg) {
+		dev_err(hwc->dev, "HWC RX: wrong msg_id=%u\n", msg_id);
 		return;
 	}
 
-	mana_hwc_handle_resp(hwc, rx_oob->tx_oob_data_size, rx_req);
+	mana_hwc_handle_resp(hwc, rx_oob->tx_oob_data_size, rx_req, msg_id);
 
 	/* Can no longer use 'resp', because the buffer is posted to the HW
 	 * in mana_hwc_handle_resp() above.
drivers/net/ethernet/qlogic/qed/qed_cxt.c +2 -0
index 33f4f58ee51c..1fb09372c25a 100644
@@ -1038,11 +1038,13 @@ static void qed_cid_map_free(struct qed_hwfn *p_hwfn)
 
 	for (type = 0; type < MAX_CONN_TYPES; type++) {
 		bitmap_free(p_mngr->acquired[type].cid_map);
+		p_mngr->acquired[type].cid_map = NULL;
 		p_mngr->acquired[type].max_count = 0;
 		p_mngr->acquired[type].start_cid = 0;
 
 		for (vf = 0; vf < MAX_NUM_VFS; vf++) {
 			bitmap_free(p_mngr->acquired_vf[type][vf].cid_map);
+			p_mngr->acquired_vf[type][vf].cid_map = NULL;
 			p_mngr->acquired_vf[type][vf].max_count = 0;
 			p_mngr->acquired_vf[type][vf].start_cid = 0;
 		}
drivers/net/ifb.c +5 -6
index 78253ad57b2e..c549845f60f1 100644
@@ -211,12 +211,12 @@ static void ifb_get_strings(struct net_device *dev, u32 stringset, u8 *buf)
 
 	switch (stringset) {
 	case ETH_SS_STATS:
-		for (i = 0; i < dev->real_num_rx_queues; i++)
+		for (i = 0; i < dev->num_tx_queues; i++)
 			for (j = 0; j < IFB_Q_STATS_LEN; j++)
 				ethtool_sprintf(&p, "rx_queue_%u_%.18s",
 						i, ifb_q_stats_desc[j].desc);
 
-		for (i = 0; i < dev->real_num_tx_queues; i++)
+		for (i = 0; i < dev->num_tx_queues; i++)
 			for (j = 0; j < IFB_Q_STATS_LEN; j++)
 				ethtool_sprintf(&p, "tx_queue_%u_%.18s",
 						i, ifb_q_stats_desc[j].desc);
@@ -229,8 +229,7 @@ static int ifb_get_sset_count(struct net_device *dev, int sset)
 {
 	switch (sset) {
 	case ETH_SS_STATS:
-		return IFB_Q_STATS_LEN * (dev->real_num_rx_queues +
-					  dev->real_num_tx_queues);
+		return IFB_Q_STATS_LEN * dev->num_tx_queues * 2;
 	default:
 		return -EOPNOTSUPP;
 	}
@@ -262,12 +261,12 @@ static void ifb_get_ethtool_stats(struct net_device *dev,
 	struct ifb_q_private *txp;
 	int i;
 
-	for (i = 0; i < dev->real_num_rx_queues; i++) {
+	for (i = 0; i < dev->num_tx_queues; i++) {
 		txp = dp->tx_private + i;
 		ifb_fill_stats_data(&data, &txp->rx_stats);
 	}
 
-	for (i = 0; i < dev->real_num_tx_queues; i++) {
+	for (i = 0; i < dev->num_tx_queues; i++) {
 		txp = dp->tx_private + i;
 		ifb_fill_stats_data(&data, &txp->tx_stats);
 	}
drivers/net/phy/dp83tc811.c +1 -0
index 7ea32fb77190..5425a95352f9 100644
@@ -393,6 +393,7 @@ static struct phy_driver dp83811_driver[] = {
 		.config_init = dp83811_config_init,
 		.config_aneg = dp83811_config_aneg,
 		.soft_reset = dp83811_phy_reset,
+		.get_features = genphy_c45_pma_read_ext_abilities,
 		.get_wol = dp83811_get_wol,
 		.set_wol = dp83811_set_wol,
 		.config_intr = dp83811_config_intr,
drivers/net/phy/phy-c45.c +74 -55

143 lines not on this page · raw message

drivers/net/wireless/ath/ath11k/dp_rx.c +1 -2
index d2d994e09480..31fd92bd9efe 100644
@@ -2217,8 +2217,7 @@ ath11k_dp_rx_h_find_peer(struct ath11k_base *ab, struct sk_buff *msdu)
 
 	lockdep_assert_held(&ab->base_lock);
 
-	if (rxcb->peer_id)
-		peer = ath11k_peer_find_by_id(ab, rxcb->peer_id);
+	peer = ath11k_peer_find_by_id(ab, rxcb->peer_id);
 
 	if (peer)
 		return peer;
drivers/net/wireless/ath/ath11k/hal.c +11 -3
index b42925f84200..0c93ed9ba52a 100644
@@ -1372,14 +1372,22 @@ EXPORT_SYMBOL(ath11k_hal_srng_deinit);
 
 void ath11k_hal_srng_clear(struct ath11k_base *ab)
 {
-	/* No need to memset rdp and wrp memory since each individual
-	 * segment would get cleared in ath11k_hal_srng_src_hw_init()
-	 * and ath11k_hal_srng_dst_hw_init().
+	/*
+	 * Preserve the shared pointer buffers, but clear the previous
+	 * firmware instance's hp/tp state before handing them back to FW.
+	 * LMAC rings reuse this shared memory without going through the
+	 * normal SRNG hw-init path that zeros non-LMAC ring pointers.
 	 */
 	memset(ab->hal.srng_list, 0,
 	       sizeof(ab->hal.srng_list));
 	memset(ab->hal.shadow_reg_addr, 0,
 	       sizeof(ab->hal.shadow_reg_addr));
+	if (ab->hal.rdp.vaddr)
+		memset(ab->hal.rdp.vaddr, 0,
+		       sizeof(*ab->hal.rdp.vaddr) * HAL_SRNG_RING_ID_MAX);
+	if (ab->hal.wrp.vaddr)
+		memset(ab->hal.wrp.vaddr, 0,
+		       sizeof(*ab->hal.wrp.vaddr) * HAL_SRNG_NUM_LMAC_RINGS);
 	ab->hal.avail_blk_resource = 0;
 	ab->hal.current_blk_index = 0;
 	ab->hal.num_shadow_reg_configured = 0;
drivers/net/wireless/ath/ath11k/hal_rx.c +1 -4
index 2bc95026335e..8cb212449da7 100644
@@ -1469,11 +1469,8 @@ ath11k_hal_rx_parse_mon_status_tlv(struct ath11k_base *ab,
 	case HAL_RX_MPDU_START: {
 		struct hal_rx_mpdu_info *mpdu_info =
 				(struct hal_rx_mpdu_info *)tlv_data;
-		u16 peer_id;
 
-		peer_id = ath11k_hal_rx_mpduinfo_get_peerid(ab, mpdu_info);
-		if (peer_id)
-			ppdu_info->peer_id = peer_id;
+		ppdu_info->peer_id = ath11k_hal_rx_mpduinfo_get_peerid(ab, mpdu_info);
 		break;
 	}
 	case HAL_RXPCU_PPDU_END_INFO: {
drivers/net/wireless/ath/ath11k/testmode.c +1 -0
index 43bb23265d34..b9f0ef458988 100644
@@ -457,6 +457,7 @@ static int ath11k_tm_cmd_wmi_ftm(struct ath11k *ar, struct nlattr *tb[])
 		ret = ath11k_wmi_cmd_send(wmi, skb, cmd_id);
 		if (ret) {
 			ath11k_warn(ar->ab, "failed to send wmi ftm command: %d\n", ret);
+			dev_kfree_skb(skb);
 			goto out;
 		}
 
drivers/net/wireless/ath/ath11k/wmi.c +16 -3
index f491aeb22a88..a23f20fb1ebd 100644
@@ -9090,6 +9090,7 @@ int ath11k_wmi_wow_host_wakeup_ind(struct ath11k *ar)
 	struct wmi_wow_host_wakeup_ind *cmd;
 	struct sk_buff *skb;
 	size_t len;
+	int ret;
 
 	len = sizeof(*cmd);
 	skb = ath11k_wmi_alloc_skb(ar->wmi->wmi_ab, len);
@@ -9103,14 +9104,20 @@ int ath11k_wmi_wow_host_wakeup_ind(struct ath11k *ar)
 
 	ath11k_dbg(ar->ab, ATH11K_DBG_WMI, "tlv wow host wakeup ind\n");
 
-	return ath11k_wmi_cmd_send(ar->wmi, skb, WMI_WOW_HOSTWAKEUP_FROM_SLEEP_CMDID);
+	ret = ath11k_wmi_cmd_send(ar->wmi, skb, WMI_WOW_HOSTWAKEUP_FROM_SLEEP_CMDID);
+	if (ret) {
+		ath11k_warn(ar->ab, "failed to send WMI_WOW_HOSTWAKEUP_FROM_SLEEP_CMDID\n");
+		dev_kfree_skb(skb);
+	}
+
+	return ret;
 }
 
 int ath11k_wmi_wow_enable(struct ath11k *ar)
 {
 	struct wmi_wow_enable_cmd *cmd;
 	struct sk_buff *skb;
-	int len;
+	int ret, len;
 
 	len = sizeof(*cmd);
 	skb = ath11k_wmi_alloc_skb(ar->wmi->wmi_ab, len);
@@ -9125,7 +9132,13 @@ int ath11k_wmi_wow_enable(struct ath11k *ar)
 	cmd->pause_iface_config = WOW_IFACE_PAUSE_ENABLED;
 	ath11k_dbg(ar->ab, ATH11K_DBG_WMI, "tlv wow enable\n");
 
-	return ath11k_wmi_cmd_send(ar->wmi, skb, WMI_WOW_ENABLE_CMDID);
+	ret = ath11k_wmi_cmd_send(ar->wmi, skb, WMI_WOW_ENABLE_CMDID);
+	if (ret) {
+		ath11k_warn(ar->ab, "failed to send WMI_WOW_ENABLE_CMDID\n");
+		dev_kfree_skb(skb);
+	}
+
+	return ret;
 }
 
 int ath11k_wmi_scan_prob_req_oui(struct ath11k *ar,
drivers/net/wwan/iosm/iosm_ipc_imem.c +2 -0
index 829515a601b3..107c944ca9e6 100644
@@ -1430,6 +1430,8 @@ struct iosm_imem *ipc_imem_init(struct iosm_pcie *pcie, unsigned int device_id,
 protocol_init_fail:
 	cancel_work_sync(&ipc_imem->run_state_worker);
 	ipc_task_deinit(ipc_imem->ipc_task);
+	if (ipc_imem->ipc_protocol)
+		ipc_protocol_deinit(ipc_imem->ipc_protocol);
 ipc_task_init_fail:
 	kfree(ipc_imem->ipc_task);
 ipc_task_fail:
drivers/phy/marvell/phy-mvebu-a3700-utmi.c +2 -3
index 04f4fb4bed70..f882bc57649c 100644
@@ -168,9 +168,8 @@ static int mvebu_a3700_utmi_phy_power_off(struct phy *phy)
 	u32 reg;
 
 	/* Disable PHY pull-up and enable USB2 suspend */
-	reg = readl(utmi->regs + USB2_PHY_CTRL(usb32));
-	reg &= ~(RB_USB2PHY_PU | RB_USB2PHY_SUSPM(usb32));
-	writel(reg, utmi->regs + USB2_PHY_CTRL(usb32));
+	regmap_update_bits(utmi->usb_misc, USB2_PHY_CTRL(usb32),
+			   RB_USB2PHY_PU | RB_USB2PHY_SUSPM(usb32), 0);
 
 	/* Power down OTG module */
 	if (usb32) {
drivers/phy/tegra/xusb-tegra186.c +26 -7
index bec9616c4a2e..4452e73fb82a 100644
@@ -20,8 +20,8 @@
 /* FUSE USB_CALIB registers */
 #define HS_CURR_LEVEL_PADX_SHIFT(x)	((x) ? (11 + (x - 1) * 6) : 0)
 #define HS_CURR_LEVEL_PAD_MASK		0x3f
-#define HS_TERM_RANGE_ADJ_SHIFT		7
-#define HS_TERM_RANGE_ADJ_MASK		0xf
+#define HS_TERM_RANGE_ADJ_PADX_SHIFT(x)	((x) ? (5 + (x - 1) * 4) : 7)
+#define HS_TERM_RANGE_ADJ_PAD_MASK	0xf
 #define HS_SQUELCH_SHIFT		29
 #define HS_SQUELCH_MASK			0x7
 
@@ -253,7 +253,7 @@
 struct tegra_xusb_fuse_calibration {
 	u32 *hs_curr_level;
 	u32 hs_squelch;
-	u32 hs_term_range_adj;
+	u32 *hs_term_range_adj;
 	u32 rpd_ctrl;
 };
 
@@ -930,7 +930,7 @@ static int tegra186_utmi_phy_power_on(struct phy *phy)
 
 	value = padctl_readl(padctl, XUSB_PADCTL_USB2_OTG_PADX_CTL1(index));
 	value &= ~TERM_RANGE_ADJ(~0);
-	value |= TERM_RANGE_ADJ(priv->calib.hs_term_range_adj);
+	value |= TERM_RANGE_ADJ(priv->calib.hs_term_range_adj[index]);
 	value &= ~RPD_CTRL(~0);
 	value |= RPD_CTRL(priv->calib.rpd_ctrl);
 	padctl_writel(padctl, value, XUSB_PADCTL_USB2_OTG_PADX_CTL1(index));
@@ -1464,17 +1464,23 @@ static const char * const tegra186_usb3_functions[] = {
 static int
 tegra186_xusb_read_fuse_calibration(struct tegra186_xusb_padctl *padctl)
 {
+	const struct tegra_xusb_padctl_soc *soc = padctl->base.soc;
 	struct device *dev = padctl->base.dev;
 	unsigned int i, count;
 	u32 value, *level;
+	u32 *hs_term_range_adj;
 	int err;
 
-	count = padctl->base.soc->ports.usb2.count;
+	count = soc->ports.usb2.count;
 
 	level = devm_kcalloc(dev, count, sizeof(u32), GFP_KERNEL);
 	if (!level)
 		return -ENOMEM;
 
+	hs_term_range_adj = devm_kcalloc(dev, count, sizeof(u32), GFP_KERNEL);
+	if (!hs_term_range_adj)
+		return -ENOMEM;
+
 	err = tegra_fuse_readl(TEGRA_FUSE_SKU_CALIB_0, &value);
 	if (err)
 		return dev_err_probe(dev, err,
@@ -1490,8 +1496,8 @@ tegra186_xusb_read_fuse_calibration(struct tegra186_xusb_padctl *padctl)
 
 	padctl->calib.hs_squelch = (value >> HS_SQUELCH_SHIFT) &
 					HS_SQUELCH_MASK;
-	padctl->calib.hs_term_range_adj = (value >> HS_TERM_RANGE_ADJ_SHIFT) &
-						HS_TERM_RANGE_ADJ_MASK;
+	hs_term_range_adj[0] = (value >> HS_TERM_RANGE_ADJ_PADX_SHIFT(0)) &
+				HS_TERM_RANGE_ADJ_PAD_MASK;
 
 	err = tegra_fuse_readl(TEGRA_FUSE_USB_CALIB_EXT_0, &value);
 	if (err) {
@@ -1503,6 +1509,17 @@ tegra186_xusb_read_fuse_calibration(struct tegra186_xusb_padctl *padctl)
 
 	padctl->calib.rpd_ctrl = (value >> RPD_CTRL_SHIFT) & RPD_CTRL_MASK;
 
+	for (i = 1; i < count; i++) {
+		if (soc->has_per_pad_term)
+			hs_term_range_adj[i] =
+				(value >> HS_TERM_RANGE_ADJ_PADX_SHIFT(i)) &
+				HS_TERM_RANGE_ADJ_PAD_MASK;
+		else
+			hs_term_range_adj[i] = hs_term_range_adj[0];
+	}
+
+	padctl->calib.hs_term_range_adj = hs_term_range_adj;
+
 	return 0;
 }
 
@@ -1708,6 +1725,7 @@ const struct tegra_xusb_padctl_soc tegra194_xusb_padctl_soc = {
 	.num_supplies = ARRAY_SIZE(tegra194_xusb_padctl_supply_names),
 	.supports_gen2 = true,
 	.poll_trk_completed = true,
+	.has_per_pad_term = true,
 };
 EXPORT_SYMBOL_GPL(tegra194_xusb_padctl_soc);
 
@@ -1732,6 +1750,7 @@ const struct tegra_xusb_padctl_soc tegra234_xusb_padctl_soc = {
 	.trk_hw_mode = false,
 	.trk_update_on_idle = true,
 	.supports_lp_cfg_en = true,
+	.has_per_pad_term = true,
 };
 EXPORT_SYMBOL_GPL(tegra234_xusb_padctl_soc);
 #endif
drivers/phy/tegra/xusb.h +1 -0
index d2b5f9565132..810b410672f3 100644
@@ -436,6 +436,7 @@ struct tegra_xusb_padctl_soc {
 	bool trk_hw_mode;
 	bool trk_update_on_idle;
 	bool supports_lp_cfg_en;
+	bool has_per_pad_term;
 };
 
 struct tegra_xusb_padctl {
drivers/pinctrl/qcom/pinctrl-sm8150.c +4 -4
index f8f5bee74f1d..565aab84835c 100644
@@ -1496,18 +1496,18 @@ static const struct msm_gpio_wakeirq_map sm8150_pdc_map[] = {
 	{ 3, 31 }, { 5, 32 }, { 8, 33 }, { 9, 34 }, { 10, 100 },
 	{ 12, 104 }, { 24, 37 }, { 26, 38 }, { 27, 41 }, { 28, 42 },
 	{ 30, 39 }, { 36, 43 }, { 37, 44 }, { 38, 30 }, { 39, 118 },
-	{ 39, 125 }, { 41, 47 }, { 42, 48 }, { 46, 50 }, { 47, 49 },
-	{ 48, 51 }, { 49, 53 }, { 50, 52 }, { 51, 116 }, { 51, 123 },
+	{ 41, 47 }, { 42, 48 }, { 46, 50 }, { 47, 49 },
+	{ 48, 51 }, { 49, 53 }, { 50, 52 }, { 51, 116 },
 	{ 53, 54 }, { 54, 55 }, { 55, 56 }, { 56, 57 }, { 58, 58 },
 	{ 60, 60 }, { 61, 61 }, { 68, 62 }, { 70, 63 }, { 76, 71 },
 	{ 77, 66 }, { 81, 64 }, { 83, 65 }, { 86, 67 }, { 87, 84 },
-	{ 88, 117 }, { 88, 124 }, { 90, 69 }, { 91, 70 }, { 93, 75 },
+	{ 88, 117 }, { 90, 69 }, { 91, 70 }, { 93, 75 },
 	{ 95, 72 }, { 96, 73 }, { 97, 74 }, { 101, 40 }, { 103, 77 },
 	{ 104, 78 }, { 108, 79 }, { 112, 80 }, { 113, 81 }, { 114, 82 },
 	{ 117, 85 }, { 118, 101 }, { 119, 87 }, { 120, 88 }, { 121, 89 },
 	{ 122, 90 }, { 123, 91 }, { 124, 92 }, { 125, 93 }, { 129, 94 },
 	{ 132, 105 }, { 133, 83 }, { 134, 36 }, { 136, 97 }, { 142, 103 },
-	{ 144, 115 }, { 144, 122 }, { 147, 102 }, { 150, 107 },
+	{ 144, 115 }, { 147, 102 }, { 150, 107 },
 	{ 152, 108 }, { 153, 109 }
 };
 
drivers/platform/x86/adv_swbutton.c +5 -1
index 6b23ba78e028..f7bc252650d5 100644
@@ -48,10 +48,14 @@ static int adv_swbutton_probe(struct platform_device *device)
 {
 	struct adv_swbutton *button;
 	struct input_dev *input;
-	acpi_handle handle = ACPI_HANDLE(&device->dev);
+	acpi_handle handle;
 	acpi_status status;
 	int error;
 
+	handle = ACPI_HANDLE(&device->dev);
+	if (!handle)
+		return -ENODEV;
+
 	button = devm_kzalloc(&device->dev, sizeof(*button), GFP_KERNEL);
 	if (!button)
 		return -ENOMEM;
drivers/platform/x86/hp/hp_accel.c +3 -0
index 52535576772a..aeedc77bed7f 100644
@@ -300,6 +300,9 @@ static int lis3lv02d_probe(struct platform_device *device)
 	int ret;
 
 	lis3_dev.bus_priv = ACPI_COMPANION(&device->dev);
+	if (!lis3_dev.bus_priv)
+		return -ENODEV;
+
 	lis3_dev.init = lis3lv02d_acpi_init;
 	lis3_dev.read = lis3lv02d_acpi_read;
 	lis3_dev.write = lis3lv02d_acpi_write;
drivers/platform/x86/intel/hid.c +5 -1
index 79390e9e888a..346fbad34e24 100644
@@ -657,12 +657,16 @@ static bool button_array_present(struct platform_device *device)
 
 static int intel_hid_probe(struct platform_device *device)
 {
-	acpi_handle handle = ACPI_HANDLE(&device->dev);
 	unsigned long long mode, dummy;
 	struct intel_hid_priv *priv;
+	acpi_handle handle;
 	acpi_status status;
 	int err;
 
+	handle = ACPI_HANDLE(&device->dev);
+	if (!handle)
+		return -ENODEV;
+
 	intel_hid_init_dsm(handle);
 
 	if (!intel_hid_evaluate_method(handle, INTEL_HID_DSM_HDMM_FN, &mode)) {
drivers/platform/x86/intel/vbtn.c +5 -1
index 5d13452bb947..0e0c4022e61a 100644
@@ -272,12 +272,16 @@ static bool intel_vbtn_has_switches(acpi_handle handle, bool dual_accel)
 
 static int intel_vbtn_probe(struct platform_device *device)
 {
-	acpi_handle handle = ACPI_HANDLE(&device->dev);
 	bool dual_accel, has_buttons, has_switches;
 	struct intel_vbtn_priv *priv;
+	acpi_handle handle;
 	acpi_status status;
 	int err;
 
+	handle = ACPI_HANDLE(&device->dev);
+	if (!handle)
+		return -ENODEV;
+
 	dual_accel = dual_accel_detect();
 	has_buttons = acpi_has_method(handle, "VBDL");
 	has_switches = intel_vbtn_has_switches(handle, dual_accel);
drivers/s390/cio/device.c +13 -24
index 93307ca75c10..e623359862ea 100644
@@ -1318,34 +1318,23 @@ void ccw_device_schedule_recovery(void)
 	spin_unlock_irqrestore(&recovery_lock, flags);
 }
 
-static int purge_fn(struct subchannel *sch, void *data)
+static int purge_fn(struct device *dev, void *data)
 {
-	struct ccw_device *cdev;
-
-	spin_lock_irq(sch->lock);
-	if (sch->st != SUBCHANNEL_TYPE_IO || !sch->schib.pmcw.dnv)
-		goto unlock;
-
-	if (!is_blacklisted(sch->schid.ssid, sch->schib.pmcw.dev))
-		goto unlock;
-
-	cdev = sch_get_cdev(sch);
-	if (cdev) {
-		if (cdev->private->state != DEV_STATE_OFFLINE)
-			goto unlock;
+	struct ccw_device *cdev = to_ccwdev(dev);
+	struct ccw_dev_id *id = &cdev->private->dev_id;
+	struct subchannel *sch = to_subchannel(cdev->dev.parent);
 
-		if (atomic_cmpxchg(&cdev->private->onoff, 0, 1) != 0)
-			goto unlock;
+	spin_lock_irq(cdev->ccwlock);
+	if (is_blacklisted(id->ssid, id->devno) &&
+	    (cdev->private->state == DEV_STATE_OFFLINE) &&
+	    (atomic_cmpxchg(&cdev->private->onoff, 0, 1) == 0)) {
+		CIO_MSG_EVENT(3, "ccw: purging 0.%x.%04x\n", id->ssid,
+			      id->devno);
 		ccw_device_sched_todo(cdev, CDEV_TODO_UNREG);
+		css_sched_sch_todo(sch, SCH_TODO_UNREG);
 		atomic_set(&cdev->private->onoff, 0);
 	}
-
-	css_sched_sch_todo(sch, SCH_TODO_UNREG);
-	CIO_MSG_EVENT(3, "ccw: purging 0.%x.%04x%s\n", sch->schid.ssid,
-		      sch->schib.pmcw.dev, cdev ? "" : " (no cdev)");
-
-unlock:
-	spin_unlock_irq(sch->lock);
+	spin_unlock_irq(cdev->ccwlock);
 	/* Abort loop in case of pending signal. */
 	if (signal_pending(current))
 		return -EINTR;
@@ -1361,7 +1350,7 @@ static int purge_fn(struct subchannel *sch, void *data)
 int ccw_purge_blacklisted(void)
 {
 	CIO_MSG_EVENT(2, "ccw: purging blacklisted devices\n");
-	for_each_subchannel_staged(purge_fn, NULL, NULL);
+	bus_for_each_dev(&ccw_bus_type, NULL, NULL, purge_fn);
 	return 0;
 }
 
drivers/scsi/isci/host.c +3 -0
index 35589b6af90d..544a4e85c6e4 100644
@@ -1252,6 +1252,9 @@ void isci_host_deinit(struct isci_host *ihost)
 
 	wait_for_stop(ihost);
 
[… more lines in the raw message]

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

drivers/slimbus/qcom-ngd-ctrl.c +2 -4
index fe3a96577f31..d0d289c49c8d 100644

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

drivers/spi/spi-mtk-snfi.c +1 -1
index 22f3b22d77ad..f960c2c2f6b8 100644

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

drivers/spi/spi-qup.c +3 -0
index 1e9cd86d9dcc..fd442062847d 100644

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

drivers/spi/spi-sprd.c +2 -1
index 4ba822ee491a..4128d137f990 100644

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

drivers/spi/spi-ti-qspi.c +1 -0
index e0459fd4d549..187ec6536dd6 100644

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

drivers/spi/spidev.c +22 -41

63 lines not on this page · raw message

fs/netfs/iterator.c +17 -9
index 781ea403498e..9a047ca863fe 100644

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

fs/smb/client/cifs_spnego.c +16 -0
index 2ad067886ec3..10a261bc81c9 100644

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

fs/smb/client/cifsfs.c +2 -0
index 11712e8c39db..a2887b978dc8 100644

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

fs/smb/client/smb2transport.c +2 -0
index 63907fb245e9..e4adfb6325dd 100644

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

fs/smb/server/mgmt/user_session.c +6 -4
index 6c7fbd589087..d9768f88aabc 100644

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

fs/smb/server/oplock.c +12 -1
index c49a75ff5fbb..5302c30a4a91 100644

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

fs/smb/server/oplock.h +1 -0
index f8da0bba766b..e6c4fbe5cf4e 100644

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

fs/smb/server/server.c +1 -0
index 598601a4bf92..416b14267251 100644

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

fs/smb/server/server.h +1 -0
index 48bd203abb44..e3a0f6c9c2c3 100644

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

fs/smb/server/smb2pdu.c +3 -2
index d68fe617369e..04d4a784deaf 100644

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

fs/smb/server/smb2pdu.h +2 -0
index 2821e6c8298f..ad02d0a37602 100644

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

fs/smb/server/smbacl.c +9 -3
index ff59217b4bea..e50a972fa476 100644

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

fs/smb/server/vfs_cache.c +306 -19

325 lines not on this page · raw message

fs/smb/server/vfs_cache.h +14 -1
index 5a225e7055f1..79d85cf4e13b 100644

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

fs/sysfs/group.c +1 -1
index 138676463336..724e684ea261 100644

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

fs/zonefs/super.c +5 -1
index cc364669d723..f1ebe4608457 100644

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

include/asm-generic/kprobes.h +1 -1
index 060eab094e5a..5290a2b2e15a 100644

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

include/linux/device.h +54 -0

54 lines not on this page · raw message

include/linux/device/bus.h +4 -0
index ae10c4322754..d43ce072d747 100644

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

include/linux/fwnode.h +1 -0
index 76680d583852..735f6f334a98 100644

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

include/linux/phy.h +1 -0
index a57e799b1de1..586973404ad4 100644

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

include/linux/platform_device.h +0 -5
index 7a41c72c1959..8828b0d275d7 100644

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

include/linux/sched/task.h +2 -0
index 8dbecab4c400..fc19837c8083 100644

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

include/linux/spinlock.h +26 -0
index ceb56b39c70f..90bc853cafb6 100644

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

include/linux/string.h +12 -0
index ce137830a0b9..bbcaceb8fb6f 100644

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

include/net/af_unix.h +1 -0
index b6eedf7650da..d2fa6d9f1e97 100644

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

include/net/bluetooth/bluetooth.h +1 -0
index c25f9f4cac80..7673228cd697 100644

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

include/net/netfilter/nf_queue.h +1 -0
index c81021ab07aa..2bd5c68e6943 100644

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

include/trace/events/btrfs.h +1 -3
index 2364c68df76c..e06dbddc2872 100644

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

kernel/irq_work.c +7 -0
index 2f4fb336dda1..188721af8eb3 100644

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

kernel/ptrace.c +61 -67

128 lines not on this page · raw message

kernel/trace/ring_buffer.c +3 -5
index a305d1488387..508edf1f3f1e 100644

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

kernel/trace/trace_events_hist.c +2 -4
index 597f47397c72..59115079c798 100644

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

kernel/trace/tracing_map.c +13 -4
index 1921ade45be3..0e5b3ea49936 100644

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

lib/kunit/Kconfig +3 -2
index 68a6daec0aef..f5ba59037390 100644

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

lib/test_kprobes.c +18 -11
index 0648f7154f5c..cd7a452ab303 100644

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

mm/damon/sysfs-schemes.c +1 -0
index dd04bd38567a..e8bf79c0d344 100644

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

net/batman-adv/bridge_loop_avoidance.c +35 -19

54 lines not on this page · raw message

net/batman-adv/distributed-arp-table.c +3 -0
index 28a939d56090..c76bddbf816a 100644

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

net/batman-adv/fragmentation.c +52 -6

58 lines not on this page · raw message

net/batman-adv/gateway_client.c +4 -0
index d26124bc27e1..003b03ca31b4 100644

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

net/batman-adv/originator.c +2 -2
index 7388d2ad7b5d..97c075d0a002 100644

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

net/batman-adv/tp_meter.c +45 -19

64 lines not on this page · raw message

net/batman-adv/types.h +10 -7
index 788507b29f9a..957a70854157 100644

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

net/bluetooth/af_bluetooth.c +75 -22

97 lines not on this page · raw message

net/bluetooth/bnep/core.c +1 -1
index 38f542665f19..e125afe573fc 100644

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

net/bluetooth/iso.c +13 -1
index 1469e9b69e63..1ad08e09b6c3 100644

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

net/bluetooth/l2cap_sock.c +44 -7

51 lines not on this page · raw message

net/bluetooth/mgmt.c +6 -0
index 1874d50e96aa..4271fba3245c 100644

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

net/bluetooth/rfcomm/sock.c +8 -1
index 1cf6543bdec5..bc2b22c2b3ae 100644

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

net/bluetooth/sco.c +8 -1
index 1c9c54f35988..3a3e1cf3c7c8 100644

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

net/bridge/br_multicast.c +24 -3
index 4e75ec75c702..9c91b663bc3b 100644

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

net/core/gro.c +3 -0
index 0a9d4a3bb104..1555e6bb5c9d 100644

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

net/core/skmsg.c +7 -2
index 14208d32eeaf..403ad91c5c74 100644

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

net/ethtool/bitset.c +4 -4
index f0883357d12e..4691d6d0f2b7 100644

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

net/ipv4/inet_connection_sock.c +1 -1
index a6f9192b4e53..c7a1f763e464 100644

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

net/ipv4/netfilter/arptable_filter.c +1 -1
index 78cd5ee24448..359d00d74095 100644

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

net/ipv4/netfilter/iptable_filter.c +1 -1
index b9062f4552ac..c03c1a4ea7ca 100644

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

net/ipv4/netfilter/iptable_mangle.c +1 -1
index 3abb430af9e6..6a51e61b3556 100644

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

net/ipv4/netfilter/iptable_raw.c +1 -1
index ca5e5b21587c..33330e13ea18 100644

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

net/ipv4/netfilter/iptable_security.c +1 -1
index d885443cb267..2b89adc1e575 100644

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

net/ipv4/raw.c +1 -1
index 39834b95ee59..b670364630a1 100644

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

net/ipv6/netfilter/ip6t_hbh.c +4 -0
index e7a3fb9355ee..450dd53846a2 100644

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

net/ipv6/netfilter/ip6table_filter.c +1 -1
index df785ebda0ca..16a38d56b2e5 100644

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

net/ipv6/netfilter/ip6table_mangle.c +1 -1
index a88b2ce4a3cb..39f071666713 100644

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

net/ipv6/netfilter/ip6table_raw.c +1 -1
index 08861d5d1f4d..01def8aa7a2e 100644

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

net/ipv6/netfilter/ip6table_security.c +1 -1
index 4df14a9bae78..66018b169b01 100644

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

net/mac80211/tdls.c +1 -1
index 0fd353fec9fc..c3622f779d12 100644

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

net/mptcp/pm_netlink.c +18 -17
index 4a5802126c8e..6e5570f97236 100644

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

net/mptcp/protocol.c +2 -1
index aed6c04c7de6..ff1632d03a96 100644

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

net/netfilter/ipset/ip_set_hash_ipmark.c +5 -1
index a22ec1a6f6ec..e26ca2a370e3 100644

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

net/netfilter/ipset/ip_set_hash_ipport.c +4 -1
index e977b5a9c48d..41ca24a22a02 100644

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

net/netfilter/ipset/ip_set_hash_ipportip.c +4 -1
index 39a01934b153..b9ac2efaa15c 100644

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

net/netfilter/ipset/ip_set_hash_ipportnet.c +4 -1
index 5c6de605a9fb..2d6652d43199 100644

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

net/netfilter/nf_queue.c +3 -1
index e2f334f70281..d8b7cfda5926 100644

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

net/netfilter/nfnetlink_queue.c +2 -0
index 0ac0db71dbc6..d6bfb3cff6fd 100644

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

net/netfilter/nft_inner.c +0 -1
index 817ab978d24a..5e6a1d3702b1 100644

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

net/phonet/pep.c +17 -2
index e14b2b2d3b5c..72c77a313c83 100644

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

net/smc/af_smc.c +2 -1
index 0e9a3b8da6a6..6629fd61be06 100644

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

net/smc/smc_tracepoint.h +1 -1
index 9fc5e586d24a..380451912c4f 100644

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

net/tls/tls_sw.c +32 -14

46 lines not on this page · raw message

net/unix/af_unix.c +2 -3
index 87908ae74efb..8f785b2600ae 100644

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

net/unix/garbage.c +51 -28

79 lines not on this page · raw message

net/vmw_vsock/virtio_transport_common.c +15 -5
index f5eb68145ca1..d4ff9506eaf6 100644

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

net/vmw_vsock/vmci_transport.c +1 -1
index aca3132689cf..4cd11f355e9d 100644

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

net/wireless/scan.c +3 -0
index c1d64e250454..b12508188a18 100644

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

security/keys/keyring.c +1 -0
index f331725d5a37..df2580072cfe 100644

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

sound/core/pcm_lib.c +3 -0
index a11cd7d6295f..5d455bedb7c9 100644

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

sound/core/seq/seq_ump_client.c +24 -13
index 55923ee6c97a..914837929686 100644

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

sound/pci/asihpi/hpicmn.c +6 -0
index 7d1abaedb46a..f06f44b13d3d 100644

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

sound/pci/hda/cs35l56_hda.c +1 -0
index bae7b1d592c6..afb397c32361 100644

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

sound/soc/codecs/cs35l56-sdw.c +2 -1
index b433266b7844..7d893d1243a2 100644

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

sound/soc/samsung/i2s.c +3 -3
index 3af48c9b5ab7..925782e67673 100644

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

sound/usb/misc/ua101.c +3 -2
index 303c7a00489e..4d23ec97475d 100644

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.