Skip to contentSkip to conversation

Linux 6.12.30

DISCUSSION Greg Kroah-Hartman 1 participant 2 messages May 22, 2025 Stable branch

lore
Share & tools
lore

Greg Kroah-Hartman

author maintainer
#0 lore raw

I'm announcing the release of the 6.12.30 kernel.

All users of the 6.12 kernel series must upgrade.

The updated 6.12.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-6.12.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/netlink/specs/tc.yaml                          |   10 
 MAINTAINERS                                                  |    6 
 Makefile                                                     |    2 
 arch/arm64/boot/dts/amlogic/meson-g12b-dreambox.dtsi         |    4 
 arch/arm64/boot/dts/freescale/imx8mp-var-som.dtsi            |   12 
 arch/arm64/boot/dts/rockchip/rk3588-friendlyelec-cm3588.dtsi |    4 
 arch/arm64/boot/dts/rockchip/rk3588j.dtsi                    |   53 -
 arch/loongarch/include/asm/ptrace.h                          |    2 
 arch/loongarch/include/asm/uprobes.h                         |    1 
 arch/loongarch/kernel/genex.S                                |    7 
 arch/loongarch/kernel/kfpu.c                                 |   22 
 arch/loongarch/kernel/time.c                                 |    2 
 arch/loongarch/kernel/uprobes.c                              |   11 
 arch/loongarch/power/hibernate.c                             |    3 
 arch/riscv/boot/dts/sophgo/cv18xx.dtsi                       |    2 
 arch/x86/kvm/mmu/mmu.c                                       |   75 +-
 block/bio.c                                                  |    2 
 drivers/accel/ivpu/ivpu_debugfs.c                            |    2 
 drivers/accel/ivpu/ivpu_fw.c                                 |    4 
 drivers/accel/ivpu/ivpu_fw_log.c                             |  113 ++-
 drivers/accel/ivpu/ivpu_fw_log.h                             |    9 
 drivers/accel/ivpu/ivpu_pm.c                                 |    1 
 drivers/acpi/pptt.c                                          |   11 
 drivers/bluetooth/btnxpuart.c                                |    6 
 drivers/char/tpm/tpm2-sessions.c                             |   20 
 drivers/char/tpm/tpm_tis_core.h                              |    2 
 drivers/dma-buf/dma-resv.c                                   |    5 
 drivers/dma/dmatest.c                                        |    6 
 drivers/dma/idxd/init.c                                      |  159 +++-
 drivers/dma/ti/k3-udma.c                                     |   10 
 drivers/gpio/gpio-pca953x.c                                  |    6 
 drivers/gpu/drm/amd/amdgpu/amdgpu.h                          |    3 
 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c                     |   18 
 drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c                      |    2 
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c                   |   47 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c                      |   11 
 drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c                       |   12 
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c            |    3 
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c  |   16 
 drivers/gpu/drm/amd/display/dc/dpp/dcn401/dcn401_dpp_cm.c    |    5 
 drivers/gpu/drm/drm_fbdev_dma.c                              |   60 +
 drivers/gpu/drm/tiny/Kconfig                                 |    1 
 drivers/gpu/drm/tiny/panel-mipi-dbi.c                        |    7 
 drivers/gpu/drm/xe/instructions/xe_mi_commands.h             |    4 
 drivers/gpu/drm/xe/xe_gsc.c                                  |   22 
 drivers/gpu/drm/xe/xe_gsc.h                                  |    1 
 drivers/gpu/drm/xe/xe_gsc_proxy.c                            |   11 
 drivers/gpu/drm/xe/xe_gsc_proxy.h                            |    1 
 drivers/gpu/drm/xe/xe_gt.c                                   |    2 
 drivers/gpu/drm/xe/xe_lrc.c                                  |    2 
 drivers/gpu/drm/xe/xe_ring_ops.c                             |    7 
 drivers/gpu/drm/xe/xe_uc.c                                   |    8 
 drivers/gpu/drm/xe/xe_uc.h                                   |    1 
 drivers/hid/bpf/hid_bpf_dispatch.c                           |    9 
 drivers/hid/hid-thrustmaster.c                               |    1 
 drivers/hid/hid-uclogic-core.c                               |    7 
 drivers/hv/channel.c                                         |   65 -
 drivers/hv/hyperv_vmbus.h                                    |    6 
 drivers/hv/vmbus_drv.c                                       |  100 ++
 drivers/iio/adc/ad7266.c                                     |    2 
 drivers/iio/adc/ad7768-1.c                                   |    2 
 drivers/iio/chemical/pms7003.c                               |    5 
 drivers/iio/chemical/sps30.c                                 |    2 
 drivers/iio/light/opt3001.c                                  |    5 
 drivers/iio/pressure/mprls0025pa.h                           |   17 
 drivers/infiniband/core/device.c                             |    6 
 drivers/infiniband/sw/rxe/rxe_cq.c                           |    5 
 drivers/net/dsa/b53/b53_common.c                             |   33 
 drivers/net/dsa/b53/b53_regs.h                               |   14 
 drivers/net/dsa/sja1105/sja1105_main.c                       |    6 
 drivers/net/ethernet/cadence/macb_main.c                     |   19 
 drivers/net/ethernet/engleder/tsnep_main.c                   |   30 
 drivers/net/ethernet/marvell/octeontx2/af/cgx.c              |    5 
 drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c    |    3 
 drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h     |    1 
 drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.c    |    1 
 drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c      |    3 
 drivers/net/ethernet/mediatek/mtk_eth_soc.c                  |    2 
 drivers/net/ethernet/mellanox/mlx5/core/en_main.c            |    4 
 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c        |    3 
 drivers/net/ethernet/qlogic/qede/qede_main.c                 |    2 
 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c     |    7 
 drivers/net/hyperv/hyperv_net.h                              |   13 
 drivers/net/hyperv/netvsc.c                                  |   57 +
 drivers/net/hyperv/netvsc_drv.c                              |   62 -
 drivers/net/hyperv/rndis_filter.c                            |   24 
 drivers/net/virtio_net.c                                     |    5 
 drivers/net/wireless/mediatek/mt76/dma.c                     |    1 
 drivers/nvme/host/pci.c                                      |    4 
 drivers/phy/renesas/phy-rcar-gen3-usb2.c                     |   40 -
 drivers/phy/tegra/xusb-tegra186.c                            |   46 -
 drivers/phy/tegra/xusb.c                                     |    8 
 drivers/platform/x86/amd/pmc/pmc-quirks.c                    |    7 
 drivers/platform/x86/amd/pmf/tee-if.c                        |   23 
 drivers/platform/x86/asus-wmi.c                              |    3 
 drivers/regulator/max20086-regulator.c                       |    7 
 drivers/scsi/sd_zbc.c                                        |    6 
 drivers/scsi/storvsc_drv.c                                   |    1 
 drivers/spi/spi-loopback-test.c                              |    2 
 drivers/spi/spi-tegra114.c                                   |    6 
 drivers/uio/uio_hv_generic.c                                 |   39 -
 drivers/usb/gadget/function/f_midi2.c                        |    2 
 drivers/usb/host/xhci-dbgcap.c                               |   21 
 drivers/usb/host/xhci-dbgcap.h                               |    3 
 drivers/usb/typec/ucsi/displayport.c                         |   19 
 drivers/usb/typec/ucsi/ucsi.c                                |   34 
 drivers/usb/typec/ucsi/ucsi.h                                |    2 
 drivers/virtio/virtio_ring.c                                 |    6 
 fs/binfmt_elf.c                                              |   71 +
 fs/btrfs/discard.c                                           |   17 
 fs/btrfs/fs.h                                                |    1 
 fs/btrfs/inode.c                                             |    7 
 fs/btrfs/super.c                                             |    4 
 fs/nfs/nfs4proc.c                                            |    9 
 fs/nfs/pnfs.c                                                |    9 
 fs/smb/client/cifs_spnego.c                                  |   16 
 fs/smb/client/cifsfs.c                                       |   25 
 fs/smb/client/cifsglob.h                                     |    7 
 fs/smb/client/connect.c                                      |   20 
 fs/smb/client/fs_context.c                                   |   39 +
 fs/smb/client/fs_context.h                                   |   10 
 fs/smb/client/smb2pdu.c                                      |    2 
 fs/udf/truncate.c                                            |    2 
 fs/xattr.c                                                   |   24 
 include/drm/drm_fbdev_dma.h                                  |   12 
 include/linux/bio.h                                          |    1 
 include/linux/hyperv.h                                       |   13 
 include/linux/kvm_host.h                                     |    6 
 include/linux/tpm.h                                          |   21 
 include/linux/virtio.h                                       |    3 
 include/net/sch_generic.h                                    |   15 
 include/sound/ump_msg.h                                      |    4 
 kernel/cgroup/cpuset.c                                       |    6 
 kernel/sched/ext.c                                           |    6 
 kernel/trace/ring_buffer.c                                   |    8 
 kernel/trace/trace_dynevent.c                                |   16 
 kernel/trace/trace_dynevent.h                                |    1 
 kernel/trace/trace_events_trigger.c                          |    2 
 kernel/trace/trace_functions.c                               |    6 
 kernel/trace/trace_kprobe.c                                  |    2 
 kernel/trace/trace_probe.c                                   |    9 
 kernel/trace/trace_uprobe.c                                  |    2 
 mm/page_alloc.c                                              |   23 
 mm/userfaultfd.c                                             |   12 
 net/bluetooth/mgmt.c                                         |    9 
 net/mac80211/main.c                                          |    6 
 net/mctp/device.c                                            |   65 -
 net/mctp/route.c                                             |    4 
 net/sched/sch_codel.c                                        |    2 
 net/sched/sch_fq.c                                           |    2 
 net/sched/sch_fq_codel.c                                     |    2 
 net/sched/sch_fq_pie.c                                       |    2 
 net/sched/sch_hhf.c                                          |    2 
 net/sched/sch_pie.c                                          |    2 
 net/tls/tls_strp.c                                           |    3 
 samples/ftrace/sample-trace-array.c                          |    2 
 scripts/Makefile.extrawarn                                   |   12 
 sound/core/seq/seq_clientmgr.c                               |   52 -
 sound/core/seq/seq_ump_convert.c                             |   18 
 sound/core/seq/seq_ump_convert.h                             |    1 
 sound/pci/es1968.c                                           |    6 
 sound/sh/Kconfig                                             |    2 
 sound/usb/quirks.c                                           |    4 
 tools/net/ynl/ethtool.py                                     |   22 
 tools/testing/selftests/net/ncdevmem.c                       |  394 ++++++-----
 tools/testing/vsock/vsock_test.c                             |   28 
 virt/kvm/guest_memfd.c                                       |    2 
 virt/kvm/kvm_main.c                                          |   14 
 168 files changed, 1803 insertions(+), 906 deletions(-)

Aaron Kling (1):
spi: tegra114: Use value to check for invalid delays

Abdun Nihaal (1):
qlcnic: fix memory leak in qlcnic_sriov_channel_cfg_cmd()

Alex Deucher (2):
Revert "drm/amd: Stop evicting resources on APUs in suspend" drm/amdgpu: fix pm notifier handling

Alexey Makhalov (1):
MAINTAINERS: Update Alexey Makhalov's email address

Andrei Kuchynski (1):
usb: typec: ucsi: displayport: Fix deadlock

Andrew Jeffery (1):
net: mctp: Ensure keys maintain only one ref to corresponding dev

Barry Song (1):
mm: userfaultfd: correct dirty flags set for both present and swap pte

Bo-Cun Chen (1):
net: ethernet: mtk_eth_soc: fix typo for declaration MT7988 ESW capability

Boris Burkov (1):
btrfs: fix folio leak in submit_one_async_extent()

Carolina Jubran (1):
net/mlx5e: Disable MACsec offload for uplink representor profile

Christian Heusel (1):
ALSA: usb-audio: Add sample rate quirk for Audioengine D1

Christian Hewitt (1):
arm64: dts: amlogic: dreambox: fix missing clkc_audio node

Claudiu Beznea (2):
phy: renesas: rcar-gen3-usb2: Fix role detection on unbind/bind
phy: renesas: rcar-gen3-usb2: Set timing registers only once

Cong Wang (1):

      net_sched: Flush gso_skb list too during ->change()

Cosmin Ratiu (1):
tests/ncdevmem: Fix double-free of queue array

Cosmin Tanislav (1):
regulator: max20086: fix invalid memory access

Dan Carpenter (1):
phy: tegra: xusb: remove a stray unlock

Daniele Ceraolo Spurio (1):
drm/xe/gsc: do not flush the GSC worker from the reset path

David Lechner (3):
iio: chemical: pms7003: use aligned_s64 for timestamp
iio: pressure: mprls0025pa: use aligned_s64 for timestamp
iio: chemical: sps30: use aligned_s64 for timestamp

Dragan Simic (1):
arm64: dts: rockchip: Remove overdrive-mode OPPs from RK3588J SoC dtsi

Emanuele Ghidoli (1):
gpio: pca953x: fix IRQ storm on system wake up

Eric Dumazet (1):

      mctp: no longer rely on net->dev_index_head[]

Fabio Estevam (1):
drm/tiny: panel-mipi-dbi: Use drm_client_setup_with_fourcc()

Fedor Pchelkin (1):
wifi: mt76: disable napi on driver removal

Filipe Manana (1):
btrfs: fix discard worker infinite loop after disabling discard

Geert Uytterhoeven (2):
spi: loopback-test: Do not split 1024-byte hexdumps
ALSA: sh: SND_AICA should depend on SH_DMA_API

Gerhard Engleder (1):
tsnep: fix timestamping with a stacked DSA driver

Greg Kroah-Hartman (1):

      Linux 6.12.30

Hangbin Liu (1):
tools/net/ynl: ethtool: fix crash when Hardware Clock info is missing

Hans de Goede (1):
platform/x86: asus-wmi: Fix wlan_ctrl_by_user detection

Hariprasad Kelam (1):
octeontx2-af: Fix CGX Receive counters

Henry Martin (1):
HID: uclogic: Add NULL check in uclogic_input_configured()

Himanshu Bhavani (1):
arm64: dts: imx8mp-var-som: Fix LDO5 shutdown causing SD card timeout

Huacai Chen (3):
LoongArch: Move __arch_cpu_idle() to .cpuidle.text section
LoongArch: Save and restore CSR.CNTC for hibernation
LoongArch: Fix MAX_REG_OFFSET calculation

Hyejeong Choi (1):
dma-buf: insert memory barrier before updating num_fences

Ido Schimmel (1):
mlxsw: spectrum_router: Fix use-after-free when deleting GRE net devices

Isaku Yamahata (1):
KVM: Add member to struct kvm_gfn_range to indicate private/shared

Jacek Lawrynowicz (3):
accel/ivpu: Rename ivpu_log_level to fw_log_level accel/ivpu: Refactor functions in ivpu_fw_log.c accel/ivpu: Fix fw log printing

Jakub Kicinski (2):
netlink: specs: tc: fix a couple of attribute names
netlink: specs: tc: all actions are indexed arrays

Jan Kara (1):
udf: Make sure i_lenExtents is uptodate on inode eviction

Jarkko Sakkinen (1):
tpm: Mask TPM RC in tpm2_start_auth_session()

Jeremy Linton (1):
ACPI: PPTT: Fix processor subtable walk

Jethro Donaldson (1):
smb: client: fix memory leak during error handling for POSIX mkdir

Jonas Gorski (1):
net: dsa: b53: prevent standalone from trying to forward to other ports

Jonathan Cameron (2):
iio: adc: ad7266: Fix potential timestamp alignment issue.
iio: adc: ad7768-1: Fix insufficient alignment of timestamp.

Kees Cook (3):
binfmt_elf: Move brk for static PIE even if ASLR disabled
nvme-pci: make nvme_pci_npages_prp() __always_inline
wifi: mac80211: Set n_channels after allocating struct cfg80211_scan_request

Keith Busch (1):
nvme-pci: acquire cq_poll_lock in nvme_poll_irqdisable

Kirill A. Shutemov (1):
mm/page_alloc: fix race condition in unaccepted memory handling

Koichiro Den (2):
virtio_ring: add a func argument 'recycle_done' to virtqueue_reset()
virtio_net: ensure netdev_tx_reset_queue is called on bind xsk for tx

Konstantin Shkolnyy (1):
vsock/test: Fix occasional failure in SIOCOUTQ tests

Kyoji Ogasawara (1):
btrfs: add back warning for mount option commit values exceeding 300

Li Lingfeng (1):
nfs: handle failure of nfs_get_lock_context in unlock path

Luca Ceresoli (1):
iio: light: opt3001: fix deadlock due to concurrent flag access

Luiz Augusto von Dentz (1):
Bluetooth: MGMT: Fix MGMT_OP_ADD_DEVICE invalid device flags

Ma Ke (1):
phy: Fix error handling in tegra_xusb_port_init

Mario Limonciello (3):
drivers/platform/x86/amd: pmf: Check for invalid sideloaded Smart PC Policies drivers/platform/x86/amd: pmf: Check for invalid Smart PC Policies drm/amd: Add Suspend/Hibernate notification callback support

Masami Hiramatsu (Google) (1):
tracing: probes: Fix a possible race in trace_probe_log APIs

Mathias Nyman (2):
xhci: dbc: Improve performance by removing delay in transfer event polling.
xhci: dbc: Avoid event polling busyloop if pending rx transfers are inactive.

Mathieu Othacehe (1):
net: cadence: macb: Fix a possible deadlock in macb_halt_tx.

Matt Johnston (1):
net: mctp: Don't access ifa_index when missing

Melissa Wen (1):
Revert "drm/amd/display: Hardware cursor changes color when switched to software cursor"

Michael Kelley (5):
hv_netvsc: Use vmbus_sendpacket_mpb_desc() to send VMBus messages
hv_netvsc: Preserve contiguous PFN grouping in the page buffer array
hv_netvsc: Remove rmsg_pgcnt
Drivers: hv: Allow vmbus_sendpacket_mpb_desc() to create multiple ranges
Drivers: hv: vmbus: Remove vmbus_sendpacket_pagebuffer()

Michal Suchanek (1):
tpm: tis: Double the timeout B to 4s

Naman Jain (1):
uio_hv_generic: Fix sysfs creation path for ring buffer

Nathan Chancellor (2):
kbuild: Disable -Wdefault-const-init-unsafe
net: qede: Initialize qede_ll_ops with designated initializer

Nathan Lynch (1):
dmaengine: Revert "dmaengine: dmatest: Fix dmatest waiting less when interrupted"

Neeraj Sanjay Kale (1):
Bluetooth: btnxpuart: Fix kernel panic during FW release

Nicolas Chauvet (1):
ALSA: usb-audio: Add sample rate quirk for Microdia JP001 USB Camera

Pengtao He (1):
net/tls: fix kernel panic when alloc_page failed

Philip Yang (1):
drm/amdgpu: csa unmap use uninterruptible lock

Qasim Ijaz (1):
HID: thrustmaster: fix memory leak in thrustmaster_interrupts()

Ritvik Budhiraja (1):
CIFS: New mount option for cifs.upcall namespace resolution

Ronald Wahl (1):
dmaengine: ti: k3-udma: Add missing locking

Rong Zhang (1):
HID: bpf: abort dispatch if device destroyed

Runhua He (1):
platform/x86/amd/pmc: Declare quirk_spurious_8042 for MECHREVO Wujie 14XA (GX4HRXL)

Sean Christopherson (1):
KVM: x86/mmu: Prevent installing hugepages when mem attributes are changing

Shuai Xue (9):
dmaengine: idxd: fix memory leak in error handling path of idxd_setup_wqs
dmaengine: idxd: fix memory leak in error handling path of idxd_setup_engines
dmaengine: idxd: fix memory leak in error handling path of idxd_setup_groups
dmaengine: idxd: Add missing cleanup for early error out in idxd_setup_internals
dmaengine: idxd: Add missing cleanups in cleanup internals
dmaengine: idxd: Add missing idxd cleanup to fix memory leak in remove call
dmaengine: idxd: fix memory leak in error handling path of idxd_alloc
dmaengine: idxd: fix memory leak in error handling path of idxd_pci_probe
dmaengine: idxd: Refactor remove call with idxd_cleanup() helper

Stanislav Fomichev (5):
selftests: ncdevmem: Redirect all non-payload output to stderr
selftests: ncdevmem: Separate out dmabuf provider
selftests: ncdevmem: Unify error handling
selftests: ncdevmem: Make client_ip optional
selftests: ncdevmem: Switch to AF_INET6

Stephen Smalley (1):
fs/xattr.c: fix simple_xattr_list to always include security.* xattrs

Steve Siwinski (1):
scsi: sd_zbc: block: Respect bio vector limits for REPORT ZONES buffer

Steven Rostedt (2):
tracing: samples: Initialize trace_array_printk() with the correct function
ring-buffer: Fix persistent buffer when commit page is the reader page

Subbaraya Sundeep (2):
octeontx2-pf: macsec: Fix incorrect max transmit size in TX secy
octeontx2-pf: Do not reallocate all ntuple filters

Takashi Iwai (2):
ALSA: seq: Fix delivery of UMP events to group ports
ALSA: ump: Fix a typo of snd_ump_stream_msg_device_info

Tejun Heo (1):
sched_ext: bpf_iter_scx_dsq_new() should always initialize iterator

Thomas Zimmermann (2):
drm/fbdev-dma: Support struct drm_driver.fbdev_probe drm/panel-mipi-dbi: Run DRM default client setup

Tianyang Zhang (1):
LoongArch: Prevent cond_resched() occurring within kernel-fpu

Tiezhu Yang (2):
LoongArch: uprobes: Remove user_{en,dis}able_single_step()
LoongArch: uprobes: Remove redundant code about resume_era

Tim Huang (1):
drm/amdgpu: fix incorrect MALL size for GFX1151

Tom Vincent (1):

      arm64: dts: rockchip: Assign RT5616 MCLK rate on rk3588-friendlyelec-cm3588

Tomasz Rusinowicz (1):
accel/ivpu: Reset fw log on cold boot

Trond Myklebust (1):
NFSv4/pnfs: Reset the layout state after a layoutreturn

Umesh Nerlige Ramappa (1):
drm/xe: Save CTX_TIMESTAMP mmio value instead of LRC value

Vladimir Oltean (1):
net: dsa: sja1105: discard incoming frames in BR_STATE_LISTENING

Waiman Long (1):
cgroup/cpuset: Extend kthread_is_per_cpu() check to all PF_NO_SETAFFINITY tasks

Wayne Chang (1):
phy: tegra: xusb: Use a bitmask for UTMI pad power state tracking

Wayne Lin (2):
drm/amd/display: Correct the reply value when AUX write incomplete drm/amd/display: Avoid flooding unnecessary info messages

Wentao Liang (1):
ALSA: es1968: Add error handling for snd_pcm_hw_constraint_pow2()

Yemike Abhilash Chandra (1):
dmaengine: ti: k3-udma: Use cap_mask directly from dma_device structure instead of a local copy

Ze Huang (1):
riscv: dts: sophgo: fix DMA data-width configuration for CV18xx

Zhu Yanjun (2):
RDMA/rxe: Fix slab-use-after-free Read in rxe_queue_cleanup bug RDMA/core: Fix "KASAN: slab-use-after-free Read in ib_register_device" problem

pengdonglin (2):
ftrace: Fix preemption accounting for stacktrace trigger command
ftrace: Fix preemption accounting for stacktrace filter command

author maintainer
#1 lore raw
Documentation/netlink/specs/tc.yaml +6 -4
index b02d59a0349c..c5579a5412fc 100644
@@ -2017,7 +2017,8 @@ attribute-sets:
     attributes:
       -
         name: act
-        type: nest
+        type: indexed-array
+        sub-type: nest
         nested-attributes: tc-act-attrs
       -
         name: police
@@ -2250,7 +2251,8 @@ attribute-sets:
     attributes:
       -
         name: act
-        type: nest
+        type: indexed-array
+        sub-type: nest
         nested-attributes: tc-act-attrs
       -
         name: police
@@ -2745,7 +2747,7 @@ attribute-sets:
         type: u16
         byte-order: big-endian
       -
-        name: key-l2-tpv3-sid
+        name: key-l2tpv3-sid
         type: u32
         byte-order: big-endian
       -
@@ -3504,7 +3506,7 @@ attribute-sets:
         name: rate64
         type: u64
       -
-        name: prate4
+        name: prate64
         type: u64
       -
         name: burst
MAINTAINERS +3 -3
index de04c7ba8571..d0f18fdba068 100644
@@ -17503,7 +17503,7 @@ F:	include/uapi/linux/ppdev.h
 PARAVIRT_OPS INTERFACE
 M:	Juergen Gross <[email protected]>
 R:	Ajay Kaher <[email protected]>
-R:	Alexey Makhalov <[email protected]>
+R:	Alexey Makhalov <[email protected]>
 R:	Broadcom internal kernel review list <[email protected]>
 L:	[email protected]
 L:	[email protected]
@@ -24729,7 +24729,7 @@ F:	drivers/misc/vmw_balloon.c
 
 VMWARE HYPERVISOR INTERFACE
 M:	Ajay Kaher <[email protected]>
-M:	Alexey Makhalov <[email protected]>
+M:	Alexey Makhalov <[email protected]>
 R:	Broadcom internal kernel review list <[email protected]>
 L:	[email protected]
 L:	[email protected]
@@ -24757,7 +24757,7 @@ F:	drivers/scsi/vmw_pvscsi.h
 VMWARE VIRTUAL PTP CLOCK DRIVER
 M:	Nick Shi <[email protected]>
 R:	Ajay Kaher <[email protected]>
-R:	Alexey Makhalov <[email protected]>
+R:	Alexey Makhalov <[email protected]>
 R:	Broadcom internal kernel review list <[email protected]>
 L:	[email protected]
 S:	Supported
Makefile +1 -1
index 7a06c48ffbaa..6e8afa78bbef 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 6
 PATCHLEVEL = 12
-SUBLEVEL = 29
+SUBLEVEL = 30
 EXTRAVERSION =
 NAME = Baby Opossum Posse
 
arch/arm64/boot/dts/amlogic/meson-g12b-dreambox.dtsi +4 -0
index de35fa2d7a6d..8e3e3354ed67 100644
@@ -116,6 +116,10 @@ &arb {
 	status = "okay";
 };
 
+&clkc_audio {
+	status = "okay";
+};
+
 &frddr_a {
 	status = "okay";
 };
arch/arm64/boot/dts/freescale/imx8mp-var-som.dtsi +11 -1
index b2ac2583a592..b59da91fdd04 100644
@@ -35,7 +35,6 @@ memory@40000000 {
 		      <0x1 0x00000000 0 0xc0000000>;
 	};
 
-
 	reg_usdhc2_vmmc: regulator-usdhc2-vmmc {
 	        compatible = "regulator-fixed";
 	        regulator-name = "VSD_3V3";
@@ -46,6 +45,16 @@ reg_usdhc2_vmmc: regulator-usdhc2-vmmc {
 	        startup-delay-us = <100>;
 	        off-on-delay-us = <12000>;
 	};
+
+	reg_usdhc2_vqmmc: regulator-usdhc2-vqmmc {
+		compatible = "regulator-gpio";
+		regulator-name = "VSD_VSEL";
+		regulator-min-microvolt = <1800000>;
+		regulator-max-microvolt = <3300000>;
+		gpios = <&gpio2 12 GPIO_ACTIVE_HIGH>;
+		states = <3300000 0x0 1800000 0x1>;
+		vin-supply = <&ldo5>;
+	};
 };
 
 &A53_0 {
@@ -205,6 +214,7 @@ &usdhc2 {
         pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>;
         cd-gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
         vmmc-supply = <&reg_usdhc2_vmmc>;
+	vqmmc-supply = <&reg_usdhc2_vqmmc>;
         bus-width = <4>;
         status = "okay";
 };
arch/arm64/boot/dts/rockchip/rk3588-friendlyelec-cm3588.dtsi +4 -0
index e3a9598b99fc..cacffc851584 100644
@@ -222,6 +222,10 @@ rt5616: audio-codec@1b {
 		compatible = "realtek,rt5616";
 		reg = <0x1b>;
 		#sound-dai-cells = <0>;
+		assigned-clocks = <&cru I2S0_8CH_MCLKOUT>;
+		assigned-clock-rates = <12288000>;
+		clocks = <&cru I2S0_8CH_MCLKOUT>;
+		clock-names = "mclk";
 	};
 };
 
arch/arm64/boot/dts/rockchip/rk3588j.dtsi +17 -36

97 lines not on this page · raw message

arch/loongarch/include/asm/ptrace.h +1 -1
index a5b63c84f854..e5d21e836d99 100644
@@ -55,7 +55,7 @@ static inline void instruction_pointer_set(struct pt_regs *regs, unsigned long v
 
 /* Query offset/name of register from its name/offset */
 extern int regs_query_register_offset(const char *name);
-#define MAX_REG_OFFSET (offsetof(struct pt_regs, __last))
+#define MAX_REG_OFFSET (offsetof(struct pt_regs, __last) - sizeof(unsigned long))
 
 /**
  * regs_get_register() - get register value from its offset
arch/loongarch/include/asm/uprobes.h +0 -1
index 99a0d198927f..025fc3f0a102 100644
@@ -15,7 +15,6 @@ typedef u32 uprobe_opcode_t;
 #define UPROBE_XOLBP_INSN	__emit_break(BRK_UPROBE_XOLBP)
 
 struct arch_uprobe {
-	unsigned long	resume_era;
 	u32	insn[2];
 	u32	ixol[2];
 	bool	simulate;
arch/loongarch/kernel/genex.S +5 -2
index 4f0912141781..733a7665e434 100644
@@ -16,6 +16,7 @@
 #include <asm/stackframe.h>
 #include <asm/thread_info.h>
 
+	.section .cpuidle.text, "ax"
 	.align	5
 SYM_FUNC_START(__arch_cpu_idle)
 	/* start of idle interrupt region */
@@ -31,14 +32,16 @@ SYM_FUNC_START(__arch_cpu_idle)
 	 */
 	idle	0
 	/* end of idle interrupt region */
-1:	jr	ra
+idle_exit:
+	jr	ra
 SYM_FUNC_END(__arch_cpu_idle)
+	.previous
 
 SYM_CODE_START(handle_vint)
 	UNWIND_HINT_UNDEFINED
 	BACKUP_T0T1
 	SAVE_ALL
-	la_abs	t1, 1b
+	la_abs	t1, idle_exit
 	LONG_L	t0, sp, PT_ERA
 	/* 3 instructions idle interrupt region */
 	ori	t0, t0, 0b1100
arch/loongarch/kernel/kfpu.c +20 -2
index ec5b28e570c9..4c476904227f 100644
@@ -18,11 +18,28 @@ static unsigned int euen_mask = CSR_EUEN_FPEN;
 static DEFINE_PER_CPU(bool, in_kernel_fpu);
 static DEFINE_PER_CPU(unsigned int, euen_current);
 
+static inline void fpregs_lock(void)
+{
+	if (IS_ENABLED(CONFIG_PREEMPT_RT))
+		preempt_disable();
+	else
+		local_bh_disable();
+}
+
+static inline void fpregs_unlock(void)
+{
+	if (IS_ENABLED(CONFIG_PREEMPT_RT))
+		preempt_enable();
+	else
+		local_bh_enable();
+}
+
 void kernel_fpu_begin(void)
 {
 	unsigned int *euen_curr;
 
-	preempt_disable();
+	if (!irqs_disabled())
+		fpregs_lock();
 
 	WARN_ON(this_cpu_read(in_kernel_fpu));
 
@@ -73,7 +90,8 @@ void kernel_fpu_end(void)
 
 	this_cpu_write(in_kernel_fpu, false);
 
-	preempt_enable();
+	if (!irqs_disabled())
+		fpregs_unlock();
 }
 EXPORT_SYMBOL_GPL(kernel_fpu_end);
 
arch/loongarch/kernel/time.c +1 -1
index 46d7d40c87e3..0535e5ddbfb9 100644
@@ -111,7 +111,7 @@ static unsigned long __init get_loops_per_jiffy(void)
 	return lpj;
 }
 
-static long init_offset __nosavedata;
+static long init_offset;
 
 void save_counter(void)
 {
arch/loongarch/kernel/uprobes.c +1 -10
index 87abc7137b73..6022eb0f71db 100644
@@ -42,7 +42,6 @@ int arch_uprobe_pre_xol(struct arch_uprobe *auprobe, struct pt_regs *regs)
 	utask->autask.saved_trap_nr = current->thread.trap_nr;
 	current->thread.trap_nr = UPROBE_TRAP_NR;
 	instruction_pointer_set(regs, utask->xol_vaddr);
-	user_enable_single_step(current);
 
 	return 0;
 }
@@ -53,13 +52,7 @@ int arch_uprobe_post_xol(struct arch_uprobe *auprobe, struct pt_regs *regs)
 
 	WARN_ON_ONCE(current->thread.trap_nr != UPROBE_TRAP_NR);
 	current->thread.trap_nr = utask->autask.saved_trap_nr;
-
-	if (auprobe->simulate)
-		instruction_pointer_set(regs, auprobe->resume_era);
-	else
-		instruction_pointer_set(regs, utask->vaddr + LOONGARCH_INSN_SIZE);
-
-	user_disable_single_step(current);
+	instruction_pointer_set(regs, utask->vaddr + LOONGARCH_INSN_SIZE);
 
 	return 0;
 }
@@ -70,7 +63,6 @@ void arch_uprobe_abort_xol(struct arch_uprobe *auprobe, struct pt_regs *regs)
 
 	current->thread.trap_nr = utask->autask.saved_trap_nr;
 	instruction_pointer_set(regs, utask->vaddr);
-	user_disable_single_step(current);
 }
 
 bool arch_uprobe_xol_was_trapped(struct task_struct *t)
@@ -90,7 +82,6 @@ bool arch_uprobe_skip_sstep(struct arch_uprobe *auprobe, struct pt_regs *regs)
 
 	insn.word = auprobe->insn[0];
 	arch_simulate_insn(insn, regs);
-	auprobe->resume_era = regs->csr_era;
 
 	return true;
 }
arch/loongarch/power/hibernate.c +3 -0
index 1e0590542f98..e7b7346592cb 100644
@@ -2,6 +2,7 @@
 #include <asm/fpu.h>
 #include <asm/loongson.h>
 #include <asm/sections.h>
+#include <asm/time.h>
 #include <asm/tlbflush.h>
 #include <linux/suspend.h>
 
@@ -14,6 +15,7 @@ struct pt_regs saved_regs;
 
 void save_processor_state(void)
 {
+	save_counter();
 	saved_crmd = csr_read32(LOONGARCH_CSR_CRMD);
 	saved_prmd = csr_read32(LOONGARCH_CSR_PRMD);
 	saved_euen = csr_read32(LOONGARCH_CSR_EUEN);
@@ -26,6 +28,7 @@ void save_processor_state(void)
 
 void restore_processor_state(void)
 {
+	sync_counter();
 	csr_write32(saved_crmd, LOONGARCH_CSR_CRMD);
 	csr_write32(saved_prmd, LOONGARCH_CSR_PRMD);
 	csr_write32(saved_euen, LOONGARCH_CSR_EUEN);
arch/riscv/boot/dts/sophgo/cv18xx.dtsi +1 -1
index b724fb6d9689..b8063ba6d6d7 100644
@@ -309,7 +309,7 @@ dmac: dma-controller@4330000 {
 					   1024 1024 1024 1024>;
 			snps,priority = <0 1 2 3 4 5 6 7>;
 			snps,dma-masters = <2>;
-			snps,data-width = <4>;
+			snps,data-width = <2>;
 			status = "disabled";
 		};
 
arch/x86/kvm/mmu/mmu.c +59 -16

95 lines not on this page · raw message

block/bio.c +1 -1
index 43d4ae26f475..20c74696bf23 100644
@@ -611,7 +611,7 @@ struct bio *bio_kmalloc(unsigned short nr_vecs, gfp_t gfp_mask)
 {
 	struct bio *bio;
 
-	if (nr_vecs > UIO_MAXIOV)
+	if (nr_vecs > BIO_MAX_INLINE_VECS)
 		return NULL;
 	return kmalloc(struct_size(bio, bi_inline_vecs, nr_vecs), gfp_mask);
 }
drivers/accel/ivpu/ivpu_debugfs.c +1 -1
index eccedb0c8886..05a0d99ce95c 100644
@@ -201,7 +201,7 @@ fw_log_fops_write(struct file *file, const char __user *user_buf, size_t size, l
 	if (!size)
 		return -EINVAL;
 
-	ivpu_fw_log_clear(vdev);
+	ivpu_fw_log_mark_read(vdev);
 	return size;
 }
 
drivers/accel/ivpu/ivpu_fw.c +2 -2
index 8a9395a2abb5..d12188730ac7 100644
@@ -218,7 +218,7 @@ static int ivpu_fw_parse(struct ivpu_device *vdev)
 	fw->cold_boot_entry_point = fw_hdr->entry_point;
 	fw->entry_point = fw->cold_boot_entry_point;
 
-	fw->trace_level = min_t(u32, ivpu_log_level, IVPU_FW_LOG_FATAL);
+	fw->trace_level = min_t(u32, ivpu_fw_log_level, IVPU_FW_LOG_FATAL);
 	fw->trace_destination_mask = VPU_TRACE_DESTINATION_VERBOSE_TRACING;
 	fw->trace_hw_component_mask = -1;
 
@@ -323,7 +323,7 @@ static int ivpu_fw_mem_init(struct ivpu_device *vdev)
 		goto err_free_fw_mem;
 	}
 
-	if (ivpu_log_level <= IVPU_FW_LOG_INFO)
+	if (ivpu_fw_log_level <= IVPU_FW_LOG_INFO)
 		log_verb_size = IVPU_FW_VERBOSE_BUFFER_LARGE_SIZE;
 	else
 		log_verb_size = IVPU_FW_VERBOSE_BUFFER_SMALL_SIZE;
drivers/accel/ivpu/ivpu_fw_log.c +73 -40

168 lines not on this page · raw message

drivers/accel/ivpu/ivpu_fw_log.h +5 -4
index 4b390a99699d..8bb528a73cb7 100644
@@ -1,6 +1,6 @@
 /* SPDX-License-Identifier: GPL-2.0-only */
 /*
- * Copyright (C) 2020-2023 Intel Corporation
+ * Copyright (C) 2020-2024 Intel Corporation
  */
 
 #ifndef __IVPU_FW_LOG_H__
@@ -17,14 +17,15 @@
 #define IVPU_FW_LOG_ERROR   4
 #define IVPU_FW_LOG_FATAL   5
 
-extern unsigned int ivpu_log_level;
-
 #define IVPU_FW_VERBOSE_BUFFER_SMALL_SIZE	SZ_1M
 #define IVPU_FW_VERBOSE_BUFFER_LARGE_SIZE	SZ_8M
 #define IVPU_FW_CRITICAL_BUFFER_SIZE		SZ_512K
 
+extern unsigned int ivpu_fw_log_level;
+
 void ivpu_fw_log_print(struct ivpu_device *vdev, bool only_new_msgs, struct drm_printer *p);
-void ivpu_fw_log_clear(struct ivpu_device *vdev);
+void ivpu_fw_log_mark_read(struct ivpu_device *vdev);
+void ivpu_fw_log_reset(struct ivpu_device *vdev);
 
 
 #endif /* __IVPU_FW_LOG_H__ */
drivers/accel/ivpu/ivpu_pm.c +1 -0
index d1fbad78f61b..2269569bdee7 100644
@@ -38,6 +38,7 @@ static void ivpu_pm_prepare_cold_boot(struct ivpu_device *vdev)
 
 	ivpu_cmdq_reset_all_contexts(vdev);
 	ivpu_ipc_reset(vdev);
+	ivpu_fw_log_reset(vdev);
 	ivpu_fw_load(vdev);
 	fw->entry_point = fw->cold_boot_entry_point;
 }
drivers/acpi/pptt.c +8 -3
index f73ce6e13065..54676e3d82dd 100644
@@ -231,16 +231,18 @@ static int acpi_pptt_leaf_node(struct acpi_table_header *table_hdr,
 			     sizeof(struct acpi_table_pptt));
 	proc_sz = sizeof(struct acpi_pptt_processor);
 
-	while ((unsigned long)entry + proc_sz < table_end) {
+	/* ignore subtable types that are smaller than a processor node */
+	while ((unsigned long)entry + proc_sz <= table_end) {
 		cpu_node = (struct acpi_pptt_processor *)entry;
+
 		if (entry->type == ACPI_PPTT_TYPE_PROCESSOR &&
 		    cpu_node->parent == node_entry)
 			return 0;
 		if (entry->length == 0)
 			return 0;
+
 		entry = ACPI_ADD_PTR(struct acpi_subtable_header, entry,
 				     entry->length);
-
 	}
 	return 1;
 }
@@ -273,15 +275,18 @@ static struct acpi_pptt_processor *acpi_find_processor_node(struct acpi_table_he
 	proc_sz = sizeof(struct acpi_pptt_processor);
 
 	/* find the processor structure associated with this cpuid */
-	while ((unsigned long)entry + proc_sz < table_end) {
+	while ((unsigned long)entry + proc_sz <= table_end) {
 		cpu_node = (struct acpi_pptt_processor *)entry;
 
 		if (entry->length == 0) {
 			pr_warn("Invalid zero length subtable\n");
 			break;
 		}
+		/* entry->length may not equal proc_sz, revalidate the processor structure length */
 		if (entry->type == ACPI_PPTT_TYPE_PROCESSOR &&
 		    acpi_cpu_id == cpu_node->acpi_processor_id &&
+		    (unsigned long)entry + entry->length <= table_end &&
+		    entry->length == proc_sz + cpu_node->number_of_priv_resources * sizeof(u32) &&
 		     acpi_pptt_leaf_node(table_hdr, cpu_node)) {
 			return (struct acpi_pptt_processor *)entry;
 		}
drivers/bluetooth/btnxpuart.c +4 -2
index 84a1ad61c4ad..56b875a6b1fb 100644
@@ -612,8 +612,10 @@ static int nxp_download_firmware(struct hci_dev *hdev)
 							 &nxpdev->tx_state),
 					       msecs_to_jiffies(60000));
 
-	release_firmware(nxpdev->fw);
-	memset(nxpdev->fw_name, 0, sizeof(nxpdev->fw_name));
+	if (nxpdev->fw && strlen(nxpdev->fw_name)) {
+		release_firmware(nxpdev->fw);
+		memset(nxpdev->fw_name, 0, sizeof(nxpdev->fw_name));
+	}
 
 	if (err == 0) {
 		bt_dev_err(hdev, "FW Download Timeout. offset: %d",
drivers/char/tpm/tpm2-sessions.c +6 -14
index b0f13c8ea79c..ecea08915730 100644
@@ -40,11 +40,6 @@
  *
  * These are the usage functions:
  *
- * tpm2_start_auth_session() which allocates the opaque auth structure
- *	and gets a session from the TPM.  This must be called before
- *	any of the following functions.  The session is protected by a
- *	session_key which is derived from a random salt value
- *	encrypted to the NULL seed.
  * tpm2_end_auth_session() kills the session and frees the resources.
  *	Under normal operation this function is done by
  *	tpm_buf_check_hmac_response(), so this is only to be used on
@@ -963,16 +958,13 @@ static int tpm2_load_null(struct tpm_chip *chip, u32 *null_key)
 }
 
 /**
- * tpm2_start_auth_session() - create a HMAC authentication session with the TPM
- * @chip: the TPM chip structure to create the session with
+ * tpm2_start_auth_session() - Create an a HMAC authentication session
+ * @chip:	A TPM chip
  *
- * This function loads the NULL seed from its saved context and starts
- * an authentication session on the null seed, fills in the
- * @chip->auth structure to contain all the session details necessary
- * for performing the HMAC, encrypt and decrypt operations and
- * returns.  The NULL seed is flushed before this function returns.
+ * Loads the ephemeral key (null seed), and starts an HMAC authenticated
+ * session. The null seed is flushed before the return.
  *
- * Return: zero on success or actual error encountered.
+ * Returns zero on success, or a POSIX error code.
  */
 int tpm2_start_auth_session(struct tpm_chip *chip)
 {
@@ -1024,7 +1016,7 @@ int tpm2_start_auth_session(struct tpm_chip *chip)
 	/* hash algorithm for session */
 	tpm_buf_append_u16(&buf, TPM_ALG_SHA256);
 
-	rc = tpm_transmit_cmd(chip, &buf, 0, "start auth session");
+	rc = tpm_ret_to_err(tpm_transmit_cmd(chip, &buf, 0, "StartAuthSession"));
 	tpm2_flush_context(chip, null_key);
 
 	if (rc == TPM2_RC_SUCCESS)
drivers/char/tpm/tpm_tis_core.h +1 -1
index 970d02c337c7..6c3aa480396b 100644
@@ -54,7 +54,7 @@ enum tis_int_flags {
 enum tis_defaults {
 	TIS_MEM_LEN = 0x5000,
 	TIS_SHORT_TIMEOUT = 750,	/* ms */
-	TIS_LONG_TIMEOUT = 2000,	/* 2 sec */
+	TIS_LONG_TIMEOUT = 4000,	/* 4 secs */
 	TIS_TIMEOUT_MIN_ATML = 14700,	/* usecs */
 	TIS_TIMEOUT_MAX_ATML = 15000,	/* usecs */
 };
drivers/dma-buf/dma-resv.c +3 -2
index 5f8d010516f0..b1ef4546346d 100644
@@ -320,8 +320,9 @@ void dma_resv_add_fence(struct dma_resv *obj, struct dma_fence *fence,
 	count++;
 
 	dma_resv_list_set(fobj, i, fence, usage);
-	/* pointer update must be visible before we extend the num_fences */
-	smp_store_mb(fobj->num_fences, count);
+	/* fence update must be visible before we extend the num_fences */
+	smp_wmb();
+	fobj->num_fences = count;
 }
 EXPORT_SYMBOL(dma_resv_add_fence);
 
drivers/dma/dmatest.c +3 -3
index d891dfca358e..91b2fbc0b864 100644
@@ -841,9 +841,9 @@ static int dmatest_func(void *data)
 		} else {
 			dma_async_issue_pending(chan);
 
-			wait_event_timeout(thread->done_wait,
-					   done->done,
-					   msecs_to_jiffies(params->timeout));
+			wait_event_freezable_timeout(thread->done_wait,
+					done->done,
+					msecs_to_jiffies(params->timeout));
 
 			status = dma_async_is_tx_complete(chan, cookie, NULL,
 							  NULL);
drivers/dma/idxd/init.c +113 -46

299 lines not on this page · raw message

drivers/dma/ti/k3-udma.c +8 -2
index b3f27b3f9209..7d89385c3c45 100644
@@ -1091,8 +1091,11 @@ static void udma_check_tx_completion(struct work_struct *work)
 	u32 residue_diff;
 	ktime_t time_diff;
 	unsigned long delay;
+	unsigned long flags;
 
 	while (1) {
+		spin_lock_irqsave(&uc->vc.lock, flags);
+
 		if (uc->desc) {
 			/* Get previous residue and time stamp */
 			residue_diff = uc->tx_drain.residue;
@@ -1127,6 +1130,8 @@ static void udma_check_tx_completion(struct work_struct *work)
 				break;
 			}
 
+			spin_unlock_irqrestore(&uc->vc.lock, flags);
+
 			usleep_range(ktime_to_us(delay),
 				     ktime_to_us(delay) + 10);
 			continue;
@@ -1143,6 +1148,8 @@ static void udma_check_tx_completion(struct work_struct *work)
 
 		break;
 	}
+
+	spin_unlock_irqrestore(&uc->vc.lock, flags);
 }
 
 static irqreturn_t udma_ring_irq_handler(int irq, void *data)
@@ -4246,7 +4253,6 @@ static struct dma_chan *udma_of_xlate(struct of_phandle_args *dma_spec,
 				      struct of_dma *ofdma)
 {
 	struct udma_dev *ud = ofdma->of_dma_data;
-	dma_cap_mask_t mask = ud->ddev.cap_mask;
 	struct udma_filter_param filter_param;
 	struct dma_chan *chan;
 
@@ -4278,7 +4284,7 @@ static struct dma_chan *udma_of_xlate(struct of_phandle_args *dma_spec,
 		}
 	}
 
-	chan = __dma_request_channel(&mask, udma_dma_filter_fn, &filter_param,
+	chan = __dma_request_channel(&ud->ddev.cap_mask, udma_dma_filter_fn, &filter_param,
 				     ofdma->of_node);
 	if (!chan) {
 		dev_err(ud->dev, "get channel fail in %s.\n", __func__);
drivers/gpio/gpio-pca953x.c +6 -0
index d764a3af6346..ef3aee1cabcf 100644
@@ -1203,6 +1203,8 @@ static int pca953x_restore_context(struct pca953x_chip *chip)
 
 	guard(mutex)(&chip->i2c_lock);
 
+	if (chip->client->irq > 0)
+		enable_irq(chip->client->irq);
 	regcache_cache_only(chip->regmap, false);
 	regcache_mark_dirty(chip->regmap);
 	ret = pca953x_regcache_sync(chip);
@@ -1215,6 +1217,10 @@ static int pca953x_restore_context(struct pca953x_chip *chip)
 static void pca953x_save_context(struct pca953x_chip *chip)
 {
 	guard(mutex)(&chip->i2c_lock);
+
+	/* Disable IRQ to prevent early triggering while regmap "cache only" is on */
+	if (chip->client->irq > 0)
+		disable_irq(chip->client->irq);
 	regcache_cache_only(chip->regmap, true);
 }
 
drivers/gpu/drm/amd/amdgpu/amdgpu.h +1 -2
index b7aad43d9ad0..7edf8d67a0fa 100644
@@ -853,6 +853,7 @@ struct amdgpu_device {
 	bool				need_swiotlb;
 	bool				accel_working;
 	struct notifier_block		acpi_nb;
+	struct notifier_block		pm_nb;
 	struct amdgpu_i2c_chan		*i2c_bus[AMDGPU_MAX_I2C_BUS];
 	struct debugfs_blob_wrapper     debugfs_vbios_blob;
 	struct debugfs_blob_wrapper     debugfs_discovery_blob;
@@ -1570,11 +1571,9 @@ static inline void amdgpu_acpi_get_backlight_caps(struct amdgpu_dm_backlight_cap
 #if defined(CONFIG_ACPI) && defined(CONFIG_SUSPEND)
 bool amdgpu_acpi_is_s3_active(struct amdgpu_device *adev);
 bool amdgpu_acpi_is_s0ix_active(struct amdgpu_device *adev);
-void amdgpu_choose_low_power_state(struct amdgpu_device *adev);
 #else
 static inline bool amdgpu_acpi_is_s0ix_active(struct amdgpu_device *adev) { return false; }
 static inline bool amdgpu_acpi_is_s3_active(struct amdgpu_device *adev) { return false; }
-static inline void amdgpu_choose_low_power_state(struct amdgpu_device *adev) { }
 #endif
 
 void amdgpu_register_gpu_instance(struct amdgpu_device *adev);
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c +0 -18
index b8d4e07d2043..bebfbc1497d8 100644
@@ -1533,22 +1533,4 @@ bool amdgpu_acpi_is_s0ix_active(struct amdgpu_device *adev)
 #endif /* CONFIG_AMD_PMC */
 }
 
-/**
- * amdgpu_choose_low_power_state
- *
- * @adev: amdgpu_device_pointer
- *
- * Choose the target low power state for the GPU
- */
-void amdgpu_choose_low_power_state(struct amdgpu_device *adev)
-{
-	if (adev->in_runpm)
-		return;
-
-	if (amdgpu_acpi_is_s0ix_active(adev))
-		adev->in_s0ix = true;
-	else if (amdgpu_acpi_is_s3_active(adev))
-		adev->in_s3 = true;
-}
-
 #endif /* CONFIG_SUSPEND */
drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c +1 -1
index cfdf558b48b6..02138aa55793 100644
@@ -109,7 +109,7 @@ int amdgpu_unmap_static_csa(struct amdgpu_device *adev, struct amdgpu_vm *vm,
 	struct drm_exec exec;
 	int r;
 
-	drm_exec_init(&exec, DRM_EXEC_INTERRUPTIBLE_WAIT, 0);
+	drm_exec_init(&exec, 0, 0);
 	drm_exec_until_all_locked(&exec) {
 		r = amdgpu_vm_lock_pd(vm, &exec, 0);
 		if (likely(!r))
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +38 -9

92 lines not on this page · raw message

drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +1 -10
index a9eb0927a766..1b479bd85135 100644
@@ -2635,7 +2635,6 @@ static int amdgpu_pmops_freeze(struct device *dev)
 	struct amdgpu_device *adev = drm_to_adev(drm_dev);
 	int r;
 
-	adev->in_s4 = true;
 	r = amdgpu_device_suspend(drm_dev, true);
 	if (r)
 		return r;
@@ -2648,13 +2647,8 @@ static int amdgpu_pmops_freeze(struct device *dev)
 static int amdgpu_pmops_thaw(struct device *dev)
 {
 	struct drm_device *drm_dev = dev_get_drvdata(dev);
-	struct amdgpu_device *adev = drm_to_adev(drm_dev);
-	int r;
-
-	r = amdgpu_device_resume(drm_dev, true);
-	adev->in_s4 = false;
 
-	return r;
+	return amdgpu_device_resume(drm_dev, true);
 }
 
 static int amdgpu_pmops_poweroff(struct device *dev)
@@ -2667,9 +2661,6 @@ static int amdgpu_pmops_poweroff(struct device *dev)
 static int amdgpu_pmops_restore(struct device *dev)
 {
 	struct drm_device *drm_dev = dev_get_drvdata(dev);
-	struct amdgpu_device *adev = drm_to_adev(drm_dev);
-
-	adev->in_s4 = false;
 
 	return amdgpu_device_resume(drm_dev, true);
 }
drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c +12 -0
index 4e9c23d65b02..87aaf5f1224f 100644
@@ -747,6 +747,18 @@ static int gmc_v11_0_sw_init(void *handle)
 	adev->gmc.vram_type = vram_type;
 	adev->gmc.vram_vendor = vram_vendor;
 
+	/* The mall_size is already calculated as mall_size_per_umc * num_umc.
+	 * However, for gfx1151, which features a 2-to-1 UMC mapping,
+	 * the result must be multiplied by 2 to determine the actual mall size.
+	 */
+	switch (amdgpu_ip_version(adev, GC_HWIP, 0)) {
+	case IP_VERSION(11, 5, 1):
+		adev->gmc.mall_size *= 2;
+		break;
+	default:
+		break;
+	}
+
 	switch (amdgpu_ip_version(adev, GC_HWIP, 0)) {
 	case IP_VERSION(11, 0, 0):
 	case IP_VERSION(11, 0, 1):
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +2 -1
index 66c50a09d2df..ff33760aa4fa 100644
@@ -12546,7 +12546,8 @@ int amdgpu_dm_process_dmub_aux_transfer_sync(
 		/* The reply is stored in the top nibble of the command. */
 		payload->reply[0] = (adev->dm.dmub_notify->aux_reply.command >> 4) & 0xF;
 
-	if (!payload->write && p_notify->aux_reply.length)
+	/*write req may receive a byte indicating partially written number as well*/
+	if (p_notify->aux_reply.length)
 		memcpy(payload->data, p_notify->aux_reply.data,
 				p_notify->aux_reply.length);
 
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c +11 -5
index dca8384af95d..fca0c31e14d8 100644
@@ -62,6 +62,7 @@ static ssize_t dm_dp_aux_transfer(struct drm_dp_aux *aux,
 	enum aux_return_code_type operation_result;
 	struct amdgpu_device *adev;
 	struct ddc_service *ddc;
+	uint8_t copy[16];
 
 	if (WARN_ON(msg->size > 16))
 		return -E2BIG;
@@ -77,6 +78,11 @@ static ssize_t dm_dp_aux_transfer(struct drm_dp_aux *aux,
 			(msg->request & DP_AUX_I2C_WRITE_STATUS_UPDATE) != 0;
 	payload.defer_delay = 0;
 
+	if (payload.write) {
+		memcpy(copy, msg->buffer, msg->size);
+		payload.data = copy;
+	}
+
 	result = dc_link_aux_transfer_raw(TO_DM_AUX(aux)->ddc_service, &payload,
 				      &operation_result);
 
@@ -100,9 +106,9 @@ static ssize_t dm_dp_aux_transfer(struct drm_dp_aux *aux,
 	 */
 	if (payload.write && result >= 0) {
 		if (result) {
-			/*one byte indicating partially written bytes. Force 0 to retry*/
-			drm_info(adev_to_drm(adev), "amdgpu: AUX partially written\n");
-			result = 0;
+			/*one byte indicating partially written bytes*/
+			drm_dbg_dp(adev_to_drm(adev), "amdgpu: AUX partially written\n");
+			result = payload.data[0];
 		} else if (!payload.reply[0])
 			/*I2C_ACK|AUX_ACK*/
 			result = msg->size;
@@ -127,11 +133,11 @@ static ssize_t dm_dp_aux_transfer(struct drm_dp_aux *aux,
 			break;
 		}
 
-		drm_info(adev_to_drm(adev), "amdgpu: DP AUX transfer fail:%d\n", operation_result);
+		drm_dbg_dp(adev_to_drm(adev), "amdgpu: DP AUX transfer fail:%d\n", operation_result);
 	}
 
 	if (payload.reply[0])
-		drm_info(adev_to_drm(adev), "amdgpu: AUX reply command not ACK: 0x%02x.",
+		drm_dbg_dp(adev_to_drm(adev), "amdgpu: AUX reply command not ACK: 0x%02x.",
 			payload.reply[0]);
 
 	return result;
drivers/gpu/drm/amd/display/dc/dpp/dcn401/dcn401_dpp_cm.c +3 -2
index 1236e0f9a256..712aff7e17f7 100644
@@ -120,10 +120,11 @@ void dpp401_set_cursor_attributes(
 	enum dc_cursor_color_format color_format = cursor_attributes->color_format;
 	int cur_rom_en = 0;
 
-	// DCN4 should always do Cursor degamma for Cursor Color modes
 	if (color_format == CURSOR_MODE_COLOR_PRE_MULTIPLIED_ALPHA ||
 		color_format == CURSOR_MODE_COLOR_UN_PRE_MULTIPLIED_ALPHA) {
-		cur_rom_en = 1;
+		if (cursor_attributes->attribute_flags.bits.ENABLE_CURSOR_DEGAMMA) {
+			cur_rom_en = 1;
+		}
 	}
 
 	REG_UPDATE_3(CURSOR0_CONTROL,
drivers/gpu/drm/drm_fbdev_dma.c +36 -24

78 lines not on this page · raw message

drivers/gpu/drm/tiny/Kconfig +1 -0
index f6889f649bc1..ce17143d47a8 100644
@@ -67,6 +67,7 @@ config DRM_OFDRM
 config DRM_PANEL_MIPI_DBI
 	tristate "DRM support for MIPI DBI compatible panels"
 	depends on DRM && SPI
+	select DRM_CLIENT_SELECTION
 	select DRM_KMS_HELPER
 	select DRM_GEM_DMA_HELPER
 	select DRM_MIPI_DBI
drivers/gpu/drm/tiny/panel-mipi-dbi.c +6 -1
index f753cdffe6f8..ac159e8127d5 100644
@@ -15,6 +15,7 @@
 #include <linux/spi/spi.h>
 
 #include <drm/drm_atomic_helper.h>
+#include <drm/drm_client_setup.h>
 #include <drm/drm_drv.h>
 #include <drm/drm_fbdev_dma.h>
 #include <drm/drm_gem_atomic_helper.h>
@@ -264,6 +265,7 @@ static const struct drm_driver panel_mipi_dbi_driver = {
 	.driver_features	= DRIVER_GEM | DRIVER_MODESET | DRIVER_ATOMIC,
 	.fops			= &panel_mipi_dbi_fops,
 	DRM_GEM_DMA_DRIVER_OPS_VMAP,
+	DRM_FBDEV_DMA_DRIVER_OPS,
 	.debugfs_init		= mipi_dbi_debugfs_init,
 	.name			= "panel-mipi-dbi",
 	.desc			= "MIPI DBI compatible display panel",
@@ -388,7 +390,10 @@ static int panel_mipi_dbi_spi_probe(struct spi_device *spi)
 
 	spi_set_drvdata(spi, drm);
 
-	drm_fbdev_dma_setup(drm, 0);
+	if (bpp == 16)
+		drm_client_setup_with_fourcc(drm, DRM_FORMAT_RGB565);
+	else
+		drm_client_setup_with_fourcc(drm, DRM_FORMAT_RGB888);
 
 	return 0;
 }
drivers/gpu/drm/xe/instructions/xe_mi_commands.h +4 -0
index 10ec2920d31b..d4033278be9f 100644
@@ -47,6 +47,10 @@
 #define   MI_LRI_FORCE_POSTED		REG_BIT(12)
 #define   MI_LRI_LEN(x)			(((x) & 0xff) + 1)
 
+#define MI_STORE_REGISTER_MEM		(__MI_INSTR(0x24) | XE_INSTR_NUM_DW(4))
+#define   MI_SRM_USE_GGTT		REG_BIT(22)
+#define   MI_SRM_ADD_CS_OFFSET		REG_BIT(19)
+
 #define MI_FLUSH_DW			__MI_INSTR(0x26)
 #define   MI_FLUSH_DW_STORE_INDEX	REG_BIT(21)
 #define   MI_INVALIDATE_TLB		REG_BIT(18)
drivers/gpu/drm/xe/xe_gsc.c +22 -0
index 6fbea70d3d36..feb680d127e6 100644
@@ -564,6 +564,28 @@ void xe_gsc_remove(struct xe_gsc *gsc)
 	xe_gsc_proxy_remove(gsc);
 }
 
+void xe_gsc_stop_prepare(struct xe_gsc *gsc)
+{
+	struct xe_gt *gt = gsc_to_gt(gsc);
+	int ret;
+
+	if (!xe_uc_fw_is_loadable(&gsc->fw) || xe_uc_fw_is_in_error_state(&gsc->fw))
+		return;
+
+	xe_force_wake_assert_held(gt_to_fw(gt), XE_FW_GSC);
+
+	/*
+	 * If the GSC FW load or the proxy init are interrupted, the only way
+	 * to recover it is to do an FLR and reload the GSC from scratch.
+	 * Therefore, let's wait for the init to complete before stopping
+	 * operations. The proxy init is the last step, so we can just wait on
+	 * that
+	 */
+	ret = xe_gsc_wait_for_proxy_init_done(gsc);
+	if (ret)
+		xe_gt_err(gt, "failed to wait for GSC init completion before uc stop\n");
+}
+
 /*
  * wa_14015076503: if the GSC FW is loaded, we need to alert it before doing a
  * GSC engine reset by writing a notification bit in the GS1 register and then
drivers/gpu/drm/xe/xe_gsc.h +1 -0
index e282b9ef6ec4..c31fe24c4b66 100644
@@ -16,6 +16,7 @@ struct xe_hw_engine;
 int xe_gsc_init(struct xe_gsc *gsc);
 int xe_gsc_init_post_hwconfig(struct xe_gsc *gsc);
 void xe_gsc_wait_for_worker_completion(struct xe_gsc *gsc);
+void xe_gsc_stop_prepare(struct xe_gsc *gsc);
 void xe_gsc_load_start(struct xe_gsc *gsc);
 void xe_gsc_remove(struct xe_gsc *gsc);
 void xe_gsc_hwe_irq_handler(struct xe_hw_engine *hwe, u16 intr_vec);
drivers/gpu/drm/xe/xe_gsc_proxy.c +11 -0
index 2d6ea8c01445..85801de4fab1 100644
@@ -71,6 +71,17 @@ bool xe_gsc_proxy_init_done(struct xe_gsc *gsc)
 	       HECI1_FWSTS1_PROXY_STATE_NORMAL;
 }
 
+int xe_gsc_wait_for_proxy_init_done(struct xe_gsc *gsc)
+{
+	struct xe_gt *gt = gsc_to_gt(gsc);
+
+	/* Proxy init can take up to 500ms, so wait double that for safety */
+	return xe_mmio_wait32(gt, HECI_FWSTS1(MTL_GSC_HECI1_BASE),
+			      HECI1_FWSTS1_CURRENT_STATE,
+			      HECI1_FWSTS1_PROXY_STATE_NORMAL,
+			      USEC_PER_SEC, NULL, false);
+}
+
 static void __gsc_proxy_irq_rmw(struct xe_gsc *gsc, u32 clr, u32 set)
 {
 	struct xe_gt *gt = gsc_to_gt(gsc);
drivers/gpu/drm/xe/xe_gsc_proxy.h +1 -0
index c511ade6b863..e2498aa6de18 100644
@@ -13,6 +13,7 @@ struct xe_gsc;
 int xe_gsc_proxy_init(struct xe_gsc *gsc);
 bool xe_gsc_proxy_init_done(struct xe_gsc *gsc);
 void xe_gsc_proxy_remove(struct xe_gsc *gsc);
+int xe_gsc_wait_for_proxy_init_done(struct xe_gsc *gsc);
 int xe_gsc_proxy_start(struct xe_gsc *gsc);
 
 int xe_gsc_proxy_request_handler(struct xe_gsc *gsc);
drivers/gpu/drm/xe/xe_gt.c +1 -1
index 17ba15132a98..3a7628fb5ad3 100644
@@ -828,7 +828,7 @@ void xe_gt_suspend_prepare(struct xe_gt *gt)
 {
 	XE_WARN_ON(xe_force_wake_get(gt_to_fw(gt), XE_FORCEWAKE_ALL));
 
-	xe_uc_stop_prepare(&gt->uc);
+	xe_uc_suspend_prepare(&gt->uc);
 
 	XE_WARN_ON(xe_force_wake_put(gt_to_fw(gt), XE_FORCEWAKE_ALL));
 }
drivers/gpu/drm/xe/xe_lrc.c +1 -1
index aec7db39c061..2d4e38b3bab1 100644
@@ -694,7 +694,7 @@ static inline u32 __xe_lrc_start_seqno_offset(struct xe_lrc *lrc)
 
 static u32 __xe_lrc_ctx_job_timestamp_offset(struct xe_lrc *lrc)
 {
-	/* The start seqno is stored in the driver-defined portion of PPHWSP */
+	/* This is stored in the driver-defined portion of PPHWSP */
 	return xe_lrc_pphwsp_offset(lrc) + LRC_CTX_JOB_TIMESTAMP_OFFSET;
 }
 
drivers/gpu/drm/xe/xe_ring_ops.c +2 -5
index 9f327f27c072..fb31e09acb51 100644
@@ -229,13 +229,10 @@ static u32 get_ppgtt_flag(struct xe_sched_job *job)
 
 static int emit_copy_timestamp(struct xe_lrc *lrc, u32 *dw, int i)
 {
-	dw[i++] = MI_COPY_MEM_MEM | MI_COPY_MEM_MEM_SRC_GGTT |
-		MI_COPY_MEM_MEM_DST_GGTT;
+	dw[i++] = MI_STORE_REGISTER_MEM | MI_SRM_USE_GGTT | MI_SRM_ADD_CS_OFFSET;
+	dw[i++] = RING_CTX_TIMESTAMP(0).addr;
 	dw[i++] = xe_lrc_ctx_job_timestamp_ggtt_addr(lrc);
 	dw[i++] = 0;
-	dw[i++] = xe_lrc_ctx_timestamp_ggtt_addr(lrc);
-	dw[i++] = 0;
-	dw[i++] = MI_NOOP;
 
 	return i;
 }
drivers/gpu/drm/xe/xe_uc.c +7 -1
index 0d073a9987c2..bb03c524613f 100644
@@ -241,7 +241,7 @@ void xe_uc_gucrc_disable(struct xe_uc *uc)
 
 void xe_uc_stop_prepare(struct xe_uc *uc)
 {
-	xe_gsc_wait_for_worker_completion(&uc->gsc);
+	xe_gsc_stop_prepare(&uc->gsc);
 	xe_guc_stop_prepare(&uc->guc);
 }
 
@@ -275,6 +275,12 @@ static void uc_reset_wait(struct xe_uc *uc)
 		goto again;
 }
 
+void xe_uc_suspend_prepare(struct xe_uc *uc)
+{
+	xe_gsc_wait_for_worker_completion(&uc->gsc);
+	xe_guc_stop_prepare(&uc->guc);
+}
+
 int xe_uc_suspend(struct xe_uc *uc)
 {
 	/* GuC submission not enabled, nothing to do */
drivers/gpu/drm/xe/xe_uc.h +1 -0
index 506517c11333..ba2937ab94cf 100644
@@ -18,6 +18,7 @@ int xe_uc_reset_prepare(struct xe_uc *uc);
 void xe_uc_stop_prepare(struct xe_uc *uc);
 void xe_uc_stop(struct xe_uc *uc);
 int xe_uc_start(struct xe_uc *uc);
+void xe_uc_suspend_prepare(struct xe_uc *uc);
 int xe_uc_suspend(struct xe_uc *uc);
 int xe_uc_sanitize_reset(struct xe_uc *uc);
 void xe_uc_remove(struct xe_uc *uc);
drivers/hid/bpf/hid_bpf_dispatch.c +9 -0
index 8420c227e21b..bd3cc5636648 100644
@@ -38,6 +38,9 @@ dispatch_hid_bpf_device_event(struct hid_device *hdev, enum hid_report_type type
 	struct hid_bpf_ops *e;
 	int ret;
 
+	if (unlikely(hdev->bpf.destroyed))
+		return ERR_PTR(-ENODEV);
+
 	if (type >= HID_REPORT_TYPES)
 		return ERR_PTR(-EINVAL);
 
@@ -93,6 +96,9 @@ int dispatch_hid_bpf_raw_requests(struct hid_device *hdev,
 	struct hid_bpf_ops *e;
 	int ret, idx;
 
+	if (unlikely(hdev->bpf.destroyed))
+		return -ENODEV;
+
 	if (rtype >= HID_REPORT_TYPES)
 		return -EINVAL;
 
@@ -130,6 +136,9 @@ int dispatch_hid_bpf_output_report(struct hid_device *hdev,
 	struct hid_bpf_ops *e;
 	int ret, idx;
 
+	if (unlikely(hdev->bpf.destroyed))
+		return -ENODEV;
+
 	idx = srcu_read_lock(&hdev->bpf.srcu);
 	list_for_each_entry_srcu(e, &hdev->bpf.prog_list, list,
 				 srcu_read_lock_held(&hdev->bpf.srcu)) {
drivers/hid/hid-thrustmaster.c +1 -0
index 3b81468a1df2..0bf70664c35e 100644
@@ -174,6 +174,7 @@ static void thrustmaster_interrupts(struct hid_device *hdev)
 	u8 ep_addr[2] = {b_ep, 0};
 
 	if (!usb_check_int_endpoints(usbif, ep_addr)) {
+		kfree(send_buf);
 		hid_err(hdev, "Unexpected non-int endpoint\n");
 		return;
 	}
drivers/hid/hid-uclogic-core.c +4 -3
index d8008933c052..321c43fb06ae 100644
@@ -142,11 +142,12 @@ static int uclogic_input_configured(struct hid_device *hdev,
 			suffix = "System Control";
 			break;
 		}
-	}
-
-	if (suffix)
+	} else {
 		hi->input->name = devm_kasprintf(&hdev->dev, GFP_KERNEL,
 						 "%s %s", hdev->name, suffix);
+		if (!hi->input->name)
+			return -ENOMEM;
+	}
 
 	return 0;
 }
drivers/hv/channel.c +3 -62

78 lines not on this page · raw message

drivers/hv/hyperv_vmbus.h +6 -0
index 52cb744b4d7f..e4136cbaa4d4 100644
@@ -485,4 +485,10 @@ static inline int hv_debug_add_dev_dir(struct hv_device *dev)
 
 #endif /* CONFIG_HYPERV_TESTING */
 
+/* Create and remove sysfs entry for memory mapped ring buffers for a channel */
+int hv_create_ring_sysfs(struct vmbus_channel *channel,
+			 int (*hv_mmap_ring_buffer)(struct vmbus_channel *channel,
+						    struct vm_area_struct *vma));
+int hv_remove_ring_sysfs(struct vmbus_channel *channel);
+
 #endif /* _HYPERV_VMBUS_H */
drivers/hv/vmbus_drv.c +99 -1

126 lines not on this page · raw message

drivers/iio/adc/ad7266.c +1 -1
index 7949b076fb87..d4c9b85135f5 100644
@@ -45,7 +45,7 @@ struct ad7266_state {
 	 */
 	struct {
 		__be16 sample[2];
-		s64 timestamp;
+		aligned_s64 timestamp;
 	} data __aligned(IIO_DMA_MINALIGN);
 };
 
drivers/iio/adc/ad7768-1.c +1 -1
index 157a0df97f97..a9248a85466e 100644
@@ -169,7 +169,7 @@ struct ad7768_state {
 	union {
 		struct {
 			__be32 chan;
-			s64 timestamp;
+			aligned_s64 timestamp;
 		} scan;
 		__be32 d32;
 		u8 d8[2];
drivers/iio/chemical/pms7003.c +3 -2
index d0bd94912e0a..e05ce1f12065 100644
@@ -5,7 +5,6 @@
  * Copyright (c) Tomasz Duszynski <[email protected]>
  */
 
-#include <linux/unaligned.h>
 #include <linux/completion.h>
 #include <linux/device.h>
 #include <linux/errno.h>
@@ -19,6 +18,8 @@
 #include <linux/module.h>
 #include <linux/mutex.h>
 #include <linux/serdev.h>
+#include <linux/types.h>
+#include <linux/unaligned.h>
 
 #define PMS7003_DRIVER_NAME "pms7003"
 
@@ -76,7 +77,7 @@ struct pms7003_state {
 	/* Used to construct scan to push to the IIO buffer */
 	struct {
 		u16 data[3]; /* PM1, PM2P5, PM10 */
-		s64 ts;
+		aligned_s64 ts;
 	} scan;
 };
 
drivers/iio/chemical/sps30.c +1 -1
index 814ce0aad1cc..4085a36cd1db 100644
@@ -108,7 +108,7 @@ static irqreturn_t sps30_trigger_handler(int irq, void *p)
 	int ret;
 	struct {
 		s32 data[4]; /* PM1, PM2P5, PM4, PM10 */
-		s64 ts;
+		aligned_s64 ts;
 	} scan;
 
 	mutex_lock(&state->lock);
drivers/iio/light/opt3001.c +3 -2
index 176e54bb48c3..d5ca75b12883 100644
@@ -692,8 +692,9 @@ static irqreturn_t opt3001_irq(int irq, void *_iio)
 	struct opt3001 *opt = iio_priv(iio);
 	int ret;
 	bool wake_result_ready_queue = false;
+	bool ok_to_ignore_lock = opt->ok_to_ignore_lock;
 
-	if (!opt->ok_to_ignore_lock)
+	if (!ok_to_ignore_lock)
 		mutex_lock(&opt->lock);
 
 	ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_CONFIGURATION);
@@ -730,7 +731,7 @@ static irqreturn_t opt3001_irq(int irq, void *_iio)
 	}
 
 out:
-	if (!opt->ok_to_ignore_lock)
+	if (!ok_to_ignore_lock)
 		mutex_unlock(&opt->lock);
 
 	if (wake_result_ready_queue)
drivers/iio/pressure/mprls0025pa.h +6 -11
index 9d5c30afa9d6..d62a018eaff3 100644
@@ -34,16 +34,6 @@ struct iio_dev;
 struct mpr_data;
 struct mpr_ops;
 
-/**
- * struct mpr_chan
- * @pres: pressure value
- * @ts: timestamp
- */
-struct mpr_chan {
-	s32 pres;
-	s64 ts;
-};
-
 enum mpr_func_id {
 	MPR_FUNCTION_A,
 	MPR_FUNCTION_B,
@@ -69,6 +59,8 @@ enum mpr_func_id {
  *       reading in a loop until data is ready
  * @completion: handshake from irq to read
  * @chan: channel values for buffered mode
+ * @chan.pres: pressure value
+ * @chan.ts: timestamp
  * @buffer: raw conversion data
  */
 struct mpr_data {
@@ -87,7 +79,10 @@ struct mpr_data {
 	struct gpio_desc	*gpiod_reset;
 	int			irq;
 	struct completion	completion;
-	struct mpr_chan		chan;
+	struct {
+		s32 pres;
+		aligned_s64 ts;
+	} chan;
 	u8	    buffer[MPR_MEASUREMENT_RD_SIZE] __aligned(IIO_DMA_MINALIGN);
 };
 
drivers/infiniband/core/device.c +4 -2
index 46102f179955..df2aa15a5bc9 100644
@@ -1368,6 +1368,9 @@ static void ib_device_notify_register(struct ib_device *device)
 
 	down_read(&devices_rwsem);
 
+	/* Mark for userspace that device is ready */
+	kobject_uevent(&device->dev.kobj, KOBJ_ADD);
+
 	ret = rdma_nl_notify_event(device, 0, RDMA_REGISTER_EVENT);
 	if (ret)
 		goto out;
@@ -1484,10 +1487,9 @@ int ib_register_device(struct ib_device *device, const char *name,
 		return ret;
 	}
 	dev_set_uevent_suppress(&device->dev, false);
-	/* Mark for userspace that device is ready */
-	kobject_uevent(&device->dev.kobj, KOBJ_ADD);
 
 	ib_device_notify_register(device);
+
 	ib_device_put(device);
 
 	return 0;
drivers/infiniband/sw/rxe/rxe_cq.c +1 -4
index fec87c9030ab..fffd144d509e 100644
@@ -56,11 +56,8 @@ int rxe_cq_from_init(struct rxe_dev *rxe, struct rxe_cq *cq, int cqe,
 
 	err = do_mmap_info(rxe, uresp ? &uresp->mi : NULL, udata,
 			   cq->queue->buf, cq->queue->buf_size, &cq->queue->ip);
-	if (err) {
-		vfree(cq->queue->buf);
-		kfree(cq->queue);
+	if (err)
 		return err;
-	}
 
 	cq->is_user = uresp;
 
drivers/net/dsa/b53/b53_common.c +33 -0
index e072d2b50c98..0168ad495e6c 100644
@@ -326,6 +326,26 @@ static void b53_get_vlan_entry(struct b53_device *dev, u16 vid,
 	}
 }
 
+static void b53_set_eap_mode(struct b53_device *dev, int port, int mode)
+{
+	u64 eap_conf;
+
+	if (is5325(dev) || is5365(dev) || dev->chip_id == BCM5389_DEVICE_ID)
+		return;
+
+	b53_read64(dev, B53_EAP_PAGE, B53_PORT_EAP_CONF(port), &eap_conf);
+
+	if (is63xx(dev)) {
+		eap_conf &= ~EAP_MODE_MASK_63XX;
+		eap_conf |= (u64)mode << EAP_MODE_SHIFT_63XX;
+	} else {
+		eap_conf &= ~EAP_MODE_MASK;
+		eap_conf |= (u64)mode << EAP_MODE_SHIFT;
+	}
+
+	b53_write64(dev, B53_EAP_PAGE, B53_PORT_EAP_CONF(port), eap_conf);
+}
+
 static void b53_set_forwarding(struct b53_device *dev, int enable)
 {
 	u8 mgmt;
@@ -586,6 +606,13 @@ int b53_setup_port(struct dsa_switch *ds, int port)
 	b53_port_set_mcast_flood(dev, port, true);
 	b53_port_set_learning(dev, port, false);
 
+	/* Force all traffic to go to the CPU port to prevent the ASIC from
+	 * trying to forward to bridged ports on matching FDB entries, then
+	 * dropping frames because it isn't allowed to forward there.
+	 */
+	if (dsa_is_user_port(ds, port))
+		b53_set_eap_mode(dev, port, EAP_MODE_SIMPLIFIED);
+
 	return 0;
 }
 EXPORT_SYMBOL(b53_setup_port);
@@ -2043,6 +2070,9 @@ int b53_br_join(struct dsa_switch *ds, int port, struct dsa_bridge bridge,
 		pvlan |= BIT(i);
 	}
 
+	/* Disable redirection of unknown SA to the CPU port */
+	b53_set_eap_mode(dev, port, EAP_MODE_BASIC);
+
 	/* Configure the local port VLAN control membership to include
 	 * remote ports and update the local port bitmask
 	 */
@@ -2078,6 +2108,9 @@ void b53_br_leave(struct dsa_switch *ds, int port, struct dsa_bridge bridge)
 			pvlan &= ~BIT(i);
 	}
 
+	/* Enable redirection of unknown SA to the CPU port */
+	b53_set_eap_mode(dev, port, EAP_MODE_SIMPLIFIED);
+
 	b53_write16(dev, B53_PVLAN_PAGE, B53_PVLAN_PORT_MASK(port), pvlan);
 	dev->ports[port].vlan_ctl_mask = pvlan;
 
drivers/net/dsa/b53/b53_regs.h +14 -0
index bfbcb66bef66..5f7a0e5c5709 100644
@@ -50,6 +50,9 @@
 /* Jumbo Frame Registers */
 #define B53_JUMBO_PAGE			0x40
 
+/* EAP Registers */
+#define B53_EAP_PAGE			0x42
+
 /* EEE Control Registers Page */
 #define B53_EEE_PAGE			0x92
 
@@ -480,6 +483,17 @@
 #define   JMS_MIN_SIZE			1518
 #define   JMS_MAX_SIZE			9724
 
+/*************************************************************************
+ * EAP Page Registers
+ *************************************************************************/
+#define B53_PORT_EAP_CONF(i)		(0x20 + 8 * (i))
+#define  EAP_MODE_SHIFT			51
+#define  EAP_MODE_SHIFT_63XX		50
+#define  EAP_MODE_MASK			(0x3ull << EAP_MODE_SHIFT)
+#define  EAP_MODE_MASK_63XX		(0x3ull << EAP_MODE_SHIFT_63XX)
+#define  EAP_MODE_BASIC			0
+#define  EAP_MODE_SIMPLIFIED		3
+
 /*************************************************************************
  * EEE Configuration Page Registers
  *************************************************************************/
drivers/net/dsa/sja1105/sja1105_main.c +1 -5
index d0563ef59acf..fbac2a647b20 100644
@@ -2083,6 +2083,7 @@ static void sja1105_bridge_stp_state_set(struct dsa_switch *ds, int port,
 	switch (state) {
 	case BR_STATE_DISABLED:
 	case BR_STATE_BLOCKING:
+	case BR_STATE_LISTENING:
 		/* From UM10944 description of DRPDTAG (why put this there?):
 		 * "Management traffic flows to the port regardless of the state
 		 * of the INGRESS flag". So BPDUs are still be allowed to pass.
@@ -2092,11 +2093,6 @@ static void sja1105_bridge_stp_state_set(struct dsa_switch *ds, int port,
 		mac[port].egress    = false;
 		mac[port].dyn_learn = false;
 		break;
-	case BR_STATE_LISTENING:
-		mac[port].ingress   = true;
-		mac[port].egress    = false;
-		mac[port].dyn_learn = false;
-		break;
 	case BR_STATE_LEARNING:
 		mac[port].ingress   = true;
 		mac[port].egress    = false;
drivers/net/ethernet/cadence/macb_main.c +6 -13
index 60847cdb516e..ae100ed8ed6b 100644
@@ -1016,22 +1016,15 @@ static void macb_update_stats(struct macb *bp)
 
 static int macb_halt_tx(struct macb *bp)
 {
-	unsigned long	halt_time, timeout;
-	u32		status;
+	u32 status;
 
 	macb_writel(bp, NCR, macb_readl(bp, NCR) | MACB_BIT(THALT));
 
-	timeout = jiffies + usecs_to_jiffies(MACB_HALT_TIMEOUT);
-	do {
-		halt_time = jiffies;
-		status = macb_readl(bp, TSR);
-		if (!(status & MACB_BIT(TGO)))
-			return 0;
-
-		udelay(250);
-	} while (time_before(halt_time, timeout));
-
-	return -ETIMEDOUT;
+	/* Poll TSR until TGO is cleared or timeout. */
+	return read_poll_timeout_atomic(macb_readl, status,
+					!(status & MACB_BIT(TGO)),
+					250, MACB_HALT_TIMEOUT, false,
+					bp, TSR);
 }
 
 static void macb_tx_unmap(struct macb *bp, struct macb_tx_skb *tx_skb, int budget)
drivers/net/ethernet/engleder/tsnep_main.c +19 -11
index 44da335d66bd..6a6efe2b2bc5 100644
@@ -67,6 +67,8 @@
 #define TSNEP_TX_TYPE_XDP_NDO_MAP_PAGE	(TSNEP_TX_TYPE_XDP_NDO | TSNEP_TX_TYPE_MAP_PAGE)
 #define TSNEP_TX_TYPE_XDP		(TSNEP_TX_TYPE_XDP_TX | TSNEP_TX_TYPE_XDP_NDO)
 #define TSNEP_TX_TYPE_XSK		BIT(12)
+#define TSNEP_TX_TYPE_TSTAMP		BIT(13)
+#define TSNEP_TX_TYPE_SKB_TSTAMP	(TSNEP_TX_TYPE_SKB | TSNEP_TX_TYPE_TSTAMP)
 
 #define TSNEP_XDP_TX		BIT(0)
 #define TSNEP_XDP_REDIRECT	BIT(1)
@@ -387,8 +389,7 @@ static void tsnep_tx_activate(struct tsnep_tx *tx, int index, int length,
 	if (entry->skb) {
 		entry->properties = length & TSNEP_DESC_LENGTH_MASK;
 		entry->properties |= TSNEP_DESC_INTERRUPT_FLAG;
-		if ((entry->type & TSNEP_TX_TYPE_SKB) &&
-		    (skb_shinfo(entry->skb)->tx_flags & SKBTX_IN_PROGRESS))
+		if ((entry->type & TSNEP_TX_TYPE_SKB_TSTAMP) == TSNEP_TX_TYPE_SKB_TSTAMP)
 			entry->properties |= TSNEP_DESC_EXTENDED_WRITEBACK_FLAG;
 
 		/* toggle user flag to prevent false acknowledge
@@ -480,7 +481,8 @@ static int tsnep_tx_map_frag(skb_frag_t *frag, struct tsnep_tx_entry *entry,
 	return mapped;
 }
 
-static int tsnep_tx_map(struct sk_buff *skb, struct tsnep_tx *tx, int count)
+static int tsnep_tx_map(struct sk_buff *skb, struct tsnep_tx *tx, int count,
+			bool do_tstamp)
 {
 	struct device *dmadev = tx->adapter->dmadev;
 	struct tsnep_tx_entry *entry;
@@ -506,6 +508,9 @@ static int tsnep_tx_map(struct sk_buff *skb, struct tsnep_tx *tx, int count)
 				entry->type = TSNEP_TX_TYPE_SKB_INLINE;
 				mapped = 0;
 			}
+
+			if (do_tstamp)
+				entry->type |= TSNEP_TX_TYPE_TSTAMP;
 		} else {
 			skb_frag_t *frag = &skb_shinfo(skb)->frags[i - 1];
 
@@ -559,11 +564,12 @@ static int tsnep_tx_unmap(struct tsnep_tx *tx, int index, int count)
 static netdev_tx_t tsnep_xmit_frame_ring(struct sk_buff *skb,
 					 struct tsnep_tx *tx)
 {
-	int count = 1;
 	struct tsnep_tx_entry *entry;
+	bool do_tstamp = false;
+	int count = 1;
 	int length;
-	int i;
 	int retval;
+	int i;
 
 	if (skb_shinfo(skb)->nr_frags > 0)
 		count += skb_shinfo(skb)->nr_frags;
@@ -580,7 +586,13 @@ static netdev_tx_t tsnep_xmit_frame_ring(struct sk_buff *skb,
 	entry = &tx->entry[tx->write];
 	entry->skb = skb;
 
-	retval = tsnep_tx_map(skb, tx, count);
+	if (unlikely(skb_shinfo(skb)->tx_flags & SKBTX_HW_TSTAMP) &&
+	    tx->adapter->hwtstamp_config.tx_type == HWTSTAMP_TX_ON) {
+		skb_shinfo(skb)->tx_flags |= SKBTX_IN_PROGRESS;
+		do_tstamp = true;
+	}
+
+	retval = tsnep_tx_map(skb, tx, count, do_tstamp);
 	if (retval < 0) {
 		tsnep_tx_unmap(tx, tx->write, count);
 		dev_kfree_skb_any(entry->skb);
@@ -592,9 +604,6 @@ static netdev_tx_t tsnep_xmit_frame_ring(struct sk_buff *skb,
 	}
 	length = retval;
 
-	if (skb_shinfo(skb)->tx_flags & SKBTX_HW_TSTAMP)
-		skb_shinfo(skb)->tx_flags |= SKBTX_IN_PROGRESS;
-
 	for (i = 0; i < count; i++)
 		tsnep_tx_activate(tx, (tx->write + i) & TSNEP_RING_MASK, length,
 				  i == count - 1);
@@ -845,8 +854,7 @@ static bool tsnep_tx_poll(struct tsnep_tx *tx, int napi_budget)
 
 		length = tsnep_tx_unmap(tx, tx->read, count);
 
-		if ((entry->type & TSNEP_TX_TYPE_SKB) &&
-		    (skb_shinfo(entry->skb)->tx_flags & SKBTX_IN_PROGRESS) &&
+		if (((entry->type & TSNEP_TX_TYPE_SKB_TSTAMP) == TSNEP_TX_TYPE_SKB_TSTAMP) &&
 		    (__le32_to_cpu(entry->desc_wb->properties) &
 		     TSNEP_DESC_EXTENDED_WRITEBACK_FLAG)) {
 			struct skb_shared_hwtstamps hwtstamps;
drivers/net/ethernet/marvell/octeontx2/af/cgx.c +5 -0
index 8216f843a7cd..e43c4608d3ba 100644
@@ -707,6 +707,11 @@ int cgx_get_rx_stats(void *cgxd, int lmac_id, int idx, u64 *rx_stat)
 
 	if (!is_lmac_valid(cgx, lmac_id))
 		return -ENODEV;
+
+	/* pass lmac as 0 for CGX_CMR_RX_STAT9-12 */
+	if (idx >= CGX_RX_STAT_GLOBAL_INDEX)
+		lmac_id = 0;
+
 	*rx_stat =  cgx_read(cgx, lmac_id, CGXX_CMRX_RX_STAT0 + (idx * 8));
 	return 0;
 }
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c +2 -1
index 6cc7a78968fc..74953f67a2bf 100644
@@ -533,7 +533,8 @@ static int cn10k_mcs_write_tx_secy(struct otx2_nic *pfvf,
 	if (sw_tx_sc->encrypt)
 		sectag_tci |= (MCS_TCI_E | MCS_TCI_C);
 
-	policy = FIELD_PREP(MCS_TX_SECY_PLCY_MTU, secy->netdev->mtu);
+	policy = FIELD_PREP(MCS_TX_SECY_PLCY_MTU,
+			    pfvf->netdev->mtu + OTX2_ETH_HLEN);
 	/* Write SecTag excluding AN bits(1..0) */
 	policy |= FIELD_PREP(MCS_TX_SECY_PLCY_ST_TCI, sectag_tci >> 2);
 	policy |= FIELD_PREP(MCS_TX_SECY_PLCY_ST_OFFSET, tag_offset);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h +1 -0
index f27a3456ae64..5b45fd78d282 100644
@@ -364,6 +364,7 @@ struct otx2_flow_config {
 	struct list_head	flow_list_tc;
 	u8			ucast_flt_cnt;
 	bool			ntuple;
+	u16			ntuple_cnt;
 };
 
 struct dev_hw_ops {
drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.c +1 -0
index 53f14aa944bd..aaea19345750 100644
@@ -41,6 +41,7 @@ static int otx2_dl_mcam_count_set(struct devlink *devlink, u32 id,
 	if (!pfvf->flow_cfg)
 		return 0;
 
+	pfvf->flow_cfg->ntuple_cnt = ctx->val.vu16;
 	otx2_alloc_mcam_entries(pfvf, ctx->val.vu16);
 
 	return 0;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c +2 -1
index 58720a161ee2..2750326bfcf8 100644
@@ -252,7 +252,7 @@ int otx2_mcam_entry_init(struct otx2_nic *pfvf)
 	mutex_unlock(&pfvf->mbox.lock);
 
 	/* Allocate entries for Ntuple filters */
-	count = otx2_alloc_mcam_entries(pfvf, OTX2_DEFAULT_FLOWCOUNT);
+	count = otx2_alloc_mcam_entries(pfvf, flow_cfg->ntuple_cnt);
 	if (count <= 0) {
 		otx2_clear_ntuple_flow_info(pfvf, flow_cfg);
 		return 0;
@@ -312,6 +312,7 @@ int otx2_mcam_flow_init(struct otx2_nic *pf)
 	INIT_LIST_HEAD(&pf->flow_cfg->flow_list_tc);
 
 	pf->flow_cfg->ucast_flt_cnt = OTX2_DEFAULT_UNICAST_FLOWS;
+	pf->flow_cfg->ntuple_cnt = OTX2_DEFAULT_FLOWCOUNT;
 
 	/* Allocate bare minimum number of MCAM entries needed for
 	 * unicast and ntuple filters.
drivers/net/ethernet/mediatek/mtk_eth_soc.c +1 -1
index 0a13f7c4684e..272f178906d6 100644
@@ -4685,7 +4685,7 @@ static int mtk_add_mac(struct mtk_eth *eth, struct device_node *np)
 	}
 
 	if (mtk_is_netsys_v3_or_greater(mac->hw) &&
-	    MTK_HAS_CAPS(mac->hw->soc->caps, MTK_ESW_BIT) &&
+	    MTK_HAS_CAPS(mac->hw->soc->caps, MTK_ESW) &&
 	    id == MTK_GMAC1_ID) {
 		mac->phylink_config.mac_capabilities = MAC_ASYM_PAUSE |
 						       MAC_SYM_PAUSE |
drivers/net/ethernet/mellanox/mlx5/core/en_main.c +4 -0
index 1c087fa1ca26..3e9ad3cb8121 100644
@@ -4344,6 +4344,10 @@ static netdev_features_t mlx5e_fix_uplink_rep_features(struct net_device *netdev
 	if (netdev->features & NETIF_F_HW_VLAN_CTAG_FILTER)
 		netdev_warn(netdev, "Disabling HW_VLAN CTAG FILTERING, not supported in switchdev mode\n");
 
+	features &= ~NETIF_F_HW_MACSEC;
+	if (netdev->features & NETIF_F_HW_MACSEC)
+		netdev_warn(netdev, "Disabling HW MACsec offload, not supported in switchdev mode\n");
+
 	return features;
 }
 
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c +3 -0
index 7d6d859cef3f..511cd92e0e3e 100644
@@ -3014,6 +3014,9 @@ static int mlxsw_sp_neigh_rif_made_sync(struct mlxsw_sp *mlxsw_sp,
 		.rif = rif,
 	};
 
+	if (!mlxsw_sp_dev_lower_is_port(mlxsw_sp_rif_dev(rif)))
+		return 0;
+
 	neigh_for_each(&arp_tbl, mlxsw_sp_neigh_rif_made_sync_each, &rms);
 	if (rms.err)
 		goto err_arp;
drivers/net/ethernet/qlogic/qede/qede_main.c +1 -1
index 99df00c30b8c..b5d744d2586f 100644
@@ -203,7 +203,7 @@ static struct pci_driver qede_pci_driver = {
 };
 
 static struct qed_eth_cb_ops qede_ll_ops = {
-	{
+	.common = {
 #ifdef CONFIG_RFS_ACCEL
 		.arfs_filter_op = qede_arfs_filter_op,
 #endif
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c +5 -2
index 28d24d59efb8..d57b976b9040 100644
@@ -1484,8 +1484,11 @@ static int qlcnic_sriov_channel_cfg_cmd(struct qlcnic_adapter *adapter, u8 cmd_o
 	}
 
 	cmd_op = (cmd.rsp.arg[0] & 0xff);
-	if (cmd.rsp.arg[0] >> 25 == 2)
-		return 2;
+	if (cmd.rsp.arg[0] >> 25 == 2) {
+		ret = 2;
+		goto out;
+	}
+
 	if (cmd_op == QLCNIC_BC_CMD_CHANNEL_INIT)
 		set_bit(QLC_BC_VF_STATE, &vf->state);
 	else
drivers/net/hyperv/hyperv_net.h +12 -1
index e690b95b1bbb..a4963766fd99 100644
@@ -158,7 +158,6 @@ struct hv_netvsc_packet {
 	u8 cp_partial; /* partial copy into send buffer */
 
 	u8 rmsg_size; /* RNDIS header and PPI size */
-	u8 rmsg_pgcnt; /* page count of RNDIS header and PPI */
 	u8 page_buf_cnt;
 
 	u16 q_idx;
@@ -893,6 +892,18 @@ struct nvsp_message {
 				 sizeof(struct nvsp_message))
 #define NETVSC_MIN_IN_MSG_SIZE sizeof(struct vmpacket_descriptor)
 
+/* Maximum # of contiguous data ranges that can make up a trasmitted packet.
+ * Typically it's the max SKB fragments plus 2 for the rndis packet and the
+ * linear portion of the SKB. But if MAX_SKB_FRAGS is large, the value may
+ * need to be limited to MAX_PAGE_BUFFER_COUNT, which is the max # of entries
+ * in a GPA direct packet sent to netvsp over VMBus.
+ */
+#if MAX_SKB_FRAGS + 2 < MAX_PAGE_BUFFER_COUNT
+#define MAX_DATA_RANGES (MAX_SKB_FRAGS + 2)
+#else
+#define MAX_DATA_RANGES MAX_PAGE_BUFFER_COUNT
+#endif
+
 /* Estimated requestor size:
  * out_ring_size/min_out_msg_size + in_ring_size/min_in_msg_size
  */
drivers/net/hyperv/netvsc.c +48 -9

88 lines not on this page · raw message

drivers/net/hyperv/netvsc_drv.c +14 -48

92 lines not on this page · raw message

drivers/net/hyperv/rndis_filter.c +5 -19
index ecc2128ca9b7..e457f809fe31 100644
@@ -225,8 +225,7 @@ static int rndis_filter_send_request(struct rndis_device *dev,
 				  struct rndis_request *req)
 {
 	struct hv_netvsc_packet *packet;
-	struct hv_page_buffer page_buf[2];
-	struct hv_page_buffer *pb = page_buf;
+	struct hv_page_buffer pb;
 	int ret;
 
 	/* Setup the packet to send it */
@@ -235,27 +234,14 @@ static int rndis_filter_send_request(struct rndis_device *dev,
 	packet->total_data_buflen = req->request_msg.msg_len;
 	packet->page_buf_cnt = 1;
 
-	pb[0].pfn = virt_to_phys(&req->request_msg) >>
-					HV_HYP_PAGE_SHIFT;
-	pb[0].len = req->request_msg.msg_len;
-	pb[0].offset = offset_in_hvpage(&req->request_msg);
-
-	/* Add one page_buf when request_msg crossing page boundary */
-	if (pb[0].offset + pb[0].len > HV_HYP_PAGE_SIZE) {
-		packet->page_buf_cnt++;
-		pb[0].len = HV_HYP_PAGE_SIZE -
-			pb[0].offset;
-		pb[1].pfn = virt_to_phys((void *)&req->request_msg
-			+ pb[0].len) >> HV_HYP_PAGE_SHIFT;
-		pb[1].offset = 0;
-		pb[1].len = req->request_msg.msg_len -
-			pb[0].len;
-	}
+	pb.pfn = virt_to_phys(&req->request_msg) >> HV_HYP_PAGE_SHIFT;
+	pb.len = req->request_msg.msg_len;
+	pb.offset = offset_in_hvpage(&req->request_msg);
 
 	trace_rndis_send(dev->ndev, 0, &req->request_msg);
 
 	rcu_read_lock_bh();
-	ret = netvsc_send(dev->ndev, packet, NULL, pb, NULL, false);
+	ret = netvsc_send(dev->ndev, packet, NULL, &pb, NULL, false);
 	rcu_read_unlock_bh();
 
 	return ret;
drivers/net/virtio_net.c +3 -2
index fbd1150c33cc..6d36cb204f9b 100644
@@ -5547,7 +5547,7 @@ static int virtnet_rq_bind_xsk_pool(struct virtnet_info *vi, struct receive_queu
 
 	virtnet_rx_pause(vi, rq);
 
-	err = virtqueue_reset(rq->vq, virtnet_rq_unmap_free_buf);
+	err = virtqueue_reset(rq->vq, virtnet_rq_unmap_free_buf, NULL);
 	if (err) {
 		netdev_err(vi->dev, "reset rx fail: rx queue index: %d err: %d\n", qindex, err);
 
@@ -5576,7 +5576,8 @@ static int virtnet_sq_bind_xsk_pool(struct virtnet_info *vi,
 
 	virtnet_tx_pause(vi, sq);
 
-	err = virtqueue_reset(sq->vq, virtnet_sq_free_unused_buf);
+	err = virtqueue_reset(sq->vq, virtnet_sq_free_unused_buf,
+			      virtnet_sq_free_unused_buf_done);
 	if (err) {
 		netdev_err(vi->dev, "reset tx fail: tx queue index: %d err: %d\n", qindex, err);
 		pool = NULL;
drivers/net/wireless/mediatek/mt76/dma.c +1 -0
index 5f46d6daeaa7..8940f8bb7bb5 100644
@@ -999,6 +999,7 @@ void mt76_dma_cleanup(struct mt76_dev *dev)
 	int i;
 
 	mt76_worker_disable(&dev->tx_worker);
+	napi_disable(&dev->tx_napi);
 	netif_napi_del(&dev->tx_napi);
 
 	for (i = 0; i < ARRAY_SIZE(dev->phys); i++) {
drivers/nvme/host/pci.c +3 -1
index 83ee433b6941..265b3608ae26 100644
@@ -390,7 +390,7 @@ static bool nvme_dbbuf_update_and_check_event(u16 value, __le32 *dbbuf_db,
  * as it only leads to a small amount of wasted memory for the lifetime of
  * the I/O.
  */
-static int nvme_pci_npages_prp(void)
+static __always_inline int nvme_pci_npages_prp(void)
 {
 	unsigned max_bytes = (NVME_MAX_KB_SZ * 1024) + NVME_CTRL_PAGE_SIZE;
 	unsigned nprps = DIV_ROUND_UP(max_bytes, NVME_CTRL_PAGE_SIZE);
@@ -1202,7 +1202,9 @@ static void nvme_poll_irqdisable(struct nvme_queue *nvmeq)
 	WARN_ON_ONCE(test_bit(NVMEQ_POLLED, &nvmeq->flags));
 
 	disable_irq(pci_irq_vector(pdev, nvmeq->cq_vector));
+	spin_lock(&nvmeq->cq_poll_lock);
 	nvme_poll_cq(nvmeq, NULL);
+	spin_unlock(&nvmeq->cq_poll_lock);
 	enable_irq(pci_irq_vector(pdev, nvmeq->cq_vector));
 }
 
drivers/phy/renesas/phy-rcar-gen3-usb2.c +19 -21
index 58e123305152..513fd35dcaa9 100644
@@ -107,7 +107,6 @@ struct rcar_gen3_phy {
 	struct rcar_gen3_chan *ch;
 	u32 int_enable_bits;
 	bool initialized;
-	bool otg_initialized;
 	bool powered;
 };
 
@@ -320,16 +319,15 @@ static bool rcar_gen3_is_any_rphy_initialized(struct rcar_gen3_chan *ch)
 	return false;
 }
 
-static bool rcar_gen3_needs_init_otg(struct rcar_gen3_chan *ch)
+static bool rcar_gen3_is_any_otg_rphy_initialized(struct rcar_gen3_chan *ch)
 {
-	int i;
-
-	for (i = 0; i < NUM_OF_PHYS; i++) {
-		if (ch->rphys[i].otg_initialized)
-			return false;
+	for (enum rcar_gen3_phy_index i = PHY_INDEX_BOTH_HC; i <= PHY_INDEX_EHCI;
+	     i++) {
+		if (ch->rphys[i].initialized)
+			return true;
 	}
 
-	return true;
+	return false;
 }
 
 static bool rcar_gen3_are_all_rphys_power_off(struct rcar_gen3_chan *ch)
@@ -351,7 +349,7 @@ static ssize_t role_store(struct device *dev, struct device_attribute *attr,
 	bool is_b_device;
 	enum phy_mode cur_mode, new_mode;
 
-	if (!ch->is_otg_channel || !rcar_gen3_is_any_rphy_initialized(ch))
+	if (!ch->is_otg_channel || !rcar_gen3_is_any_otg_rphy_initialized(ch))
 		return -EIO;
 
 	if (sysfs_streq(buf, "host"))
@@ -389,7 +387,7 @@ static ssize_t role_show(struct device *dev, struct device_attribute *attr,
 {
 	struct rcar_gen3_chan *ch = dev_get_drvdata(dev);
 
-	if (!ch->is_otg_channel || !rcar_gen3_is_any_rphy_initialized(ch))
+	if (!ch->is_otg_channel || !rcar_gen3_is_any_otg_rphy_initialized(ch))
 		return -EIO;
 
 	return sprintf(buf, "%s\n", rcar_gen3_is_host(ch) ? "host" :
@@ -402,6 +400,9 @@ static void rcar_gen3_init_otg(struct rcar_gen3_chan *ch)
 	void __iomem *usb2_base = ch->base;
 	u32 val;
 
+	if (!ch->is_otg_channel || rcar_gen3_is_any_otg_rphy_initialized(ch))
+		return;
+
 	/* Should not use functions of read-modify-write a register */
 	val = readl(usb2_base + USB2_LINECTRL1);
 	val = (val & ~USB2_LINECTRL1_DP_RPD) | USB2_LINECTRL1_DPRPD_EN |
@@ -462,16 +463,16 @@ static int rcar_gen3_phy_usb2_init(struct phy *p)
 	val = readl(usb2_base + USB2_INT_ENABLE);
 	val |= USB2_INT_ENABLE_UCOM_INTEN | rphy->int_enable_bits;
 	writel(val, usb2_base + USB2_INT_ENABLE);
-	writel(USB2_SPD_RSM_TIMSET_INIT, usb2_base + USB2_SPD_RSM_TIMSET);
-	writel(USB2_OC_TIMSET_INIT, usb2_base + USB2_OC_TIMSET);
-
-	/* Initialize otg part */
-	if (channel->is_otg_channel) {
-		if (rcar_gen3_needs_init_otg(channel))
-			rcar_gen3_init_otg(channel);
-		rphy->otg_initialized = true;
+
+	if (!rcar_gen3_is_any_rphy_initialized(channel)) {
+		writel(USB2_SPD_RSM_TIMSET_INIT, usb2_base + USB2_SPD_RSM_TIMSET);
+		writel(USB2_OC_TIMSET_INIT, usb2_base + USB2_OC_TIMSET);
 	}
 
+	/* Initialize otg part (only if we initialize a PHY with IRQs). */
+	if (rphy->int_enable_bits)
+		rcar_gen3_init_otg(channel);
+
 	rphy->initialized = true;
 
 	return 0;
@@ -486,9 +487,6 @@ static int rcar_gen3_phy_usb2_exit(struct phy *p)
 
 	rphy->initialized = false;
 
-	if (channel->is_otg_channel)
-		rphy->otg_initialized = false;
-
 	val = readl(usb2_base + USB2_INT_ENABLE);
 	val &= ~rphy->int_enable_bits;
 	if (!rcar_gen3_is_any_rphy_initialized(channel))
drivers/phy/tegra/xusb-tegra186.c +27 -19

124 lines not on this page · raw message

drivers/phy/tegra/xusb.c +4 -4
index 342f5ccf611d..c758145e912d 100644
@@ -548,16 +548,16 @@ static int tegra_xusb_port_init(struct tegra_xusb_port *port,
 
 	err = dev_set_name(&port->dev, "%s-%u", name, index);
 	if (err < 0)
-		goto unregister;
+		goto put_device;
 
 	err = device_add(&port->dev);
 	if (err < 0)
-		goto unregister;
+		goto put_device;
 
 	return 0;
 
-unregister:
-	device_unregister(&port->dev);
+put_device:
+	put_device(&port->dev);
 	return err;
 }
 
drivers/platform/x86/amd/pmc/pmc-quirks.c +7 -0
index b4f49720c87f..2e3f6fc67c56 100644
@@ -217,6 +217,13 @@ static const struct dmi_system_id fwbug_list[] = {
 			DMI_MATCH(DMI_BIOS_VERSION, "03.05"),
 		}
 	},
+	{
+		.ident = "MECHREVO Wujie 14X (GX4HRXL)",
+		.driver_data = &quirk_spurious_8042,
+		.matches = {
+			DMI_MATCH(DMI_BOARD_NAME, "WUJIE14-GX4HRXL"),
+		}
+	},
 	{}
 };
 
drivers/platform/x86/amd/pmf/tee-if.c +22 -1
index cb5abab2210a..b6bcc1d57f96 100644
@@ -334,6 +334,11 @@ static int amd_pmf_start_policy_engine(struct amd_pmf_dev *dev)
 	return 0;
 }
 
+static inline bool amd_pmf_pb_valid(struct amd_pmf_dev *dev)
+{
+	return memchr_inv(dev->policy_buf, 0xff, dev->policy_sz);
+}
+
 #ifdef CONFIG_AMD_PMF_DEBUG
 static void amd_pmf_hex_dump_pb(struct amd_pmf_dev *dev)
 {
@@ -361,12 +366,22 @@ static ssize_t amd_pmf_get_pb_data(struct file *filp, const char __user *buf,
 	dev->policy_buf = new_policy_buf;
 	dev->policy_sz = length;
 
+	if (!amd_pmf_pb_valid(dev)) {
+		ret = -EINVAL;
+		goto cleanup;
+	}
+
 	amd_pmf_hex_dump_pb(dev);
 	ret = amd_pmf_start_policy_engine(dev);
 	if (ret < 0)
-		return ret;
+		goto cleanup;
 
 	return length;
+
+cleanup:
+	kfree(dev->policy_buf);
+	dev->policy_buf = NULL;
+	return ret;
 }
 
 static const struct file_operations pb_fops = {
@@ -528,6 +543,12 @@ int amd_pmf_init_smart_pc(struct amd_pmf_dev *dev)
 
 	memcpy_fromio(dev->policy_buf, dev->policy_base, dev->policy_sz);
 
+	if (!amd_pmf_pb_valid(dev)) {
+		dev_info(dev->dev, "No Smart PC policy present\n");
+		ret = -EINVAL;
+		goto err_free_policy;
+	}
+
 	amd_pmf_hex_dump_pb(dev);
 
 	dev->prev_data = kzalloc(sizeof(*dev->prev_data), GFP_KERNEL);
drivers/platform/x86/asus-wmi.c +2 -1
index 1101e5b2488e..a1cff9ff35a9 100644
@@ -4795,7 +4795,8 @@ static int asus_wmi_add(struct platform_device *pdev)
 		goto fail_leds;
 
 	asus_wmi_get_devstate(asus, ASUS_WMI_DEVID_WLAN, &result);
-	if (result & (ASUS_WMI_DSTS_PRESENCE_BIT | ASUS_WMI_DSTS_USER_BIT))
+	if ((result & (ASUS_WMI_DSTS_PRESENCE_BIT | ASUS_WMI_DSTS_USER_BIT)) ==
+	    (ASUS_WMI_DSTS_PRESENCE_BIT | ASUS_WMI_DSTS_USER_BIT))
 		asus->driver->wlan_ctrl_by_user = 1;
 
 	if (!(asus->driver->wlan_ctrl_by_user && ashs_present())) {
drivers/regulator/max20086-regulator.c +6 -1
index 59eb23d467ec..198d45f8e884 100644
@@ -132,7 +132,7 @@ static int max20086_regulators_register(struct max20086 *chip)
 
 static int max20086_parse_regulators_dt(struct max20086 *chip, bool *boot_on)
 {
-	struct of_regulator_match matches[MAX20086_MAX_REGULATORS] = { };
+	struct of_regulator_match *matches;
 	struct device_node *node;
 	unsigned int i;
 	int ret;
@@ -143,6 +143,11 @@ static int max20086_parse_regulators_dt(struct max20086 *chip, bool *boot_on)
 		return -ENODEV;
 	}
 
+	matches = devm_kcalloc(chip->dev, chip->info->num_outputs,
+			       sizeof(*matches), GFP_KERNEL);
+	if (!matches)
+		return -ENOMEM;
+
 	for (i = 0; i < chip->info->num_outputs; ++i)
 		matches[i].name = max20086_output_names[i];
 
drivers/scsi/sd_zbc.c +5 -1
index 6ab27f4f4878..b8d42098f0b6 100644
@@ -169,6 +169,7 @@ static void *sd_zbc_alloc_report_buffer(struct scsi_disk *sdkp,
 					unsigned int nr_zones, size_t *buflen)
 {
 	struct request_queue *q = sdkp->disk->queue;
+	unsigned int max_segments;
 	size_t bufsize;
 	void *buf;
 
@@ -180,12 +181,15 @@ static void *sd_zbc_alloc_report_buffer(struct scsi_disk *sdkp,
 	 * Furthermore, since the report zone command cannot be split, make
 	 * sure that the allocated buffer can always be mapped by limiting the
 	 * number of pages allocated to the HBA max segments limit.
+	 * Since max segments can be larger than the max inline bio vectors,
+	 * further limit the allocated buffer to BIO_MAX_INLINE_VECS.
 	 */
 	nr_zones = min(nr_zones, sdkp->zone_info.nr_zones);
 	bufsize = roundup((nr_zones + 1) * 64, SECTOR_SIZE);
 	bufsize = min_t(size_t, bufsize,
 			queue_max_hw_sectors(q) << SECTOR_SHIFT);
-	bufsize = min_t(size_t, bufsize, queue_max_segments(q) << PAGE_SHIFT);
+	max_segments = min(BIO_MAX_INLINE_VECS, queue_max_segments(q));
+	bufsize = min_t(size_t, bufsize, max_segments << PAGE_SHIFT);
 
 	while (bufsize >= SECTOR_SIZE) {
 		buf = kvzalloc(bufsize, GFP_KERNEL | __GFP_NORETRY);
drivers/scsi/storvsc_drv.c +1 -0
index b8186feccdf5..48b0ca92b44f 100644
@@ -1819,6 +1819,7 @@ static int storvsc_queuecommand(struct Scsi_Host *host, struct scsi_cmnd *scmnd)
 				return SCSI_MLQUEUE_DEVICE_BUSY;
 		}
 
+		payload->rangecount = 1;
 		payload->range.len = length;
 		payload->range.offset = offset_in_hvpg;
 
drivers/spi/spi-loopback-test.c +1 -1
index 31a878d9458d..7740f94847a8 100644
@@ -420,7 +420,7 @@ MODULE_LICENSE("GPL");
 static void spi_test_print_hex_dump(char *pre, const void *ptr, size_t len)
 {
 	/* limit the hex_dump */
[… more lines in the raw message]

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

drivers/spi/spi-tegra114.c +3 -3
index 5c7eb020943b..11db703a0dde 100644

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

drivers/uio/uio_hv_generic.c +17 -22
index 870409599411..c2759bbeed84 100644

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

drivers/usb/gadget/function/f_midi2.c +1 -1
index 8c9d0074db58..0c45936f51b3 100644

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

drivers/usb/host/xhci-dbgcap.c +17 -4
index 241d7aa1fbc2..d35f3a18dd13 100644

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

drivers/usb/host/xhci-dbgcap.h +3 -0
index 9dc8f4d8077c..47ac72c2286d 100644

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

drivers/usb/typec/ucsi/displayport.c +11 -8
index 5d24a2321e15..8aae80b457d7 100644

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

drivers/usb/typec/ucsi/ucsi.c +34 -0
index 3f2bc13efa48..8eee3d8e588a 100644

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

drivers/usb/typec/ucsi/ucsi.h +2 -0
index a333006d3496..5863a20b6c5d 100644

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

drivers/virtio/virtio_ring.c +5 -1
index 0112742e4504..1f8a322eb00b 100644

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

fs/binfmt_elf.c +47 -24

71 lines not on this page · raw message

fs/btrfs/discard.c +15 -2
index e815d165cccc..e9cdc1759dad 100644

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

fs/btrfs/fs.h +1 -0
index cbfb225858a5..bb822e425d7f 100644

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

fs/btrfs/inode.c +7 -0
index bee8852e8155..9ce1270addb0 100644

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

fs/btrfs/super.c +4 -0
index 08ccf5d5e144..bcb8def4ade2 100644

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

fs/nfs/nfs4proc.c +8 -1
index e7bc99c69743..ca01f79c82e4 100644

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

fs/nfs/pnfs.c +9 -0
index 5f582713bf05..683e09be25ad 100644

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

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

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

fs/smb/client/cifsfs.c +25 -0
index 0ceebde38f9f..9d96b833015c 100644

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

fs/smb/client/cifsglob.h +7 -0
index a8484af7a2fb..a38b40d68b14 100644

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

fs/smb/client/connect.c +20 -0
index d5549e06a533..112057c7ca11 100644

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

fs/smb/client/fs_context.c +39 -0
index 1f1f4586673a..69cca4f17dba 100644

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

fs/smb/client/fs_context.h +10 -0
index c8c8b4451b3b..ac6baa774ad3 100644

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

fs/smb/client/smb2pdu.c +1 -1
index 83022a476e3b..176be478cd13 100644

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

fs/udf/truncate.c +1 -1
index 4f33a4a48886..b4071c9cf8c9 100644

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

fs/xattr.c +24 -0
index 05ec7e7d9e87..4f5a45338a83 100644

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

include/drm/drm_fbdev_dma.h +12 -0
index 2da7ee784133..6ae4de46497c 100644

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

include/linux/bio.h +1 -0
index 66b7620a1b53..9e98fb87e7ef 100644

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

include/linux/hyperv.h +6 -7
index 02a226bcf0ed..44bf8af37901 100644

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

include/linux/kvm_host.h +6 -0
index 15206450929d..2e836d44f738 100644

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

include/linux/tpm.h +20 -1
index 6c3125300c00..a3d8305e88a5 100644

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

include/linux/virtio.h +2 -1
index 73c8922e69e0..d791d47eb00e 100644

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

include/net/sch_generic.h +15 -0
index 24e48af7e8f7..a9d7e9ecee6b 100644

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

include/sound/ump_msg.h +2 -2
index 72f60ddfea75..9556b4755a1e 100644

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

kernel/cgroup/cpuset.c +4 -2
index c709a05023cd..d1fb4bfbbd4c 100644

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

kernel/sched/ext.c +6 -0
index 7ed25654820f..ace5262642f9 100644

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

kernel/trace/ring_buffer.c +5 -3
index e1ffbed8cc5e..baa5547e977a 100644

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

kernel/trace/trace_dynevent.c +15 -1
index 4376887e0d8a..c9b0533407ed 100644

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

kernel/trace/trace_dynevent.h +1 -0
index 936477a111d3..beee3f8d7544 100644

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

kernel/trace/trace_events_trigger.c +1 -1
index a5e3d6acf1e1..27e21488d574 100644

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

kernel/trace/trace_functions.c +1 -5
index fbbc3c719d2f..fbb6cf8dc047 100644

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

kernel/trace/trace_kprobe.c +1 -1
index 935a886af40c..6b9c3f3f870f 100644

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

kernel/trace/trace_probe.c +9 -0
index 578919962e5d..ae20ad7f7461 100644

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

kernel/trace/trace_uprobe.c +1 -1
index b085a8a164ea..9916677acf24 100644

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

mm/page_alloc.c +0 -23
index d29da0c6a7f2..ebe1ec661492 100644

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

mm/userfaultfd.c +10 -2
index 748b52ce8567..e06e3d270961 100644

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

net/bluetooth/mgmt.c +6 -3
index c019f69c5939..d4700f940e8a 100644

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

net/mac80211/main.c +4 -2
index ee1211a213d7..caedc939eea1 100644

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

net/mctp/device.c +30 -35

65 lines not on this page · raw message

net/mctp/route.c +3 -1
index 4c460160914f..d9c8e5a5f9ce 100644

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

net/sched/sch_codel.c +1 -1
index e1f6e7618deb..afd9805cb68e 100644

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

net/sched/sch_fq.c +1 -1
index afefe124d903..1af9768cd8ff 100644

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

net/sched/sch_fq_codel.c +1 -1
index 778f6e5966be..551b7cbdae90 100644

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

net/sched/sch_fq_pie.c +1 -1
index c38f33ff80bd..6ed08b705f8a 100644

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

net/sched/sch_hhf.c +1 -1
index 44d9efe1a96a..5aa434b46707 100644

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

net/sched/sch_pie.c +1 -1
index b3dcb845b327..db61cbc21b13 100644

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

net/tls/tls_strp.c +2 -1
index 77e33e1e340e..65b0da6fdf6a 100644

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

samples/ftrace/sample-trace-array.c +1 -1
index d0ee9001c7b3..aaa8fa92e24d 100644

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

scripts/Makefile.extrawarn +12 -0
index dc081cf46d21..686197407c3c 100644

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

sound/core/seq/seq_clientmgr.c +33 -19

52 lines not on this page · raw message

sound/core/seq/seq_ump_convert.c +18 -0
index ff7e558b4d51..db2f169cae11 100644

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

sound/core/seq/seq_ump_convert.h +1 -0
index 6c146d803280..4abf0a7637d7 100644

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

sound/pci/es1968.c +4 -2
index c6c018b40c69..4e0693f0ab0f 100644

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

sound/sh/Kconfig +1 -1
index b75fbb3236a7..f5fa09d740b4 100644

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

sound/usb/quirks.c +4 -0
index 09210fb4ac60..c7387081577c 100644

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

tools/net/ynl/ethtool.py +15 -7
index 63c471f075ab..7e8342f91481 100755

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

tools/testing/selftests/net/ncdevmem.c +231 -163

394 lines not on this page · raw message

tools/testing/vsock/vsock_test.c +16 -12
index 0b7f5bf546da..0c22ff7a8de2 100644

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

virt/kvm/guest_memfd.c +2 -0
index 8f079a61a56d..bb062d3d2457 100644

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

virt/kvm/kvm_main.c +14 -0
index 279e03029ce1..b99de3b5ffbc 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.