Skip to contentSkip to conversation

Linux 7.1.9

DISCUSSION Greg Kroah-Hartman 1 participant 2 messages Aug 19 Stable branch

lore
Share & tools
lore

Greg Kroah-Hartman

author maintainer
#0 lore raw

I'm announcing the release of the 7.1.9 kernel.

All users of the 7.1 kernel series must upgrade.

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

thanks,

greg k-h

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

 Documentation/admin-guide/kernel-parameters.txt                     |    9 
 Documentation/hwmon/hwmon-kernel-api.rst                            |    7 
 Documentation/sound/alsa-configuration.rst                          |   12 
 MAINTAINERS                                                         |    5 
 Makefile                                                            |    2 
 arch/arm/boot/dts/broadcom/bcm-ns.dtsi                              |    2 
 arch/arm/mach-npcm/platsmp.c                                        |    2 
 arch/arm64/boot/dts/broadcom/bcm2712.dtsi                           |    2 
 arch/arm64/boot/dts/qcom/glymur.dtsi                                |   32 -
 arch/arm64/boot/dts/qcom/monaco.dtsi                                |    1 
 arch/arm64/boot/dts/qcom/purwa.dtsi                                 |    2 
 arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts                |    4 
 arch/arm64/boot/dts/qcom/sm8650.dtsi                                |    4 
 arch/arm64/include/asm/ptdump.h                                     |    2 
 arch/arm64/mm/mmu.c                                                 |   43 --
 arch/arm64/mm/ptdump.c                                              |   11 
 arch/x86/kernel/cpu/common.c                                        |   10 
 arch/x86/kernel/cpu/mce/core.c                                      |    2 
 arch/x86/kvm/mmu/mmu.c                                              |    3 
 arch/x86/kvm/svm/sev.c                                              |   34 +
 arch/x86/kvm/svm/svm.h                                              |    1 
 drivers/accel/amdxdna/amdxdna_gem.c                                 |   47 +-
 drivers/android/binder/process.rs                                   |   12 
 drivers/ata/pata_sl82c105.c                                         |    4 
 drivers/bluetooth/btrtl.c                                           |   13 
 drivers/bluetooth/btusb.c                                           |    2 
 drivers/counter/microchip-tcb-capture.c                             |    4 
 drivers/dibs/dibs_loopback.c                                        |    1 
 drivers/dibs/dibs_main.c                                            |   16 
 drivers/gpio/gpio-pca953x.c                                         |   19 -
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c                          |    2 
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c                             |   35 +-
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c                   |    6 
 drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c           |   24 +
 drivers/gpu/drm/bridge/parade-ps8640.c                              |   27 +
 drivers/gpu/drm/v3d/v3d_drv.h                                       |    6 
 drivers/gpu/drm/v3d/v3d_sched.c                                     |    9 
 drivers/gpu/drm/xe/xe_exec_queue.c                                  |    3 
 drivers/gpu/drm/xe/xe_uc.c                                          |    7 
 drivers/hwmon/ads7828.c                                             |   11 
 drivers/hwmon/corsair-psu.c                                         |    8 
 drivers/hwmon/ltc4282.c                                             |   20 -
 drivers/hwmon/nzxt-smart2.c                                         |    6 
 drivers/hwmon/pmbus/lm25066.c                                       |    5 
 drivers/hwmon/pmbus/pmbus_core.c                                    |   65 ++-
 drivers/input/evdev.c                                               |   27 -
 drivers/misc/fastrpc.c                                              |   27 +
 drivers/misc/mei/client.c                                           |   25 -
 drivers/net/bonding/bond_alb.c                                      |   10 
 drivers/net/ethernet/amd/pds_core/core.h                            |    1 
 drivers/net/ethernet/amd/pds_core/main.c                            |   14 
 drivers/net/ethernet/aquantia/atlantic/aq_ring.c                    |   51 ++
 drivers/net/ethernet/aquantia/atlantic/aq_ring.h                    |    1 
 drivers/net/ethernet/aquantia/atlantic/aq_vec.c                     |    2 
 drivers/net/ethernet/broadcom/bnge/bnge_auxr.c                      |    9 
 drivers/net/ethernet/broadcom/bnge/bnge_netdev.c                    |    2 
 drivers/net/ethernet/broadcom/bnge/bnge_resc.c                      |    3 
 drivers/net/ethernet/broadcom/bnxt/bnxt.c                           |   64 ++-
 drivers/net/ethernet/broadcom/bnxt/bnxt.h                           |    1 
 drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c                       |    7 
 drivers/net/ethernet/cisco/enic/enic_main.c                         |    5 
 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c                       |    1 
 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c             |    6 
 drivers/net/ethernet/intel/igc/igc_main.c                           |   10 
 drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c                |    6 
 drivers/net/ethernet/marvell/prestera/prestera_pci.c                |    3 
 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c            |   16 
 drivers/net/ethernet/mellanox/mlx5/core/en.h                        |    2 
 drivers/net/ethernet/mellanox/mlx5/core/en/tc_priv.h                |    1 
 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c                    |   15 
 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.h                    |    4 
 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/tx.c                 |    2 
 drivers/net/ethernet/mellanox/mlx5/core/en_main.c                   |    4 
 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c                     |    4 
 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c                   |   13 
 drivers/net/ntb_netdev.c                                            |   15 
 drivers/net/ovpn/main.c                                             |   64 ++-
 drivers/net/ovpn/netlink.c                                          |    6 
 drivers/net/ovpn/peer.c                                             |  172 +++++++---
 drivers/net/ovpn/peer.h                                             |    1 
 drivers/net/ovpn/socket.c                                           |    9 
 drivers/net/phy/mediatek/mtk.h                                      |    8 
 drivers/net/tap.c                                                   |   24 -
 drivers/net/thunderbolt/main.c                                      |   33 +
 drivers/net/usb/ax88179_178a.c                                      |    4 
 drivers/net/usb/ipheth.c                                            |   11 
 drivers/net/usb/usbnet.c                                            |    3 
 drivers/net/veth.c                                                  |   22 -
 drivers/net/vxlan/vxlan_core.c                                      |    2 
 drivers/nvmem/apple-spmi-nvmem.c                                    |   20 +
 drivers/nvmem/core.c                                                |   24 -
 drivers/nvmem/internals.h                                           |    2 
 drivers/nvmem/layouts.c                                             |   11 
 drivers/nvmem/layouts/Makefile                                      |    1 
 drivers/nvmem/layouts/fixed-layout.c                                |   58 +++
 drivers/pinctrl/qcom/pinctrl-ipq8064.c                              |    8 
 drivers/pinctrl/qcom/pinctrl-msm.h                                  |    5 
 drivers/ptp/ptp_ocp.c                                               |    4 
 drivers/s390/net/ism_drv.c                                          |   19 -
 drivers/scsi/scsi_debug.c                                           |    4 
 drivers/soc/aspeed/Makefile                                         |    1 
 drivers/soc/aspeed/aspeed-lpc-snoop.c                               |   38 +-
 drivers/staging/rtl8723bs/core/rtw_ieee80211.c                      |    3 
 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c                       |    2 
 drivers/staging/rtl8723bs/core/rtw_wlan_util.c                      |    3 
 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c                   |    4 
 drivers/thermal/thermal_hwmon.c                                     |  154 ++++++--
 drivers/thunderbolt/eeprom.c                                        |    9 
 drivers/thunderbolt/icm.c                                           |    2 
 drivers/thunderbolt/tb.c                                            |    2 
 drivers/tty/serial/8250/8250_dma.c                                  |   12 
 drivers/tty/serial/8250/8250_of.c                                   |   38 ++
 drivers/tty/serial/amba-pl011.c                                     |   68 ++-
 drivers/tty/serial/qcom_geni_serial.c                               |   43 +-
 drivers/tty/serial/sc16is7xx.c                                      |    3 
 drivers/tty/vt/keyboard.c                                           |    5 
 drivers/tty/vt/vt_ioctl.c                                           |    2 
 drivers/usb/atm/cxacru.c                                            |    2 
 drivers/usb/cdns3/cdnsp-gadget.c                                    |    4 
 drivers/usb/core/config.c                                           |   32 +
 drivers/usb/core/quirks.c                                           |    7 
 drivers/usb/gadget/function/f_ncm.c                                 |    2 
 drivers/usb/host/xhci.h                                             |   12 
 drivers/usb/misc/usbio.c                                            |    2 
 drivers/vdpa/mlx5/core/mlx5_vdpa.h                                  |    2 
 drivers/vdpa/mlx5/core/mr.c                                         |    8 
 drivers/vdpa/mlx5/core/resources.c                                  |   11 
 drivers/vdpa/vdpa_sim/vdpa_sim.c                                    |   10 
 drivers/vdpa/vdpa_user/iova_domain.c                                |   11 
 drivers/vhost/iotlb.c                                               |   47 +-
 drivers/vhost/scsi.c                                                |   17 
 drivers/vhost/vdpa.c                                                |   18 -
 drivers/vhost/vhost.c                                               |   16 
 drivers/video/fbdev/core/bitblit.c                                  |    9 
 drivers/watchdog/at91sam9_wdt.c                                     |    4 
 drivers/watchdog/bd96801_wdt.c                                      |    5 
 fs/attr.c                                                           |    2 
 fs/binfmt_misc.c                                                    |    3 
 fs/btrfs/inode.c                                                    |    4 
 fs/btrfs/lzo.c                                                      |   16 
 fs/crypto/policy.c                                                  |    2 
 fs/namespace.c                                                      |    4 
 fs/nfs/nfs4proc.c                                                   |   17 
 fs/overlayfs/super.c                                                |    3 
 fs/smb/client/sess.c                                                |    2 
 fs/smb/client/smb1transport.c                                       |   28 +
 fs/tracefs/event_inode.c                                            |   28 +
 fs/tracefs/internal.h                                               |    4 
 fs/verity/measure.c                                                 |   15 
 fs/xfs/xfs_buf.c                                                    |    2 
 include/linux/dibs.h                                                |    2 
 include/linux/hwmon.h                                               |    3 
 include/linux/mmap_lock.h                                           |    1 
 include/linux/netdevice.h                                           |   11 
 include/linux/netfilter/ipset/ip_set.h                              |    2 
 include/linux/nvmem-provider.h                                      |    6 
 include/linux/psi.h                                                 |    4 
 include/linux/sched/ext.h                                           |   10 
 include/linux/usb/quirks.h                                          |    3 
 include/net/act_api.h                                               |   19 +
 include/net/addrconf.h                                              |    4 
 include/net/ip_vs.h                                                 |   48 +-
 include/net/libeth/xsk.h                                            |    2 
 include/net/route.h                                                 |    2 
 include/net/sch_generic.h                                           |    1 
 include/net/xdp_sock.h                                              |   45 --
 include/net/xdp_sock_drv.h                                          |   77 +++-
 include/uapi/linux/ip_vs.h                                          |    6 
 kernel/bpf/rqspinlock.c                                             |    5 
 kernel/bpf/verifier.c                                               |   29 -
 kernel/cgroup/cgroup.c                                              |   23 +
 kernel/events/core.c                                                |   67 ++-
 kernel/futex/core.c                                                 |   85 +++-
 kernel/sched/ext.c                                                  |   47 ++
 kernel/sched/psi.c                                                  |   75 +++-
 kernel/trace/ring_buffer.c                                          |   15 
 kernel/trace/trace_events.c                                         |    4 
 mm/damon/lru_sort.c                                                 |    2 
 mm/damon/ops-common.c                                               |   13 
 mm/damon/paddr.c                                                    |    2 
 mm/damon/vaddr.c                                                    |    3 
 mm/filemap.c                                                        |    6 
 mm/huge_memory.c                                                    |   47 +-
 mm/memory.c                                                         |    2 
 mm/page_table_check.c                                               |   20 -
 mm/pagewalk.c                                                       |   36 +-
 mm/ptdump.c                                                         |    7 
 mm/vmalloc.c                                                        |   40 +-
 net/atm/common.c                                                    |   14 
 net/bridge/br_mrp.c                                                 |    6 
 net/bridge/netfilter/ebt_nflog.c                                    |   17 
 net/bridge/netfilter/nf_conntrack_bridge.c                          |    1 
 net/core/datagram.c                                                 |    3 
 net/core/dev.c                                                      |   10 
 net/core/filter.c                                                   |    4 
 net/core/sock.c                                                     |    1 
 net/core/xdp.c                                                      |    2 
 net/devlink/dev.c                                                   |    1 
 net/ipv4/fib_semantics.c                                            |  101 +++--
 net/ipv4/inet_connection_sock.c                                     |   20 -
 net/ipv4/inet_fragment.c                                            |   10 
 net/ipv4/route.c                                                    |   29 +
 net/ipv4/tcp_bpf.c                                                  |    2 
 net/ipv4/tcp_input.c                                                |    2 
 net/ipv4/tcp_ipv4.c                                                 |   43 +-
 net/ipv4/udp_offload.c                                              |    4 
 net/ipv6/ip6_tunnel.c                                               |    3 
 net/ipv6/route.c                                                    |    8 
 net/mac802154/scan.c                                                |    4 
 net/ncsi/ncsi-netlink.c                                             |    4 
 net/netfilter/ipset/ip_set_bitmap_gen.h                             |    4 
 net/netfilter/ipset/ip_set_core.c                                   |    6 
 net/netfilter/ipset/ip_set_hash_gen.h                               |    2 
 net/netfilter/ipset/ip_set_list_set.c                               |    4 
 net/netfilter/ipvs/ip_vs_conn.c                                     |   45 --
 net/netfilter/ipvs/ip_vs_core.c                                     |   74 ++--
 net/netfilter/ipvs/ip_vs_ctl.c                                      |   81 +++-
 net/netfilter/ipvs/ip_vs_dh.c                                       |    4 
 net/netfilter/ipvs/ip_vs_est.c                                      |   10 
 net/netfilter/ipvs/ip_vs_lblc.c                                     |    2 
 net/netfilter/ipvs/ip_vs_lblcr.c                                    |    8 
 net/netfilter/ipvs/ip_vs_lc.c                                       |    4 
 net/netfilter/ipvs/ip_vs_proto_sctp.c                               |    4 
 net/netfilter/ipvs/ip_vs_proto_tcp.c                                |    2 
 net/netfilter/ipvs/ip_vs_sync.c                                     |    7 
 net/netfilter/ipvs/ip_vs_xmit.c                                     |    6 
 net/netfilter/nf_conntrack_bpf.c                                    |   72 ++--
 net/netfilter/nf_conntrack_proto.c                                  |    6 
 net/netfilter/nf_conntrack_proto_sctp.c                             |   12 
 net/netfilter/nf_conntrack_proto_tcp.c                              |  132 +++++--
 net/netfilter/nf_flow_table_ip.c                                    |    3 
 net/openvswitch/datapath.c                                          |   29 +
 net/openvswitch/flow.c                                              |   11 
 net/packet/af_packet.c                                              |   72 ++--
 net/qrtr/ns.c                                                       |    2 
 net/sched/act_ct.c                                                  |   29 +
 net/sched/act_gact.c                                                |    5 
 net/sched/act_police.c                                              |    6 
 net/sched/cls_api.c                                                 |   17 
 net/sched/cls_route.c                                               |   35 +-
 net/sched/sch_api.c                                                 |    9 
 net/sched/sch_cake.c                                                |    1 
 net/sctp/associola.c                                                |   11 
 net/sctp/outqueue.c                                                 |    1 
 net/sctp/sm_make_chunk.c                                            |    3 
 net/sctp/sm_statefuns.c                                             |    6 
 net/smc/af_smc.c                                                    |    3 
 net/smc/smc_llc.c                                                   |    3 
 net/smc/smc_rx.c                                                    |   19 -
 net/tipc/node.c                                                     |   15 
 net/tls/tls_sw.c                                                    |   18 -
 net/vmw_vsock/virtio_transport.c                                    |   14 
 net/x25/af_x25.c                                                    |    4 
 net/x25/x25_timer.c                                                 |   25 -
 net/xdp/xdp_umem.c                                                  |    2 
 net/xdp/xsk.c                                                       |   11 
 net/xdp/xsk_buff_pool.c                                             |    6 
 samples/damon/mtier.c                                               |    3 
 security/integrity/ima/ima_appraise.c                               |    9 
 security/integrity/ima/ima_main.c                                   |   39 ++
 sound/hda/codecs/side-codecs/tas2781_hda_spi.c                      |    3 
 sound/usb/endpoint.c                                                |    6 
 sound/usb/fcp.c                                                     |   10 
 sound/usb/midi2.c                                                   |    9 
 sound/usb/mixer.c                                                   |   60 ++-
 sound/usb/mixer.h                                                   |    1 
 sound/usb/quirks.c                                                  |    7 
 sound/usb/usbaudio.h                                                |   13 
 sound/usb/usx2y/us144mkii_capture.c                                 |    1 
 sound/usb/usx2y/usX2Yhwdep.c                                        |    2 
 sound/usb/usx2y/usx2yhwdeppcm.c                                     |    2 
 tools/testing/selftests/bpf/prog_tests/sockmap_basic.c              |    6 
 tools/testing/selftests/bpf/prog_tests/sockmap_listen.c             |   21 -
 tools/testing/selftests/bpf/prog_tests/test_xsk.c                   |   50 +-
 tools/testing/selftests/bpf/test_maps.c                             |   13 
 tools/testing/selftests/bpf/verifier/sleepable.c                    |   17 
 tools/testing/selftests/ftrace/test.d/dynevent/add_remove_eprobe.tc |   16 
 tools/testing/selftests/net/tls.c                                   |   57 +++
 tools/testing/selftests/sched_ext/numa.bpf.c                        |   13 
 279 files changed, 3072 insertions(+), 1340 deletions(-)

Aditya Chillara (1):
perf/core: Fix group leader use-after-free after sibling detach

Aelin Reidel (1):
nvmem: apple-spmi-nvmem: wrap regmap calls to satisfy CFI

Ahmad Byagowi (1):
ptp: ocp: Fix board ID over-read

Ahmed Naseef (1):
net: phy: mediatek: fix TX blink masks using the RX bits

Akhil P Oommen (1):
arm64: dts: qcom: purwa: Fix GPU IOMMU property

Al Viro (1):
mount: honour SB_NOUSER in the new mount API

Aleksandr Nogikh (1):
usb: atm: cxacru: properly kill rcv_urb on error in cxacru_cm()

Alex Deucher (1):
Revert "drm/amd/display: Fix backlight max_brightness to match exported range"

Alexander Koskovich (1):
arm64: dts: qcom: sm8650: Fix IPA IMEM slice

Alexander Usyskin (1):
mei: pull kvfree out of spinlock

Alexandra Winter (2):
s390/ism: Fix UAF of sba and ieq during ism_dev_exit() net/dibs: Correct freeing of dmb_clientid_arr

Alexej Sidorenko (1):
Bluetooth: btrtl: fix RTL8761B/BU broken LE extended scan

Ali Ahmet Memis (1):
hwmon: (corsair-psu) serialize debugfs access against hwmon

Alice Ryhl (1):
rust_binder: do not query current thread for all ioctls

Alok Tiwari (2):
bnge: Fix NULL pointer dereference in aux device release
bnge: use int for bnge_fix_rings_count() return value

Anandu Krishnan E (1):
misc: fastrpc: fix channel ctx ref leak when session alloc fails

Andrey Albershteyn (1):
fs,fsverity: remove check for fsverity being enabled in setattr_prepare()

Andy Lutomirski (1):
mm: fix incorrect flush address in direct page table reclaim

Anna Schumaker (2):
NFS: Pin the 'struct nfs_server' during a FREE_STATEID call
NFS: Decrement refcounts if allocating nfs_free_stateid_data fails

Antonio Quartulli (7):
ovpn: skip rehash for peers already removed from by_id
ovpn: rehash peer in by_transp_addr table on CMD_PEER_SET
ovpn: ensure socket is owned by ovpn before deref sk_user_data
ovpn: zero-initialize sockaddr before learning a floated endpoint
ovpn: hash floated peer by transport identity only
ovpn: disable IPv4 redirects on MP interfaces
ovpn: ensure TCP vars are initialized first

Asad Kamal (1):
Revert "drm/amdgpu: fix aperture mapping leak"

Babanpreet Singh (1):
counter: microchip-tcb-capture: Fix DT channel validation

Baul Lee (8):
ALSA: usb-audio: fix OOB write on Type II inbound URBs
net: bridge: mrp: fix uninitialised bytes on the wire
ALSA: usx2y: bound the hwdep mmap fault offset
ALSA: FCP: fix OOB write in fcp_meter_ctl_get()
ALSA: us144mkii: re-anchor capture URBs on resubmission net/x25: fix use-after-free of the socket by its timers
vxlan: do not arm the ageing timer on a device that is down
sctp: keep chunk->transport in step with the list it is queued on

Bhargava Marreddy (1):
bnge: Fix resource leak in bnge_init_nic() error path

Bjorn Andersson (2):
arm64: dts: qcom: glymur: fix PCIe SMMU interrupts
arm64: dts: qcom: glymur: fix QUP serial engine IRQs

Bobby Eshleman (1):
net/mlx5e: fix BQL reset on SQ re-activation

Breno Leitao (1):
x86/mce: Set up the polling timer before CMCI discovery

Bryam Vargas (1):

      thunderbolt: Bound the DROM dual link port number before indexing sw->ports

Cen Zhang (Microsoft) (1):
net/openvswitch: check Ethernet header length in key_extract()

Chengfeng Ye (4):
bpf: Fix netns reference imbalance in conntrack kfuncs
netfilter: ebt_nflog: pin the NFLOG backend
ipv4: fix use-after-free in fib_nhc_update_mtu() bpf, sockmap: Fix sk_redir use-after-free in send verdict

Christian Borntraeger (1):
vdpa/mlx5: Fix buffer length in create_direct_keys()

Christian Brauner (2):
ovl: don't warn when the mount is completed from another user namespace
binfmt_misc: don't warn when the mount is completed from another user namespace

Cunhao Lu (1):
serial: 8250_dma: Clear stale RX state on shutdown

Daming Li (1):
net: smc: fix splice entry lifetime imbalance in smc_rx_splice

Daniel Drake (1):
arm64: dts: broadcom: bcm2712: Remove non-functional EL2 virtual timer

David Lee (1):
btrfs: lzo: reject inline extents without valid headers

Dmitry Antipov (1):
btrfs: fix memory leak in btrfs_do_encoded_write()

Dmitry Baryshkov (1):
arm64: dts: qcom: sdm850-lenovo-yoga-c630: lower PSCI cluster idle

Dmitry Torokhov (2):
Input: evdev - sanitize event type index when fetching event masks
Input: evdev - fix information leak in evdev_pass_values()

Dongli Zhang (1):

      net: tap: set skb->dev before parsing virtio net header in tap_get_user_xdp()

Doruk Tan Ozturk (2):
net: usb: ipheth: fix carrier_work UAF on disconnect net/packet: reset the MAC header on the packet-socket transmit path

Eddie Lin (1):
misc: fastrpc: fix memory leak in fastrpc_channel_ctx_free

Ekansh Gupta (2):
misc: fastrpc: Fix initial memory allocation for Audio PD memory pool
misc: fastrpc: Remove buffer from list prior to unmap operation

Eric Biggers (2):
fsverity: Fix bpf_get_fsverity_digest() dynptr assumptions
fsverity: Fix silent truncation in bpf_get_fsverity_digest()

Eric Dumazet (3):
netfilter: nf_flow_table: drop existing skb dst before skb_dst_set_noref()
net: remove WARN_ON_ONCE() from sk_mc_loop()
net/atm: fix slab-out-of-bounds read in vcc_setsockopt()

Fan Wu (3):
serial: amba-pl011: fix indefinite RS485 post-send delay
serial: amba-pl011: cancel RS485 hrtimers after freeing IRQ
serial: amba-pl011: synchronize DMA teardown

Fan XinRan (1):
net: thunderbolt: Tear down DMA paths before stopping the rings

Fan Ye (1):
Revert "net: thunderbolt: Enable end-to-end flow control also in transmit"

Frank Sorenson (1):
smb: client: fix SMB1 TRANS2 multi-response truncation in SendReceive()

Greg Kroah-Hartman (1):

      Linux 7.1.9

Guenter Roeck (7):
hwmon: (pmbus/core) Avoid race condition during probe
hwmon: (pmbus) Fix type confusion in notification logic
hwmon: (pmbus/lm25066) Fix PMBus coefficient calculations
hwmon: (ltc4282) Avoid overflow in maximum power calculation
hwmon: (ltc4282) Clamp negative current limits
hwmon: (ltc4282) Fix parsing adi,current-limit-sense-microvolt
hwmon: Support guard() and scoped_guard for subsystem locks

Hans Ulli Kroll (2):
pinctrl: qcom: ipq806x: mark gpio as a GPIO pin function
pinctrl: qcom: ipq806x: mark pci reset as a GPIO pin function

Henry Martin (1):
net/ncsi: fix heap OOB read in NCSI_CMD_SEND_CMD payload length

Hidayath Khan (1):

      dibs: initialise dibs->lock in dibs_dev_alloc()

Hongyan Xu (2):
ata: pata_sl82c105: fix bridge revision use-after-free
watchdog: at91sam9_wdt: prevent timer rearm during teardown

Hugh Dickins (1):
mm/filemap: __filemap_add_folio() restore index before retrying

Hui Su (2):
ring-buffer: Fix crash passing ERR_PTR to kthread_stop()
tracing: Fix NULL pointer dereference in module event cache removal

Hyunjung Ko (2):
net/sched: act_ct: fix sk_buff leak when the header checks reject a packet net/sched: act_gact, act_police: range check the fallback control action

Ishaan Dandekar (1):
usb: quirks: Add ShanWan gamepad to quirk list

Jamal Hadi Salim (2):
net/sched: cls_route: fix fastmap use-after-free on filter net/sched: cls_api: Always acquire rtnl_lock when destroying locked classifiers

Jan Sebastian Götte (1):
serial: qcom-geni: fix TX DMA buffer flush

Jia Jia (1):
vhost-scsi: reject feature changes after endpoint

Jiangshan Yi (1):
usb: misc: usbio: check ibuf_len against rxbuf_len in bulk msg

Jiawen Liu (1):
net: hisilicon: hix5hd2_gmac: remove redundant NAPI delete

Jiayuan Chen (1):
tcp: fix TFO max_qlen accounting across reuseport migration

Jijie Shao (1):
net: hns3: fix speed configuration residue after driver reload

Jose Fernandez (Anthropic) (1):
bpf: tcp: Fix use-after-free in bpf_iter_tcp_established_batch()

Joshua Rogers (2):
vt: add permission check for KDSKBMETA ioctl
vt: stabilize tty reference in kbd_keycode with tty_port_tty_get

Jozsef Kadlecsik (1):
netfilter: ipset: switch ext_size to atomic64_t

Julian Anastasov (4):
ipvs: avoid out-of-bounds write in ip_vs_nat_icmp
ipvs: return the csum validation for forward hook
ipvs: add totalconns for dest
ipvs: properly update the overload flag on dest edit

Jun Yang (2):
vhost: reset the vring metadata cache on vring reconfiguration
tipc: read le->link under the node lock in tipc_node_link_down()

Junrui Luo (1):

      misc: fastrpc: take fl->lock when moving mmaps on interrupted invoke

Jérémy Jean (1):
tls: rx: restore msg_iter before TLS 1.3 optimistic retry

Karthikeyan KS (1):
soc: aspeed: lpc-snoop: Fix usercopy overflow in snoop_file_read

Keegan Freyhof (1):
bnxt_en: Fix PTP PPS setting bug

Keno Fischer (1):
futex: Prevent robust futex exit race some more

Koichiro Den (1):
NTB: ntb_netdev: Preserve RX queue depth on allocation failure

Krzysztof Kozlowski (1):
arm64: dts: qcom: monaco: Add default GIC address cells

Kuba Piecuch (1):
selftests/sched_ext: Handle sleeping task affinity changes in numa test

Kumar Kartikeya Dwivedi (1):
rqspinlock: Reset tail when preserving queue on deadlock

Kyle Zeng (2):
ipvs: clear IPv4 options after rebasing tunnel ICMP errors
ipv6: prevent in6_dev_get() from resurrecting inet6_dev

Lachlan Hodges (1):
usb: xhci: use BIT_ULL for CRCR bits to fix incorrect 64bit mask

Laurent Vivier (1):
usbnet: cap max_mtu for drivers without bind callback

Lincoln Wallace (1):
ima: fix out-of-bounds read in xattr_verify()

Linfeng Sun (1):
vhost-scsi: Validate T10 PI scatterlist counts

Linfeng Sun  (1):
vhost_iotlb: bound map allocation in add_range

Lizhi Hou (2):
accel/amxdna: Fix page-insertion errors in amdxdna_insert_pages() accel/amdxdna: Fix locally exploitable BUG_ON in amdxdna_insert_pages()

Lorenzo Stoakes (ARM) (4):
mm/vmalloc: acquire init_mm lock on huge vmap to avoid ptdump UAF mm/huge_memory: fix huge_zero_pfn race
arm64: remove redundant concurrent ptdump UAF mitigation mm/ptdump: always stabilise against page table freeing using init_mm

Luca Fresi (1):
serial: sc16is7xx: enable THRI before filling TX FIFO

Luxiao Xu (1):
bpf: Check sk_state before sk_protocol in bpf_tcp_*_syncookie

Maciej Fijalkowski (2):
selftests/xsk: fix too-many-frags multi-buffer Tx test selftests/xsk: account reclaimed invalid Tx descriptors

Mahanta Jambigi (1):
net/smc: fix qentry overwrite for CONFIRM_LINK and ADD_LINK_CONT in smc_llc_event_handler()

Marcin Bernatowicz (1):
drm/xe/uc: Apply RCS/CCS yield policy to SR-IOV VFs

Mariano Baragiola (1):
staging: rtl8723bs: validate monitor transmit frame lengths

Mark Tomlinson (1):
gpio: pca953x: fix pca953x_irq_bus_sync_unlock regmap lock

Martin Kaiser (1):
selftests/ftrace: refactor eprobes test to fix argument checks

Mathieu Dubois-Briand (1):
nvmem: layouts: Add fixed-layout driver

Matt Fleming (1):
mm/huge_memory: initialise workingset state before folio split

Matti Vaittinen (1):
watchdog: bd96801_wdt: Fix timeout for enabled WDG

Maximilian Immanuel Brandtner (1):
tls: don't abort the connection on signal-interrupted sends

Maíra Canal (1):
drm/v3d: Serialize the scheduler timeout handlers

Michael Chan (1):
bnxt_en: Disable EOP for TPA on all chips to prevent data corruption

Michael Guralnik (1):
net/mlx5: fw_tracer, return NULL on create error

Michael Wu (1):
tracing: Fix race between update_event_fields and, event_define_fields

Michal Luczaj (3):
selftests/bpf: Fail unbound UDP on sockmap update selftests/bpf: Ensure UDP sockets are bound selftests/bpf: Adapt sockmap update error handling

Michał Winiarski (1):
drm/xe: Fix memory leak in exec_queue_set_hang_replay_state()

Mimi Zohar (1):
ima: Instantiate file_truncate and path_truncate hooks

Muhammad Bilal (2):
staging: rtl8723bs: fix OOB read in rtw_get_wpa_ie()
staging: rtl8723bs: fix OOB read in WMM_param_handler()

Mykyta Yatsenko (1):
selftests/bpf: Add tests for sleepable tracepoint programs

Nathan Gao (1):
tcp: do not change rcv_ssthresh in tcp_measure_rcv_mss()

Nikhil P. Rao (2):
pds_core: keep the health thread stopped during reset
pds_core: cancel pending PCI reset work on AER recovery

Nikhil Solanke (1):
usb: core: Add quirk for 255-bytes initial config read

Nils Helmig (1):
Bluetooth: btusb: Add TP-Link UB600 for Realtek 8761BUV

Or Har-Toov (1):
devlink: fix net namespace reference leak in reload

Panagiotis Petrakopoulos (1):
staging: rtl8723bs: fix missing shared-key auth challenge length check

Paolo Bonzini (1):
KVM: SVM: Serialize accesses to the owner and mirror list with separate lock

Pavel Begunkov (1):
net: devmem: prevent net-iov / page mixing

Pawel Laszczak (1):
usb: cdnsp: fix incorrect endian conversions for APB timeout register

Pengpeng Hou (2):
drm/bridge: ps8640: propagate AUX transfer register errors
net: prestera: validate firmware header length

Philipp David (1):
igc: fix netdev not re-attached after resume if interface is down

Qihang Tang (3):
packet: use consistent hard_header_len in non-ring send paths
packet: use consistent hard_header_len in TX_RING send path
net: remove CAP_SYS_RAWIO zero-padding in dev_validate_header

Qing Luo (1):
sctp: fix addip_serial increment on ASCONF_ACK allocation failure

Qing Ming (1):
sctp: clear new_transport when removing a peer

Qingfang Deng (1):
ovpn: fix incorrect use of rcu_access_pointer()

Qingshuang Fu (2):
hwmon: (nzxt-smart2) Check return value of init_device() in probe
hwmon: (ads7828) Fix external VREF regulator handling

Qu Wenruo (2):
btrfs: lzo: add error message for invalid headers
btrfs: initialize inode mapping flags for cached inodes

Rafael J. Wysocki (2):
Revert "thermal/drivers/hwmon: Cleanup coding style a bit" Revert "thermal: hwmon: Register a hwmon device for each thermal zone"

Ralf Lici (1):

      ovpn: add missing rtnl_link_ops->get_size callback

Ray Wu (2):
drm/amd/display: Add AV mute wait frames to dce110_set_avmute drm/amd/display: Check for tg ops in dce110_set_avmute

Rik van Riel (2):
fbdev: bitblit: bound-check glyph index in bit_cursor() x86/CPU: Add a tlbi= cmdline switch

Rong Zhang (2):
ALSA: usb-audio: Add QUIRK_FLAG_MIXER_GET_CUR_BROKEN
ALSA: usb-audio: Add QUIRK_FLAG_MIXER_GET_CUR_BROKEN for Logitech PRO X 2 LIGHTSPEED

Rosen Penev (1):
ARM: dts: BCM5301X: fix PCIe controller 2 second interrupt

Ryan Wilbur (1):
serial: 8250_of: clear stuck empty-FIFO RX-timeout on LPC32xx

SJ Park (3):
mm/damon/lru_sort: error out for >10000 active_mem_bp samples/damon/mtier: error out for zero quota goal target values mm/damon: adjust isolated pages stat for DAMOS_MIGRATE_{HOT,COLD}

Satish Kharat (1):
enic: fix tx_hang_reset use-after-free on device removal

Sean Christopherson (1):
KVM: x86/mmu: WARN and clear role.invalid when creating a child shadow page

Sergey V. Frolov (1):
net: octeontx2-pf: Fix UB in shift operation

Shay Drory (1):
net/mlx5e: TC, Check if flow is PEER before acquiring devcom lock

Shravya KN (3):
bnxt_en: Move RSS table fill outside __bnxt_hwrm_vnic_set_rss()
bnxt_en: Determine and store default RX ring in vnic structure
bnxt_en: Refresh VNIC default ring on queue restart if needed

Shuangpeng Bai (2):
smb: client: Fix use-after-free in cifs_try_adding_channels()
eventfs: Fix use-after-free in eventfs_remove_rec()

Sidraya Jayagond (1):
net/smc: fix TOCTOU race between smc_listen_out() and listener close

Sonali Pradhan (1):
usb: gadget: f_ncm: Use unsigned int for ndp_index

Stanislav Fomichev (6):
xsk: require at least 16 bytes of TX metadata
xsk: pass TX metadata pointer by reference
xsk: clear metadata pointer when no timestamp is requested
xsk: validate launch-time metadata size
xsk: move xsk_tx_metadata_request() to xdp_sock_drv.h
xsk: validate metadata when processing requests

Stefan Agner (1):
net: stmmac: resume PHY before hardware setup when opening the interface

Steven Rostedt (1):
eventfs: Use children field for rcu head and add memory barriers

Sun Jian (2):
net: fix skb length accounting after generic XDP frag adjustment
veth: fix skb length accounting after XDP frag adjustment

Takashi Iwai (2):
ALSA: usb-audio: Fix sticky mixer regressions on M-Audio Fast Track Ultra
ALSA: usb: Fix UAF at delayed release of MIDI2 EPs

Tejun Heo (6):
sched_ext: Reject setting disallow from init_task outside the enable path
sched_ext: Skip sub-disable teardown for never-linked sub-schedulers
sched_ext: Don't enable non-ext tasks in the sub-sched task loops sched/psi: Shut down rtpoll_timer in psi_cgroup_free() sched/psi: Create the psimon kthread outside of cgroup_mutex
sched_ext: Take cgroup_lock() first in scx_cgroup_lock()

Tengda Wu (1):
ring-buffer: Use current_context for safe per-CPU buffer swap

Toke Høiland-Jørgensen (1):
net/sched: sch_cake: drop WARN_ON(1) for malformed packets in ACK filter

Vincent Donnefort (3):
ring-buffer: Prevent subbuf order change when resizing is disabled
ring-buffer: Prevent resizing of persistent ring buffer
ring-buffer: Initialise reader page order in rb_allocate_cpu_buffer()

Weiming Shi (2):
vsock/virtio: read virtqueues under worker locks vsock/virtio: avoid refilling the RX queue after teardown

Wilken Gottwalt (1):
hwmon: (corsair-psu) fix possible out-of-bounds access on missing string termination

Will Chen (1):
bnxt: fix memory leak in bnxt_queue_mem_alloc error cases

Xiang Mei (Microsoft) (1):
bonding: alb: re-check primary_is_promisc under RTNL in bond_alb_monitor

Xin Long (1):
sctp: clear control chunk transport if it is being removed

Xu Rao (4):
thunderbolt: icm: Preserve USB4 proxy data-valid bit
ALSA: hda/tas2781: fix ACPI reference handling
scsi: scsi_debug: Negate wrapped memcmp() result
thunderbolt: Fix bandwidth group reservation indexing

Xuanqiang Luo (1):
udp: fix potential use-after-free in tunnel segmentation

Yangyu Chen (2):
net: atlantic: free stranded TX buffers on ring deinit
net: atlantic: free RX pages of consumed but not refilled buffers

Yi Cong (1):

      net: usb: ax88179_178a: fix skb leak in ax88179_tx_fixup()

Yiyang Chen (2):
bpf: Preserve pointer state for commuted arithmetic
bpf: Propagate untrusted pointer state in commuted arithmetic

Yizhou Zhao (1):
ipvs: separate destination availability state

Yousef Alhouseen (1):
vhost/vdpa: reject overflowing PA map page counts on 32-bit

Yuejie Shi (1):
ipv6: fix Route Information option length validation

Yuho Choi (1):
ARM: npcm: Fix OF node refcount leaks in SMP setup

Yun Zhou (1):
xfs: handle NULL b_addr in xfs_buf_free

Yuxiang Yang (1):
sctp: fix use-after-free of cached ASCONF chunk

Zhan Xusheng (1):
fscrypt: use the mount idmap for the owner check in fscrypt_ioctl_set_policy()

Zhiling Zou (7):
ipvs: stop estimator after disabled calc phase
net: openvswitch: reallocate update replies for mismatched IDs
inet: frags: publish queues before arming timer
netfilter: bridge: release template ct on non-IP path
xdp: reject clones that overrun skb_shared_info tailroom mm/page_table_check: skip special zero mappings
ip6_tunnel: clear skb2->cb[] in ip6ip6_err()

Zihan Xi (4):
packet: synchronize pressure clearing with ring reconfiguration
mac802154: fix netdev use-after-free in beacon worker
ipv4: Fix fib_nlmsg_size() for RTA_VIA nexthops
netfilter: nf_conntrack: defer invalid log until after unlock

Zijie Huang (1):
net/sched: reject overly deep qdisc hierarchies

chanyoung (1):
tls: don't leave a full plaintext sk_msg ring unpushed

liyouhong (1):
mm/damon/ops-common: putback folios on invalid migrate nid

Łukasz Patron (1):
net: qrtr: ns: Raise lookup limit to 128

author maintainer
#1 lore raw
Documentation/admin-guide/kernel-parameters.txt +9 -0
index 97007f4f69d4..f7f37de60b12 100644
@@ -7573,6 +7573,10 @@ Kernel parameters
 			See Documentation/admin-guide/mm/transhuge.rst for more
 			details.
 
+	tlbi=		[X86-64]
+			Format: {ipi}
+			ipi: switch to IPI-based TLB flushing
+
 	topology=	[S390,EARLY]
 			Format: {off | on}
 			Specify if the kernel should make use of the cpu
@@ -8158,6 +8162,11 @@ Kernel parameters
 				q = USB_QUIRK_FORCE_ONE_CONFIG (Device
 					claims zero configurations,
 					forcing to 1);
+				r = USB_QUIRK_WINDOWS_CONFIG_REQ_SIZE (Device
+					fails during initialization when asked for
+					9-bytes configuration descriptor request.
+					Ask for 255-bytes request instead to mirror
+					Windows' behavior);
 			Example: quirks=0781:5580:bk,0a5c:5834:gij
 
 	usbhid.mousepoll=
Documentation/hwmon/hwmon-kernel-api.rst +4 -3
index 1d7f1397a827..9fcde32a140d 100644
@@ -85,9 +85,10 @@ removal.
 When using ``[devm_]hwmon_device_register_with_info()`` to register the
 hardware monitoring device, accesses using the associated access functions
 are serialised by the hardware monitoring core. If a driver needs locking
-for other functions such as interrupt handlers or for attributes which are
-fully implemented in the driver, hwmon_lock() and hwmon_unlock() can be used
-to ensure that calls to those functions are serialized.
+for other functions such as interrupt handlers, attributes which are fully
+implemented in the driver, or debugfs functions, hwmon_lock() and hwmon_unlock()
+can be used to ensure that calls to those functions are serialized. Those
+functions also support guard() and scoped_guard() variants.
 
 Using devm_hwmon_device_register_with_info()
 --------------------------------------------
Documentation/sound/alsa-configuration.rst +12 -0
index 4b30cd63c5a5..78fb484e8b04 100644
@@ -2389,6 +2389,18 @@ quirk_flags
           from snd_usb_handle_sync_urb. Instead fall through and enqueue a
           packet_info containing only size-0 packets, so the OUT ring keeps
           moving (emits silence). Needed by Behringer Flow 8 (1397:050c).
+        * bit 30: ``mixer_get_cur_broken``
+          Some mixers are sticky, which means that setting their current volume
+          is a no-op, and reading the current volume returns a constant value.
+          The sticky check disables these mixers to prevent confusing userspace.
+          However, some devices do have a tunable volume despite the reported
+          current volume being constant. As the sticky check can't distinguish
+          between the two categories, setting this flag tells that the device
+          should fall into the second category when GET_CUR returns a constant
+          value, resulting in the sticky check being non-fatal and only
+          disabling GET_CUR instead of the whole mixer. The current volume will
+          then be provided by the internal cache that stores the last set
+          volume
 
 This module supports multiple devices, autoprobe and hotplugging.
 
MAINTAINERS +5 -0
index f74da642290a..624cfb6cf1d4 100644
@@ -10031,6 +10031,11 @@ F:	drivers/base/firmware_loader/
 F:	rust/kernel/firmware.rs
 F:	include/linux/firmware.h
 
+FIXED-LAYOUT NVMEM LAYOUT DRIVER
+M:	Mathieu Dubois-Briand <[email protected]>
+S:	Maintained
+F:	drivers/nvmem/layouts/fixed-layout.c
+
 FLEXTIMER FTM-QUADDEC DRIVER
 M:	Patrick Havelange <[email protected]>
 L:	[email protected]
Makefile +1 -1
index fa62d2054cd4..d7cca59812d8 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 7
 PATCHLEVEL = 1
-SUBLEVEL = 8
+SUBLEVEL = 9
 EXTRAVERSION =
 NAME = Baby Opossum Posse
 
arch/arm/boot/dts/broadcom/bcm-ns.dtsi +1 -1
index 392a25713669..bd52de0faa3e 100644
@@ -141,7 +141,7 @@ axi@18000000 {
 
 			/* PCIe Controller 2 */
 			<0x00014000 0 &gic GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>,
-			<0x00014000 1 &gic GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>,
+			<0x00014000 1 &gic GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>,
 			<0x00014000 2 &gic GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>,
 			<0x00014000 3 &gic GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>,
 			<0x00014000 4 &gic GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
arch/arm/mach-npcm/platsmp.c +2 -0
index 41891d3aa124..4c1fc9983746 100644
@@ -32,6 +32,7 @@ static int npcm7xx_smp_boot_secondary(unsigned int cpu,
 		goto out;
 	}
 	gcr_base = of_iomap(gcr_np, 0);
+	of_node_put(gcr_np);
 	if (!gcr_base) {
 		pr_err("could not iomap gcr");
 		ret = -ENOMEM;
@@ -60,6 +61,7 @@ static void __init npcm7xx_smp_prepare_cpus(unsigned int max_cpus)
 		return;
 	}
 	scu_base = of_iomap(scu_np, 0);
+	of_node_put(scu_np);
 	if (!scu_base) {
 		pr_err("could not iomap scu");
 		return;
arch/arm64/boot/dts/broadcom/bcm2712.dtsi +0 -2
index 761c59d90ffc..09ff5e9959d3 100644
@@ -678,8 +678,6 @@ IRQ_TYPE_LEVEL_LOW)>,
 			     <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) |
 					  IRQ_TYPE_LEVEL_LOW)>,
 			     <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) |
-					  IRQ_TYPE_LEVEL_LOW)>,
-			     <GIC_PPI 12 (GIC_CPU_MASK_SIMPLE(4) |
 					  IRQ_TYPE_LEVEL_LOW)>;
 	};
 
arch/arm64/boot/dts/qcom/glymur.dtsi +16 -16
index 63df60b7e010..25df2bd06735 100644
@@ -1843,7 +1843,7 @@ &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>,
 			spi0: spi@b80000 {
 				compatible = "qcom,geni-spi";
 				reg = <0x0 0x00b80000 0x0 0x4000>;
-				interrupts = <GIC_SPI 1052 IRQ_TYPE_LEVEL_HIGH>;
+				interrupts = <GIC_ESPI 92 IRQ_TYPE_LEVEL_HIGH>;
 				clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
 				clock-names = "se";
 				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
@@ -1870,7 +1870,7 @@ &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>,
 			i2c1: i2c@b84000 {
 				compatible = "qcom,geni-i2c";
 				reg = <0x0 0x00b84000 0x0 0x4000>;
-				interrupts = <GIC_SPI 1053 IRQ_TYPE_LEVEL_HIGH>;
+				interrupts = <GIC_ESPI 93 IRQ_TYPE_LEVEL_HIGH>;
 				clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
 				clock-names = "se";
 				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
@@ -1897,7 +1897,7 @@ &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>,
 			spi1: spi@b84000 {
 				compatible = "qcom,geni-spi";
 				reg = <0x0 0x00b84000 0x0 0x4000>;
-				interrupts = <GIC_SPI 1053 IRQ_TYPE_LEVEL_HIGH>;
+				interrupts = <GIC_ESPI 93 IRQ_TYPE_LEVEL_HIGH>;
 				clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
 				clock-names = "se";
 				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
@@ -1924,7 +1924,7 @@ &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>,
 			i2c2: i2c@b88000 {
 				compatible = "qcom,geni-i2c";
 				reg = <0x0 0x00b88000 0x0 0x4000>;
-				interrupts = <GIC_SPI 1054 IRQ_TYPE_LEVEL_HIGH>;
+				interrupts = <GIC_ESPI 94 IRQ_TYPE_LEVEL_HIGH>;
 				clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
 				clock-names = "se";
 				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
@@ -1951,7 +1951,7 @@ &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>,
 			spi2: spi@b88000 {
 				compatible = "qcom,geni-spi";
 				reg = <0x0 0x00b88000 0x0 0x4000>;
-				interrupts = <GIC_SPI 1054 IRQ_TYPE_LEVEL_HIGH>;
+				interrupts = <GIC_ESPI 94 IRQ_TYPE_LEVEL_HIGH>;
 				clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
 				clock-names = "se";
 				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
@@ -1978,7 +1978,7 @@ &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>,
 			uart2: serial@b88000 {
 				compatible = "qcom,geni-uart";
 				reg = <0x0 0x00b88000 0x0 0x4000>;
-				interrupts = <GIC_SPI 1054 IRQ_TYPE_LEVEL_HIGH>;
+				interrupts = <GIC_ESPI 94 IRQ_TYPE_LEVEL_HIGH>;
 				clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
 				clock-names = "se";
 				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
@@ -2023,7 +2023,7 @@ &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>,
 			spi3: spi@b8c000 {
 				compatible = "qcom,geni-spi";
 				reg = <0x0 0x00b8c000 0x0 0x4000>;
-				interrupts = <GIC_SPI 1055 IRQ_TYPE_LEVEL_HIGH>;
+				interrupts = <GIC_ESPI 95 IRQ_TYPE_LEVEL_HIGH>;
 				clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
 				clock-names = "se";
 				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
@@ -2077,7 +2077,7 @@ &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>,
 			spi4: spi@b90000 {
 				compatible = "qcom,geni-spi";
 				reg = <0x0 0x00b90000 0x0 0x4000>;
-				interrupts = <GIC_SPI 1056 IRQ_TYPE_LEVEL_HIGH>;
+				interrupts = <GIC_ESPI 96 IRQ_TYPE_LEVEL_HIGH>;
 				clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
 				clock-names = "se";
 				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
@@ -2131,7 +2131,7 @@ &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>,
 			spi5: spi@b94000 {
 				compatible = "qcom,geni-spi";
 				reg = <0x0 0x00b94000 0x0 0x4000>;
-				interrupts = <GIC_SPI 1057 IRQ_TYPE_LEVEL_HIGH>;
+				interrupts = <GIC_ESPI 97 IRQ_TYPE_LEVEL_HIGH>;
 				clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
 				clock-names = "se";
 				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
@@ -2158,7 +2158,7 @@ &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>,
 			i2c6: i2c@b98000 {
 				compatible = "qcom,geni-i2c";
 				reg = <0x0 0x00b98000 0x0 0x4000>;
-				interrupts = <GIC_SPI 1058 IRQ_TYPE_LEVEL_HIGH>;
+				interrupts = <GIC_ESPI 98 IRQ_TYPE_LEVEL_HIGH>;
 				clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
 				clock-names = "se";
 				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
@@ -2185,7 +2185,7 @@ &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>,
 			spi6: spi@b98000 {
 				compatible = "qcom,geni-spi";
 				reg = <0x0 0x00b98000 0x0 0x4000>;
-				interrupts = <GIC_SPI 1058 IRQ_TYPE_LEVEL_HIGH>;
+				interrupts = <GIC_ESPI 98 IRQ_TYPE_LEVEL_HIGH>;
 				clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
 				clock-names = "se";
 				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
@@ -2212,7 +2212,7 @@ &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>,
 			i2c7: i2c@b9c000 {
 				compatible = "qcom,geni-i2c";
 				reg = <0x0 0x00b9c000 0x0 0x4000>;
-				interrupts = <GIC_SPI 1059 IRQ_TYPE_LEVEL_HIGH>;
+				interrupts = <GIC_ESPI 99 IRQ_TYPE_LEVEL_HIGH>;
 				clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
 				clock-names = "se";
 				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
@@ -2239,7 +2239,7 @@ &config_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>,
 			spi7: spi@b9c000 {
 				compatible = "qcom,geni-spi";
 				reg = <0x0 0x00b9c000 0x0 0x4000>;
-				interrupts = <GIC_SPI 1059 IRQ_TYPE_LEVEL_HIGH>;
+				interrupts = <GIC_ESPI 99 IRQ_TYPE_LEVEL_HIGH>;
 				clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
 				clock-names = "se";
 				interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS
@@ -5626,9 +5626,9 @@ apps_smmu: iommu@15000000 {
 		pcie_smmu: iommu@15480000 {
 			compatible = "arm,smmu-v3";
 			reg = <0x0 0x15480000 0x0 0x20000>;
-			interrupts = <GIC_SPI 964 IRQ_TYPE_LEVEL_HIGH>,
-				     <GIC_SPI 962 IRQ_TYPE_LEVEL_HIGH>,
-				     <GIC_SPI 960 IRQ_TYPE_LEVEL_HIGH>;
+			interrupts = <GIC_ESPI 4 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_ESPI 2 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_ESPI 0 IRQ_TYPE_LEVEL_HIGH>;
 			interrupt-names = "eventq", "cmdq-sync", "gerror";
 			dma-coherent;
 			#iommu-cells = <1>;
arch/arm64/boot/dts/qcom/monaco.dtsi +1 -0
index fa13210fc539..62e6b60087ee 100644
@@ -7384,6 +7384,7 @@ intc: interrupt-controller@17a00000 {
 			interrupt-controller;
 			#redistributor-regions = <1>;
 			redistributor-stride = <0x0 0x20000>;
+			#address-cells = <0>;
 		};
 
 		watchdog@17c10000 {
arch/arm64/boot/dts/qcom/purwa.dtsi +2 -0
index 9ab4f26b35f2..5b17840fb62f 100644
@@ -47,6 +47,8 @@ &gmu {
 &gpu {
 	compatible = "qcom,adreno-43030c00", "qcom,adreno";
 
+	iommus = <&adreno_smmu 0 0x0>;
+
 	nvmem-cells = <&gpu_speed_bin>;
 	nvmem-cell-names = "speed_bin";
 
arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts +4 -0
index e41200839dbe..8cdaef5360d1 100644
@@ -347,6 +347,10 @@ &cdsp_pas {
 	status = "okay";
 };
 
+&cluster_sleep_0 {
+	arm,psci-suspend-param = <0x41008244>;
+};
+
 &gcc {
 	protected-clocks = <GCC_QSPI_CORE_CLK>,
 			   <GCC_QSPI_CORE_CLK_SRC>,
arch/arm64/boot/dts/qcom/sm8650.dtsi +2 -2
index e2d98cf6adca..ecfa3478cbdd 100644
@@ -7091,8 +7091,8 @@ sram@14680000 {
 
 			ranges = <0 0 0x14680000 0x2c000>;
 
-			ipa_modem_tables: modem-tables@8000 {
-				reg = <0x8000 0x2000>;
+			ipa_modem_tables: modem-tables@3000 {
+				reg = <0x3000 0x2000>;
 			};
 		};
 
arch/arm64/include/asm/ptdump.h +0 -2
index baff24004459..fded5358641f 100644
@@ -7,8 +7,6 @@
 
 #include <linux/ptdump.h>
 
-DECLARE_STATIC_KEY_FALSE(arm64_ptdump_lock_key);
-
 #ifdef CONFIG_PTDUMP
 
 #include <linux/mm_types.h>
arch/arm64/mm/mmu.c +4 -39

81 lines not on this page · raw message

arch/arm64/mm/ptdump.c +2 -9
index ab9899ca1e5f..421a5de806c6 100644
@@ -283,13 +283,6 @@ void note_page_flush(struct ptdump_state *pt_st)
 	note_page(pt_st, 0, -1, pte_val(pte_zero));
 }
 
-static void arm64_ptdump_walk_pgd(struct ptdump_state *st, struct mm_struct *mm)
-{
-	static_branch_inc(&arm64_ptdump_lock_key);
-	ptdump_walk_pgd(st, mm, NULL);
-	static_branch_dec(&arm64_ptdump_lock_key);
-}
-
 void ptdump_walk(struct seq_file *s, struct ptdump_info *info)
 {
 	unsigned long end = ~0UL;
@@ -318,7 +311,7 @@ void ptdump_walk(struct seq_file *s, struct ptdump_info *info)
 		}
 	};
 
-	arm64_ptdump_walk_pgd(&st.ptdump, info->mm);
+	ptdump_walk_pgd(&st.ptdump, info->mm, NULL);
 }
 
 static void __init ptdump_initialize(void)
@@ -360,7 +353,7 @@ bool ptdump_check_wx(void)
 		}
 	};
 
-	arm64_ptdump_walk_pgd(&st.ptdump, &init_mm);
+	ptdump_walk_pgd(&st.ptdump, &init_mm, NULL);
 
 	if (st.wx_pages || st.uxn_pages) {
 		pr_warn("Checked W+X mappings: FAILED, %lu W+X pages found, %lu non-UXN pages found\n",
arch/x86/kernel/cpu/common.c +10 -0
index a4268c47f2bc..558a253c92fa 100644
@@ -2668,3 +2668,13 @@ void __init arch_cpu_finalize_init(void)
 	 */
 	mem_encrypt_init();
 }
+
+/* Control TLB flushing methods */
+static int __init tlbi_setup(char *str)
+{
+	if (!strcmp(str, "ipi"))
+		setup_clear_cpu_cap(X86_FEATURE_INVLPGB);
+
+	return 1;
+}
+__setup("tlbi=", tlbi_setup);
arch/x86/kernel/cpu/mce/core.c +1 -1
index f3a793e3a6c8..1848c54bae85 100644
@@ -2269,10 +2269,10 @@ void mcheck_cpu_init(struct cpuinfo_x86 *c)
 
 	mca_cfg.initialized = 1;
 
+	__mcheck_cpu_setup_timer();
 	__mcheck_cpu_init_generic();
 	__mcheck_cpu_init_vendor(c);
 	__mcheck_cpu_init_prepare_banks();
-	__mcheck_cpu_setup_timer();
 	cr4_set_bits(X86_CR4_MCE);
 }
 
arch/x86/kvm/mmu/mmu.c +3 -0
index 34a312705253..0e918f35bfbe 100644
@@ -2415,6 +2415,9 @@ static union kvm_mmu_page_role kvm_mmu_child_role(u64 *sptep, bool direct,
 	role.direct = direct;
 	role.passthrough = 0;
 
+	WARN_ON_ONCE(role.invalid);
+	role.invalid = 0;
+
 	/*
 	 * If the guest has 4-byte PTEs then that means it's using 32-bit,
 	 * 2-level, non-PAE paging. KVM shadows such guests with PAE paging
arch/x86/kvm/svm/sev.c +25 -9
index 996f398a577f..e1d73ccaa547 100644
@@ -96,6 +96,8 @@ static u64 sev_supported_vmsa_features __ro_after_init;
 static u8 sev_enc_bit;
 static DECLARE_RWSEM(sev_deactivate_lock);
 static DEFINE_MUTEX(sev_bitmap_lock);
+/* Protects kvm_sev_info's enc_context_owner, mirror_vms and mirror_entry.  */
+static DEFINE_MUTEX(sev_mirror_lock);
 unsigned int max_sev_asid;
 static unsigned int min_sev_asid;
 static unsigned int max_sev_es_asid;
@@ -2031,7 +2033,6 @@ static void sev_migrate_from(struct kvm *dst_kvm, struct kvm *src_kvm)
 	dst->asid = src->asid;
 	dst->handle = src->handle;
 	dst->pages_locked = src->pages_locked;
-	dst->enc_context_owner = src->enc_context_owner;
 	dst->es_active = src->es_active;
 	dst->vmsa_features = src->vmsa_features;
 
@@ -2039,11 +2040,12 @@ static void sev_migrate_from(struct kvm *dst_kvm, struct kvm *src_kvm)
 	src->active = false;
 	src->handle = 0;
 	src->pages_locked = 0;
-	src->enc_context_owner = NULL;
 	src->es_active = false;
 
 	list_cut_before(&dst->regions_list, &src->regions_list, &src->regions_list);
 
+	mutex_lock(&sev_mirror_lock);
+
 	/*
 	 * If this VM has mirrors, "transfer" each mirror's refcount of the
 	 * source to the destination (this KVM).  The caller holds a reference
@@ -2060,12 +2062,15 @@ static void sev_migrate_from(struct kvm *dst_kvm, struct kvm *src_kvm)
 	 * If this VM is a mirror, remove the old mirror from the owners list
 	 * and add the new mirror to the list.
 	 */
-	if (is_mirroring_enc_context(dst_kvm)) {
-		struct kvm_sev_info *owner_sev_info = to_kvm_sev_info(dst->enc_context_owner);
+	if (is_mirroring_enc_context(src_kvm)) {
+		struct kvm_sev_info *owner_sev_info = to_kvm_sev_info(src->enc_context_owner);
 
+		dst->enc_context_owner = src->enc_context_owner;
+		src->enc_context_owner = NULL;
 		list_del(&src->mirror_entry);
 		list_add_tail(&dst->mirror_entry, &owner_sev_info->mirror_vms);
 	}
+	mutex_unlock(&sev_mirror_lock);
 
 	kvm_for_each_vcpu(i, dst_vcpu, dst_kvm) {
 		dst_svm = to_svm(dst_vcpu);
@@ -2885,11 +2890,14 @@ int sev_vm_copy_enc_context_from(struct kvm *kvm, unsigned int source_fd)
 	 * disappear until we're done with it
 	 */
 	source_sev = to_kvm_sev_info(source_kvm);
-	kvm_get_kvm(source_kvm);
-	list_add_tail(&mirror_sev->mirror_entry, &source_sev->mirror_vms);
 
 	/* Set enc_context_owner and copy its encryption context over */
+	mutex_lock(&sev_mirror_lock);
+	kvm_get_kvm(source_kvm);
+	list_add_tail(&mirror_sev->mirror_entry, &source_sev->mirror_vms);
 	mirror_sev->enc_context_owner = source_kvm;
+	mutex_unlock(&sev_mirror_lock);
+
 	mirror_sev->active = true;
 	mirror_sev->asid = source_sev->asid;
 	mirror_sev->fd = source_sev->fd;
@@ -2977,11 +2985,19 @@ void sev_vm_destroy(struct kvm *kvm)
 	 * Note, mirror VMs don't support registering encrypted regions.
 	 */
 	if (is_mirroring_enc_context(kvm)) {
-		struct kvm *owner_kvm = sev->enc_context_owner;
+		struct kvm *owner_kvm;
 
-		mutex_lock(&owner_kvm->lock);
+		mutex_lock(&sev_mirror_lock);
+		owner_kvm = sev->enc_context_owner;
 		list_del(&sev->mirror_entry);
-		mutex_unlock(&owner_kvm->lock);
+		sev->enc_context_owner = NULL;
+
+		/*
+		 * The reference to owner_kvm cannot move after sev_mirror_lock is
+		 * released.  Release it before kvm_put_kvm() so that owner_kvm is
+		 * never destroyed inside sev_mirror_lock.
+		 */
+		mutex_unlock(&sev_mirror_lock);
 		kvm_put_kvm(owner_kvm);
 		return;
 	}
arch/x86/kvm/svm/svm.h +1 -0
index 5137416be593..0632ff940eab 100644
@@ -106,6 +106,7 @@ struct kvm_sev_info {
 	u64 ap_jump_table;	/* SEV-ES AP Jump Table address */
 	u64 vmsa_features;
 	u16 ghcb_version;	/* Highest guest GHCB protocol version allowed */
+	/* The three fields below are protected by sev_mirror_lock */
 	struct kvm *enc_context_owner; /* Owner of copied encryption context */
 	struct list_head mirror_vms; /* List of VMs mirroring */
 	struct list_head mirror_entry; /* Use as a list entry of mirrors */
drivers/accel/amdxdna/amdxdna_gem.c +26 -21

75 lines not on this page · raw message

drivers/android/binder/process.rs +8 -4
index cdd1a9079726..5b8f73ec1931 100644
@@ -1586,6 +1586,10 @@ fn ioctl_write_only(
         cmd: u32,
         reader: &mut UserSliceReader,
     ) -> Result {
+        if cmd == uapi::BINDER_FREEZE {
+            return ioctl_freeze(reader);
+        }
+
         let thread = this.get_current_thread()?;
         match cmd {
             uapi::BINDER_SET_MAX_THREADS => this.set_max_threads(reader.read()?),
@@ -1597,7 +1601,6 @@ fn ioctl_write_only(
             uapi::BINDER_ENABLE_ONEWAY_SPAM_DETECTION => {
                 this.set_oneway_spam_detection_enabled(reader.read()?)
             }
-            uapi::BINDER_FREEZE => ioctl_freeze(reader)?,
             _ => return Err(EINVAL),
         }
         Ok(())
@@ -1612,15 +1615,16 @@ fn ioctl_write_read(
         cmd: u32,
         data: UserSlice,
     ) -> Result {
-        let thread = this.get_current_thread()?;
         let blocking = (file.flags() & file::flags::O_NONBLOCK) == 0;
         match cmd {
-            uapi::BINDER_WRITE_READ => thread.write_read(data, blocking)?,
+            uapi::BINDER_WRITE_READ => this.get_current_thread()?.write_read(data, blocking)?,
             uapi::BINDER_GET_NODE_DEBUG_INFO => this.get_node_debug_info(data)?,
             uapi::BINDER_GET_NODE_INFO_FOR_REF => this.get_node_info_from_ref(data)?,
             uapi::BINDER_VERSION => this.version(data)?,
             uapi::BINDER_GET_FROZEN_INFO => get_frozen_status(data)?,
-            uapi::BINDER_GET_EXTENDED_ERROR => thread.get_extended_error(data)?,
+            uapi::BINDER_GET_EXTENDED_ERROR => {
+                this.get_current_thread()?.get_extended_error(data)?
+            }
             _ => return Err(EINVAL),
         }
         Ok(())
drivers/ata/pata_sl82c105.c +3 -1
index 2d24c6b3e9d9..25bce3fe2a10 100644
@@ -264,6 +264,7 @@ static struct ata_port_operations sl82c105_port_ops = {
 static int sl82c105_bridge_revision(struct pci_dev *pdev)
 {
 	struct pci_dev *bridge;
+	u8 revision;
 
 	/*
 	 * The bridge should be part of the same device, but function 0.
@@ -285,8 +286,9 @@ static int sl82c105_bridge_revision(struct pci_dev *pdev)
 	/*
 	 * We need to find function 0's revision, not function 1
 	 */
+	revision = bridge->revision;
 	pci_dev_put(bridge);
-	return bridge->revision;
+	return revision;
 }
 
 static void sl82c105_fixup(struct pci_dev *pdev)
drivers/bluetooth/btrtl.c +13 -0
index 03fa9409e3ee..7f54d2d2d13a 100644
@@ -1343,6 +1343,19 @@ void btrtl_set_quirks(struct hci_dev *hdev, struct btrtl_device_info *btrtl_dev)
 	if (!btrtl_dev->ic_info)
 		return;
 
+	switch (btrtl_dev->project_id) {
+	case CHIP_ID_8761B:
+		/* RTL8761B/BU reports HCI version 5.1 but does not support
+		 * the LE Extended Scan commands (Opcode 0x2042), causing
+		 * repeated -EBUSY failures when BlueZ attempts extended
+		 * scanning while a connection is active.
+		 */
+		hci_set_quirk(hdev, HCI_QUIRK_BROKEN_EXT_SCAN);
+		break;
+	default:
+		break;
+	}
+
 	switch (btrtl_dev->ic_info->lmp_subver) {
 	case RTL_ROM_LMP_8703B:
 		/* 8723CS reports two pages for local ext features,
drivers/bluetooth/btusb.c +2 -0
index a072e6f57f31..4a356f720e1f 100644
@@ -832,6 +832,8 @@ static const struct usb_device_id quirks_table[] = {
 						     BTUSB_WIDEBAND_SPEECH },
 	{ USB_DEVICE(0x2b89, 0x6275), .driver_info = BTUSB_REALTEK |
 						     BTUSB_WIDEBAND_SPEECH },
+	{ USB_DEVICE(0x37ad, 0x0600), .driver_info = BTUSB_REALTEK |
+						     BTUSB_WIDEBAND_SPEECH },
 
 	/* Additional Realtek 8821AE Bluetooth devices */
 	{ USB_DEVICE(0x0b05, 0x17dc), .driver_info = BTUSB_REALTEK },
drivers/counter/microchip-tcb-capture.c +2 -2
index 19d457ae4c3b..e53a8390756b 100644
@@ -483,7 +483,7 @@ static int mchp_tc_probe(struct platform_device *pdev)
 	char clk_name[7];
 	struct regmap *regmap;
 	struct clk *clk[3];
-	int channel;
+	u32 channel;
 	int ret, i;
 
 	counter = devm_counter_alloc(&pdev->dev, sizeof(*priv));
@@ -517,7 +517,7 @@ static int mchp_tc_probe(struct platform_device *pdev)
 
 		priv->channel[i] = channel;
 
-		snprintf(clk_name, sizeof(clk_name), "t%d_clk", channel);
+		snprintf(clk_name, sizeof(clk_name), "t%u_clk", channel);
 
 		clk[i] = of_clk_get_by_name(np->parent, clk_name);
 		if (IS_ERR(clk[i])) {
drivers/dibs/dibs_loopback.c +0 -1
index fd5caf1e19a8..649e4e375be3 100644
@@ -335,7 +335,6 @@ static int dibs_lo_dev_probe(void)
 	return 0;
 
 err_reg:
-	kfree(dibs->dmb_clientid_arr);
 	/* pairs with dibs_dev_alloc() */
 	put_device(&dibs->dev);
 	kfree(ldev);
drivers/dibs/dibs_main.c +5 -11
index 14c3e2d84902..2b53a9d277dc 100644
@@ -128,6 +128,7 @@ static void dibs_dev_release(struct device *dev)
 
 	dibs = container_of(dev, struct dibs_dev, dev);
 
+	kfree(dibs->dmb_clientid_arr);
 	kfree(dibs);
 }
 
@@ -138,6 +139,7 @@ struct dibs_dev *dibs_dev_alloc(void)
 	dibs = kzalloc_obj(*dibs);
 	if (!dibs)
 		return dibs;
+	spin_lock_init(&dibs->lock);
 	dibs->dev.release = dibs_dev_release;
 	dibs->dev.class = &dibs_class;
 	device_initialize(&dibs->dev);
@@ -186,7 +188,6 @@ int dibs_dev_add(struct dibs_dev *dibs)
 	int i, ret;
 
 	max_dmbs = dibs->ops->max_dmbs();
-	spin_lock_init(&dibs->lock);
 	dibs->dmb_clientid_arr = kzalloc(max_dmbs, GFP_KERNEL);
 	if (!dibs->dmb_clientid_arr)
 		return -ENOMEM;
@@ -194,12 +195,13 @@ int dibs_dev_add(struct dibs_dev *dibs)
 
 	ret = device_add(&dibs->dev);
 	if (ret)
-		goto free_client_arr;
+		return ret;
 
 	ret = sysfs_create_group(&dibs->dev.kobj, &dibs_dev_attr_group);
 	if (ret) {
 		dev_err(&dibs->dev, "sysfs_create_group failed for dibs_dev\n");
-		goto err_device_del;
+		device_del(&dibs->dev);
+		return ret;
 	}
 	mutex_lock(&dibs_dev_list.mutex);
 	mutex_lock(&clients_lock);
@@ -214,13 +216,6 @@ int dibs_dev_add(struct dibs_dev *dibs)
 	mutex_unlock(&dibs_dev_list.mutex);
 
 	return 0;
-
-err_device_del:
-	device_del(&dibs->dev);
-free_client_arr:
-	kfree(dibs->dmb_clientid_arr);
-	return ret;
-
 }
 EXPORT_SYMBOL_GPL(dibs_dev_add);
 
@@ -247,7 +242,6 @@ void dibs_dev_del(struct dibs_dev *dibs)
 	mutex_unlock(&dibs_dev_list.mutex);
 
 	device_del(&dibs->dev);
-	kfree(dibs->dmb_clientid_arr);
 }
 EXPORT_SYMBOL_GPL(dibs_dev_del);
 
drivers/gpio/gpio-pca953x.c +14 -5
index 69c5bd9aaee7..cb282b35fb58 100644
@@ -605,20 +605,28 @@ static int pca953x_read_regs(struct pca953x_chip *chip, int reg, unsigned long *
 	return 0;
 }
 
-static int pca953x_gpio_direction_input(struct gpio_chip *gc, unsigned off)
+static int pca953x_gpio_direction_input_unlocked(struct gpio_chip *gc,
+						 unsigned int off)
 {
 	struct pca953x_chip *chip = gpiochip_get_data(gc);
 	u8 dirreg = chip->recalc_addr(chip, chip->regs->direction, off);
 	u8 bit = pca953x_get_bit_mask(chip, off);
 
-	guard(mutex)(&chip->i2c_lock);
-
 	if (PCA_CHIP_TYPE(chip->driver_data) == TCA6418_TYPE)
 		return regmap_update_bits(chip->regmap, dirreg, bit, 0);
 
 	return regmap_update_bits(chip->regmap, dirreg, bit, bit);
 }
 
+static int pca953x_gpio_direction_input(struct gpio_chip *gc, unsigned int off)
+{
+	struct pca953x_chip *chip = gpiochip_get_data(gc);
+
+	guard(mutex)(&chip->i2c_lock);
+
+	return pca953x_gpio_direction_input_unlocked(gc, off);
+}
+
 static int pca953x_gpio_direction_output(struct gpio_chip *gc,
 		unsigned off, int val)
 {
@@ -856,9 +864,10 @@ static void pca953x_irq_bus_sync_unlock(struct irq_data *d)
 	DECLARE_BITMAP(reg_direction, MAX_LINE);
 	int level;
 
+	guard(mutex)(&chip->i2c_lock);
+
 	if (chip->driver_data & PCA_PCAL) {
 		DECLARE_BITMAP(latched_inputs, MAX_LINE);
-		guard(mutex)(&chip->i2c_lock);
 
 		/* Enable latch on edge-triggered interrupt-enabled inputs */
 		bitmap_or(latched_inputs, chip->irq_trig_fall, chip->irq_trig_raise, gc->ngpio);
@@ -882,7 +891,7 @@ static void pca953x_irq_bus_sync_unlock(struct irq_data *d)
 
 	/* Look for any newly setup interrupt */
 	for_each_set_bit(level, irq_mask, gc->ngpio)
-		pca953x_gpio_direction_input(&chip->gpio_chip, level);
+		pca953x_gpio_direction_input_unlocked(&chip->gpio_chip, level);
 
 	mutex_unlock(&chip->irq_lock);
 }
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +2 -0
index 3fad14824d1e..22e88644402e 100644
@@ -4169,6 +4169,8 @@ static void amdgpu_device_unmap_mmio(struct amdgpu_device *adev)
 
 	iounmap(adev->rmmio);
 	adev->rmmio = NULL;
+	if (adev->mman.aper_base_kaddr)
+		iounmap(adev->mman.aper_base_kaddr);
 	adev->mman.aper_base_kaddr = NULL;
 
 	/* Memory manager related */
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c +19 -16
index 81c8eba2b7a9..c064f8a1e5f3 100644
@@ -2121,23 +2121,17 @@ int amdgpu_ttm_init(struct amdgpu_device *adev)
 	/* Change the size here instead of the init above so only lpfn is affected */
 	amdgpu_ttm_set_buffer_funcs_status(adev, false);
 #ifdef CONFIG_64BIT
-	if (adev->gmc.xgmi.connected_to_cpu) {
-		void *kaddr = devm_memremap(adev->dev, adev->gmc.aper_base,
-					    adev->gmc.visible_vram_size,
-					    MEMREMAP_WB);
-		if (IS_ERR(kaddr))
-			return PTR_ERR(kaddr);
-		adev->mman.aper_base_kaddr = (__force void __iomem *)kaddr;
-	} else if (adev->gmc.is_app_apu) {
+#ifdef CONFIG_X86
+	if (adev->gmc.xgmi.connected_to_cpu)
+		adev->mman.aper_base_kaddr = ioremap_cache(adev->gmc.aper_base,
+				adev->gmc.visible_vram_size);
+	else if (adev->gmc.is_app_apu)
 		DRM_DEBUG_DRIVER(
 			"No need to ioremap when real vram size is 0\n");
-	} else {
-		adev->mman.aper_base_kaddr = devm_ioremap_wc(adev->dev,
-							     adev->gmc.aper_base,
-							     adev->gmc.visible_vram_size);
-		if (!adev->mman.aper_base_kaddr)
-			return -ENOMEM;
-	}
+	else
+#endif
+		adev->mman.aper_base_kaddr = ioremap_wc(adev->gmc.aper_base,
+				adev->gmc.visible_vram_size);
 #endif
 
 	amdgpu_ttm_init_vram_resv_regions(adev);
@@ -2266,6 +2260,8 @@ int amdgpu_ttm_init(struct amdgpu_device *adev)
  */
 void amdgpu_ttm_fini(struct amdgpu_device *adev)
 {
+	int idx;
+
 	if (!adev->mman.initialized)
 		return;
 
@@ -2288,7 +2284,14 @@ void amdgpu_ttm_fini(struct amdgpu_device *adev)
 	amdgpu_ttm_unmark_vram_reserved(adev, AMDGPU_RESV_FW_VRAM_USAGE);
 	amdgpu_ttm_unmark_vram_reserved(adev, AMDGPU_RESV_DRV_VRAM_USAGE);
 
-	adev->mman.aper_base_kaddr = NULL;
+	if (drm_dev_enter(adev_to_drm(adev), &idx)) {
+
+		if (adev->mman.aper_base_kaddr)
+			iounmap(adev->mman.aper_base_kaddr);
+		adev->mman.aper_base_kaddr = NULL;
+
+		drm_dev_exit(idx);
+	}
 
 	if (!adev->gmc.is_app_apu)
 		amdgpu_vram_mgr_fini(adev);
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +3 -3
index 40d82a3eeec0..6f9d4bea3379 100644
@@ -5401,11 +5401,11 @@ amdgpu_dm_register_backlight_device(struct amdgpu_dm_connector *aconnector)
 	caps = &dm->backlight_caps[aconnector->bl_idx];
 	if (get_brightness_range(caps, &min, &max)) {
 		if (power_supply_is_system_supplied() > 0)
-			props.brightness = DIV_ROUND_CLOSEST(max * caps->ac_level, 100);
+			props.brightness = DIV_ROUND_CLOSEST((max - min) * caps->ac_level, 100);
 		else
-			props.brightness = DIV_ROUND_CLOSEST(max * caps->dc_level, 100);
+			props.brightness = DIV_ROUND_CLOSEST((max - min) * caps->dc_level, 100);
 		/* min is zero, so max needs to be adjusted */
-		props.max_brightness = max;
+		props.max_brightness = max - min;
 		drm_dbg(drm, "Backlight caps: min: %d, max: %d, ac %d, dc %d\n", min, max,
 			caps->ac_level, caps->dc_level);
 	} else
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c +23 -1
index f0abbb7c2cb2..3b26229eff2b 100644
@@ -1320,8 +1320,30 @@ void dce110_blank_stream(struct pipe_ctx *pipe_ctx)
 
 void dce110_set_avmute(struct pipe_ctx *pipe_ctx, bool enable)
 {
-	if (pipe_ctx != NULL && pipe_ctx->stream_res.stream_enc != NULL)
+	if (pipe_ctx == NULL || pipe_ctx->stream_res.stream_enc == NULL)
+		return;
+
+	if (dc_is_hdmi_signal(pipe_ctx->stream->signal)) {
 		pipe_ctx->stream_res.stream_enc->funcs->set_avmute(pipe_ctx->stream_res.stream_enc, enable);
+
+		/* Wait for three frames to make sure AV mute is sent out.
+		 * Some HDMI sinks need additional GCP packets to properly
+		 * process the mute state, especially after link re-establishment
+		 * with HDMI 2.0 scrambling enabled.
+		 */
+		if (enable && pipe_ctx->stream_res.tg &&
+		    pipe_ctx->stream_res.tg->funcs->is_tg_enabled &&
+		    pipe_ctx->stream_res.tg->funcs->wait_for_state &&
+		    pipe_ctx->stream_res.tg->funcs->is_tg_enabled(pipe_ctx->stream_res.tg)) {
+			int i;
+
+			pipe_ctx->stream_res.tg->funcs->wait_for_state(pipe_ctx->stream_res.tg, CRTC_STATE_VACTIVE);
+			for (i = 0; i < 3; i++) {
+				pipe_ctx->stream_res.tg->funcs->wait_for_state(pipe_ctx->stream_res.tg, CRTC_STATE_VBLANK);
+				pipe_ctx->stream_res.tg->funcs->wait_for_state(pipe_ctx->stream_res.tg, CRTC_STATE_VACTIVE);
+			}
+		}
+	}
 }
 
 enum audio_dto_source translate_to_dto_source(enum controller_id crtc_id)
drivers/gpu/drm/bridge/parade-ps8640.c +21 -6
index 825777a5758f..db8e5889dc7f 100644
@@ -257,8 +257,14 @@ static ssize_t ps8640_aux_transfer_msg(struct drm_dp_aux *aux,
 	addr_len[PAGE0_SWAUX_LENGTH - base] = (len == 0) ? SWAUX_NO_PAYLOAD :
 					      ((len - 1) & SWAUX_LENGTH_MASK);
 
-	regmap_bulk_write(map, PAGE0_SWAUX_ADDR_7_0, addr_len,
-			  ARRAY_SIZE(addr_len));
+	ret = regmap_bulk_write(map, PAGE0_SWAUX_ADDR_7_0, addr_len,
+				ARRAY_SIZE(addr_len));
+	if (ret) {
+		DRM_DEV_ERROR(dev,
+			      "failed to write AUX address %#x, len %zu: %d\n",
+			      msg->address, len, ret);
+		return ret;
+	}
 
 	if (len && (request == DP_AUX_NATIVE_WRITE ||
 		    request == DP_AUX_I2C_WRITE)) {
@@ -274,13 +280,22 @@ static ssize_t ps8640_aux_transfer_msg(struct drm_dp_aux *aux,
 		}
 	}
 
-	regmap_write(map, PAGE0_SWAUX_CTRL, SWAUX_SEND);
+	ret = regmap_write(map, PAGE0_SWAUX_CTRL, SWAUX_SEND);
+	if (ret) {
+		DRM_DEV_ERROR(dev, "failed to start AUX transfer: %d\n", ret);
+		return ret;
+	}
 
 	/* Zero delay loop because i2c transactions are slow already */
-	regmap_read_poll_timeout(map, PAGE0_SWAUX_CTRL, data,
-				 !(data & SWAUX_SEND), 0, 50 * 1000);
+	ret = regmap_read_poll_timeout(map, PAGE0_SWAUX_CTRL, data,
+				       !(data & SWAUX_SEND), 0, 50 * 1000);
+	if (ret) {
+		DRM_DEV_ERROR(dev, "failed to complete AUX transfer: %d\n",
+			      ret);
+		return ret;
+	}
 
-	regmap_read(map, PAGE0_SWAUX_STATUS, &data);
+	ret = regmap_read(map, PAGE0_SWAUX_STATUS, &data);
 	if (ret) {
 		DRM_DEV_ERROR(dev, "failed to read PAGE0_SWAUX_STATUS: %d\n",
 			      ret);
drivers/gpu/drm/v3d/v3d_drv.h +6 -0
index 6a3cad933439..940946390793 100644
@@ -181,6 +181,12 @@ struct v3d_dev {
 	 */
 	struct mutex reset_lock;
 
+	/* Ordered workqueue shared by every queue's scheduler timeout work.
+	 * V3D reset is global to all queues, so the timeout handlers must not
+	 * run concurrently.
+	 */
+	struct workqueue_struct *reset_wq;
+
 	/* Lock taken when creating and pushing the GPU scheduler
 	 * jobs, to keep the sched-fence seqnos in order.
 	 */
drivers/gpu/drm/v3d/v3d_sched.c +8 -1
index 8a635a9ec046..bea46298b69e 100644
@@ -838,6 +838,7 @@ v3d_queue_sched_init(struct v3d_dev *v3d, const struct drm_sched_backend_ops *op
 		.num_rqs = DRM_SCHED_PRIORITY_COUNT,
 		.credit_limit = 1,
 		.timeout = msecs_to_jiffies(500),
+		.timeout_wq = v3d->reset_wq,
 		.dev = v3d->drm.dev,
 	};
 
@@ -852,9 +853,13 @@ v3d_sched_init(struct v3d_dev *v3d)
 {
 	int ret;
 
+	v3d->reset_wq = alloc_ordered_workqueue("v3d_reset", 0);
+	if (!v3d->reset_wq)
+		return -ENOMEM;
+
 	ret = v3d_queue_sched_init(v3d, &v3d_bin_sched_ops, V3D_BIN, "v3d_bin");
 	if (ret)
-		return ret;
+		goto fail;
 
 	ret = v3d_queue_sched_init(v3d, &v3d_render_sched_ops, V3D_RENDER,
 				   "v3d_render");
@@ -897,4 +902,6 @@ v3d_sched_fini(struct v3d_dev *v3d)
 		if (v3d->queue[q].sched.ready)
 			drm_sched_fini(&v3d->queue[q].sched);
 	}
+
+	destroy_workqueue(v3d->reset_wq);
 }
drivers/gpu/drm/xe/xe_exec_queue.c +3 -0
index 071b8c41df43..85778958f580 100644
@@ -801,6 +801,9 @@ static int exec_queue_set_hang_replay_state(struct xe_device *xe,
 	u64 __user *address = u64_to_user_ptr(value);
 	void *ptr;
 
+	if (q->replay_state)
+		return -EINVAL;
+
 	ptr = vmemdup_user(address, size);
 	if (XE_IOCTL_DBG(xe, IS_ERR(ptr)))
 		return PTR_ERR(ptr);
drivers/gpu/drm/xe/xe_uc.c +5 -2
index 75091bde0d50..65f59f06177f 100644
@@ -15,6 +15,7 @@
 #include "xe_guc_pc.h"
 #include "xe_guc_rc.h"
 #include "xe_guc_engine_activity.h"
+#include "xe_guc_submit.h"
 #include "xe_huc.h"
 #include "xe_sriov.h"
 #include "xe_wopcm.h"
@@ -159,12 +160,14 @@ static int vf_uc_load_hw(struct xe_uc *uc)
 	if (err)
 		return err;
 
-	uc->guc.submission_state.enabled = true;
-
 	err = xe_guc_opt_in_features_enable(&uc->guc);
 	if (err)
 		return err;
 
+	err = xe_guc_submit_enable(&uc->guc);
+	if (err)
+		return err;
+
 	err = xe_gt_record_default_lrcs(uc_to_gt(uc));
 	if (err)
 		return err;
drivers/hwmon/ads7828.c +6 -5
index 149cfcec78dc..f8f2f621dfea 100644
@@ -106,12 +106,11 @@ static int ads7828_probe(struct i2c_client *client)
 	struct ads7828_data *data;
 	struct device *hwmon_dev;
 	unsigned int vref_mv = ADS7828_INT_VREF_MV;
-	unsigned int vref_uv;
+	int vref_uv;
 	bool diff_input = false;
 	bool ext_vref = false;
 	unsigned int regval;
 	enum ads7828_chips chip;
-	struct regulator *reg;
 
 	data = devm_kzalloc(dev, sizeof(struct ads7828_data), GFP_KERNEL);
 	if (!data)
@@ -125,9 +124,11 @@ static int ads7828_probe(struct i2c_client *client)
 	} else if (dev->of_node) {
 		diff_input = of_property_read_bool(dev->of_node,
 						   "ti,differential-input");
-		reg = devm_regulator_get_optional(dev, "vref");
-		if (!IS_ERR(reg)) {
-			vref_uv = regulator_get_voltage(reg);
+		vref_uv = devm_regulator_get_enable_read_voltage(dev, "vref");
+		if (vref_uv < 0) {
+			if (vref_uv != -ENODEV)
+				return vref_uv;
+		} else {
 			vref_mv = DIV_ROUND_CLOSEST(vref_uv, 1000);
 			if (vref_mv < ADS7828_EXT_VREF_MV_MIN ||
 			    vref_mv > ADS7828_EXT_VREF_MV_MAX)
drivers/hwmon/corsair-psu.c +6 -2
index ce958cdaef58..ebcaddf337d8 100644
@@ -664,6 +664,8 @@ static void print_uptime(struct seq_file *seqf, u8 cmd)
 	long val;
 	int ret;
 
+	guard(hwmon_lock)(priv->hwmon_dev);
+
 	ret = corsairpsu_get_value(priv, cmd, 0, &val);
 	if (ret < 0) {
 		seq_puts(seqf, "N/A\n");
@@ -701,7 +703,7 @@ static int vendor_show(struct seq_file *seqf, void *unused)
 {
 	struct corsairpsu_data *priv = seqf->private;
 
-	seq_printf(seqf, "%s\n", priv->vendor);
+	seq_printf(seqf, "%.*s\n", REPLY_SIZE, priv->vendor);
 
 	return 0;
 }
@@ -711,7 +713,7 @@ static int product_show(struct seq_file *seqf, void *unused)
 {
 	struct corsairpsu_data *priv = seqf->private;
 
-	seq_printf(seqf, "%s\n", priv->product);
+	seq_printf(seqf, "%.*s\n", REPLY_SIZE, priv->product);
 
 	return 0;
 }
@@ -723,6 +725,8 @@ static int ocpmode_show(struct seq_file *seqf, void *unused)
 	long val;
 	int ret;
 
+	guard(hwmon_lock)(priv->hwmon_dev);
+
 	/*
 	 * The rail mode is switchable on the fly. The RAW interface can be used for this. But it
 	 * will not be included here, because I consider it somewhat dangerous for the health of the
drivers/hwmon/ltc4282.c +12 -8
index bdbf370233d7..d7c622608144 100644
@@ -14,6 +14,7 @@
 #include <linux/hwmon.h>
 #include <linux/i2c.h>
 #include <linux/math.h>
+#include <linux/math64.h>
 #include <linux/minmax.h>
 #include <linux/module.h>
 #include <linux/mod_devicetable.h>
@@ -138,7 +139,7 @@ struct ltc4282_state {
 	 */
 	struct ltc4282_cache in0_1_cache[LTC4282_CHAN_VGPIO];
 	u32 vsense_max;
-	long power_max;
+	s64 power_max;
 	u32 rsense;
 	u16 vdd;
 	u16 vfs_out;
@@ -614,13 +615,12 @@ static int ltc4282_read(struct device *dev, enum hwmon_sensor_types type,
 }
 
 static int ltc4282_write_power_byte(const struct ltc4282_state *st, u32 reg,
-				    long val)
+				    s64 val)
 {
 	u32 power;
 	u64 temp;
 
-	if (val > st->power_max)
-		val = st->power_max;
+	val = clamp(val, 0, st->power_max);
 
 	temp = val * int_pow(U8_MAX, 2) * st->rsense;
 	power = DIV64_U64_ROUND_CLOSEST(temp,
@@ -630,7 +630,7 @@ static int ltc4282_write_power_byte(const struct ltc4282_state *st, u32 reg,
 }
 
 static int ltc4282_write_power_word(const struct ltc4282_state *st, u32 reg,
-				    long val)
+				    u64 val)
 {
 	u64 temp = int_pow(U16_MAX, 2) * st->rsense, temp_2;
 	__be16 __raw;
@@ -931,8 +931,11 @@ static int ltc4282_curr_reset_hist(struct ltc4282_state *st)
 static int ltc4282_write_curr(struct ltc4282_state *st, u32 attr,
 			      long val)
 {
+	s32 ulimit = min_t(u64, INT_MAX,
+			   div_u64((u64)INT_MAX * DECA * MICRO, st->rsense));
+	u64 val64 = clamp(val, 0, ulimit);
 	/* need to pass it in millivolt */
-	u32 in = DIV_ROUND_CLOSEST_ULL((u64)val * st->rsense, DECA * MICRO);
+	u32 in = DIV_ROUND_CLOSEST_ULL(val64 * st->rsense, DECA * MICRO);
 
 	switch (attr) {
 	case hwmon_curr_max:
@@ -1223,7 +1226,8 @@ static int ltc4282_set_max_limits(struct ltc4282_state *st)
 		return ret;
 
 	/* Power is given by ISENSE * Vout. */
-	st->power_max = DIV_ROUND_CLOSEST(st->vsense_max * DECA * MILLI, st->rsense) * st->vfs_out;
+	st->power_max = DIV_ROUND_CLOSEST_ULL((u64)st->vsense_max * DECA * MILLI,
+					      st->rsense) * st->vfs_out;
 	ret = ltc4282_write_power_byte(st, LTC4282_POWER_MAX, st->power_max);
 	if (ret)
 		return ret;
@@ -1391,7 +1395,7 @@ static int ltc4282_setup(struct ltc4282_state *st, struct device *dev)
 	if (!ret) {
 		int reg_val;
 
-		switch (val) {
+		switch (st->vsense_max) {
 		case 12500:
 			reg_val = 0;
 			break;
drivers/hwmon/nzxt-smart2.c +5 -1
index ff0c0bee0e83..efc78a8f58c8 100644
@@ -754,7 +754,11 @@ static int nzxt_smart2_hid_probe(struct hid_device *hdev,
 
 	hid_device_io_start(hdev);
 
-	init_device(drvdata, UPDATE_INTERVAL_DEFAULT_MS);
+	ret = init_device(drvdata, UPDATE_INTERVAL_DEFAULT_MS);
+	if (ret) {
+		dev_err(&hdev->dev, "init_device failed: %d\n", ret);
+		goto out_hw_close;
+	}
 
 	drvdata->hwmon =
 		hwmon_device_register_with_info(&hdev->dev, "nzxtsmart2", drvdata,
drivers/hwmon/pmbus/lm25066.c +3 -2
index 0f7df7e2c9c5..cb42832cebf0 100644
@@ -14,6 +14,7 @@
 #include <linux/slab.h>
 #include <linux/i2c.h>
 #include <linux/log2.h>
+#include <linux/math.h>
 #include <linux/of.h>
 #include "pmbus.h"
 
@@ -540,8 +541,8 @@ static int lm25066_probe(struct i2c_client *client)
 	if (of_property_read_u32(client->dev.of_node, "shunt-resistor-micro-ohms", &shunt))
 		shunt = 1000;
 
-	info->m[PSC_CURRENT_IN] = info->m[PSC_CURRENT_IN] * shunt / 1000;
-	info->m[PSC_POWER] = info->m[PSC_POWER] * shunt / 1000;
+	info->m[PSC_CURRENT_IN] = DIV_ROUND_CLOSEST_ULL((u64)info->m[PSC_CURRENT_IN] * shunt, 1000);
+	info->m[PSC_POWER] = DIV_ROUND_CLOSEST_ULL((u64)info->m[PSC_POWER] * shunt, 1000);
 
 #if IS_ENABLED(CONFIG_SENSORS_LM25066_REGULATOR)
 	/* LM25056 doesn't support OPERATION */
drivers/hwmon/pmbus/pmbus_core.c +41 -24

177 lines not on this page · raw message

drivers/input/evdev.c +16 -11
index c7325226cb86..3a718d600006 100644
@@ -21,6 +21,7 @@
 #include <linux/init.h>
 #include <linux/input/mt.h>
 #include <linux/major.h>
+#include <linux/nospec.h>
 #include <linux/device.h>
 #include <linux/cdev.h>
 #include "input-compat.h"
@@ -67,8 +68,10 @@ static size_t evdev_get_mask_cnt(unsigned int type)
 		[EV_SND]	= SND_CNT,
 		[EV_FF]		= FF_CNT,
 	};
+	unsigned long mask = array_index_mask_nospec(type, EV_CNT);
 
-	return (type < EV_CNT) ? counts[type] : 0;
+	/* Returns 0 for out-of-bounds types, including speculatively */
+	return counts[type & mask] & mask;
 }
 
 /* requires the buffer lock to be held */
@@ -146,11 +149,11 @@ static void __evdev_queue_syn_dropped(struct evdev_client *client)
 	struct timespec64 ts = ktime_to_timespec64(ev_time[client->clk_type]);
 	struct input_event ev;
 
+	memset(&ev, 0, sizeof(ev));
 	ev.input_event_sec = ts.tv_sec;
 	ev.input_event_usec = ts.tv_nsec / NSEC_PER_USEC;
 	ev.type = EV_SYN;
 	ev.code = SYN_DROPPED;
-	ev.value = 0;
 
 	client->buffer[client->head++] = ev;
 	client->head &= client->bufsize - 1;
@@ -218,20 +221,20 @@ static void __pass_event(struct evdev_client *client,
 	client->head &= client->bufsize - 1;
 
 	if (unlikely(client->head == client->tail)) {
+		struct input_event ev;
+
+		memset(&ev, 0, sizeof(ev));
+		ev.input_event_sec = event->input_event_sec;
+		ev.input_event_usec = event->input_event_usec;
+		ev.type = EV_SYN;
+		ev.code = SYN_DROPPED;
+
 		/*
 		 * This effectively "drops" all unconsumed events, leaving
 		 * EV_SYN/SYN_DROPPED plus the newest event in the queue.
 		 */
 		client->tail = (client->head - 2) & (client->bufsize - 1);
-
-		client->buffer[client->tail] = (struct input_event) {
-			.input_event_sec = event->input_event_sec,
-			.input_event_usec = event->input_event_usec,
-			.type = EV_SYN,
-			.code = SYN_DROPPED,
-			.value = 0,
-		};
-
+		client->buffer[client->tail] = ev;
 		client->packet_head = client->tail;
 	}
 
@@ -253,6 +256,8 @@ static void evdev_pass_values(struct evdev_client *client,
 	if (client->revoked)
 		return;
 
+	memset(&event, 0, sizeof(event));
+
 	ts = ktime_to_timespec64(ev_time[client->clk_type]);
 	event.input_event_sec = ts.tv_sec;
 	event.input_event_usec = ts.tv_nsec / NSEC_PER_USEC;
drivers/misc/fastrpc.c +18 -9
index f3a49384586d..eb6c2a78d3c7 100644
@@ -492,6 +492,7 @@ static void fastrpc_channel_ctx_free(struct kref *ref)
 
 	cctx = container_of(ref, struct fastrpc_channel_ctx, refcount);
 
+	idr_destroy(&cctx->ctx_idr);
 	kfree(cctx);
 }
 
@@ -1305,10 +1306,12 @@ static int fastrpc_internal_invoke(struct fastrpc_user *fl,  u32 kernel,
 	}
 
 	if (err == -ERESTARTSYS) {
+		spin_lock(&fl->lock);
 		list_for_each_entry_safe(buf, b, &fl->mmaps, node) {
 			list_del(&buf->node);
 			list_add_tail(&buf->node, &fl->cctx->invoke_interrupted_mmaps);
 		}
+		spin_unlock(&fl->lock);
 	}
 
 	if (err)
@@ -1370,7 +1373,9 @@ static int fastrpc_init_create_static_process(struct fastrpc_user *fl,
 		err = PTR_ERR(name);
 		goto err;
 	}
-
+	inbuf.client_id = fl->client_id;
+	inbuf.namelen = init.namelen;
+	inbuf.pageslen = 0;
 	if (!fl->cctx->remote_heap) {
 		err = fastrpc_remote_heap_alloc(fl, fl->sctx->dev, init.memlen,
 						&fl->cctx->remote_heap);
@@ -1393,12 +1398,10 @@ static int fastrpc_init_create_static_process(struct fastrpc_user *fl,
 				goto err_map;
 			}
 			scm_done = true;
+			inbuf.pageslen = 1;
 		}
 	}
 
-	inbuf.client_id = fl->client_id;
-	inbuf.namelen = init.namelen;
-	inbuf.pageslen = 0;
 	fl->pd = USER_PD;
 
 	args[0].ptr = (u64)(uintptr_t)&inbuf;
@@ -1673,7 +1676,7 @@ static int fastrpc_device_open(struct inode *inode, struct file *filp)
 		dev_err(&cctx->rpdev->dev, "No session available\n");
 		mutex_destroy(&fl->mutex);
 		kfree(fl);
-
+		fastrpc_channel_ctx_put(cctx);
 		return -EBUSY;
 	}
 
@@ -1889,9 +1892,6 @@ static int fastrpc_req_munmap_impl(struct fastrpc_user *fl, struct fastrpc_buf *
 				      &args[0]);
 	if (!err) {
 		dev_dbg(dev, "unmmap\tpt 0x%09lx OK\n", buf->raddr);
-		spin_lock(&fl->lock);
-		list_del(&buf->node);
-		spin_unlock(&fl->lock);
 		fastrpc_buf_free(buf);
 	} else {
 		dev_err(dev, "unmmap\tpt 0x%09lx ERROR\n", buf->raddr);
@@ -1905,6 +1905,7 @@ static int fastrpc_req_munmap(struct fastrpc_user *fl, char __user *argp)
 	struct fastrpc_buf *buf = NULL, *iter, *b;
 	struct fastrpc_req_munmap req;
 	struct device *dev = fl->sctx->dev;
+	int err;
 
 	if (copy_from_user(&req, argp, sizeof(req)))
 		return -EFAULT;
@@ -1912,6 +1913,7 @@ static int fastrpc_req_munmap(struct fastrpc_user *fl, char __user *argp)
 	spin_lock(&fl->lock);
 	list_for_each_entry_safe(iter, b, &fl->mmaps, node) {
 		if ((iter->raddr == req.vaddrout) && (iter->size == req.size)) {
+			list_del(&iter->node);
 			buf = iter;
 			break;
 		}
@@ -1924,7 +1926,14 @@ static int fastrpc_req_munmap(struct fastrpc_user *fl, char __user *argp)
 		return -EINVAL;
 	}
 
-	return fastrpc_req_munmap_impl(fl, buf);
+	err = fastrpc_req_munmap_impl(fl, buf);
+	if (err) {
+		spin_lock(&fl->lock);
+		list_add_tail(&buf->node, &fl->mmaps);
+		spin_unlock(&fl->lock);
+	}
+
+	return err;
 }
 
 static int fastrpc_req_mmap(struct fastrpc_user *fl, char __user *argp)
drivers/misc/mei/client.c +15 -10
index 643b0039cc72..26d2b2742d50 100644
@@ -425,18 +425,24 @@ static void mei_io_tx_list_free_cl(struct list_head *head,
 }
 
 /**
- * mei_io_list_free_fp - free cb from a list that matches file pointer
+ * mei_io_rd_list_free_fp - free cb from a rd_completed list that matches file pointer
  *
- * @head: io list
+ * @cl: host client
  * @fp: file pointer (matching cb file object), may be NULL
  */
-static void mei_io_list_free_fp(struct list_head *head, const struct file *fp)
+static void mei_io_rd_list_free_fp(struct mei_cl *cl, const struct file *fp)
 {
 	struct mei_cl_cb *cb, *next;
+	LIST_HEAD(cmpl_list);
 
-	list_for_each_entry_safe(cb, next, head, list)
+	spin_lock(&cl->rd_completed_lock);
+	list_for_each_entry_safe(cb, next, &cl->rd_completed, list)
 		if (!fp || fp == cb->fp)
-			mei_io_cb_free(cb);
+			list_move(&cb->list, &cmpl_list);
+	spin_unlock(&cl->rd_completed_lock);
+
+	list_for_each_entry_safe(cb, next, &cmpl_list, list)
+		mei_io_cb_free(cb);
 }
 
 /**
@@ -565,9 +571,7 @@ int mei_cl_flush_queues(struct mei_cl *cl, const struct file *fp)
 		mei_io_list_flush_cl(&cl->dev->ctrl_rd_list, cl);
 		mei_cl_free_pending(cl);
 	}
-	spin_lock(&cl->rd_completed_lock);
-	mei_io_list_free_fp(&cl->rd_completed, fp);
-	spin_unlock(&cl->rd_completed_lock);
+	mei_io_rd_list_free_fp(cl, fp);
 
 	return 0;
 }
@@ -1401,7 +1405,7 @@ void mei_cl_add_rd_completed(struct mei_cl *cl, struct mei_cl_cb *cb)
 }
 
 /**
- * mei_cl_del_rd_completed - free read completed callback with lock
+ * mei_cl_del_rd_completed - unlink read completed callback with lock and free it
  *
  * @cl: host client
  * @cb: callback block
@@ -1410,8 +1414,9 @@ void mei_cl_add_rd_completed(struct mei_cl *cl, struct mei_cl_cb *cb)
 void mei_cl_del_rd_completed(struct mei_cl *cl, struct mei_cl_cb *cb)
 {
 	spin_lock(&cl->rd_completed_lock);
-	mei_io_cb_free(cb);
+	list_del_init(&cb->list);
 	spin_unlock(&cl->rd_completed_lock);
+	mei_io_cb_free(cb);
 }
 
 /**
drivers/net/bonding/bond_alb.c +6 -4
index 2d37b07c8215..839f7482dc18 100644
@@ -1534,8 +1534,8 @@ void bond_alb_monitor(struct work_struct *work)
 	struct bonding *bond = container_of(work, struct bonding,
 					    alb_work.work);
 	struct alb_bond_info *bond_info = &(BOND_ALB_INFO(bond));
+	struct slave *slave, *curr;
 	struct list_head *iter;
-	struct slave *slave;
 
 	if (!bond_has_slaves(bond)) {
 		atomic_set(&bond_info->tx_rebalance_counter, 0);
@@ -1597,9 +1597,11 @@ void bond_alb_monitor(struct work_struct *work)
 			 * because a slave was disabled then
 			 * it can now leave promiscuous mode.
 			 */
-			dev_set_promiscuity(rtnl_dereference(bond->curr_active_slave)->dev,
-					    -1);
-			bond_info->primary_is_promisc = 0;
+			curr = rtnl_dereference(bond->curr_active_slave);
+			if (bond_info->primary_is_promisc && curr) {
+				dev_set_promiscuity(curr->dev, -1);
+				bond_info->primary_is_promisc = 0;
+			}
 
 			rtnl_unlock();
 			rcu_read_lock();
drivers/net/ethernet/amd/pds_core/core.h +1 -0
index 4a6b35c84dab..2449e19321f7 100644
@@ -171,6 +171,7 @@ struct pdsc {
 	struct timer_list wdtimer;
 	unsigned int wdtimer_period;
 	struct work_struct health_work;
+	bool health_stopped;
 	struct devlink_health_reporter *fw_reporter;
 	u32 fw_recoveries;
 
drivers/net/ethernet/amd/pds_core/main.c +12 -2
index 8d94a4d70395..9a2c64198d03 100644
@@ -470,8 +470,10 @@ static void pdsc_stop_health_thread(struct pdsc *pdsc)
 		return;
 
 	timer_shutdown_sync(&pdsc->wdtimer);
-	if (pdsc->health_work.func)
-		cancel_work_sync(&pdsc->health_work);
+	if (pdsc->health_work.func && !pdsc->health_stopped) {
+		disable_work_sync(&pdsc->health_work);
+		pdsc->health_stopped = true;
+	}
 }
 
 static void pdsc_restart_health_thread(struct pdsc *pdsc)
@@ -479,6 +481,10 @@ static void pdsc_restart_health_thread(struct pdsc *pdsc)
 	if (pdsc->pdev->is_virtfn)
 		return;
 
+	if (pdsc->health_stopped) {
+		enable_work(&pdsc->health_work);
+		pdsc->health_stopped = false;
+	}
 	timer_setup(&pdsc->wdtimer, pdsc_wdtimer_cb, 0);
 	mod_timer(&pdsc->wdtimer, jiffies + 1);
 }
@@ -555,7 +561,11 @@ static pci_ers_result_t pdsc_pci_error_detected(struct pci_dev *pdev,
 						pci_channel_state_t error)
 {
 	if (error == pci_channel_io_frozen) {
+		struct pdsc *pdsc = pci_get_drvdata(pdev);
+
 		pdsc_reset_prepare(pdev);
+		if (!pdev->is_virtfn)
+			cancel_work_sync(&pdsc->pci_reset_work);
 		return PCI_ERS_RESULT_NEED_RESET;
 	}
 
drivers/net/ethernet/aquantia/atlantic/aq_ring.c +47 -4

68 lines not on this page · raw message

drivers/net/ethernet/aquantia/atlantic/aq_ring.h +1 -0
index d627ace850ff..67503c512676 100644
@@ -199,6 +199,7 @@ void aq_ring_update_queue_state(struct aq_ring_s *ring);
 void aq_ring_queue_wake(struct aq_ring_s *ring);
 void aq_ring_queue_stop(struct aq_ring_s *ring);
 bool aq_ring_tx_clean(struct aq_ring_s *self);
+void aq_ring_tx_deinit(struct aq_ring_s *self);
 int aq_xdp_xmit(struct net_device *dev, int num_frames,
 		struct xdp_frame **frames, u32 flags);
 int aq_ring_rx_clean(struct aq_ring_s *self,
drivers/net/ethernet/aquantia/atlantic/aq_vec.c +1 -1
index 2f9033ceed8c..05814fea0f5f 100644
@@ -275,7 +275,7 @@ void aq_vec_deinit(struct aq_vec_s *self)
 
 	for (i = 0U; self->tx_rings > i; ++i) {
 		ring = self->ring[i];
-		aq_ring_tx_clean(&ring[AQ_VEC_TX_ID]);
+		aq_ring_tx_deinit(&ring[AQ_VEC_TX_ID]);
 		aq_ring_rx_deinit(&ring[AQ_VEC_RX_ID]);
 	}
 
drivers/net/ethernet/broadcom/bnge/bnge_auxr.c +6 -3
index 67e93e17d4d9..0955b488b6fe 100644
@@ -141,12 +141,15 @@ static void bnge_aux_dev_release(struct device *dev)
 {
 	struct bnge_auxr_priv *aux_priv =
 			container_of(dev, struct bnge_auxr_priv, aux_dev.dev);
-	struct bnge_dev *bd = pci_get_drvdata(aux_priv->auxr_dev->pdev);
+	struct bnge_auxr_dev *auxr_dev = aux_priv->auxr_dev;
+	struct bnge_dev *bd = pci_get_drvdata(to_pci_dev(dev->parent));
 
 	ida_free(&bnge_aux_dev_ids, aux_priv->id);
-	kfree(aux_priv->auxr_dev->auxr_info);
+	if (auxr_dev) {
+		kfree(auxr_dev->auxr_info);
+		kfree(auxr_dev);
+	}
 	bd->auxr_dev = NULL;
-	kfree(aux_priv->auxr_dev);
 	kfree(aux_priv);
 	bd->aux_priv = NULL;
 }
drivers/net/ethernet/broadcom/bnge/bnge_netdev.c +0 -2
index 6f7ef506d4e1..ac4c93e5b634 100644
@@ -2768,8 +2768,6 @@ static int bnge_init_nic(struct bnge_net *bn)
 
 err_free_ring_grps:
 	bnge_free_ring_grps(bn);
-	return rc;
-
 err_free_rx_ring_pair_bufs:
 	bnge_free_rx_ring_pair_bufs(bn);
 	return rc;
drivers/net/ethernet/broadcom/bnge/bnge_resc.c +2 -1
index 0e94f092813e..4711dd4945ff 100644
@@ -163,7 +163,8 @@ static int bnge_adjust_rings(struct bnge_dev *bd, u16 *rx,
 	u16 tx_chunks = bnge_num_tx_to_cp(bd, *tx);
 
 	if (tx_chunks != *tx) {
-		u16 tx_saved = tx_chunks, rc;
+		u16 tx_saved = tx_chunks;
+		int rc;
 
 		rc = bnge_fix_rings_count(rx, &tx_chunks, max_nq, sh);
 		if (rc)
drivers/net/ethernet/broadcom/bnxt/bnxt.c +43 -21

158 lines not on this page · raw message

drivers/net/ethernet/broadcom/bnxt/bnxt.h +1 -0
index fa13cee55779..8e04cc934c32 100644
@@ -1334,6 +1334,7 @@ struct bnxt_vnic_info {
 #define BNXT_VNIC_RSSCTX_FLAG		0x40
 	struct ethtool_rxfh_context *rss_ctx;
 	u32		vnic_id;
+	u16		default_rx_ring;
 };
 
 struct bnxt_rss_ctx {
drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c +5 -2
index 5d41dc1bc782..b89293dfd2d1 100644
@@ -495,12 +495,15 @@ static int bnxt_ptp_enable(struct ptp_clock_info *ptp_info,
 		return rc;
 	case PTP_CLK_REQ_PPS:
 		/* Configure PHC PPS IN */
-		rc = bnxt_ptp_cfg_pin(bp, 0, BNXT_PPS_PIN_PPS_IN);
+		pin_id = 0;
+		if (!on)
+			break;
+		rc = bnxt_ptp_cfg_pin(bp, pin_id, BNXT_PPS_PIN_PPS_IN);
 		if (rc)
 			return rc;
 		rc = bnxt_ptp_cfg_event(bp, BNXT_PPS_EVENT_INTERNAL);
 		if (!rc)
-			ptp->pps_info.pins[0].event = BNXT_PPS_EVENT_INTERNAL;
+			ptp->pps_info.pins[pin_id].event = BNXT_PPS_EVENT_INTERNAL;
 		return rc;
 	default:
 		netdev_err(ptp->bp->dev, "Unrecognized PIN function\n");
drivers/net/ethernet/cisco/enic/enic_main.c +3 -2
index e7125b818087..d98f7e7ccab9 100644
@@ -3011,8 +3011,9 @@ static void enic_remove(struct pci_dev *pdev)
 	if (netdev) {
 		struct enic *enic = netdev_priv(netdev);
 
-		cancel_work_sync(&enic->reset);
-		cancel_work_sync(&enic->change_mtu_work);
+		disable_work_sync(&enic->reset);
+		disable_work_sync(&enic->tx_hang_reset);
+		disable_work_sync(&enic->change_mtu_work);
 		unregister_netdev(netdev);
 		enic_dev_deinit(enic);
 		vnic_dev_close(enic->vdev);
drivers/net/ethernet/hisilicon/hix5hd2_gmac.c +0 -1
index e3e7f2270560..02282dc86faf 100644
@@ -1282,7 +1282,6 @@ static void hix5hd2_dev_remove(struct platform_device *pdev)
 	struct net_device *ndev = platform_get_drvdata(pdev);
 	struct hix5hd2_priv *priv = netdev_priv(ndev);
 
-	netif_napi_del(&priv->napi);
 	unregister_netdev(ndev);
 	mdiobus_unregister(priv->bus);
 	mdiobus_free(priv->bus);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c +1 -5
index 2a6e4d17452c..13c20a8ca3b0 100644
@@ -11926,12 +11926,8 @@ static int hclge_init_ae_dev(struct hnae3_ae_dev *ae_dev)
 	if (ret)
 		goto err_ptp_uninit;
 
-	if (hdev->hw.mac.media_type != HNAE3_MEDIA_TYPE_COPPER) {
+	if (hdev->hw.mac.media_type != HNAE3_MEDIA_TYPE_COPPER)
 		hdev->hw.mac.req_autoneg = hdev->hw.mac.autoneg;
-		if (hdev->hw.mac.autoneg == AUTONEG_DISABLE &&
-		    hdev->hw.mac.speed != SPEED_UNKNOWN)
-			hdev->hw.mac.req_speed = hdev->hw.mac.speed;
-	}
 
 	ret = hclge_set_autoneg_speed_dup(hdev);
 	if (ret) {
drivers/net/ethernet/intel/igc/igc_main.c +6 -4
index c0508d261592..e606bfb211cb 100644
@@ -3082,7 +3082,7 @@ static void igc_xdp_xmit_zc(struct igc_ring *ring)
 		meta_req.tx_buffer = bi;
 		meta_req.meta = meta;
 		meta_req.used_desc = 0;
-		xsk_tx_metadata_request(meta, &igc_xsk_tx_metadata_ops,
+		xsk_tx_metadata_request(pool, &meta, &igc_xsk_tx_metadata_ops,
 					&meta_req);
 
 		/* xsk_tx_metadata_request() may have updated next_to_use */
@@ -7585,11 +7585,13 @@ static int __igc_resume(struct device *dev, bool rpm)
 		err = __igc_open(netdev, true);
 		if (!rpm)
 			rtnl_unlock();
-		if (!err)
-			netif_device_attach(netdev);
+		if (err)
+			return err;
 	}
 
-	return err;
+	netif_device_attach(netdev);
+
+	return 0;
 }
 
 static int igc_resume(struct device *dev)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c +4 -2
index 0b46ec29e64e..039fd47ebf52 100644
@@ -54,10 +54,12 @@ static void otx2_get_egress_burst_cfg(struct otx2_nic *nic, u32 burst,
 	if (burst) {
 		*burst_exp = ilog2(burst) ? ilog2(burst) - 1 : 0;
 		tmp = burst - rounddown_pow_of_two(burst);
-		if (burst < max_mantissa)
+		if (burst <= max_mantissa) {
 			*burst_mantissa = tmp * 2;
-		else
+		} else {
+			WARN_ON(*burst_exp < 7);
 			*burst_mantissa = tmp / (1ULL << (*burst_exp - 7));
+		}
 	} else {
 		*burst_exp = MAX_BURST_EXPONENT;
 		*burst_mantissa = max_mantissa;
drivers/net/ethernet/marvell/prestera/prestera_pci.c +3 -0
index 2989a77e3b42..1ad0e62a8433 100644
@@ -684,6 +684,9 @@ static int prestera_fw_hdr_parse(struct prestera_fw *fw)
 	struct prestera_fw_header *hdr;
 	u32 magic;
 
+	if (fw->bin->size < sizeof(*hdr))
+		return -EINVAL;
+
 	hdr = (struct prestera_fw_header *)fw->bin->data;
 
 	magic = be32_to_cpu(hdr->magic_number);
drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c +7 -9
index adcc73e2a5b3..1493d8106c1a 100644
@@ -1025,13 +1025,11 @@ struct mlx5_fw_tracer *mlx5_fw_tracer_create(struct mlx5_core_dev *dev)
 
 	tracer = kvzalloc_obj(*tracer);
 	if (!tracer)
-		return ERR_PTR(-ENOMEM);
+		return NULL;
 
 	tracer->work_queue = create_singlethread_workqueue("mlx5_fw_tracer");
-	if (!tracer->work_queue) {
-		err = -ENOMEM;
+	if (!tracer->work_queue)
 		goto free_tracer;
-	}
 
 	tracer->dev = dev;
 
@@ -1073,7 +1071,7 @@ struct mlx5_fw_tracer *mlx5_fw_tracer_create(struct mlx5_core_dev *dev)
 	destroy_workqueue(tracer->work_queue);
 free_tracer:
 	kvfree(tracer);
-	return ERR_PTR(err);
+	return NULL;
 }
 
 static int fw_tracer_event(struct notifier_block *nb, unsigned long action, void *data);
@@ -1084,7 +1082,7 @@ int mlx5_fw_tracer_init(struct mlx5_fw_tracer *tracer)
 	struct mlx5_core_dev *dev;
 	int err;
 
-	if (IS_ERR_OR_NULL(tracer))
+	if (!tracer)
 		return 0;
 
 	if (!tracer->str_db.loaded)
@@ -1134,7 +1132,7 @@ int mlx5_fw_tracer_init(struct mlx5_fw_tracer *tracer)
 /* Stop tracer + Cleanup HW resources */
 void mlx5_fw_tracer_cleanup(struct mlx5_fw_tracer *tracer)
 {
-	if (IS_ERR_OR_NULL(tracer))
+	if (!tracer)
 		return;
 
 	mutex_lock(&tracer->state_lock);
@@ -1163,7 +1161,7 @@ void mlx5_fw_tracer_cleanup(struct mlx5_fw_tracer *tracer)
 /* Free software resources (Buffers, etc ..) */
 void mlx5_fw_tracer_destroy(struct mlx5_fw_tracer *tracer)
 {
-	if (IS_ERR_OR_NULL(tracer))
+	if (!tracer)
 		return;
 
 	mlx5_core_dbg(tracer->dev, "FWTracer: Destroy\n");
@@ -1215,7 +1213,7 @@ int mlx5_fw_tracer_reload(struct mlx5_fw_tracer *tracer)
 	struct mlx5_core_dev *dev;
 	int err;
 
-	if (IS_ERR_OR_NULL(tracer))
+	if (!tracer)
 		return 0;
 
 	dev = tracer->dev;
drivers/net/ethernet/mellanox/mlx5/core/en.h +1 -1
index 6867a5aed42c..822859c360e7 100644
@@ -483,7 +483,7 @@ typedef int (*mlx5e_fp_xmit_xdp_frame_check)(struct mlx5e_xdpsq *);
 typedef bool (*mlx5e_fp_xmit_xdp_frame)(struct mlx5e_xdpsq *,
 					struct mlx5e_xmit_data *,
 					int,
-					struct xsk_tx_metadata *);
+					struct xsk_tx_metadata **);
 
 struct mlx5e_xdpsq {
 	/* data path */
drivers/net/ethernet/mellanox/mlx5/core/en/tc_priv.h +1 -0
index efb34de4cb7a..692ac2f21d94 100644
@@ -30,6 +30,7 @@ enum {
 	MLX5E_TC_FLOW_FLAG_FAILED                = MLX5E_TC_FLOW_BASE + 9,
 	MLX5E_TC_FLOW_FLAG_SAMPLE                = MLX5E_TC_FLOW_BASE + 10,
 	MLX5E_TC_FLOW_FLAG_USE_ACT_STATS         = MLX5E_TC_FLOW_BASE + 11,
+	MLX5E_TC_FLOW_FLAG_PEER                  = MLX5E_TC_FLOW_BASE + 12,
 };
 
 struct mlx5e_tc_flow_parse_attr {
drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c +10 -5
index d8c7cb8837d7..77ea51bfbaae 100644
@@ -452,11 +452,11 @@ INDIRECT_CALLABLE_SCOPE int mlx5e_xmit_xdp_frame_check_mpwqe(struct mlx5e_xdpsq
 
 INDIRECT_CALLABLE_SCOPE bool
 mlx5e_xmit_xdp_frame(struct mlx5e_xdpsq *sq, struct mlx5e_xmit_data *xdptxd,
-		     int check_result, struct xsk_tx_metadata *meta);
+		     int check_result, struct xsk_tx_metadata **meta);
 
 INDIRECT_CALLABLE_SCOPE bool
 mlx5e_xmit_xdp_frame_mpwqe(struct mlx5e_xdpsq *sq, struct mlx5e_xmit_data *xdptxd,
-			   int check_result, struct xsk_tx_metadata *meta)
+			   int check_result, struct xsk_tx_metadata **meta)
 {
 	struct mlx5e_tx_mpwqe *session = &sq->mpwqe;
 	struct mlx5e_xdpsq_stats *stats = sq->stats;
@@ -504,7 +504,10 @@ mlx5e_xmit_xdp_frame_mpwqe(struct mlx5e_xdpsq *sq, struct mlx5e_xmit_data *xdptx
 		 * and it's safe to complete it at any time.
 		 */
 		mlx5e_xdp_mpwqe_session_start(sq);
-		xsk_tx_metadata_request(meta, &mlx5e_xsk_tx_metadata_ops, &session->wqe->eth);
+		if (meta)
+			xsk_tx_metadata_request(sq->xsk_pool, meta,
+						&mlx5e_xsk_tx_metadata_ops,
+						&session->wqe->eth);
 	}
 
 	mlx5e_xdp_mpwqe_add_dseg(sq, p, stats);
@@ -535,7 +538,7 @@ INDIRECT_CALLABLE_SCOPE int mlx5e_xmit_xdp_frame_check(struct mlx5e_xdpsq *sq)
 
 INDIRECT_CALLABLE_SCOPE bool
 mlx5e_xmit_xdp_frame(struct mlx5e_xdpsq *sq, struct mlx5e_xmit_data *xdptxd,
-		     int check_result, struct xsk_tx_metadata *meta)
+		     int check_result, struct xsk_tx_metadata **meta)
 {
 	struct mlx5e_xmit_data_frags *xdptxdf =
 		container_of(xdptxd, struct mlx5e_xmit_data_frags, xd);
@@ -649,7 +652,9 @@ mlx5e_xmit_xdp_frame(struct mlx5e_xdpsq *sq, struct mlx5e_xmit_data *xdptxd,
 
 	sq->pc += num_wqebbs;
 
-	xsk_tx_metadata_request(meta, &mlx5e_xsk_tx_metadata_ops, eseg);
+	if (meta)
+		xsk_tx_metadata_request(sq->xsk_pool, meta,
+					&mlx5e_xsk_tx_metadata_ops, eseg);
 
 	sq->doorbell_cseg = cseg;
 
drivers/net/ethernet/mellanox/mlx5/core/en/xdp.h +2 -2
index 3c54f8962664..5b8f4094d553 100644
@@ -114,11 +114,11 @@ extern const struct xsk_tx_metadata_ops mlx5e_xsk_tx_metadata_ops;
 INDIRECT_CALLABLE_DECLARE(bool mlx5e_xmit_xdp_frame_mpwqe(struct mlx5e_xdpsq *sq,
 							  struct mlx5e_xmit_data *xdptxd,
 							  int check_result,
-							  struct xsk_tx_metadata *meta));
+							  struct xsk_tx_metadata **meta));
 INDIRECT_CALLABLE_DECLARE(bool mlx5e_xmit_xdp_frame(struct mlx5e_xdpsq *sq,
 						    struct mlx5e_xmit_data *xdptxd,
 						    int check_result,
-						    struct xsk_tx_metadata *meta));
+						    struct xsk_tx_metadata **meta));
 INDIRECT_CALLABLE_DECLARE(int mlx5e_xmit_xdp_frame_check_mpwqe(struct mlx5e_xdpsq *sq));
 INDIRECT_CALLABLE_DECLARE(int mlx5e_xmit_xdp_frame_check(struct mlx5e_xdpsq *sq));
 
drivers/net/ethernet/mellanox/mlx5/core/en/xsk/tx.c +1 -1
index 8aeab4b21035..3d19dad8f868 100644
@@ -105,7 +105,7 @@ bool mlx5e_xsk_tx(struct mlx5e_xdpsq *sq, unsigned int budget)
 
 		ret = INDIRECT_CALL_2(sq->xmit_xdp_frame, mlx5e_xmit_xdp_frame_mpwqe,
 				      mlx5e_xmit_xdp_frame, sq, &xdptxd,
-				      check_result, meta);
+				      check_result, &meta);
 		if (unlikely(!ret)) {
 			if (sq->mpwqe.wqe)
 				mlx5e_xdp_mpwqe_complete(sq);
drivers/net/ethernet/mellanox/mlx5/core/en_main.c +3 -1
index 7d1063c7bf64..22ae49af38cd 100644
@@ -1939,8 +1939,10 @@ int mlx5e_open_txqsq(struct mlx5e_channel *c, u32 tisn, int txq_ix,
 void mlx5e_activate_txqsq(struct mlx5e_txqsq *sq)
 {
 	sq->txq = netdev_get_tx_queue(sq->netdev, sq->txq_ix);
+	/* Reset BQL only when the SQ has no bytes in flight. */
+	if (sq->cc == sq->pc)
+		netdev_tx_reset_queue(sq->txq);
 	set_bit(MLX5E_SQ_STATE_ENABLED, &sq->state);
-	netdev_tx_reset_queue(sq->txq);
 	netif_tx_start_queue(sq->txq);
 	netif_queue_set_napi(sq->netdev, sq->txq_ix, NETDEV_QUEUE_TYPE_TX, sq->cq.napi);
 }
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c +3 -1
index 8b5a421a22a3..f3d4586e09e3 100644
@@ -2165,7 +2165,8 @@ static void mlx5e_tc_del_flow(struct mlx5e_priv *priv,
 	if (mlx5e_is_eswitch_flow(flow)) {
 		struct mlx5_devcom_comp_dev *devcom = flow->priv->mdev->priv.eswitch->devcom;
 
-		if (!mlx5_devcom_for_each_peer_begin(devcom)) {
+		if (flow_flag_test(flow, PEER) ||
+		    !mlx5_devcom_for_each_peer_begin(devcom)) {
 			mlx5e_tc_del_fdb_flow(priv, flow);
 			return;
 		}
@@ -4605,6 +4606,7 @@ static int mlx5e_tc_add_fdb_peer_flow(struct flow_cls_offload *f,
 	else
 		in_mdev = priv->mdev;
 
+	flow_flags |= BIT(MLX5E_TC_FLOW_FLAG_PEER);
 	parse_attr = flow->attr->parse_attr;
 	peer_flow = __mlx5e_add_fdb_flow(peer_priv, f, flow_flags,
 					 parse_attr->filter_dev,
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c +11 -2
index f28367fbcaf8..84e783f87b3d 100644
@@ -2748,8 +2748,8 @@ static bool stmmac_xdp_xmit_zc(struct stmmac_priv *priv, u32 queue, u32 budget)
 		meta_req.set_ic = &set_ic;
 		meta_req.tbs = tx_q->tbs;
 		meta_req.edesc = &tx_q->dma_entx[entry];
-		xsk_tx_metadata_request(meta, &stmmac_xsk_tx_metadata_ops,
-					&meta_req);
+		xsk_tx_metadata_request(pool, &meta,
+					&stmmac_xsk_tx_metadata_ops, &meta_req);
 		if (set_ic) {
 			tx_q->tx_count_frames = 0;
 			stmmac_set_tx_ic(priv, tx_desc);
@@ -4132,6 +4132,15 @@ static int __stmmac_open(struct net_device *dev,
 			dma_conf->tx_queue[i].tbs = priv->dma_conf.tx_queue[i].tbs;
 	memcpy(&priv->dma_conf, dma_conf, sizeof(*dma_conf));
 
+	/* The PHY is suspended when the interface is reopened without
+	 * disconnecting the PHY, e.g. on MTU change. IEEE 802.3 allows PHYs
+	 * to stop their receive clock while powered down, but the DMA
+	 * software reset in stmmac_hw_setup() requires a running receive
+	 * clock, and phylink_start() below resumes the PHY only after the
+	 * hardware setup. Resume a suspended PHY here first.
+	 */
+	phylink_prepare_resume(priv->phylink);
+
 	stmmac_reset_queues_param(priv);
 
 	ret = stmmac_hw_setup(dev);
drivers/net/ntb_netdev.c +8 -7
index c3a6ba96fc8a..029a4a532a10 100644
@@ -127,8 +127,8 @@ static void ntb_netdev_rx_handler(struct ntb_transport_qp *qp, void *qp_data,
 {
 	struct ntb_netdev_queue *q = qp_data;
 	struct ntb_netdev *dev = q->ntdev;
+	struct sk_buff *skb, *new_skb;
 	struct net_device *ndev;
-	struct sk_buff *skb;
 	int rc;
 
 	ndev = dev->ndev;
@@ -144,6 +144,12 @@ static void ntb_netdev_rx_handler(struct ntb_transport_qp *qp, void *qp_data,
 		goto enqueue_again;
 	}
 
+	new_skb = netdev_alloc_skb(ndev, ndev->mtu + ETH_HLEN);
+	if (!new_skb) {
+		ndev->stats.rx_dropped++;
+		goto enqueue_again;
+	}
+
 	skb_put(skb, len);
 	skb->protocol = eth_type_trans(skb, ndev);
 	skb->ip_summed = CHECKSUM_NONE;
@@ -157,12 +163,7 @@ static void ntb_netdev_rx_handler(struct ntb_transport_qp *qp, void *qp_data,
 		ndev->stats.rx_bytes += len;
 	}
 
-	skb = netdev_alloc_skb(ndev, ndev->mtu + ETH_HLEN);
-	if (!skb) {
-		ndev->stats.rx_errors++;
-		ndev->stats.rx_frame_errors++;
-		return;
-	}
+	skb = new_skb;
 
 enqueue_again:
 	rc = ntb_transport_rx_enqueue(qp, skb, skb->data, ndev->mtu + ETH_HLEN);
drivers/net/ovpn/main.c +46 -18

114 lines not on this page · raw message

drivers/net/ovpn/netlink.c +6 -0
index 4c66c1ec497e..4dad85294198 100644
@@ -534,6 +534,12 @@ int ovpn_nl_peer_set_doit(struct sk_buff *skb, struct genl_info *info)
 	 */
 	if (ret > 0)
 		ovpn_peer_hash_vpn_ip(peer);
+	/* if the remote endpoint was updated, the by_transp_addr hash bucket
+	 * also needs to be refreshed, otherwise incoming packets from the new
+	 * remote address would fail the lockless lookup
+	 */
+	if (attrs[OVPN_A_PEER_REMOTE_IPV4] || attrs[OVPN_A_PEER_REMOTE_IPV6])
+		ovpn_peer_hash_transp_addr(peer);
 	spin_unlock_bh(&ovpn->lock);
 	ovpn_peer_put(peer);
 
drivers/net/ovpn/peer.c +128 -44

222 lines not on this page · raw message

drivers/net/ovpn/peer.h +1 -0
index 86c8cffada6d..dfa5c0037e02 100644
@@ -150,6 +150,7 @@ struct ovpn_peer *ovpn_peer_get_by_id(struct ovpn_priv *ovpn, u32 peer_id);
 struct ovpn_peer *ovpn_peer_get_by_dst(struct ovpn_priv *ovpn,
 				       struct sk_buff *skb);
 void ovpn_peer_hash_vpn_ip(struct ovpn_peer *peer);
+void ovpn_peer_hash_transp_addr(struct ovpn_peer *peer);
 bool ovpn_peer_check_by_src(struct ovpn_priv *ovpn, struct sk_buff *skb,
 			    struct ovpn_peer *peer);
 
drivers/net/ovpn/socket.c +9 -0
index 517caa64a4fe..6cbeb2caaeec 100644
@@ -162,6 +162,15 @@ struct ovpn_socket *ovpn_socket_new(struct socket *sock, struct ovpn_peer *peer)
 		rcu_read_lock();
 		ovpn_sock = rcu_dereference_sk_user_data(sk);
 		if (ovpn_sock) {
+			/* something else filled the sk_user_data without
+			 * setting the encap_type. Reject the socket.
+			 */
+			if (!type) {
+				ovpn_sock = ERR_PTR(-EBUSY);
+				rcu_read_unlock();
+				goto sock_release;
+			}
+
 			/* socket owned by another ovpn instance, we can't use it */
 			if (ovpn_sock->ovpn != peer->ovpn) {
 				ovpn_sock = ERR_PTR(-EBUSY);
drivers/net/phy/mediatek/mtk.h +4 -4
index 320f76ffa81f..79e09727b81b 100644
@@ -53,15 +53,15 @@
 #define MTK_GPHY_LED_RX_BLINK_SET		(MTK_PHY_LED_BLINK_1000RX | \
 						 MTK_PHY_LED_BLINK_100RX | \
 						 MTK_PHY_LED_BLINK_10RX)
-#define MTK_GPHY_LED_TX_BLINK_SET		(MTK_PHY_LED_BLINK_1000RX | \
-						 MTK_PHY_LED_BLINK_100RX | \
-						 MTK_PHY_LED_BLINK_10RX)
+#define MTK_GPHY_LED_TX_BLINK_SET		(MTK_PHY_LED_BLINK_1000TX | \
+						 MTK_PHY_LED_BLINK_100TX | \
+						 MTK_PHY_LED_BLINK_10TX)
 
 #define MTK_2P5GPHY_LED_ON_SET			(MTK_PHY_LED_ON_LINK2500 | \
 						 MTK_GPHY_LED_ON_SET)
 #define MTK_2P5GPHY_LED_RX_BLINK_SET		(MTK_PHY_LED_BLINK_2500RX | \
 						 MTK_GPHY_LED_RX_BLINK_SET)
-#define MTK_2P5GPHY_LED_TX_BLINK_SET		(MTK_PHY_LED_BLINK_2500RX | \
+#define MTK_2P5GPHY_LED_TX_BLINK_SET		(MTK_PHY_LED_BLINK_2500TX | \
 						 MTK_GPHY_LED_TX_BLINK_SET)
 
 #define MTK_PHY_LED_STATE_FORCE_ON	0
drivers/net/tap.c +14 -10
index fae115915c8e..5d2d34d24ce8 100644
@@ -1074,10 +1074,21 @@ static int tap_get_user_xdp(struct tap_queue *q, struct xdp_buff *xdp)
 	skb_reset_mac_header(skb);
 	skb->protocol = eth_hdr(skb)->h_proto;
 
+	rcu_read_lock();
+	tap = rcu_dereference(q->tap);
+	if (!tap) {
+		kfree_skb(skb);
+		rcu_read_unlock();
+		return 0;
+	}
+	skb->dev = tap->dev;
+
 	if (vnet_hdr_len) {
 		err = tun_vnet_hdr_to_skb(q->flags, skb, gso);
-		if (err)
+		if (err) {
+			rcu_read_unlock();
 			goto err_kfree;
+		}
 	}
 
 	/* Move network header to the right position for VLAN tagged packets */
@@ -1085,15 +1096,8 @@ static int tap_get_user_xdp(struct tap_queue *q, struct xdp_buff *xdp)
 	    vlan_get_protocol_and_depth(skb, skb->protocol, &depth) != 0)
 		skb_set_network_header(skb, depth);
 
-	rcu_read_lock();
-	tap = rcu_dereference(q->tap);
-	if (tap) {
-		skb->dev = tap->dev;
-		skb_probe_transport_header(skb);
-		dev_queue_xmit(skb);
-	} else {
-		kfree_skb(skb);
-	}
+	skb_probe_transport_header(skb);
+	dev_queue_xmit(skb);
 	rcu_read_unlock();
 
 	return 0;
drivers/net/thunderbolt/main.c +22 -11
index ac016890646c..fb569c0abf8e 100644
@@ -390,11 +390,16 @@ static void tbnet_tear_down(struct tbnet *net, bool send_logout)
 				break;
 		}
 
-		tb_ring_stop(net->rx_ring.ring);
-		tb_ring_stop(net->tx_ring.ring);
-		tbnet_free_buffers(&net->rx_ring);
-		tbnet_free_buffers(&net->tx_ring);
-
+		/* Tear the paths down before stopping the rings.  This mirrors
+		 * tbnet_connected_work(), which enables the paths last so the
+		 * Rx ring is primed before packets can arrive.  Stopping a
+		 * ring zeroes its descriptor base and tbnet_free_buffers()
+		 * unmaps and frees the frame buffers, leaving anything still
+		 * in flight with nowhere to drain to;
+		 * __tb_path_deactivate_hop() then waits for the hop's
+		 * 'pending' bit, which on some host routers never clears in
+		 * that state.
+		 */
 		ret = tb_xdomain_disable_paths(net->xd,
 					       net->local_transmit_path,
 					       net->tx_ring.ring->hop,
@@ -403,6 +408,11 @@ static void tbnet_tear_down(struct tbnet *net, bool send_logout)
 		if (ret)
 			netdev_warn(net->dev, "failed to disable DMA paths\n");
 
+		tb_ring_stop(net->rx_ring.ring);
+		tb_ring_stop(net->tx_ring.ring);
+		tbnet_free_buffers(&net->rx_ring);
+		tbnet_free_buffers(&net->tx_ring);
+
 		tb_xdomain_release_in_hopid(net->xd, net->remote_transmit_path);
 		net->remote_transmit_path = 0;
 	}
@@ -929,12 +939,8 @@ static int tbnet_open(struct net_device *dev)
 
 	netif_carrier_off(dev);
 
-	flags = RING_FLAG_FRAME;
-	/* Only enable full E2E if the other end supports it too */
-	if (tbnet_e2e && net->svc->prtcstns & TBNET_E2E)
-		flags |= RING_FLAG_E2E;
-
-	ring = tb_ring_alloc_tx(xd->tb->nhi, -1, TBNET_RING_SIZE, flags);
+	ring = tb_ring_alloc_tx(xd->tb->nhi, -1, TBNET_RING_SIZE,
+				RING_FLAG_FRAME);
 	if (!ring) {
 		netdev_err(dev, "failed to allocate Tx ring\n");
 		return -ENOMEM;
@@ -953,6 +959,11 @@ static int tbnet_open(struct net_device *dev)
 	sof_mask = BIT(TBIP_PDF_FRAME_START);
 	eof_mask = BIT(TBIP_PDF_FRAME_END);
 
+	flags = RING_FLAG_FRAME;
+	/* Only enable full E2E if the other end supports it too */
+	if (tbnet_e2e && net->svc->prtcstns & TBNET_E2E)
+		flags |= RING_FLAG_E2E;
+
 	ring = tb_ring_alloc_rx(xd->tb->nhi, -1, TBNET_RING_SIZE, flags,
 				net->tx_ring.ring->hop, sof_mask,
 				eof_mask, tbnet_start_poll, net);
drivers/net/usb/ax88179_178a.c +3 -1
index 98f899ea2e94..81d8412ce8e2 100644
@@ -1487,8 +1487,10 @@ ax88179_tx_fixup(struct usbnet *dev, struct sk_buff *skb, gfp_t flags)
 
 	headroom = skb_headroom(skb) - 8;
 
-	if ((dev->net->features & NETIF_F_SG) && skb_linearize(skb))
+	if ((dev->net->features & NETIF_F_SG) && skb_linearize(skb)) {
+		dev_kfree_skb_any(skb);
 		return NULL;
+	}
 
 	if ((skb_header_cloned(skb) || headroom < 0) &&
 	    pskb_expand_head(skb, headroom < 0 ? 8 : 0, 0, GFP_ATOMIC)) {
drivers/net/usb/ipheth.c +10 -1
index bb1364f85bd1..2b490114d232 100644
@@ -490,6 +490,7 @@ static int ipheth_open(struct net_device *net)
 	if (retval)
 		return retval;
 
+	enable_delayed_work(&dev->carrier_work);
 	schedule_delayed_work(&dev->carrier_work, IPHETH_CARRIER_CHECK_TIMEOUT);
 	return retval;
 }
@@ -499,7 +500,11 @@ static int ipheth_close(struct net_device *net)
 	struct ipheth_device *dev = netdev_priv(net);
 
 	netif_stop_queue(net);
-	cancel_delayed_work_sync(&dev->carrier_work);
+	/* A TX URB can still complete with an error after this point and
+	 * try to re-arm the carrier work. Disable it instead of cancelling
+	 * it, so that such a schedule_delayed_work() is a no-op.
+	 */
+	disable_delayed_work_sync(&dev->carrier_work);
 	return 0;
 }
 
@@ -629,6 +634,10 @@ static int ipheth_probe(struct usb_interface *intf,
 	}
 
 	INIT_DELAYED_WORK(&dev->carrier_work, ipheth_carrier_check_work);
+	/* Armed only between ipheth_open() and ipheth_close(). Start out
+	 * disabled so the enable/disable counts balance from the first open.
+	 */
+	disable_delayed_work(&dev->carrier_work);
 
 	retval = ipheth_alloc_urbs(dev);
 	if (retval) {
drivers/net/usb/usbnet.c +2 -1
index b72ba0803392..6b5f44cbb561 100644
@@ -1798,7 +1798,7 @@ usbnet_probe(struct usb_interface *udev, const struct usb_device_id *prod)
 	 */
 	dev->hard_mtu = net->mtu + net->hard_header_len;
 	net->min_mtu = 0;
-	net->max_mtu = ETH_MAX_MTU;
+	net->max_mtu = net->mtu;
 
 	net->netdev_ops = &usbnet_netdev_ops;
 	net->watchdog_timeo = TX_TIMEOUT_JIFFIES;
@@ -1808,6 +1808,7 @@ usbnet_probe(struct usb_interface *udev, const struct usb_device_id *prod)
 	// allow device-specific bind/init procedures
 	// NOTE net->name still not usable ...
 	if (info->bind) {
+		net->max_mtu = ETH_MAX_MTU;
 		status = info->bind(dev, udev);
 		if (status < 0)
 			goto out1;
drivers/net/veth.c +14 -8
index 00e34afd858e..f80f6584a6ff 100644
@@ -865,18 +865,24 @@ static struct sk_buff *veth_xdp_rcv_skb(struct veth_rq *rq,
 
 	skb_reset_mac_header(skb);
 
-	/* check if bpf_xdp_adjust_tail was used */
-	off = xdp->data_end - orig_data_end;
-	if (off != 0)
-		__skb_put(skb, off); /* positive on grow, negative on shrink */
-
 	/* XDP frag metadata (e.g. nr_frags) are updated in eBPF helpers
-	 * (e.g. bpf_xdp_adjust_tail), we need to update data_len here.
+	 * (e.g. bpf_xdp_adjust_tail). Remove the old fragment contribution
+	 * from skb->len before updating data_len, then add the new one back.
 	 */
-	if (xdp_buff_has_frags(xdp))
+	skb->len -= skb->data_len;
+	if (xdp_buff_has_frags(xdp)) {
 		skb->data_len = skb_shinfo(skb)->xdp_frags_size;
-	else
+		skb->len += skb->data_len;
+	} else {
 		skb->data_len = 0;
+	}
+
+	/* Synchronize the skb tail with XDP's updated linear area. */
+	off = xdp->data_end - orig_data_end;
+	if (off != 0) {
+		skb_set_tail_pointer(skb, xdp->data_end - xdp->data);
+		skb->len += off; /* positive on grow, negative on shrink */
+	}
 
 	skb->protocol = eth_type_trans(skb, rq->dev);
 
drivers/net/vxlan/vxlan_core.c +1 -1
index 32613e40b3ba..608087f78d02 100644
@@ -4501,7 +4501,7 @@ static int vxlan_changelink(struct net_device *dev, struct nlattr *tb[],
 	if (change_igmp && vxlan_addr_multicast(&dst->remote_ip))
 		err = vxlan_multicast_leave(vxlan);
 
-	if (conf.age_interval != vxlan->cfg.age_interval)
+	if (netif_running(dev) && conf.age_interval != vxlan->cfg.age_interval)
 		mod_timer(&vxlan->age_timer, jiffies);
 
 	netdev_adjacent_change_commit(dst->remote_dev, lowerdev, dev);
drivers/nvmem/apple-spmi-nvmem.c +18 -2
index 88614005d5ce..7acb0c07d6ab 100644
@@ -18,6 +18,22 @@ static const struct regmap_config apple_spmi_regmap_config = {
 	.max_register	= 0xffff,
 };
 
+static int apple_spmi_nvmem_read(void *priv, unsigned int offset, void *val,
+				 size_t bytes)
+{
+	struct regmap *map = priv;
+
+	return regmap_bulk_read(map, offset, val, bytes);
+}
+
+static int apple_spmi_nvmem_write(void *priv, unsigned int offset, void *val,
+				  size_t bytes)
+{
+	struct regmap *map = priv;
+
+	return regmap_bulk_write(map, offset, val, bytes);
+}
+
 static int apple_spmi_nvmem_probe(struct spmi_device *sdev)
 {
 	struct regmap *regmap;
@@ -28,8 +44,8 @@ static int apple_spmi_nvmem_probe(struct spmi_device *sdev)
 		.word_size = 1,
 		.stride = 1,
 		.size = 0xffff,
-		.reg_read = (void *)regmap_bulk_read,
-		.reg_write = (void *)regmap_bulk_write,
+		.reg_read = apple_spmi_nvmem_read,
+		.reg_write = apple_spmi_nvmem_write,
 	};
 
 	regmap = devm_regmap_init_spmi_ext(sdev, &apple_spmi_regmap_config);
drivers/nvmem/core.c +2 -22
index e871181751f3..2f971b059704 100644
@@ -786,7 +786,7 @@ static int nvmem_validate_keepouts(struct nvmem_device *nvmem)
 	return 0;
 }
 
-static int nvmem_add_cells_from_dt(struct nvmem_device *nvmem, struct device_node *np)
+int nvmem_add_cells_from_dt(struct nvmem_device *nvmem, struct device_node *np)
 {
 	struct device *dev = &nvmem->dev;
 	const __be32 *addr;
@@ -834,29 +834,13 @@ static int nvmem_add_cells_from_dt(struct nvmem_device *nvmem, struct device_nod
 
 	return 0;
 }
+EXPORT_SYMBOL_GPL(nvmem_add_cells_from_dt);
 
 static int nvmem_add_cells_from_legacy_of(struct nvmem_device *nvmem)
 {
 	return nvmem_add_cells_from_dt(nvmem, nvmem->dev.of_node);
 }
 
-static int nvmem_add_cells_from_fixed_layout(struct nvmem_device *nvmem)
-{
-	struct device_node *layout_np;
-	int err = 0;
-
-	layout_np = of_nvmem_layout_get_container(nvmem);
-	if (!layout_np)
-		return 0;
-
-	if (of_device_is_compatible(layout_np, "fixed-layout"))
-		err = nvmem_add_cells_from_dt(nvmem, layout_np);
-
-	of_node_put(layout_np);
-
-	return err;
-}
-
 int nvmem_layout_register(struct nvmem_layout *layout)
 {
 	int ret;
@@ -1005,10 +989,6 @@ struct nvmem_device *nvmem_register(const struct nvmem_config *config)
 			goto err_remove_cells;
 	}
 
-	rval = nvmem_add_cells_from_fixed_layout(nvmem);
-	if (rval)
-		goto err_remove_cells;
-
 	dev_dbg(&nvmem->dev, "Registering nvmem device %s\n", config->name);
 
 	rval = device_add(&nvmem->dev);
drivers/nvmem/internals.h +2 -0
index 18fed57270e5..f6d452b6a28f 100644
@@ -35,6 +35,8 @@ struct nvmem_device {
 	bool			sysfs_cells_populated;
 };
 
+int nvmem_add_cells_from_dt(struct nvmem_device *nvmem, struct device_node *np);
+
 #if IS_ENABLED(CONFIG_OF)
 int nvmem_layout_bus_register(void);
 void nvmem_layout_bus_unregister(void);
drivers/nvmem/layouts.c +0 -11
index b90584e1b99e..07a34be9669c 100644
@@ -125,11 +125,6 @@ static int nvmem_layout_create_device(struct nvmem_device *nvmem,
 	return 0;
 }
 
-static const struct of_device_id of_nvmem_layout_skip_table[] = {
-	{ .compatible = "fixed-layout", },
-	{}
-};
-
 static int nvmem_layout_bus_populate(struct nvmem_device *nvmem,
 				     struct device_node *layout_dn)
 {
@@ -142,12 +137,6 @@ static int nvmem_layout_bus_populate(struct nvmem_device *nvmem,
 		return 0;
 	}
 
-	/* Fixed layouts are parsed manually somewhere else for now */
-	if (of_match_node(of_nvmem_layout_skip_table, layout_dn)) {
-		pr_debug("%s() - skipping %pOF node\n", __func__, layout_dn);
-		return 0;
-	}
-
 	if (of_node_check_flag(layout_dn, OF_POPULATED_BUS)) {
 		pr_debug("%s() - skipping %pOF, already populated\n",
 			 __func__, layout_dn);
drivers/nvmem/layouts/Makefile +1 -0
index 4940c9db0665..dd6c6c70b1a9 100644
@@ -3,6 +3,7 @@
 # Makefile for nvmem layouts.
 #
 
+obj-$(CONFIG_NVMEM_LAYOUTS) += fixed-layout.o
 obj-$(CONFIG_NVMEM_LAYOUT_SL28_VPD) += sl28vpd.o
 obj-$(CONFIG_NVMEM_LAYOUT_ONIE_TLV) += onie-tlv.o
 obj-$(CONFIG_NVMEM_LAYOUT_U_BOOT_ENV) += u-boot-env.o
drivers/nvmem/layouts/fixed-layout.c new file +58 -0

58 lines not on this page · raw message

drivers/pinctrl/qcom/pinctrl-ipq8064.c +4 -4
index 0a9e357e64c6..f35dbe07ab6f 100644
@@ -480,7 +480,7 @@ static const char * const ps_hold_groups[] = {
 };
 
 static const struct pinfunction ipq8064_functions[] = {
-	IPQ_PIN_FUNCTION(gpio),
+	IPQ_GPIO_PIN_FUNCTION(gpio),
 	IPQ_PIN_FUNCTION(mdio),
 	IPQ_PIN_FUNCTION(ssbi),
 	IPQ_PIN_FUNCTION(spmi),
@@ -507,19 +507,19 @@ static const struct pinfunction ipq8064_functions[] = {
 	IPQ_PIN_FUNCTION(usb2_hsic),
 	IPQ_PIN_FUNCTION(rgmii2),
 	IPQ_PIN_FUNCTION(sata),
-	IPQ_PIN_FUNCTION(pcie1_rst),
+	IPQ_GPIO_PIN_FUNCTION(pcie1_rst),
 	IPQ_PIN_FUNCTION(pcie1_prsnt),
 	IPQ_PIN_FUNCTION(pcie1_pwren_n),
 	IPQ_PIN_FUNCTION(pcie1_pwren),
 	IPQ_PIN_FUNCTION(pcie1_pwrflt),
 	IPQ_PIN_FUNCTION(pcie1_clk_req),
-	IPQ_PIN_FUNCTION(pcie2_rst),
+	IPQ_GPIO_PIN_FUNCTION(pcie2_rst),
 	IPQ_PIN_FUNCTION(pcie2_prsnt),
 	IPQ_PIN_FUNCTION(pcie2_pwren_n),
 	IPQ_PIN_FUNCTION(pcie2_pwren),
 	IPQ_PIN_FUNCTION(pcie2_pwrflt),
 	IPQ_PIN_FUNCTION(pcie2_clk_req),
-	IPQ_PIN_FUNCTION(pcie3_rst),
+	IPQ_GPIO_PIN_FUNCTION(pcie3_rst),
 	IPQ_PIN_FUNCTION(pcie3_prsnt),
 	IPQ_PIN_FUNCTION(pcie3_pwren_n),
 	IPQ_PIN_FUNCTION(pcie3_pwren),
drivers/pinctrl/qcom/pinctrl-msm.h +5 -0
index 4fbff61de6bb..b94ba1a4177e 100644
@@ -24,6 +24,11 @@ struct pinctrl_pin_desc;
 					fname##_groups,		\
 					ARRAY_SIZE(fname##_groups))
 
+#define IPQ_GPIO_PIN_FUNCTION(fname)					\
+	[IPQ_MUX_##fname] = PINCTRL_GPIO_PINFUNCTION(#fname,		\
+					fname##_groups,		\
+					ARRAY_SIZE(fname##_groups))
+
 #define MSM_PIN_FUNCTION(fname) 				\
 	[msm_mux_##fname] = PINCTRL_PINFUNCTION(#fname,		\
 					fname##_groups,		\
drivers/ptp/ptp_ocp.c +3 -1
index 735385539b9f..a93633c450b5 100644
@@ -2180,9 +2180,11 @@ ptp_ocp_devlink_info_get(struct devlink *devlink, struct devlink_info_req *req,
 	if (err)
[… more lines in the raw message]

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

drivers/s390/net/ism_drv.c +15 -4
index 7d0479e4e095..369aa21b1ff7 100644

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

drivers/scsi/scsi_debug.c +2 -2
index 615618aa11f4..87975d3d1d08 100644

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

drivers/soc/aspeed/Makefile +1 -0
index b35d74592964..b5188dcde37a 100644

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

drivers/soc/aspeed/aspeed-lpc-snoop.c +26 -12
index b03310c0830d..7fa1a345acac 100644

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

drivers/staging/rtl8723bs/core/rtw_ieee80211.c +3 -0
index 82ccdec2f365..a0dd19cb404f 100644

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

drivers/staging/rtl8723bs/core/rtw_mlme_ext.c +1 -1
index e78450402d19..812edc4fe37c 100644

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

drivers/staging/rtl8723bs/core/rtw_wlan_util.c +3 -0
index 94bbe7ac13ac..119b61baa475 100644

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

drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c +4 -0
index a0ef1e7e50a0..e65932dc6585 100644

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

drivers/thermal/thermal_hwmon.c +106 -48

154 lines not on this page · raw message

drivers/thunderbolt/eeprom.c +8 -1
index 5477b9437048..e50503bb20dc 100644

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

drivers/thunderbolt/icm.c +1 -1
index 9d95bf3ab44c..136516432f56 100644

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

drivers/thunderbolt/tb.c +1 -1
index c69c323e6952..9907966556e7 100644

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

drivers/tty/serial/8250/8250_dma.c +7 -5
index 3b6452e759d5..5a83e5269b41 100644

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

drivers/tty/serial/8250/8250_of.c +38 -0
index 81644d40b09a..160f4c71de06 100644

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

drivers/tty/serial/amba-pl011.c +45 -23

68 lines not on this page · raw message

drivers/tty/serial/qcom_geni_serial.c +22 -21

43 lines not on this page · raw message

drivers/tty/serial/sc16is7xx.c +3 -0
index b323d1510a67..3d776cfe1113 100644

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

drivers/tty/vt/keyboard.c +4 -1
index 763a3f1b7be0..c41d850b29c6 100644

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

drivers/tty/vt/vt_ioctl.c +2 -0
index 28993a3d0acb..deb3b3f93461 100644

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

drivers/usb/atm/cxacru.c +2 -0
index f1900c567ba4..429ac20a8999 100644

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

drivers/usb/cdns3/cdnsp-gadget.c +2 -2
index 6b3815f8a6e5..5c712bff1d2b 100644

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

drivers/usb/core/config.c +24 -8
index 45e20c6d76c0..346a2faa9bb8 100644

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

drivers/usb/core/quirks.c +7 -0
index 87ee2d938bc0..b5b577f0b931 100644

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

drivers/usb/gadget/function/f_ncm.c +1 -1
index 64eabda2f546..bf02545b37a2 100644

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

drivers/usb/host/xhci.h +6 -6
index d0f14fc23245..fd7420cfbf64 100644

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

drivers/usb/misc/usbio.c +1 -1
index 3c2474dca810..fe093e7760d5 100644

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

drivers/vdpa/mlx5/core/mlx5_vdpa.h +2 -0
index 2cedf7e2dbc4..42f2f44b383c 100644

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

drivers/vdpa/mlx5/core/mr.c +6 -2
index 42c2705077a6..ce204ae3dfda 100644

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

drivers/vdpa/mlx5/core/resources.c +10 -1
index aeae31d0cefa..28a4d7a35bf4 100644

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

drivers/vdpa/vdpa_sim/vdpa_sim.c +7 -3
index 8cb1cc2ea139..4d116644851d 100644

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

drivers/vdpa/vdpa_user/iova_domain.c +10 -1
index 4dc76c0d0d13..b6c958224b7c 100644

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

drivers/vhost/iotlb.c +33 -14

47 lines not on this page · raw message

drivers/vhost/scsi.c +17 -0
index 9a1253b9d8c5..904bd842cdd8 100644

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

drivers/vhost/vdpa.c +16 -2
index ac55275fa0d0..c3d913bd7cac 100644

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

drivers/vhost/vhost.c +16 -0
index db329a6f6145..e4c44f2ea413 100644

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

drivers/video/fbdev/core/bitblit.c +7 -2
index 65681dcc5930..39f44258d793 100644

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

drivers/watchdog/at91sam9_wdt.c +2 -2
index aba66b8e9d03..80ba04df54ad 100644

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

drivers/watchdog/bd96801_wdt.c +2 -3
index 12b74fd2bc05..a25b7cf1488b 100644

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

fs/attr.c +1 -1
index ded221defae6..fc5817c9f4e8 100644

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

fs/binfmt_misc.c +2 -1
index 725b48ac5873..b7075e4df46f 100644

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

fs/btrfs/inode.c +3 -1
index dc5148f176e7..1271be0fbfcf 100644

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

fs/btrfs/lzo.c +13 -3
index 6e4aa22853ab..2f0996692da0 100644

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

fs/crypto/policy.c +1 -1
index 9915e39362db..c80b24a941ad 100644

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

fs/namespace.c +4 -0
index 341ddd353b3a..841ef2612786 100644

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

fs/nfs/nfs4proc.c +14 -3
index 4db27f4eb01e..6142a7daf983 100644

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

fs/overlayfs/super.c +2 -1
index 60f0b7ceef0a..60b808b85fc4 100644

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

fs/smb/client/sess.c +1 -1
index de2012cc9cf3..7cf7dd104f7c 100644

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

fs/smb/client/smb1transport.c +22 -6
index 53abb29fe71b..966f2cf83a51 100644

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

fs/tracefs/event_inode.c +26 -2
index 26b6453de30e..498d316bf5d7 100644

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

fs/tracefs/internal.h +2 -2
index a4a7f8431aff..c61481d04c8e 100644

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

fs/verity/measure.c +9 -6
index 6a35623ebdf0..465ec3733a8a 100644

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

fs/xfs/xfs_buf.c +1 -1
index 0cea458f1353..23bd81fbc278 100644

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

include/linux/dibs.h +1 -1
index c75607f8a5cf..d3e0777f25ae 100644

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

include/linux/hwmon.h +3 -0
index 301a83afbd66..f5330e7ae247 100644

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

include/linux/mmap_lock.h +1 -0
index 04b8f61ece5d..6b5c2390cc30 100644

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

include/linux/netdevice.h +4 -7
index 4a0e83709f29..7bd4d989d2eb 100644

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

include/linux/netfilter/ipset/ip_set.h +1 -1
index b98331572ad2..cadae9b2578f 100644

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

include/linux/nvmem-provider.h +6 -0
index f3b13da78aac..6063fe5b7784 100644

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

include/linux/psi.h +3 -1
index e0745873e3f2..7966e3ac03b9 100644

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

include/linux/sched/ext.h +5 -5
index 2129e18ada58..31c810a3b808 100644

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

include/linux/usb/quirks.h +3 -0
index b3cc7beab4a3..a4043b33c2c2 100644

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

include/net/act_api.h +19 -0
index fd2967ee08f7..ee29d25d8df2 100644

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

include/net/addrconf.h +2 -2
index 8ced27a8229b..e6764245995f 100644

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

include/net/ip_vs.h +28 -20

48 lines not on this page · raw message

include/net/libeth/xsk.h +1 -1
index 82b5d21aae87..5dcc0d7f65b7 100644

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

include/net/route.h +2 -0
index f90106f383c5..45290177a33c 100644

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

include/net/sch_generic.h +1 -0
index 195e22a83566..ca51b2c3b042 100644

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

include/net/xdp_sock.h +5 -40

45 lines not on this page · raw message

include/net/xdp_sock_drv.h +66 -11

77 lines not on this page · raw message

include/uapi/linux/ip_vs.h +0 -6
index 1ed234e7f251..2c37c6ac7525 100644

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

kernel/bpf/rqspinlock.c +3 -2
index e4e338cdb437..2129defc4a9a 100644

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

kernel/bpf/verifier.c +15 -14
index 523f00e609e2..5bad71f003dc 100644

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

kernel/cgroup/cgroup.c +22 -1
index 6152add0c5eb..25e2367b3e0b 100644

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

kernel/events/core.c +37 -30

67 lines not on this page · raw message

kernel/futex/core.c +58 -27

85 lines not on this page · raw message

kernel/sched/ext.c +38 -9

47 lines not on this page · raw message

kernel/sched/psi.c +59 -16

75 lines not on this page · raw message

kernel/trace/ring_buffer.c +9 -6
index d2e2cf18bfdb..ae48017c45dd 100644

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

kernel/trace/trace_events.c +3 -1
index c01b10b99f67..3650d84d4f16 100644

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

mm/damon/lru_sort.c +2 -0
index 8cfe7bd3dc1d..c61c3d3a5ffd 100644

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

mm/damon/ops-common.c +12 -1
index 4752d6118eb9..cca7014ab5f1 100644

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

mm/damon/paddr.c +2 -0
index 5cdcc5037cbc..e701ffa8506b 100644

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

mm/damon/vaddr.c +2 -1
index b069dbc7e3d2..9845ceeedc0b 100644

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

mm/filemap.c +6 -0
index b72f8c23c322..bbd400d893aa 100644

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

mm/huge_memory.c +32 -15

47 lines not on this page · raw message

mm/memory.c +1 -1
index 86a973119bd4..13b70861c8a3 100644

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

mm/page_table_check.c +16 -4
index 53a8997ec043..2403f5a11410 100644

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

mm/pagewalk.c +21 -15
index 3ae2586ff45b..5d87c632a255 100644

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

mm/ptdump.c +7 -0
index 973020000096..5851096e6f65 100644

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

mm/vmalloc.c +31 -9
index bb6ae08d18f5..a22358f8cc2f 100644

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

net/atm/common.c +9 -5
index 6eb78c34c284..c3fbbb63c5d8 100644

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

net/bridge/br_mrp.c +2 -4
index 460be392af47..31160bc09ee7 100644

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

net/bridge/netfilter/ebt_nflog.c +16 -1
index 61bf8f4465ab..426f8adc912c 100644

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

net/bridge/netfilter/nf_conntrack_bridge.c +1 -0
index 58a33d0380b0..7ecb8a26bfa3 100644

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

net/core/datagram.c +3 -0
index c285c6465923..173b5d97bd40 100644

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

net/core/dev.c +7 -3
index 31741169cb0b..58ec448e8357 100644

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

net/core/filter.c +2 -2
index 66837e93d3f2..233adfdc1c34 100644

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

net/core/sock.c +0 -1
index 5714436b0871..aaa3bb214eff 100644

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

net/core/xdp.c +1 -1
index 9890a30584ba..0194e69da339 100644

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

net/devlink/dev.c +1 -0
index 57b2b8f03543..fd5633fa88ec 100644

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

net/ipv4/fib_semantics.c +60 -41

101 lines not on this page · raw message

net/ipv4/inet_connection_sock.c +16 -4
index 690f7fb3f029..935b46db6154 100644

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

net/ipv4/inet_fragment.c +5 -5
index 1127519b8416..8fdd19310efd 100644

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

net/ipv4/route.c +29 -0
index 7cc9a7336c30..5c6d7e6995b2 100644

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

net/ipv4/tcp_bpf.c +2 -0
index b9f036633365..18b45950d1ac 100644

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

net/ipv4/tcp_input.c +1 -1
index eed808c2adbb..e2c022f02c64 100644

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

net/ipv4/tcp_ipv4.c +24 -19

43 lines not on this page · raw message

net/ipv4/udp_offload.c +3 -1
index 29651b1a0bc7..abcd3cc2d9a3 100644

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

net/ipv6/ip6_tunnel.c +3 -0
index 95da1f087294..49f719ab55a9 100644

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

net/ipv6/route.c +4 -4
index d4edc133c045..f2cc5476553f 100644

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

net/mac802154/scan.c +4 -0
index 65089826ff59..005338f89b75 100644

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

net/ncsi/ncsi-netlink.c +4 -0
index 2f872d064396..8cc538358f6a 100644

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

net/netfilter/ipset/ip_set_bitmap_gen.h +2 -2
index bb9b5bed10e1..226fdf17b683 100644

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

net/netfilter/ipset/ip_set_core.c +3 -3
index 6cfad152d7d1..822a53a7f502 100644

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

net/netfilter/ipset/ip_set_hash_gen.h +1 -1
index a3ed683cc47e..3072b4e28853 100644

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

net/netfilter/ipset/ip_set_list_set.c +2 -2
index 1cef84f15e8c..ca3ef9479e83 100644

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

net/netfilter/ipvs/ip_vs_conn.c +14 -31

45 lines not on this page · raw message

net/netfilter/ipvs/ip_vs_core.c +38 -36

74 lines not on this page · raw message

net/netfilter/ipvs/ip_vs_ctl.c +66 -15

81 lines not on this page · raw message

net/netfilter/ipvs/ip_vs_dh.c +2 -2
index e1f62f6b25e2..43abed7a26a6 100644

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

net/netfilter/ipvs/ip_vs_est.c +7 -3
index ab09f5182951..05a216a47b45 100644

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

net/netfilter/ipvs/ip_vs_lblc.c +1 -1
index 15ccb2b2fa1f..693bcc82ccb7 100644

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

net/netfilter/ipvs/ip_vs_lblcr.c +4 -4
index c90ea897c3f7..f53f05ceea36 100644

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

net/netfilter/ipvs/ip_vs_lc.c +2 -2
index 38cc38c5d8bb..18b976a7c4d2 100644

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

net/netfilter/ipvs/ip_vs_proto_sctp.c +1 -3
index 3dbd3096e163..fb8af6b15a39 100644

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

net/netfilter/ipvs/ip_vs_proto_tcp.c +0 -2
index 99a286fdc90c..fec0e8b47b71 100644

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

net/netfilter/ipvs/ip_vs_sync.c +2 -5
index 93038abbf5e0..ea5fdd4f4ce7 100644

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

net/netfilter/ipvs/ip_vs_xmit.c +3 -3
index 0b0c5304993a..fc7403186394 100644

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

net/netfilter/nf_conntrack_bpf.c +48 -24

72 lines not on this page · raw message

net/netfilter/nf_conntrack_proto.c +6 -0
index 50ddd3d613e1..e00957719351 100644

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

net/netfilter/nf_conntrack_proto_sctp.c +8 -4
index 7e10fa65cbdd..71cc920f6856 100644

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

net/netfilter/nf_conntrack_proto_tcp.c +88 -44

132 lines not on this page · raw message

net/netfilter/nf_flow_table_ip.c +3 -0
index 0b78decce8a9..c9e332fafcb5 100644

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

net/openvswitch/datapath.c +26 -3
index eaf332b156d7..ae69b2cabab9 100644

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

net/openvswitch/flow.c +7 -4
index 66366982f604..46c1d66aad8c 100644

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

net/packet/af_packet.c +47 -25

72 lines not on this page · raw message

net/qrtr/ns.c +1 -1
index e5b2adb161d9..c5e7e01db249 100644

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

net/sched/act_ct.c +25 -4
index be535a261fa0..e250969c84ac 100644

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

net/sched/act_gact.c +5 -0
index e949280eb800..565860cccba6 100644

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

net/sched/act_police.c +6 -0
index 12ea9e5a6005..837dc42457a6 100644

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

net/sched/cls_api.c +16 -1
index fee4524adc98..4e6a2812a4f3 100644

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

net/sched/cls_route.c +26 -9
index bd6f945bd388..eded7aacd3f7 100644

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

net/sched/sch_api.c +9 -0
index 487cbfdc5655..d90f41817b11 100644

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

net/sched/sch_cake.c +0 -1
index 8965fe252471..755c42c32bcf 100644

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

net/sctp/associola.c +10 -1
index b6ac0966420a..5be0bed2685e 100644

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

net/sctp/outqueue.c +1 -0
index f6b8c13dafa4..e92fb9da4647 100644

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

net/sctp/sm_make_chunk.c +1 -2
index 0ae30c3c8913..e25612e9d082 100644

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

net/sctp/sm_statefuns.c +5 -1
index 708fa07d5fff..3a8e16b29660 100644

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

net/smc/af_smc.c +2 -1
index b5db69073e20..00403175b740 100644

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

net/smc/smc_llc.c +2 -1
index 954b2ff1815c..aa6d83af55ed 100644

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

net/smc/smc_rx.c +10 -9
index c1d9b923938d..5c9e4d8b57de 100644

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

net/tipc/node.c +10 -5
index 8e4ef2630ae4..683a136e53ef 100644

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

net/tls/tls_sw.c +17 -1
index ba95f9d927a3..e9aea371331b 100644

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

net/vmw_vsock/virtio_transport.c +8 -6
index 57f2d6ec3ffc..96c9fe8d357c 100644

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

net/x25/af_x25.c +2 -2
index f9758c140ba4..e8c4f51035f6 100644

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

net/x25/x25_timer.c +16 -9
index 2ec63a1f4c6d..7896cd43f1cc 100644

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

net/xdp/xdp_umem.c +2 -0
index 58da2f4f4397..cd8643360eb3 100644

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

net/xdp/xsk.c +7 -4
index 855fe92358ba..95a9ff3d0bdb 100644

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

net/xdp/xsk_buff_pool.c +3 -3
index 4538223f4408..f72042260777 100644

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

samples/damon/mtier.c +3 -0
index 7f84367ad3e5..a26cdfa73f1d 100644

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

security/integrity/ima/ima_appraise.c +7 -2
index 2dd231567710..c509abd75fbe 100644

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

security/integrity/ima/ima_main.c +39 -0
index 5cea53fc36df..ff52becc3031 100644

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

sound/hda/codecs/side-codecs/tas2781_hda_spi.c +2 -1
index d243baff95a7..5b38e4e9f228 100644

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

sound/usb/endpoint.c +4 -2
index dca06ba1c67e..a1d449f2a342 100644

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

sound/usb/fcp.c +9 -1
index c45dbe4d4532..ec1ddfa4d0ce 100644

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

sound/usb/midi2.c +9 -0
index 83980fb83ac8..1dc78f536ef9 100644

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

sound/usb/mixer.c +50 -10

60 lines not on this page · raw message

sound/usb/mixer.h +1 -0
index afbb3dd9f177..3fa1bd96f858 100644

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

sound/usb/quirks.c +7 -0
index 33eb8be48af8..354866a80605 100644

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

sound/usb/usbaudio.h +13 -0
index 9afcad8f143a..e472aef6eb87 100644

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

sound/usb/usx2y/us144mkii_capture.c +1 -0
index fa01da98151a..d7cdf9e0f685 100644

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

sound/usb/usx2y/usX2Yhwdep.c +2 -0
index 4d7925184826..7f153a2fcdd8 100644

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

sound/usb/usx2y/usx2yhwdeppcm.c +2 -0
index 7c90214485d9..f1d5b4b797ad 100644

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

tools/testing/selftests/bpf/prog_tests/sockmap_basic.c +3 -3
index d2846579285f..b4019d1a5575 100644

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

tools/testing/selftests/bpf/prog_tests/sockmap_listen.c +11 -10
index cc0c68bab907..1c96a3cf4b97 100644

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

tools/testing/selftests/bpf/prog_tests/test_xsk.c +29 -21

50 lines not on this page · raw message

tools/testing/selftests/bpf/test_maps.c +6 -7
index ccc5acd55ff9..d194b44ff8be 100644

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

tools/testing/selftests/bpf/verifier/sleepable.c +15 -2
index c2b7f5ebf168..6dabc5522945 100644

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

tools/testing/selftests/ftrace/test.d/dynevent/add_remove_eprobe.tc +5 -11
index c300eb020262..e2322693d0c3 100644

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

tools/testing/selftests/net/tls.c +57 -0

57 lines not on this page · raw message

tools/testing/selftests/sched_ext/numa.bpf.c +12 -1
index 78cc49a7f9a6..6b4515c28aa0 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.