Skip to contentSkip to conversation

Linux 6.11.6

DISCUSSION Greg Kroah-Hartman 1 participant 2 messages Nov 1, 2024 Stable branch

lore
Share & tools
lore

Greg Kroah-Hartman

author maintainer
#0 lore raw

I'm announcing the release of the 6.11.6 kernel.

All users of the 6.11 kernel series must upgrade.

The updated 6.11.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-6.11.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/devicetree/bindings/sound/davinci-mcasp-audio.yaml |   18 
 Makefile                                                         |    2 
 arch/arm/boot/dts/broadcom/bcm2837-rpi-cm3-io3.dts               |    2 
 arch/arm64/Makefile                                              |    2 
 arch/arm64/kvm/arm.c                                             |    3 
 arch/arm64/kvm/sys_regs.c                                        |    2 
 arch/arm64/kvm/vgic/vgic-init.c                                  |   28 +
 arch/arm64/net/bpf_jit_comp.c                                    |   12 
 arch/loongarch/include/asm/bootinfo.h                            |    4 
 arch/loongarch/include/asm/kasan.h                               |    2 
 arch/loongarch/kernel/process.c                                  |   16 
 arch/loongarch/kernel/setup.c                                    |    3 
 arch/loongarch/kernel/traps.c                                    |    5 
 arch/riscv/net/bpf_jit_comp64.c                                  |    8 
 arch/s390/include/asm/perf_event.h                               |    1 
 arch/s390/pci/pci_event.c                                        |   17 
 arch/x86/Kconfig                                                 |    1 
 arch/x86/events/rapl.c                                           |   47 ++
 arch/x86/include/asm/runtime-const.h                             |    4 
 arch/x86/include/asm/uaccess_64.h                                |   45 +-
 arch/x86/kernel/amd_nb.c                                         |    6 
 arch/x86/kernel/cpu/common.c                                     |   10 
 arch/x86/kernel/cpu/resctrl/ctrlmondata.c                        |   23 -
 arch/x86/kernel/vmlinux.lds.S                                    |    1 
 arch/x86/kvm/svm/nested.c                                        |    6 
 arch/x86/lib/getuser.S                                           |    9 
 arch/x86/virt/svm/sev.c                                          |    2 
 block/elevator.c                                                 |   17 
 drivers/accel/qaic/qaic_control.c                                |    2 
 drivers/accel/qaic/qaic_data.c                                   |    6 
 drivers/acpi/button.c                                            |   11 
 drivers/acpi/cppc_acpi.c                                         |   22 -
 drivers/acpi/prmt.c                                              |   29 +
 drivers/acpi/resource.c                                          |    7 
 drivers/ata/libata-eh.c                                          |    1 
 drivers/cdrom/cdrom.c                                            |    2 
 drivers/clk/rockchip/clk.c                                       |    2 
 drivers/cpufreq/amd-pstate.c                                     |   10 
 drivers/firewire/core-topology.c                                 |    2 
 drivers/firmware/arm_scmi/driver.c                               |    4 
 drivers/firmware/arm_scmi/mailbox.c                              |   32 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c                         |   15 
 drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c                          |    5 
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c        |   13 
 drivers/gpu/drm/amd/display/modules/power/power_helpers.c        |    2 
 drivers/gpu/drm/bridge/aux-bridge.c                              |    3 
 drivers/gpu/drm/msm/adreno/a6xx_gpu.c                            |   16 
 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c                         |   20 
 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c                      |   68 ++-
 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c             |    7 
 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c              |    5 
 drivers/gpu/drm/msm/disp/msm_disp_snapshot_util.c                |   19 
 drivers/gpu/drm/msm/dsi/dsi_host.c                               |    4 
 drivers/gpu/drm/panel/panel-himax-hx83102.c                      |   12 
 drivers/gpu/drm/vboxvideo/hgsmi_base.c                           |   10 
 drivers/gpu/drm/vboxvideo/vboxvideo.h                            |    4 
 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c                             |    4 
 drivers/gpu/drm/xe/xe_device.c                                   |    4 
 drivers/gpu/drm/xe/xe_exec.c                                     |   12 
 drivers/gpu/drm/xe/xe_gpu_scheduler.h                            |    2 
 drivers/gpu/drm/xe/xe_gt_mcr.c                                   |    2 
 drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c                      |   29 -
 drivers/gpu/drm/xe/xe_gt_tlb_invalidation.h                      |    1 
 drivers/gpu/drm/xe/xe_guc_submit.c                               |    7 
 drivers/gpu/drm/xe/xe_vm.c                                       |    8 
 drivers/hwmon/jc42.c                                             |    2 
 drivers/iio/accel/bma400_core.c                                  |    3 
 drivers/iio/adc/Kconfig                                          |    2 
 drivers/iio/frequency/Kconfig                                    |   33 -
 drivers/infiniband/core/addr.c                                   |    2 
 drivers/infiniband/hw/bnxt_re/hw_counters.c                      |    2 
 drivers/infiniband/hw/bnxt_re/ib_verbs.h                         |    1 
 drivers/infiniband/hw/bnxt_re/main.c                             |   29 -
 drivers/infiniband/hw/bnxt_re/qplib_fp.c                         |   16 
 drivers/infiniband/hw/bnxt_re/qplib_fp.h                         |    3 
 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c                       |    2 
 drivers/infiniband/hw/bnxt_re/qplib_res.c                        |   21 -
 drivers/infiniband/hw/bnxt_re/qplib_sp.c                         |   11 
 drivers/infiniband/hw/bnxt_re/qplib_sp.h                         |    1 
 drivers/infiniband/hw/cxgb4/cm.c                                 |    9 
 drivers/infiniband/hw/irdma/cm.c                                 |    2 
 drivers/infiniband/ulp/srpt/ib_srpt.c                            |   80 +++
 drivers/irqchip/irq-renesas-rzg2l.c                              |   16 
 drivers/irqchip/irq-riscv-imsic-platform.c                       |    2 
 drivers/md/raid10.c                                              |    7 
 drivers/net/dsa/microchip/ksz_common.c                           |   21 -
 drivers/net/dsa/mv88e6xxx/chip.c                                 |    2 
 drivers/net/dsa/mv88e6xxx/chip.h                                 |    6 
 drivers/net/dsa/mv88e6xxx/port.c                                 |    1 
 drivers/net/dsa/mv88e6xxx/ptp.c                                  |  108 +++--
 drivers/net/dsa/vitesse-vsc73xx-core.c                           |    1 
 drivers/net/ethernet/aeroflex/greth.c                            |    3 
 drivers/net/ethernet/broadcom/asp2/bcmasp_intf.c                 |    1 
 drivers/net/ethernet/broadcom/bcmsysport.c                       |    1 
 drivers/net/ethernet/broadcom/bnxt/bnxt.c                        |   22 -
 drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c                    |   70 ++-
 drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.h                    |   12 
 drivers/net/ethernet/emulex/benet/be_main.c                      |   10 
 drivers/net/ethernet/freescale/fman/mac.c                        |   68 ++-
 drivers/net/ethernet/freescale/fman/mac.h                        |    6 
 drivers/net/ethernet/i825xx/sun3_82586.c                         |    1 
 drivers/net/ethernet/marvell/octeon_ep/octep_rx.c                |   82 ++--
 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c              |    4 
 drivers/net/ethernet/mediatek/mtk_eth_soc.c                      |    2 
 drivers/net/ethernet/mellanox/mlx5/core/cmd.c                    |    8 
 drivers/net/ethernet/mellanox/mlx5/core/en_main.c                |    4 
 drivers/net/ethernet/mellanox/mlx5/core/eq.c                     |    6 
 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c                |    5 
 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c            |    9 
 drivers/net/ethernet/microchip/sparx5/sparx5_mirror.c            |   12 
 drivers/net/ethernet/realtek/r8169_main.c                        |    4 
 drivers/net/ethernet/renesas/ravb_main.c                         |   25 -
 drivers/net/ethernet/renesas/rtsn.c                              |    1 
 drivers/net/ethernet/stmicro/stmmac/dwmac-tegra.c                |   14 
 drivers/net/ethernet/xilinx/xilinx_axienet_main.c                |    2 
 drivers/net/hyperv/netvsc_drv.c                                  |   30 +
 drivers/net/macsec.c                                             |   18 
 drivers/net/netdevsim/dev.c                                      |   15 
 drivers/net/phy/dp83822.c                                        |    4 
 drivers/net/plip/plip.c                                          |    2 
 drivers/net/pse-pd/pse_core.c                                    |    4 
 drivers/net/usb/usbnet.c                                         |    4 
 drivers/net/virtio_net.c                                         |    2 
 drivers/net/vmxnet3/vmxnet3_xdp.c                                |    2 
 drivers/net/wwan/wwan_core.c                                     |    2 
 drivers/nvme/host/pci.c                                          |   19 
 drivers/pci/probe.c                                              |    2 
 drivers/pci/pwrctl/pci-pwrctl-pwrseq.c                           |   58 ++
 drivers/platform/x86/dell/dell-wmi-base.c                        |    9 
 drivers/platform/x86/dell/dell-wmi-sysman/sysman.c               |    1 
 drivers/platform/x86/intel/pmc/core_ssram.c                      |    4 
 drivers/powercap/dtpm_devfreq.c                                  |    2 
 drivers/reset/starfive/reset-starfive-jh71x0.c                   |    3 
 drivers/soundwire/intel_ace2x.c                                  |   19 
 drivers/target/target_core_device.c                              |    2 
 drivers/target/target_core_user.c                                |    2 
 drivers/usb/host/xhci-dbgcap.h                                   |    2 
 drivers/usb/host/xhci-dbgtty.c                                   |   73 ++-
 drivers/usb/typec/class.c                                        |    3 
 drivers/video/fbdev/Kconfig                                      |    1 
 fs/9p/v9fs.h                                                     |   34 +
 fs/9p/v9fs_vfs.h                                                 |    2 
 fs/9p/vfs_inode.c                                                |  129 ++++--
 fs/9p/vfs_inode_dotl.c                                           |  112 ++++-
 fs/9p/vfs_super.c                                                |    2 
 fs/backing-file.c                                                |    8 
 fs/btrfs/block-group.c                                           |    2 
 fs/btrfs/dir-item.c                                              |    4 
 fs/btrfs/disk-io.c                                               |    2 
 fs/btrfs/extent_map.c                                            |   31 -
 fs/btrfs/inode.c                                                 |    7 
 fs/btrfs/qgroup.c                                                |    2 
 fs/btrfs/qgroup.h                                                |    2 
 fs/btrfs/super.c                                                 |   12 
 fs/fuse/passthrough.c                                            |    8 
 fs/jfs/jfs_dmap.c                                                |    2 
 fs/namespace.c                                                   |    4 
 fs/nfsd/nfs4state.c                                              |   50 ++
 fs/nfsd/state.h                                                  |    2 
 fs/nilfs2/page.c                                                 |    6 
 fs/notify/fsnotify.c                                             |   21 -
 fs/notify/inotify/inotify_user.c                                 |    2 
 fs/notify/mark.c                                                 |    8 
 fs/open.c                                                        |    2 
 fs/overlayfs/file.c                                              |    9 
 fs/select.c                                                      |    4 
 fs/smb/client/cifsfs.c                                           |    2 
 fs/smb/client/fs_context.c                                       |    7 
 fs/smb/client/reparse.c                                          |   23 +
 fs/smb/client/smb2ops.c                                          |    3 
 fs/smb/client/smb2pdu.c                                          |    9 
 fs/udf/balloc.c                                                  |   38 +
 fs/udf/directory.c                                               |   23 -
 fs/udf/inode.c                                                   |  202 ++++++----
 fs/udf/partition.c                                               |    6 
 fs/udf/super.c                                                   |    3 
 fs/udf/truncate.c                                                |   43 +-
 fs/udf/udfdecl.h                                                 |   15 
 fs/xfs/scrub/repair.c                                            |    8 
 include/linux/backing-file.h                                     |    2 
 include/linux/bpf.h                                              |   14 
 include/linux/bpf_types.h                                        |    1 
 include/linux/huge_mm.h                                          |   18 
 include/linux/netdevice.h                                        |   12 
 include/linux/shmem_fs.h                                         |   11 
 include/linux/task_work.h                                        |    5 
 include/linux/uaccess.h                                          |    7 
 include/net/bluetooth/bluetooth.h                                |    1 
 include/net/genetlink.h                                          |    3 
 include/net/sock.h                                               |    5 
 include/net/xfrm.h                                               |   28 -
 include/uapi/linux/bpf.h                                         |   16 
 include/uapi/sound/asoc.h                                        |    2 
 kernel/bpf/btf.c                                                 |   15 
 kernel/bpf/devmap.c                                              |   11 
 kernel/bpf/helpers.c                                             |   10 
 kernel/bpf/inode.c                                               |    5 
 kernel/bpf/log.c                                                 |    3 
 kernel/bpf/ringbuf.c                                             |   14 
 kernel/bpf/syscall.c                                             |   31 +
 kernel/bpf/task_iter.c                                           |    2 
 kernel/bpf/verifier.c                                            |  107 ++---
 kernel/sched/core.c                                              |    4 
 kernel/task_work.c                                               |   15 
 kernel/time/posix-clock.c                                        |    6 
 kernel/trace/bpf_trace.c                                         |   42 --
 kernel/trace/fgraph.c                                            |   15 
 kernel/trace/ring_buffer.c                                       |   44 +-
 kernel/trace/trace_eprobe.c                                      |    7 
 kernel/trace/trace_fprobe.c                                      |    6 
 kernel/trace/trace_kprobe.c                                      |    6 
 kernel/trace/trace_probe.c                                       |    2 
 kernel/trace/trace_uprobe.c                                      |   13 
 lib/Kconfig.debug                                                |    2 
 lib/objpool.c                                                    |    2 
 lib/strncpy_from_user.c                                          |    9 
 lib/strnlen_user.c                                               |    9 
 mm/huge_memory.c                                                 |   24 -
 mm/memory.c                                                      |    9 
 mm/shmem.c                                                       |   55 +-
 net/bluetooth/af_bluetooth.c                                     |   22 +
 net/bluetooth/bnep/core.c                                        |    3 
 net/bluetooth/hci_core.c                                         |   24 -
 net/bluetooth/hci_sync.c                                         |   12 
 net/bluetooth/iso.c                                              |   18 
 net/bluetooth/sco.c                                              |   18 
 net/core/filter.c                                                |   50 --
 net/core/sock_map.c                                              |    8 
 net/ipv4/devinet.c                                               |   35 +
 net/ipv4/inet_connection_sock.c                                  |   21 -
 net/ipv4/xfrm4_policy.c                                          |   40 -
 net/ipv6/xfrm6_policy.c                                          |   31 -
 net/l2tp/l2tp_netlink.c                                          |    4 
 net/netfilter/nf_bpf_link.c                                      |    7 
 net/netfilter/xt_NFLOG.c                                         |    2 
 net/netfilter/xt_TRACE.c                                         |    1 
 net/netfilter/xt_mark.c                                          |    2 
 net/netlink/genetlink.c                                          |   28 -
 net/sched/act_api.c                                              |   23 +
 net/sched/sch_generic.c                                          |    8 
 net/sched/sch_taprio.c                                           |   21 -
 net/smc/smc_pnet.c                                               |    2 
 net/smc/smc_wr.c                                                 |    6 
 net/vmw_vsock/virtio_transport_common.c                          |   14 
 net/vmw_vsock/vsock_bpf.c                                        |    8 
 net/wireless/nl80211.c                                           |    8 
 net/xfrm/xfrm_device.c                                           |   11 
 net/xfrm/xfrm_policy.c                                           |   50 +-
 net/xfrm/xfrm_user.c                                             |   10 
 sound/firewire/amdtp-stream.c                                    |    3 
 sound/pci/hda/Kconfig                                            |    2 
 sound/pci/hda/patch_cs8409.c                                     |    5 
 sound/pci/hda/patch_realtek.c                                    |   48 +-
 sound/soc/amd/yc/acp6x-mach.c                                    |    7 
 sound/soc/codecs/lpass-rx-macro.c                                |    2 
 sound/soc/codecs/max98388.c                                      |    1 
 sound/soc/fsl/fsl_micfil.c                                       |   43 ++
 sound/soc/fsl/fsl_sai.c                                          |    5 
 sound/soc/fsl/fsl_sai.h                                          |    1 
 sound/soc/loongson/loongson_card.c                               |    1 
 sound/soc/qcom/Kconfig                                           |    2 
 sound/soc/qcom/lpass-cpu.c                                       |    2 
 sound/soc/qcom/sc7280.c                                          |   10 
 sound/soc/qcom/sdm845.c                                          |    7 
 sound/soc/qcom/sm8250.c                                          |    1 
 sound/soc/sh/rcar/core.c                                         |    7 
 sound/soc/soc-dapm.c                                             |    4 
 sound/soc/sof/intel/hda-dai-ops.c                                |   23 -
 sound/soc/sof/intel/hda-dai.c                                    |   37 +
 sound/soc/sof/intel/hda-loader.c                                 |   17 
 sound/soc/sof/ipc4-topology.c                                    |   15 
 tools/include/uapi/linux/bpf.h                                   |    3 
 tools/testing/selftests/bpf/Makefile                             |    2 
 tools/testing/selftests/bpf/prog_tests/fill_link_info.c          |    9 
 274 files changed, 2654 insertions(+), 1268 deletions(-)

Abel Vesa (1):
drm/bridge: Fix assignment of the of_node of the parent to aux bridge

Abhishek Mohapatra (1):
RDMA/bnxt_re: Fix the max CQ WQEs for older adapters

Aleksa Sarai (1):
openat2: explicitly return -E2BIG for (usize > PAGE_SIZE)

Aleksandr Mishin (4):
octeon_ep: Implement helper for iterating packets in Rx queue
octeon_ep: Add SKB allocation failures handling in __octep_oq_process_rx() fsl/fman: Save device references taken in mac_probe() fsl/fman: Fix refcount handling of fman-related devices

Alexander Zubkov (1):
RDMA/irdma: Fix misspelling of "accept*"

Alexey Klimov (3):
ASoC: codecs: lpass-rx-macro: add missing CDC_RX_BCL_VBAT_RF_PROC2 to default regs values
ASoC: qcom: sm8250: add qrb4210-rb2-sndcard compatible string
ASoC: qcom: sdm845: add missing soundwire runtime stream alloc

Amadeusz Sławiński (1):
ASoC: topology: Bump minimal topology ABI version

Amir Goldstein (2):
fs: pass offset and result to backing_file end_write() callback
fuse: update inode size after extending passthrough write

Andrea Parri (1):
riscv, bpf: Make BPF_CMPXCHG fully ordered

Andrew Jones (1):
irqchip/riscv-imsic: Fix output text of base address

Andrey Shumilin (1):
ALSA: firewire-lib: Avoid division by zero in apply_constraint_to_size()

Andrii Nakryiko (1):
bpf: fix do_misc_fixups() for bpf_get_branch_snapshot()

Anumula Murali Mohan Reddy (2):
RDMA/core: Fix ENODEV error for iWARP test over vlan RDMA/cxgb4: Fix RDMA_CM_EVENT_UNREACHABLE error for iWARP

Armin Wolf (1):
platform/x86: dell-wmi: Ignore suspend notifications

Arnd Bergmann (1):
fbdev: wm8505fb: select CONFIG_FB_IOMEM_FOPS

Ashish Kalra (1):
x86/sev: Ensure that RMP table fixups are reserved

Aurabindo Pillai (1):
drm/amd/display: temp w/a for DP Link Layer compliance

Baolin Wang (2):
mm: shmem: rename shmem_is_huge() to shmem_huge_global_enabled()
mm: shmem: move shmem_huge_global_enabled() into shmem_allowable_huge_orders()

Bart Van Assche (1):
RDMA/srpt: Make slab cache names unique

Bartosz Golaszewski (2):
PCI: Hold rescan lock while adding devices during host probe PCI/pwrctl: Abandon QCom WCN probe on pre-pwrseq device-trees

Benjamin Bara (1):
ASoC: dapm: avoid container_of() to get component

Bhargava Chenna Marreddy (1):
RDMA/bnxt_re: Fix a bug while setting up Level-2 PBL pages

Binbin Zhou (1):
ASoC: loongson: Fix component check failed on FDT systems

Boris Burkov (1):
btrfs: fix read corruption due to race with extent map merging

Breno Leitao (2):
elevator: do not request_module if elevator exists
elevator: Remove argument from elevator_find_get

Chancel Liu (1):
ASoC: fsl_micfil: Add a flag to distinguish with different volume control types

Chandramohan Akula (1):
RDMA/bnxt_re: Change the sequence of updating the CQ toggle value

Changhuang Liang (1):
reset: starfive: jh71x0: Fix accessing the empty member on JH7110 SoC

Christian Brauner (1):
fs: don't try and remove empty rbtree node

Christian Heusel (1):

      ACPI: resource: Add LG 16T90SP to irq1_level_low_skip_override[]

Colin Ian King (2):
octeontx2-af: Fix potential integer overflows on integer shifts
ASoC: max98388: Fix missing increment of variable slot_found

Cong Yang (1):
drm/panel: himax-hx83102: Adjust power and gamma to optimize brightness

Cosmin Ratiu (2):
net/mlx5: Unregister notifier on eswitch init failure net/mlx5e: Don't call cleanup on profile rollback failure

Crag Wang (1):
platform/x86: dell-sysman: add support for alienware products

Dan Carpenter (1):
ACPI: PRM: Clean up guid type in struct prm_handler_info

Daniel Borkmann (6):
vmxnet3: Fix packet corruption in vmxnet3_xdp_xmit_frame
bpf: Fix incorrect delta propagation between linked registers
bpf: Fix print_reg_state's constant scalar dump
bpf: Add MEM_WRITE attribute
bpf: Fix overloading of MEM_UNINIT's meaning
bpf: Remove MEM_UNINIT from skb/xdp MTU helpers

Daniel Machon (1):
net: sparx5: fix source port register when mirroring

Darrick J. Wong (1):
xfs: don't fail repairs on metadata files with no attr fork

Dave Kleikamp (1):
jfs: Fix sanity check in dbMount

David Hildenbrand (1):
mm: don't install PMD mappings when THPs are disabled by the hw/process/vma

David Lawrence Glanzman (1):
ASoC: amd: yc: Add quirk for HP Dragonfly pro one

Dhananjay Ugwekar (2):
cpufreq/amd-pstate: Fix amd_pstate mode switch on shared memory systems perf/x86/rapl: Fix the energy-pkg event for AMD CPUs

Dimitar Kanaliev (1):
bpf: Fix truncation bug in coerce_reg_to_size_sx()

Dmitry Antipov (2):
net: sched: fix use-after-free in taprio_change()
net: sched: use RCU read-side critical section in taprio_dump()

Dmitry Baryshkov (3):
drm/msm/dpu: make sure phys resources are properly initialized drm/msm/dpu: move CRTC resource assignment to dpu_encoder_virt_atomic_check drm/msm/dpu: check for overflow in _dpu_crtc_setup_lm_bounds()

Dominique Martinet (4):
Revert " fs/9p: mitigate inode collisions" Revert "fs/9p: remove redundant pointer v9ses" Revert "fs/9p: fix uaf in in v9fs_stat2inode_dotl" Revert "fs/9p: simplify iget to remove unnecessary paths"

Douglas Anderson (2):
drm/msm: Avoid NULL dereference in msm_disp_state_print_regs() drm/msm: Allocate memory for disp snapshot with kvzalloc()

Eduard Zingerman (1):
bpf: sync_linked_regs() must preserve subreg_def

Eric Biggers (1):
ALSA: hda/tas2781: select CRC32 instead of CRC32_SARWATE

Eric Dumazet (3):
netdevsim: use cond_resched() in nsim_dev_trap_report_work()
genetlink: hold RCU in genlmsg_mcast()
net: fix races in netdev_tx_sent_queue()/dev_watchdog()

Eyal Birger (2):
xfrm: extract dst lookup parameters into a struct
xfrm: respect ip protocols rules criteria when performing dst lookups

Fabrizio Castro (1):
irqchip/renesas-rzg2l: Fix missing put_device

Felix Fietkau (1):
net: ethernet: mtk_eth_soc: fix memory corruption during fq dma init

Filipe Manana (1):
btrfs: clear force-compress on remount when compress mount option is given

Florian Kauer (1):
bpf: devmap: provide rxq after redirect

Florian Klink (1):
ARM: dts: bcm2837-rpi-cm3-io3: Fix HDMI hpd-gpio pin

Florian Westphal (1):
netfilter: bpf: must hold reference on net namespace

Gal Pressman (1):
ravb: Remove setting of RX software timestamp

Gianfranco Trad (1):
udf: fix uninit-value use in udf_get_fileshortad

Greg Kroah-Hartman (1):

      Linux 6.11.6

Gustavo Sousa (1):
drm/xe/mcr: Use Xe2_LPM steering tables for Xe2_HPM

Haiyang Zhang (1):
hv_netvsc: Fix VF namespace also in synthetic NIC NETDEV_REGISTER event

Hans de Goede (1):
drm/vboxvideo: Replace fake VLA at end of vbva_mouse_pointer_shape with real VLA

Heiko Carstens (1):
s390: Initialize psw mask in perf_arch_fetch_caller_regs()

Heiner Kallweit (1):
r8169: avoid unsolicited interrupts

Henrique Carvalho (1):
smb: client: Handle kstrdup failures for passwords

Hongguang Gao (1):
RDMA/bnxt_re: Get the toggle bits from SRQ events

Hou Tao (3):
bpf: Check the remaining info_cnt before repeating btf fields
bpf: Preserve param->string when parsing mount options
bpf: Add the missing BPF_LINK_TYPE invocation for sockmap

Huacai Chen (3):
LoongArch: Get correct cores_per_package for SMT systems
LoongArch: Enable IRQ if do_ale() triggered in irq-enabled context
LoongArch: Make KASAN usable for variable cpu_vabits

Ian Forbes (1):
drm/vmwgfx: Handle possible ENOMEM in vmw_stdu_connector_atomic_check

Ilkka Koskinen (1):
KVM: arm64: Fix shift-out-of-bounds bug

Jakub Boehm (1):
net: plip: fix break; causing plip to never transmit

Jan Kara (1):
fsnotify: Avoid data race between fsnotify_recalc_mask() and fsnotify_object_watched()

Javier Carrasco (3):
iio: frequency: {admv4420,adrf6780}: format Kconfig entries
iio: frequency: admv4420: fix missing select REMAP_SPI in Kconfig
iio: adc: ti-lmp92064: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig

Jean Delvare (1):
[PATCH} hwmon: (jc42) Properly detect TSE2004-compliant devices again

Jessica Zhang (2):
drm/msm/dpu: Don't always set merge_3d pending flush drm/msm/dpu: don't always program merge_3d block

Jinjie Ruan (1):
posix-clock: posix-clock: Fix unbalanced locking in pc_clock_settime()

Jiri Olsa (2):
bpf: Fix memory leak in bpf_core_apply bpf,perf: Fix perf_event_detach_bpf_prog error handling

Jiri Slaby (SUSE) (2):
xhci: dbgtty: remove kfifo_out() wrapper
xhci: dbgtty: use kfifo from tty_port struct

Jonathan Marek (2):
drm/msm/dsi: improve/fix dsc pclk calculation
drm/msm/dsi: fix 32-bit signed integer extension in pclk_rate calculation

Jordan Rome (1):
bpf: Fix iter/task tid filtering

Josh Poimboeuf (1):
cdrom: Avoid barrier_nospec() in cdrom_ioctl_media_changed()

José Relvas (1):
ALSA: hda/realtek: Add subwoofer quirk for Acer Predator G9-593

Justin Chen (1):
firmware: arm_scmi: Queue in scmi layer for mailbox implementation

Kai Shen (1):
net/smc: Fix memory leak when using percpu refs

Kai Vehmanen (1):
ASoC: SOF: Intel: hda-loader: do not wait for HDaudio IOC

Kailang Yang (1):
ALSA: hda/realtek: Update default depop procedure

Kalesh AP (5):
RDMA/bnxt_re: Fix a possible memory leak RDMA/bnxt_re: Add a check for memory allocation RDMA/bnxt_re: Fix out of bound check RDMA/bnxt_re: Return more meaningful error RDMA/bnxt_re: Fix the GID table length

Kashyap Desai (1):
RDMA/bnxt_re: Fix incorrect dereference of srq in async event

Kefeng Wang (1):
mm: huge_memory: add vma_thp_disabled() and thp_disabled_by_hw()

Koba Ko (1):
ACPI: PRM: Find EFI_MEMORY_RUNTIME block for PRM handler and context

Konrad Dybcio (1):
PCI/pwrctl: Add WCN6855 support

Kory Maincent (1):
net: pse-pd: Fix out of bound for loop

Krzysztof Kozlowski (2):
ASoC: qcom: sc7280: Fix missing Soundwire runtime stream alloc
ASoC: qcom: Select missing common Soundwire module code on SDM845

Kuniyuki Iwashima (1):
tcp/dccp: Don't use timer_pending() in reqsk_queue_unlink().

Lad Prabhakar (1):
ASoC: rsnd: Fix probe failure on HiHope boards due to endpoint parsing

Leo Yan (1):
tracing: Consider the NULL character when validating the event length

Li Huafei (1):
fgraph: Fix missing unlock in register_ftrace_graph()

Li RongQing (1):
net/smc: Fix searching in list of known pnetids in smc_pnet_add_pnetid

Lin Ma (1):
net: wwan: fix global oob in wwan_rtnl_policy

Linus Torvalds (3):
x86: support user address masking instead of non-speculative conditional
x86: fix whitespace in runtime-const assembler output
x86: fix user address masking non-canonical speculation issue

Luiz Augusto von Dentz (3):
Bluetooth: hci_core: Disable works on hci_unregister_dev
Bluetooth: SCO: Fix UAF on sco_sock_timeout
Bluetooth: ISO: Fix UAF on iso_sock_timeout

Maher Sanalla (1):
net/mlx5: Check for invalid vector index on EQ creation

Marc Zyngier (1):
KVM: arm64: Don't eagerly teardown the vgic on init error

Mario Limonciello (2):
drm/amd: Guard against bad data for ATIF ACPI method drm/amd/display: Disable PSR-SU on Parade 08-01 TCON too

Mark Rutland (1):
arm64: Force position-independent veneers

Martin Kletzander (1):
x86/resctrl: Avoid overflow in MB settings in bw_validate()

Mathias Nyman (1):
xhci: dbc: honor usb transfer size boundaries.

Matthew Auld (2):
drm/xe: fix unbalanced rpm put() with fence_fini() drm/xe: fix unbalanced rpm put() with declare_wedged()

Matthew Brost (3):
drm/xe: Take job list lock in xe_sched_add_pending_job drm/xe: Don't free job in TDR
drm/xe: Use bookkeep slots for external BO's in exec IOCTL

Maurizio Lombardi (1):
nvme-pci: fix race condition between reset and nvme_dev_disable()

Michael S. Tsirkin (1):
virtio_net: fix integer overflow in stats

Michal Luczaj (4):
bpf, sockmap: SK_DROP on attempted redirects of unsupported af_vsock
vsock: Update rx_bytes on read_skb()
vsock: Update msg_count on read_skb()
bpf, vsock: Drop static vsock_bpf_prot initialization

Michel Alex (1):
net: phy: dp83822: Fix reset pin definitions

Mikel Rychliski (1):
tracing/probes: Fix MAX_TRACE_ARGS limit handling

Mikhail Lobanov (1):
iio: accel: bma400: Fix uninitialized variable field_value in tap event handling.

Miquel Raynal (2):
ASoC: dt-bindings: davinci-mcasp: Fix interrupts property
ASoC: dt-bindings: davinci-mcasp: Fix interrupt properties

Murad Masimov (1):
ALSA: hda/cs8409: Fix possible NULL dereference

Naohiro Aota (1):
btrfs: zoned: fix zone unusable accounting for freed reserved extent

Niklas Cassel (1):
ata: libata: Set DID_TIME_OUT for commands that actually timed out

Niklas Schnelle (1):

      s390/pci: Handle PCI error codes other than 0x3a

Niklas Söderlund (1):
net: ravb: Only advertise Rx/Tx timestamps if hardware supports it

Olga Kornievskaia (1):
nfsd: fix race between laundromat and free_stateid

Oliver Neukum (2):
net: usb: usbnet: fix race in probe failure
net: usb: usbnet: fix name regression

Oliver Upton (1):
KVM: arm64: Unregister redistributor for failed vCPU creation

Pablo Neira Ayuso (1):
netfilter: xtables: fix typo causing some targets not to load on IPv6

Pali Rohár (1):
cifs: Validate content of NFS reparse point buffer

Paritosh Dixit (1):
net: stmmac: dwmac-tegra: Fix link bring-up sequence

Paulo Alcantara (1):
smb: client: fix OOBs when building SMB2_IOCTL request

Pawan Gupta (1):
x86/lam: Disable ADDRESS_MASKING in most cases

Peter Collingbourne (1):
bpf, arm64: Fix address emission with tag-based KASAN enabled

Peter Rashleigh (2):
net: dsa: mv88e6xxx: Fix the max_vid definition for the MV88E6361
net: dsa: mv88e6xxx: Fix error when setting port policy on mv88e6393x

Petr Pavlu (1):
ring-buffer: Fix reader locking when changing the sub buffer order

Petr Vaganov (1):
xfrm: fix one more kernel-infoleak in algo dumping

Pranjal Ramajor Asha Kanojiya (1):
accel/qaic: Fix the for loop used to walk SG table

Pu Lehui (1):
riscv, bpf: Fix possible infinite tailcall when CONFIG_CFI_CLANG is enabled

Qiao Ma (1):
uprobe: avoid out-of-bounds memory access of fetching args

Qu Wenruo (2):
btrfs: qgroup: set a more sane default value for subtree drop threshold
btrfs: reject ro->rw reconfiguration if there are hard ro requirements

Ranjani Sridharan (4):
ASoC: SOF: Intel: hda: Handle prepare without close for non-HDA DAI's
ASoC: SOF: Intel: hda: Always clean up link DMA during stop
ASoC: SOF: ipc4-topology: Do not set ALH node_id for aggregated DAIs
soundwire: intel_ace2x: Send PDI stream number during prepare

Richard Gong (2):
x86/amd_nb: Add new PCI IDs for AMD family 1Ah model 60h-70h x86/amd_nb: Add new PCI ID for AMD family 1Ah model 20h

Rob Clark (1):
drm/msm/a6xx+: Insert a fence wait before SMMU table update

Ryusuke Konishi (1):
nilfs2: fix kernel bug due to missing clearing of buffer delay flag

Sabrina Dubroca (2):
macsec: don't increment counters for an unrelated SA
xfrm: validate new SA's prefixlen using SA family when sel.family is unset

Saravanan Vajravel (1):
RDMA/bnxt_re: Fix incorrect AVID type in WQE structure

Sean Christopherson (1):
KVM: nSVM: Ignore nCR3[4:0] when loading PDPTEs from memory

Selvin Xavier (1):
RDMA/bnxt_re: Avoid CPU lockups due fifo occupancy check loop

Shay Drory (1):
net/mlx5: Fix command bitmask initialization

Shenghao Yang (3):
net: dsa: mv88e6xxx: group cycle counter coefficients
net: dsa: mv88e6xxx: read cycle counter period from hardware
net: dsa: mv88e6xxx: support 4000ps cycle counter period

Shengjiu Wang (1):
ASoC: fsl_sai: Enable 'FIFO continue on error' FCONT bit

Shubham Panwar (1):
ACPI: button: Add DMI quirk for Samsung Galaxy Book2 to fix initial lid detection issue

Srinivasan Shanmugam (1):
drm/amd/amdgpu: Fix double unlock in amdgpu_mes_add_ring

Steven Rostedt (2):
fgraph: Allocate ret_stack_list with proper size
fgraph: Change the name of cpuhp state to "fgraph:online"

Su Hui (2):
firmware: arm_scmi: Fix the double free in scmi_debugfs_common_setup()
smb: client: fix possible double free in smb2_set_ea()

Takashi Sakamoto (1):
firewire: core: fix invalid port index for parent device

Thadeu Lima de Souza Cascardo (1):
usb: typec: altmode should keep reference to parent

Thomas Weißschuh (1):
LoongArch: Don't crash in stack_top() for tasks without vDSO

Tim Harvey (1):
net: dsa: microchip: disable EEE for KSZ879x/KSZ877x/KSZ876x

Timo Grautstueck (1):
lib/Kconfig.debug: fix grammar in RUST_BUILD_ASSERT_ALLOW

Toke Høiland-Jørgensen (2):
bpf: Make sure internal and UAPI bpf_redirect flags don't overlap
bpf: fix kfunc btf caching for modules

Tony Ambardar (1):
selftests/bpf: Fix cross-compiling urandom_read

Tyrone Wu (4):
bpf: fix unpopulated name_len field in perf_event link info selftests/bpf: fix perf_event link info name_len assertion
bpf: Fix unpopulated path_size when uprobe_multi fields unset
bpf: Fix link info netfilter flags to populate defrag flag

Vadim Fedorenko (1):
bnxt_en: replace ptp_lock with irqsave variant

Vamsi Krishna Brahmajosyula (1):
platform/x86/intel/pmc: Fix pmc_core_iounmap to call iounmap for valid addresses

Viktor Malik (1):
objpool: fix choosing allocation for percpu slots

Vladimir Oltean (2):
net: dsa: vsc73xx: fix reception from VLAN-unaware bridges
net/sched: act_api: deny mismatched skip_sw/skip_hw flags for actions created by classifiers

Waiman Long (1):
sched/core: Disable page allocation in task_tick_mm_cid()

Wander Lairson Costa (1):
bpf: Use raw_spinlock_t in ringbuf

Wang Hai (8):
net: ethernet: aeroflex: fix potential memory leak in greth_start_xmit_gbit()
net: xilinx: axienet: fix potential memory leak in axienet_start_xmit()
net: ethernet: rtsn: fix potential memory leak in rtsn_start_xmit()
net: systemport: fix potential memory leak in bcm_sysport_xmit()
net: bcmasp: fix potential memory leak in bcmasp_xmit()
scsi: target: core: Fix null-ptr-deref in target_alloc_device() net/sun3_82586: fix potential memory leak in sun3_82586_send_packet()
be2net: fix potential memory leak in be_xmit()

Xin Long (1):
ipv4: give an IPv4 dev to blackhole_netdev

Yang Erkun (1):
nfsd: cancel nfsd_shrinker_work using sync mode in nfs4_state_shutdown_net

Yao Zi (1):
clk: rockchip: fix finding of maximum clock ID

Ye Bin (2):
Bluetooth: bnep: fix wild-memory-access in proto_unregister
cifs: fix warning when destroy 'cifs_io_request_pool'

Yu Kuai (1):
md/raid10: fix null ptr dereference in raid10_size()

Yuan Can (2):
mlxsw: spectrum_router: fix xa_store() error checking
powercap: dtpm_devfreq: Fix error check against dev_pm_qos_add_request()

Yue Haibing (1):
btrfs: fix passing 0 to ERR_PTR in btrfs_search_dir_index_item()

Zhao Mengmeng (3):
udf: refactor udf_current_aext() to handle error
udf: refactor udf_next_aext() to handle error
udf: refactor inode_bmap() to handle error

Zichen Xie (1):
ASoC: qcom: Fix NULL Dereference in asoc_qcom_lpass_cpu_platform_probe()

liwei (1):
cpufreq: CPPC: fix perf_to_khz/khz_to_perf conversion exception

author maintainer
#1 lore raw
Documentation/devicetree/bindings/sound/davinci-mcasp-audio.yaml +9 -9
index 7735e08d35ba..beef193aaaeb 100644
@@ -102,21 +102,21 @@ properties:
     default: 2
 
   interrupts:
-    anyOf:
-      - minItems: 1
-        items:
-          - description: TX interrupt
-          - description: RX interrupt
-      - items:
-          - description: common/combined interrupt
+    minItems: 1
+    maxItems: 2
 
   interrupt-names:
     oneOf:
-      - minItems: 1
+      - description: TX interrupt
+        const: tx
+      - description: RX interrupt
+        const: rx
+      - description: TX and RX interrupts
         items:
           - const: tx
           - const: rx
-      - const: common
+      - description: Common/combined interrupt
+        const: common
 
   fck_parent:
     $ref: /schemas/types.yaml#/definitions/string
Makefile +1 -1
index 687ce7aee67a..318a5d60088e 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 6
 PATCHLEVEL = 11
-SUBLEVEL = 5
+SUBLEVEL = 6
 EXTRAVERSION =
 NAME = Baby Opossum Posse
 
arch/arm/boot/dts/broadcom/bcm2837-rpi-cm3-io3.dts +1 -1
index 72d26d130efa..85f54fa595aa 100644
@@ -77,7 +77,7 @@ &gpio {
 };
 
 &hdmi {
-	hpd-gpios = <&expgpio 1 GPIO_ACTIVE_LOW>;
+	hpd-gpios = <&expgpio 0 GPIO_ACTIVE_LOW>;
 	power-domains = <&power RPI_POWER_DOMAIN_HDMI>;
 	status = "okay";
 };
arch/arm64/Makefile +1 -1
index f6bc3da1ef11..c8e237b20ef2 100644
@@ -10,7 +10,7 @@
 #
 # Copyright (C) 1995-2001 by Russell King
 
-LDFLAGS_vmlinux	:=--no-undefined -X
+LDFLAGS_vmlinux	:=--no-undefined -X --pic-veneer
 
 ifeq ($(CONFIG_RELOCATABLE), y)
 # Pass --no-apply-dynamic-relocs to restore pre-binutils-2.27 behaviour
arch/arm64/kvm/arm.c +3 -0
index 9bef7638342e..ebc6782e3cd0 100644
@@ -996,6 +996,9 @@ static int kvm_vcpu_suspend(struct kvm_vcpu *vcpu)
 static int check_vcpu_requests(struct kvm_vcpu *vcpu)
 {
 	if (kvm_request_pending(vcpu)) {
+		if (kvm_check_request(KVM_REQ_VM_DEAD, vcpu))
+			return -EIO;
+
 		if (kvm_check_request(KVM_REQ_SLEEP, vcpu))
 			kvm_vcpu_sleep(vcpu);
 
arch/arm64/kvm/sys_regs.c +1 -1
index 31e49da867ff..2b1e2cec4c45 100644
@@ -1977,7 +1977,7 @@ static u64 reset_clidr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r)
 	 * one cache line.
 	 */
 	if (kvm_has_mte(vcpu->kvm))
-		clidr |= 2 << CLIDR_TTYPE_SHIFT(loc);
+		clidr |= 2ULL << CLIDR_TTYPE_SHIFT(loc);
 
 	__vcpu_sys_reg(vcpu, r->reg) = clidr;
 
arch/arm64/kvm/vgic/vgic-init.c +24 -4
index e7c53e8af3d1..d88fdeaf6144 100644
@@ -417,8 +417,28 @@ static void __kvm_vgic_vcpu_destroy(struct kvm_vcpu *vcpu)
 	kfree(vgic_cpu->private_irqs);
 	vgic_cpu->private_irqs = NULL;
 
-	if (vcpu->kvm->arch.vgic.vgic_model == KVM_DEV_TYPE_ARM_VGIC_V3)
+	if (vcpu->kvm->arch.vgic.vgic_model == KVM_DEV_TYPE_ARM_VGIC_V3) {
+		/*
+		 * If this vCPU is being destroyed because of a failed creation
+		 * then unregister the redistributor to avoid leaving behind a
+		 * dangling pointer to the vCPU struct.
+		 *
+		 * vCPUs that have been successfully created (i.e. added to
+		 * kvm->vcpu_array) get unregistered in kvm_vgic_destroy(), as
+		 * this function gets called while holding kvm->arch.config_lock
+		 * in the VM teardown path and would otherwise introduce a lock
+		 * inversion w.r.t. kvm->srcu.
+		 *
+		 * vCPUs that failed creation are torn down outside of the
+		 * kvm->arch.config_lock and do not get unregistered in
+		 * kvm_vgic_destroy(), meaning it is both safe and necessary to
+		 * do so here.
+		 */
+		if (kvm_get_vcpu_by_id(vcpu->kvm, vcpu->vcpu_id) != vcpu)
+			vgic_unregister_redist_iodev(vcpu);
+
 		vgic_cpu->rd_iodev.base_addr = VGIC_ADDR_UNDEF;
+	}
 }
 
 void kvm_vgic_vcpu_destroy(struct kvm_vcpu *vcpu)
@@ -536,10 +556,10 @@ int kvm_vgic_map_resources(struct kvm *kvm)
 out:
 	mutex_unlock(&kvm->arch.config_lock);
 out_slots:
-	mutex_unlock(&kvm->slots_lock);
-
 	if (ret)
-		kvm_vgic_destroy(kvm);
+		kvm_vm_dead(kvm);
+
+	mutex_unlock(&kvm->slots_lock);
 
 	return ret;
 }
arch/arm64/net/bpf_jit_comp.c +10 -2
index 59e05a7aea56..6e5a934ee2f5 100644
@@ -2172,7 +2172,11 @@ static int prepare_trampoline(struct jit_ctx *ctx, struct bpf_tramp_image *im,
 	emit(A64_STR64I(A64_R(20), A64_SP, regs_off + 8), ctx);
 
 	if (flags & BPF_TRAMP_F_CALL_ORIG) {
-		emit_a64_mov_i64(A64_R(0), (const u64)im, ctx);
+		/* for the first pass, assume the worst case */
+		if (!ctx->image)
+			ctx->idx += 4;
+		else
+			emit_a64_mov_i64(A64_R(0), (const u64)im, ctx);
 		emit_call((const u64)__bpf_tramp_enter, ctx);
 	}
 
@@ -2216,7 +2220,11 @@ static int prepare_trampoline(struct jit_ctx *ctx, struct bpf_tramp_image *im,
 
 	if (flags & BPF_TRAMP_F_CALL_ORIG) {
 		im->ip_epilogue = ctx->ro_image + ctx->idx;
-		emit_a64_mov_i64(A64_R(0), (const u64)im, ctx);
+		/* for the first pass, assume the worst case */
+		if (!ctx->image)
+			ctx->idx += 4;
+		else
+			emit_a64_mov_i64(A64_R(0), (const u64)im, ctx);
 		emit_call((const u64)__bpf_tramp_exit, ctx);
 	}
 
arch/loongarch/include/asm/bootinfo.h +4 -0
index 6d5846dd075c..7657e016233f 100644
@@ -26,6 +26,10 @@ struct loongson_board_info {
 
 #define NR_WORDS DIV_ROUND_UP(NR_CPUS, BITS_PER_LONG)
 
+/*
+ * The "core" of cores_per_node and cores_per_package stands for a
+ * logical core, which means in a SMT system it stands for a thread.
+ */
 struct loongson_system_configuration {
 	int nr_cpus;
 	int nr_nodes;
arch/loongarch/include/asm/kasan.h +1 -1
index cd6084f4e153..c6bce5fbff57 100644
@@ -16,7 +16,7 @@
 #define XRANGE_SHIFT (48)
 
 /* Valid address length */
-#define XRANGE_SHADOW_SHIFT	(PGDIR_SHIFT + PAGE_SHIFT - 3)
+#define XRANGE_SHADOW_SHIFT	min(cpu_vabits, VA_BITS)
 /* Used for taking out the valid address */
 #define XRANGE_SHADOW_MASK	GENMASK_ULL(XRANGE_SHADOW_SHIFT - 1, 0)
 /* One segment whole address space size */
arch/loongarch/kernel/process.c +9 -7
index f2ff8b5d591e..6e58f65455c7 100644
@@ -293,13 +293,15 @@ unsigned long stack_top(void)
 {
 	unsigned long top = TASK_SIZE & PAGE_MASK;
 
-	/* Space for the VDSO & data page */
-	top -= PAGE_ALIGN(current->thread.vdso->size);
-	top -= VVAR_SIZE;
-
-	/* Space to randomize the VDSO base */
-	if (current->flags & PF_RANDOMIZE)
-		top -= VDSO_RANDOMIZE_SIZE;
+	if (current->thread.vdso) {
+		/* Space for the VDSO & data page */
+		top -= PAGE_ALIGN(current->thread.vdso->size);
+		top -= VVAR_SIZE;
+
+		/* Space to randomize the VDSO base */
+		if (current->flags & PF_RANDOMIZE)
+			top -= VDSO_RANDOMIZE_SIZE;
+	}
 
 	return top;
 }
arch/loongarch/kernel/setup.c +2 -1
index 0f0740f0be27..d2b18ed23b8a 100644
@@ -55,6 +55,7 @@
 #define SMBIOS_FREQHIGH_OFFSET		0x17
 #define SMBIOS_FREQLOW_MASK		0xFF
 #define SMBIOS_CORE_PACKAGE_OFFSET	0x23
+#define SMBIOS_THREAD_PACKAGE_OFFSET	0x25
 #define LOONGSON_EFI_ENABLE		(1 << 3)
 
 unsigned long fw_arg0, fw_arg1, fw_arg2;
@@ -125,7 +126,7 @@ static void __init parse_cpu_table(const struct dmi_header *dm)
 	cpu_clock_freq = freq_temp * 1000000;
 
 	loongson_sysconf.cpuname = (void *)dmi_string_parse(dm, dmi_data[16]);
-	loongson_sysconf.cores_per_package = *(dmi_data + SMBIOS_CORE_PACKAGE_OFFSET);
+	loongson_sysconf.cores_per_package = *(dmi_data + SMBIOS_THREAD_PACKAGE_OFFSET);
 
 	pr_info("CpuClock = %llu\n", cpu_clock_freq);
 }
arch/loongarch/kernel/traps.c +5 -0
index f9f4eb00c92e..c57b4134f3e8 100644
@@ -555,6 +555,9 @@ asmlinkage void noinstr do_ale(struct pt_regs *regs)
 #else
 	unsigned int *pc;
 
+	if (regs->csr_prmd & CSR_PRMD_PIE)
+		local_irq_enable();
+
 	perf_sw_event(PERF_COUNT_SW_ALIGNMENT_FAULTS, 1, regs, regs->csr_badvaddr);
 
 	/*
@@ -579,6 +582,8 @@ asmlinkage void noinstr do_ale(struct pt_regs *regs)
 	die_if_kernel("Kernel ale access", regs);
 	force_sig_fault(SIGBUS, BUS_ADRALN, (void __user *)regs->csr_badvaddr);
 out:
+	if (regs->csr_prmd & CSR_PRMD_PIE)
+		local_irq_disable();
 #endif
 	irqentry_exit(regs, state);
 }
arch/riscv/net/bpf_jit_comp64.c +5 -3
index 99f34409fb60..4cc631fa7039 100644
@@ -18,6 +18,7 @@
 #define RV_MAX_REG_ARGS 8
 #define RV_FENTRY_NINSNS 2
 #define RV_FENTRY_NBYTES (RV_FENTRY_NINSNS * 4)
+#define RV_KCFI_NINSNS (IS_ENABLED(CONFIG_CFI_CLANG) ? 1 : 0)
 /* imm that allows emit_imm to emit max count insns */
 #define RV_MAX_COUNT_IMM 0x7FFF7FF7FF7FF7FF
 
@@ -271,7 +272,8 @@ static void __build_epilogue(bool is_tail_call, struct rv_jit_context *ctx)
 	if (!is_tail_call)
 		emit_addiw(RV_REG_A0, RV_REG_A5, 0, ctx);
 	emit_jalr(RV_REG_ZERO, is_tail_call ? RV_REG_T3 : RV_REG_RA,
-		  is_tail_call ? (RV_FENTRY_NINSNS + 1) * 4 : 0, /* skip reserved nops and TCC init */
+		  /* kcfi, fentry and TCC init insns will be skipped on tailcall */
+		  is_tail_call ? (RV_KCFI_NINSNS + RV_FENTRY_NINSNS + 1) * 4 : 0,
 		  ctx);
 }
 
@@ -548,8 +550,8 @@ static void emit_atomic(u8 rd, u8 rs, s16 off, s32 imm, bool is64,
 		     rv_lr_w(r0, 0, rd, 0, 0), ctx);
 		jmp_offset = ninsns_rvoff(8);
 		emit(rv_bne(RV_REG_T2, r0, jmp_offset >> 1), ctx);
-		emit(is64 ? rv_sc_d(RV_REG_T3, rs, rd, 0, 0) :
-		     rv_sc_w(RV_REG_T3, rs, rd, 0, 0), ctx);
+		emit(is64 ? rv_sc_d(RV_REG_T3, rs, rd, 0, 1) :
+		     rv_sc_w(RV_REG_T3, rs, rd, 0, 1), ctx);
 		jmp_offset = ninsns_rvoff(-6);
 		emit(rv_bne(RV_REG_T3, 0, jmp_offset >> 1), ctx);
 		emit(rv_fence(0x3, 0x3), ctx);
arch/s390/include/asm/perf_event.h +1 -0
index 9917e2717b2b..66aff768f815 100644
@@ -73,6 +73,7 @@ struct perf_sf_sde_regs {
 #define SAMPLE_FREQ_MODE(hwc)	(SAMPL_FLAGS(hwc) & PERF_CPUM_SF_FREQ_MODE)
 
 #define perf_arch_fetch_caller_regs(regs, __ip) do {			\
+	(regs)->psw.mask = 0;						\
 	(regs)->psw.addr = (__ip);					\
 	(regs)->gprs[15] = (unsigned long)__builtin_frame_address(0) -	\
 		offsetof(struct stack_frame, back_chain);		\
arch/s390/pci/pci_event.c +9 -8
index dbe95ec5917e..d4f19d33914c 100644
@@ -280,18 +280,19 @@ static void __zpci_event_error(struct zpci_ccdf_err *ccdf)
 		goto no_pdev;
 
 	switch (ccdf->pec) {
-	case 0x003a: /* Service Action or Error Recovery Successful */
+	case 0x002a: /* Error event concerns FMB */
+	case 0x002b:
+	case 0x002c:
+		break;
+	case 0x0040: /* Service Action or Error Recovery Failed */
+	case 0x003b:
+		zpci_event_io_failure(pdev, pci_channel_io_perm_failure);
+		break;
+	default: /* PCI function left in the error state attempt to recover */
 		ers_res = zpci_event_attempt_error_recovery(pdev);
 		if (ers_res != PCI_ERS_RESULT_RECOVERED)
 			zpci_event_io_failure(pdev, pci_channel_io_perm_failure);
 		break;
-	default:
-		/*
-		 * Mark as frozen not permanently failed because the device
-		 * could be subsequently recovered by the platform.
-		 */
-		zpci_event_io_failure(pdev, pci_channel_io_frozen);
-		break;
 	}
 	pci_dev_put(pdev);
 no_pdev:
arch/x86/Kconfig +1 -0
index 007bab9f2a0e..4e0b05a6bb5c 100644
@@ -2260,6 +2260,7 @@ config RANDOMIZE_MEMORY_PHYSICAL_PADDING
 config ADDRESS_MASKING
 	bool "Linear Address Masking support"
 	depends on X86_64
+	depends on COMPILE_TEST || !CPU_MITIGATIONS # wait for LASS
 	help
 	  Linear Address Masking (LAM) modifies the checking that is applied
 	  to 64-bit linear addresses, allowing software to use of the
arch/x86/events/rapl.c +42 -5

91 lines not on this page · raw message

arch/x86/include/asm/runtime-const.h +2 -2
index 24e3a53ca255..6652ebddfd02 100644
@@ -6,7 +6,7 @@
 	typeof(sym) __ret;					\
 	asm_inline("mov %1,%0\n1:\n"				\
 		".pushsection runtime_ptr_" #sym ",\"a\"\n\t"	\
-		".long 1b - %c2 - .\n\t"			\
+		".long 1b - %c2 - .\n"				\
 		".popsection"					\
 		:"=r" (__ret)					\
 		:"i" ((unsigned long)0x0123456789abcdefull),	\
@@ -20,7 +20,7 @@
 	typeof(0u+(val)) __ret = (val);				\
 	asm_inline("shrl $12,%k0\n1:\n"				\
 		".pushsection runtime_shift_" #sym ",\"a\"\n\t"	\
-		".long 1b - 1 - .\n\t"				\
+		".long 1b - 1 - .\n"				\
 		".popsection"					\
 		:"+r" (__ret));					\
 	__ret; })
arch/x86/include/asm/uaccess_64.h +29 -16

70 lines not on this page · raw message

arch/x86/kernel/amd_nb.c +6 -0
index 61eadde08511..9fe9972d2071 100644
@@ -44,6 +44,9 @@
 #define PCI_DEVICE_ID_AMD_19H_M70H_DF_F4	0x14f4
 #define PCI_DEVICE_ID_AMD_19H_M78H_DF_F4	0x12fc
 #define PCI_DEVICE_ID_AMD_1AH_M00H_DF_F4	0x12c4
+#define PCI_DEVICE_ID_AMD_1AH_M20H_DF_F4	0x16fc
+#define PCI_DEVICE_ID_AMD_1AH_M60H_DF_F4	0x124c
+#define PCI_DEVICE_ID_AMD_1AH_M70H_DF_F4	0x12bc
 #define PCI_DEVICE_ID_AMD_MI200_DF_F4		0x14d4
 #define PCI_DEVICE_ID_AMD_MI300_DF_F4		0x152c
 
@@ -125,6 +128,9 @@ static const struct pci_device_id amd_nb_link_ids[] = {
 	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_19H_M78H_DF_F4) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_CNB17H_F4) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_1AH_M00H_DF_F4) },
+	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_1AH_M20H_DF_F4) },
+	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_1AH_M60H_DF_F4) },
+	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_1AH_M70H_DF_F4) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_MI200_DF_F4) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_MI300_DF_F4) },
 	{}
arch/x86/kernel/cpu/common.c +10 -0
index ab0e2da7c9ef..b7d97f97cd98 100644
@@ -69,6 +69,7 @@
 #include <asm/sev.h>
 #include <asm/tdx.h>
 #include <asm/posted_intr.h>
+#include <asm/runtime-const.h>
 
 #include "cpu.h"
 
@@ -2371,6 +2372,15 @@ void __init arch_cpu_finalize_init(void)
 	alternative_instructions();
 
 	if (IS_ENABLED(CONFIG_X86_64)) {
+		unsigned long USER_PTR_MAX = TASK_SIZE_MAX-1;
+
+		/*
+		 * Enable this when LAM is gated on LASS support
+		if (cpu_feature_enabled(X86_FEATURE_LAM))
+			USER_PTR_MAX = (1ul << 63) - PAGE_SIZE - 1;
+		 */
+		runtime_const_init(ptr, USER_PTR_MAX);
+
 		/*
 		 * Make sure the first 2MB area is not mapped by huge pages
 		 * There are typically fixed size MTRRs in there and overlapping
arch/x86/kernel/cpu/resctrl/ctrlmondata.c +14 -9
index 50fa1fe9a073..200d89a64027 100644
@@ -29,10 +29,10 @@
  * hardware. The allocated bandwidth percentage is rounded to the next
  * control step available on the hardware.
  */
-static bool bw_validate(char *buf, unsigned long *data, struct rdt_resource *r)
+static bool bw_validate(char *buf, u32 *data, struct rdt_resource *r)
 {
-	unsigned long bw;
 	int ret;
+	u32 bw;
 
 	/*
 	 * Only linear delay values is supported for current Intel SKUs.
@@ -42,16 +42,21 @@ static bool bw_validate(char *buf, unsigned long *data, struct rdt_resource *r)
 		return false;
 	}
 
-	ret = kstrtoul(buf, 10, &bw);
+	ret = kstrtou32(buf, 10, &bw);
 	if (ret) {
-		rdt_last_cmd_printf("Non-decimal digit in MB value %s\n", buf);
+		rdt_last_cmd_printf("Invalid MB value %s\n", buf);
 		return false;
 	}
 
-	if ((bw < r->membw.min_bw || bw > r->default_ctrl) &&
-	    !is_mba_sc(r)) {
-		rdt_last_cmd_printf("MB value %ld out of range [%d,%d]\n", bw,
-				    r->membw.min_bw, r->default_ctrl);
+	/* Nothing else to do if software controller is enabled. */
+	if (is_mba_sc(r)) {
+		*data = bw;
+		return true;
+	}
+
+	if (bw < r->membw.min_bw || bw > r->default_ctrl) {
+		rdt_last_cmd_printf("MB value %u out of range [%d,%d]\n",
+				    bw, r->membw.min_bw, r->default_ctrl);
 		return false;
 	}
 
@@ -65,7 +70,7 @@ int parse_bw(struct rdt_parse_data *data, struct resctrl_schema *s,
 	struct resctrl_staged_config *cfg;
 	u32 closid = data->rdtgrp->closid;
 	struct rdt_resource *r = s->res;
-	unsigned long bw_val;
+	u32 bw_val;
 
 	cfg = &d->staged_config[s->conf_type];
 	if (cfg->have_new_ctrl) {
arch/x86/kernel/vmlinux.lds.S +1 -0
index 6e73403e874f..6fb8d7ba9b50 100644
@@ -359,6 +359,7 @@ SECTIONS
 
 	RUNTIME_CONST(shift, d_hash_shift)
 	RUNTIME_CONST(ptr, dentry_hashtable)
+	RUNTIME_CONST(ptr, USER_PTR_MAX)
 
 	. = ALIGN(PAGE_SIZE);
 
arch/x86/kvm/svm/nested.c +5 -1
index 6f704c1037e5..6b3e0c75db94 100644
@@ -63,8 +63,12 @@ static u64 nested_svm_get_tdp_pdptr(struct kvm_vcpu *vcpu, int index)
 	u64 pdpte;
 	int ret;
 
+	/*
+	 * Note, nCR3 is "assumed" to be 32-byte aligned, i.e. the CPU ignores
+	 * nCR3[4:0] when loading PDPTEs from memory.
+	 */
 	ret = kvm_vcpu_read_guest_page(vcpu, gpa_to_gfn(cr3), &pdpte,
-				       offset_in_page(cr3) + index * 8, 8);
+				       (cr3 & GENMASK(11, 5)) + index * 8, 8);
 	if (ret)
 		return 0;
 	return pdpte;
arch/x86/lib/getuser.S +7 -2
index d066aecf8aeb..4357ec2a0bfc 100644
@@ -39,8 +39,13 @@
 
 .macro check_range size:req
 .if IS_ENABLED(CONFIG_X86_64)
-	mov %rax, %rdx
-	sar $63, %rdx
+	movq $0x0123456789abcdef,%rdx
+  1:
+  .pushsection runtime_ptr_USER_PTR_MAX,"a"
+	.long 1b - 8 - .
+  .popsection
+	cmp %rax, %rdx
+	sbb %rdx, %rdx
 	or %rdx, %rax
 .else
 	cmp $TASK_SIZE_MAX-\size+1, %eax
arch/x86/virt/svm/sev.c +2 -0
index 0ce17766c0e5..9a6a943d8e41 100644
@@ -173,6 +173,8 @@ static void __init __snp_fixup_e820_tables(u64 pa)
 		e820__range_update(pa, PMD_SIZE, E820_TYPE_RAM, E820_TYPE_RESERVED);
 		e820__range_update_table(e820_table_kexec, pa, PMD_SIZE, E820_TYPE_RAM, E820_TYPE_RESERVED);
 		e820__range_update_table(e820_table_firmware, pa, PMD_SIZE, E820_TYPE_RAM, E820_TYPE_RESERVED);
+		if (!memblock_is_region_reserved(pa, PMD_SIZE))
+			memblock_reserve(pa, PMD_SIZE);
 	}
 }
 
block/elevator.c +12 -5
index 4122026b11f1..640fcc891b0d 100644
@@ -106,8 +106,7 @@ static struct elevator_type *__elevator_find(const char *name)
 	return NULL;
 }
 
-static struct elevator_type *elevator_find_get(struct request_queue *q,
-		const char *name)
+static struct elevator_type *elevator_find_get(const char *name)
 {
 	struct elevator_type *e;
 
@@ -569,7 +568,7 @@ static struct elevator_type *elevator_get_default(struct request_queue *q)
 	    !blk_mq_is_shared_tags(q->tag_set->flags))
 		return NULL;
 
-	return elevator_find_get(q, "mq-deadline");
+	return elevator_find_get("mq-deadline");
 }
 
 /*
@@ -697,7 +696,7 @@ static int elevator_change(struct request_queue *q, const char *elevator_name)
 	if (q->elevator && elevator_match(q->elevator->type, elevator_name))
 		return 0;
 
-	e = elevator_find_get(q, elevator_name);
+	e = elevator_find_get(elevator_name);
 	if (!e)
 		return -EINVAL;
 	ret = elevator_switch(q, e);
@@ -709,13 +708,21 @@ int elv_iosched_load_module(struct gendisk *disk, const char *buf,
 			    size_t count)
 {
 	char elevator_name[ELV_NAME_MAX];
+	struct elevator_type *found;
+	const char *name;
 
 	if (!elv_support_iosched(disk->queue))
 		return -EOPNOTSUPP;
 
 	strscpy(elevator_name, buf, sizeof(elevator_name));
+	name = strstrip(elevator_name);
 
-	request_module("%s-iosched", strstrip(elevator_name));
+	spin_lock(&elv_list_lock);
+	found = __elevator_find(name);
+	spin_unlock(&elv_list_lock);
+
+	if (!found)
+		request_module("%s-iosched", name);
 
 	return 0;
 }
drivers/accel/qaic/qaic_control.c +1 -1
index 9e8a8cbadf6b..d8bdab69f800 100644
@@ -496,7 +496,7 @@ static int encode_addr_size_pairs(struct dma_xfer *xfer, struct wrapper_list *wr
 	nents = sgt->nents;
 	nents_dma = nents;
 	*size = QAIC_MANAGE_EXT_MSG_LENGTH - msg_hdr_len - sizeof(**out_trans);
-	for_each_sgtable_sg(sgt, sg, i) {
+	for_each_sgtable_dma_sg(sgt, sg, i) {
 		*size -= sizeof(*asp);
 		/* Save 1K for possible follow-up transactions. */
 		if (*size < SZ_1K) {
drivers/accel/qaic/qaic_data.c +3 -3
index e86e71c1cdd8..c20eb63750f5 100644
@@ -184,7 +184,7 @@ static int clone_range_of_sgt_for_slice(struct qaic_device *qdev, struct sg_tabl
 	nents = 0;
 
 	size = size ? size : PAGE_SIZE;
-	for (sg = sgt_in->sgl; sg; sg = sg_next(sg)) {
+	for_each_sgtable_dma_sg(sgt_in, sg, j) {
 		len = sg_dma_len(sg);
 
 		if (!len)
@@ -221,7 +221,7 @@ static int clone_range_of_sgt_for_slice(struct qaic_device *qdev, struct sg_tabl
 
 	/* copy relevant sg node and fix page and length */
 	sgn = sgf;
-	for_each_sgtable_sg(sgt, sg, j) {
+	for_each_sgtable_dma_sg(sgt, sg, j) {
 		memcpy(sg, sgn, sizeof(*sg));
 		if (sgn == sgf) {
 			sg_dma_address(sg) += offf;
@@ -301,7 +301,7 @@ static int encode_reqs(struct qaic_device *qdev, struct bo_slice *slice,
 	 * fence.
 	 */
 	dev_addr = req->dev_addr;
-	for_each_sgtable_sg(slice->sgt, sg, i) {
+	for_each_sgtable_dma_sg(slice->sgt, sg, i) {
 		slice->reqs[i].cmd = cmd;
 		slice->reqs[i].src_addr = cpu_to_le64(slice->dir == DMA_TO_DEVICE ?
 						      sg_dma_address(sg) : dev_addr);
drivers/acpi/button.c +11 -0
index cc61020756be..1bb61425fa0b 100644
@@ -130,6 +130,17 @@ static const struct dmi_system_id dmi_lid_quirks[] = {
 		},
 		.driver_data = (void *)(long)ACPI_BUTTON_LID_INIT_OPEN,
 	},
+	{
+		/*
+		 * Samsung galaxybook2 ,initial _LID device notification returns
+		 * lid closed.
+		 */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "750XED"),
+		},
+		.driver_data = (void *)(long)ACPI_BUTTON_LID_INIT_OPEN,
+	},
 	{}
 };
 
drivers/acpi/cppc_acpi.c +17 -5
index 5b06e236aabe..ed91dfd4fdca 100644
@@ -1916,9 +1916,15 @@ unsigned int cppc_perf_to_khz(struct cppc_perf_caps *caps, unsigned int perf)
 	u64 mul, div;
 
 	if (caps->lowest_freq && caps->nominal_freq) {
-		mul = caps->nominal_freq - caps->lowest_freq;
+		/* Avoid special case when nominal_freq is equal to lowest_freq */
+		if (caps->lowest_freq == caps->nominal_freq) {
+			mul = caps->nominal_freq;
+			div = caps->nominal_perf;
+		} else {
+			mul = caps->nominal_freq - caps->lowest_freq;
+			div = caps->nominal_perf - caps->lowest_perf;
+		}
 		mul *= KHZ_PER_MHZ;
-		div = caps->nominal_perf - caps->lowest_perf;
 		offset = caps->nominal_freq * KHZ_PER_MHZ -
 			 div64_u64(caps->nominal_perf * mul, div);
 	} else {
@@ -1939,11 +1945,17 @@ unsigned int cppc_khz_to_perf(struct cppc_perf_caps *caps, unsigned int freq)
 {
 	s64 retval, offset = 0;
 	static u64 max_khz;
-	u64  mul, div;
+	u64 mul, div;
 
 	if (caps->lowest_freq && caps->nominal_freq) {
-		mul = caps->nominal_perf - caps->lowest_perf;
-		div = caps->nominal_freq - caps->lowest_freq;
+		/* Avoid special case when nominal_freq is equal to lowest_freq */
+		if (caps->lowest_freq == caps->nominal_freq) {
+			mul = caps->nominal_perf;
+			div = caps->nominal_freq;
+		} else {
+			mul = caps->nominal_perf - caps->lowest_perf;
+			div = caps->nominal_freq - caps->lowest_freq;
+		}
 		/*
 		 * We don't need to convert to kHz for computing offset and can
 		 * directly use nominal_freq and lowest_freq as the div64_u64
drivers/acpi/prmt.c +23 -6
index c78453c74ef5..6ea80369e213 100644
@@ -52,7 +52,7 @@ struct prm_context_buffer {
 static LIST_HEAD(prm_module_list);
 
 struct prm_handler_info {
-	guid_t guid;
+	efi_guid_t guid;
 	efi_status_t (__efiapi *handler_addr)(u64, void *);
 	u64 static_data_buffer_addr;
 	u64 acpi_param_buffer_addr;
@@ -72,17 +72,21 @@ struct prm_module_info {
 	struct prm_handler_info handlers[] __counted_by(handler_count);
 };
 
-static u64 efi_pa_va_lookup(u64 pa)
+static u64 efi_pa_va_lookup(efi_guid_t *guid, u64 pa)
 {
 	efi_memory_desc_t *md;
 	u64 pa_offset = pa & ~PAGE_MASK;
 	u64 page = pa & PAGE_MASK;
 
 	for_each_efi_memory_desc(md) {
-		if (md->phys_addr < pa && pa < md->phys_addr + PAGE_SIZE * md->num_pages)
+		if ((md->attribute & EFI_MEMORY_RUNTIME) &&
+		    (md->phys_addr < pa && pa < md->phys_addr + PAGE_SIZE * md->num_pages)) {
 			return pa_offset + md->virt_addr + page - md->phys_addr;
+		}
 	}
 
+	pr_warn("Failed to find VA for GUID: %pUL, PA: 0x%llx", guid, pa);
+
 	return 0;
 }
 
@@ -148,9 +152,15 @@ acpi_parse_prmt(union acpi_subtable_headers *header, const unsigned long end)
 		th = &tm->handlers[cur_handler];
 
 		guid_copy(&th->guid, (guid_t *)handler_info->handler_guid);
-		th->handler_addr = (void *)efi_pa_va_lookup(handler_info->handler_address);
-		th->static_data_buffer_addr = efi_pa_va_lookup(handler_info->static_data_buffer_address);
-		th->acpi_param_buffer_addr = efi_pa_va_lookup(handler_info->acpi_param_buffer_address);
+		th->handler_addr =
+			(void *)efi_pa_va_lookup(&th->guid, handler_info->handler_address);
+
+		th->static_data_buffer_addr =
+			efi_pa_va_lookup(&th->guid, handler_info->static_data_buffer_address);
+
+		th->acpi_param_buffer_addr =
+			efi_pa_va_lookup(&th->guid, handler_info->acpi_param_buffer_address);
+
 	} while (++cur_handler < tm->handler_count && (handler_info = get_next_handler(handler_info)));
 
 	return 0;
@@ -253,6 +263,13 @@ static acpi_status acpi_platformrt_space_handler(u32 function,
 		if (!handler || !module)
 			goto invalid_guid;
 
+		if (!handler->handler_addr ||
+		    !handler->static_data_buffer_addr ||
+		    !handler->acpi_param_buffer_addr) {
+			buffer->prm_status = PRM_HANDLER_ERROR;
+			return AE_OK;
+		}
+
 		ACPI_COPY_NAMESEG(context.signature, "PRMC");
 		context.revision = 0x0;
 		context.reserved = 0x0;
drivers/acpi/resource.c +7 -0
index 0eb52e372467..a904bf9a7f7d 100644
@@ -538,6 +538,13 @@ static const struct dmi_system_id irq1_level_low_skip_override[] = {
 			DMI_MATCH(DMI_BOARD_NAME, "17U70P"),
 		},
 	},
+	{
+		/* LG Electronics 16T90SP */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "LG Electronics"),
+			DMI_MATCH(DMI_BOARD_NAME, "16T90SP"),
+		},
+	},
 	{ }
 };
 
drivers/ata/libata-eh.c +1 -0
index 002e1e9501d1..b05cc0e46542 100644
@@ -648,6 +648,7 @@ void ata_scsi_cmd_error_handler(struct Scsi_Host *host, struct ata_port *ap,
 			/* the scmd has an associated qc */
 			if (!(qc->flags & ATA_QCFLAG_EH)) {
 				/* which hasn't failed yet, timeout */
+				set_host_byte(scmd, DID_TIME_OUT);
 				qc->err_mask |= AC_ERR_TIMEOUT;
 				qc->flags |= ATA_QCFLAG_EH;
 				nr_timedout++;
drivers/cdrom/cdrom.c +1 -1
index 9b0f37d4b9d4..6a99a459b80b 100644
@@ -2313,7 +2313,7 @@ static int cdrom_ioctl_media_changed(struct cdrom_device_info *cdi,
 		return -EINVAL;
 
 	/* Prevent arg from speculatively bypassing the length check */
-	barrier_nospec();
+	arg = array_index_nospec(arg, cdi->capacity);
 
 	info = kmalloc(sizeof(*info), GFP_KERNEL);
 	if (!info)
drivers/clk/rockchip/clk.c +1 -1
index 2fa7253c73b2..88629a9abc9c 100644
@@ -439,7 +439,7 @@ unsigned long rockchip_clk_find_max_clk_id(struct rockchip_clk_branch *list,
 		if (list->id > max)
 			max = list->id;
 		if (list->child && list->child->id > max)
-			max = list->id;
+			max = list->child->id;
 	}
 
 	return max;
drivers/cpufreq/amd-pstate.c +10 -0
index 589fde37ccd7..929b9097a6c1 100644
@@ -1281,11 +1281,21 @@ static int amd_pstate_register_driver(int mode)
 		return -EINVAL;
 
 	cppc_state = mode;
+
+	ret = amd_pstate_enable(true);
+	if (ret) {
+		pr_err("failed to enable cppc during amd-pstate driver registration, return %d\n",
+		       ret);
+		amd_pstate_driver_cleanup();
+		return ret;
+	}
+
 	ret = cpufreq_register_driver(current_pstate_driver);
 	if (ret) {
 		amd_pstate_driver_cleanup();
 		return ret;
 	}
+
 	return 0;
 }
 
drivers/firewire/core-topology.c +1 -1
index b4e637aa6932..7e98562d2eb8 100644
@@ -204,7 +204,7 @@ static struct fw_node *build_tree(struct fw_card *card, const u32 *sid, int self
 				// the node->ports array where the parent node should be.  Later,
 				// when we handle the parent node, we fix up the reference.
 				++parent_count;
-				node->color = i;
+				node->color = port_index;
 				break;
 
 			case PHY_PACKET_SELF_ID_PORT_STATUS_CHILD:
drivers/firmware/arm_scmi/driver.c +1 -3
index 6b6957f4743f..dc09f2d755f4 100644
@@ -2902,10 +2902,8 @@ static struct scmi_debug_info *scmi_debugfs_common_setup(struct scmi_info *info)
 	dbg->top_dentry = top_dentry;
 
 	if (devm_add_action_or_reset(info->dev,
-				     scmi_debugfs_common_cleanup, dbg)) {
-		scmi_debugfs_common_cleanup(dbg);
+				     scmi_debugfs_common_cleanup, dbg))
 		return NULL;
-	}
 
 	return dbg;
 }
drivers/firmware/arm_scmi/mailbox.c +21 -11
index 0219a12e3209..06087cb785f3 100644
@@ -24,6 +24,7 @@
  * @chan_platform_receiver: Optional Platform Receiver mailbox unidirectional channel
  * @cinfo: SCMI channel info
  * @shmem: Transmit/Receive shared memory area
+ * @chan_lock: Lock that prevents multiple xfers from being queued
  */
 struct scmi_mailbox {
 	struct mbox_client cl;
@@ -32,6 +33,7 @@ struct scmi_mailbox {
 	struct mbox_chan *chan_platform_receiver;
 	struct scmi_chan_info *cinfo;
 	struct scmi_shared_mem __iomem *shmem;
+	struct mutex chan_lock;
 };
 
 #define client_to_scmi_mailbox(c) container_of(c, struct scmi_mailbox, cl)
@@ -255,6 +257,7 @@ static int mailbox_chan_setup(struct scmi_chan_info *cinfo, struct device *dev,
 
 	cinfo->transport_info = smbox;
 	smbox->cinfo = cinfo;
+	mutex_init(&smbox->chan_lock);
 
 	return 0;
 }
@@ -284,13 +287,23 @@ static int mailbox_send_message(struct scmi_chan_info *cinfo,
 	struct scmi_mailbox *smbox = cinfo->transport_info;
 	int ret;
 
-	ret = mbox_send_message(smbox->chan, xfer);
+	/*
+	 * The mailbox layer has its own queue. However the mailbox queue
+	 * confuses the per message SCMI timeouts since the clock starts when
+	 * the message is submitted into the mailbox queue. So when multiple
+	 * messages are queued up the clock starts on all messages instead of
+	 * only the one inflight.
+	 */
+	mutex_lock(&smbox->chan_lock);
 
-	/* mbox_send_message returns non-negative value on success, so reset */
-	if (ret > 0)
-		ret = 0;
+	ret = mbox_send_message(smbox->chan, xfer);
+	/* mbox_send_message returns non-negative value on success */
+	if (ret < 0) {
+		mutex_unlock(&smbox->chan_lock);
+		return ret;
+	}
 
-	return ret;
+	return 0;
 }
 
 static void mailbox_mark_txdone(struct scmi_chan_info *cinfo, int ret,
@@ -298,13 +311,10 @@ static void mailbox_mark_txdone(struct scmi_chan_info *cinfo, int ret,
 {
 	struct scmi_mailbox *smbox = cinfo->transport_info;
 
-	/*
-	 * NOTE: we might prefer not to need the mailbox ticker to manage the
-	 * transfer queueing since the protocol layer queues things by itself.
-	 * Unfortunately, we have to kick the mailbox framework after we have
-	 * received our message.
-	 */
 	mbox_client_txdone(smbox->chan, ret);
+
+	/* Release channel */
+	mutex_unlock(&smbox->chan_lock);
 }
 
 static void mailbox_fetch_response(struct scmi_chan_info *cinfo,
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c +12 -3
index f85ace0384d2..1f5a296f5ed2 100644
@@ -147,6 +147,7 @@ static union acpi_object *amdgpu_atif_call(struct amdgpu_atif *atif,
 					   struct acpi_buffer *params)
 {
 	acpi_status status;
+	union acpi_object *obj;
 	union acpi_object atif_arg_elements[2];
 	struct acpi_object_list atif_arg;
 	struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL };
@@ -169,16 +170,24 @@ static union acpi_object *amdgpu_atif_call(struct amdgpu_atif *atif,
 
 	status = acpi_evaluate_object(atif->handle, NULL, &atif_arg,
 				      &buffer);
+	obj = (union acpi_object *)buffer.pointer;
 
-	/* Fail only if calling the method fails and ATIF is supported */
+	/* Fail if calling the method fails and ATIF is supported */
 	if (ACPI_FAILURE(status) && status != AE_NOT_FOUND) {
 		DRM_DEBUG_DRIVER("failed to evaluate ATIF got %s\n",
 				 acpi_format_exception(status));
-		kfree(buffer.pointer);
+		kfree(obj);
 		return NULL;
 	}
 
-	return buffer.pointer;
+	if (obj->type != ACPI_TYPE_BUFFER) {
+		DRM_DEBUG_DRIVER("bad object returned from ATIF: %d\n",
+				 obj->type);
+		kfree(obj);
+		return NULL;
+	}
+
+	return obj;
 }
 
 /**
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c +3 -2
index 1cb1ec7beefe..2304a13fcb04 100644
@@ -1124,8 +1124,10 @@ int amdgpu_mes_add_ring(struct amdgpu_device *adev, int gang_id,
 
 	r = amdgpu_ring_init(adev, ring, 1024, NULL, 0,
 			     AMDGPU_RING_PRIO_DEFAULT, NULL);
-	if (r)
+	if (r) {
+		amdgpu_mes_unlock(&adev->mes);
 		goto clean_up_memory;
+	}
 
 	amdgpu_mes_ring_to_queue_props(adev, ring, &qprops);
 
@@ -1158,7 +1160,6 @@ int amdgpu_mes_add_ring(struct amdgpu_device *adev, int gang_id,
 	amdgpu_ring_fini(ring);
 clean_up_memory:
 	kfree(ring);
-	amdgpu_mes_unlock(&adev->mes);
 	return r;
 }
 
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c +13 -0
index 65abbfb6972e..28db4c1a0a2a 100644
@@ -44,6 +44,7 @@
 
 #include "dm_helpers.h"
 #include "ddc_service_types.h"
+#include "clk_mgr.h"
 
 static u32 edid_extract_panel_id(struct edid *edid)
 {
@@ -1121,6 +1122,8 @@ bool dm_helpers_dp_handle_test_pattern_request(
 	struct pipe_ctx *pipe_ctx = NULL;
 	struct amdgpu_dm_connector *aconnector = link->priv;
 	struct drm_device *dev = aconnector->base.dev;
+	struct dc_state *dc_state = ctx->dc->current_state;
+	struct clk_mgr *clk_mgr = ctx->dc->clk_mgr;
 	int i;
 
 	for (i = 0; i < MAX_PIPES; i++) {
@@ -1221,6 +1224,16 @@ bool dm_helpers_dp_handle_test_pattern_request(
 	pipe_ctx->stream->test_pattern.type = test_pattern;
 	pipe_ctx->stream->test_pattern.color_space = test_pattern_color_space;
 
+	/* Temp W/A for compliance test failure */
+	dc_state->bw_ctx.bw.dcn.clk.p_state_change_support = false;
+	dc_state->bw_ctx.bw.dcn.clk.dramclk_khz = clk_mgr->dc_mode_softmax_enabled ?
+		clk_mgr->bw_params->dc_mode_softmax_memclk : clk_mgr->bw_params->max_memclk_mhz;
+	dc_state->bw_ctx.bw.dcn.clk.idle_dramclk_khz = dc_state->bw_ctx.bw.dcn.clk.dramclk_khz;
+	ctx->dc->clk_mgr->funcs->update_clocks(
+			ctx->dc->clk_mgr,
+			dc_state,
+			false);
+
 	dc_link_dp_set_test_pattern(
 		(struct dc_link *) link,
 		test_pattern,
drivers/gpu/drm/amd/display/modules/power/power_helpers.c +2 -0
index 3cd52e7a9c77..95838c7ab054 100644
@@ -841,6 +841,8 @@ bool is_psr_su_specific_panel(struct dc_link *link)
 				isPSRSUSupported = false;
 			else if (dpcd_caps->sink_dev_id_str[1] == 0x08 && dpcd_caps->sink_dev_id_str[0] == 0x03)
 				isPSRSUSupported = false;
+			else if (dpcd_caps->sink_dev_id_str[1] == 0x08 && dpcd_caps->sink_dev_id_str[0] == 0x01)
+				isPSRSUSupported = false;
 			else if (dpcd_caps->psr_info.force_psrsu_cap == 0x1)
 				isPSRSUSupported = true;
 		}
drivers/gpu/drm/bridge/aux-bridge.c +2 -1
index b29980f95379..295e9d031e2d 100644
@@ -58,9 +58,10 @@ int drm_aux_bridge_register(struct device *parent)
 	adev->id = ret;
 	adev->name = "aux_bridge";
 	adev->dev.parent = parent;
-	adev->dev.of_node = of_node_get(parent->of_node);
 	adev->dev.release = drm_aux_bridge_release;
 
+	device_set_of_node_from_dev(&adev->dev, parent);
+
 	ret = auxiliary_device_init(adev);
 	if (ret) {
 		ida_free(&drm_aux_bridge_ida, adev->id);
drivers/gpu/drm/msm/adreno/a6xx_gpu.c +13 -3
index bcaec86ac67a..89b379060596 100644
@@ -101,9 +101,10 @@ static void get_stats_counter(struct msm_ringbuffer *ring, u32 counter,
 }
 
 static void a6xx_set_pagetable(struct a6xx_gpu *a6xx_gpu,
-		struct msm_ringbuffer *ring, struct msm_file_private *ctx)
+		struct msm_ringbuffer *ring, struct msm_gem_submit *submit)
 {
 	bool sysprof = refcount_read(&a6xx_gpu->base.base.sysprof_active) > 1;
+	struct msm_file_private *ctx = submit->queue->ctx;
 	struct adreno_gpu *adreno_gpu = &a6xx_gpu->base;
 	phys_addr_t ttbr;
 	u32 asid;
@@ -115,6 +116,15 @@ static void a6xx_set_pagetable(struct a6xx_gpu *a6xx_gpu,
 	if (msm_iommu_pagetable_params(ctx->aspace->mmu, &ttbr, &asid))
 		return;
 
+	if (adreno_gpu->info->family >= ADRENO_7XX_GEN1) {
+		/* Wait for previous submit to complete before continuing: */
+		OUT_PKT7(ring, CP_WAIT_TIMESTAMP, 4);
+		OUT_RING(ring, 0);
+		OUT_RING(ring, lower_32_bits(rbmemptr(ring, fence)));
+		OUT_RING(ring, upper_32_bits(rbmemptr(ring, fence)));
+		OUT_RING(ring, submit->seqno - 1);
+	}
+
 	if (!sysprof) {
 		if (!adreno_is_a7xx(adreno_gpu)) {
 			/* Turn off protected mode to write to special registers */
@@ -193,7 +203,7 @@ static void a6xx_submit(struct msm_gpu *gpu, struct msm_gem_submit *submit)
 	struct msm_ringbuffer *ring = submit->ring;
 	unsigned int i, ibs = 0;
 
-	a6xx_set_pagetable(a6xx_gpu, ring, submit->queue->ctx);
+	a6xx_set_pagetable(a6xx_gpu, ring, submit);
 
 	get_stats_counter(ring, REG_A6XX_RBBM_PERFCTR_CP(0),
 		rbmemptr_stats(ring, index, cpcycles_start));
@@ -283,7 +293,7 @@ static void a7xx_submit(struct msm_gpu *gpu, struct msm_gem_submit *submit)
 	OUT_PKT7(ring, CP_THREAD_CONTROL, 1);
 	OUT_RING(ring, CP_THREAD_CONTROL_0_SYNC_THREADS | CP_SET_THREAD_BR);
 
-	a6xx_set_pagetable(a6xx_gpu, ring, submit->queue->ctx);
+	a6xx_set_pagetable(a6xx_gpu, ring, submit);
 
 	get_stats_counter(ring, REG_A7XX_RBBM_PERFCTR_CP(0),
 		rbmemptr_stats(ring, index, cpcycles_start));
drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c +13 -7
index 4c1be2f0555f..db6c57900781 100644
@@ -711,12 +711,13 @@ void dpu_crtc_complete_commit(struct drm_crtc *crtc)
 	_dpu_crtc_complete_flip(crtc);
 }
 
-static void _dpu_crtc_setup_lm_bounds(struct drm_crtc *crtc,
+static int _dpu_crtc_check_and_setup_lm_bounds(struct drm_crtc *crtc,
 		struct drm_crtc_state *state)
 {
 	struct dpu_crtc_state *cstate = to_dpu_crtc_state(state);
 	struct drm_display_mode *adj_mode = &state->adjusted_mode;
 	u32 crtc_split_width = adj_mode->hdisplay / cstate->num_mixers;
+	struct dpu_kms *dpu_kms = _dpu_crtc_get_kms(crtc);
 	int i;
 
 	for (i = 0; i < cstate->num_mixers; i++) {
@@ -727,7 +728,12 @@ static void _dpu_crtc_setup_lm_bounds(struct drm_crtc *crtc,
 		r->y2 = adj_mode->vdisplay;
 
 		trace_dpu_crtc_setup_lm_bounds(DRMID(crtc), i, r);
+
+		if (drm_rect_width(r) > dpu_kms->catalog->caps->max_mixer_width)
+			return -E2BIG;
 	}
+
+	return 0;
 }
 
 static void _dpu_crtc_get_pcc_coeff(struct drm_crtc_state *state,
@@ -803,7 +809,7 @@ static void dpu_crtc_atomic_begin(struct drm_crtc *crtc,
 
 	DRM_DEBUG_ATOMIC("crtc%d\n", crtc->base.id);
 
-	_dpu_crtc_setup_lm_bounds(crtc, crtc->state);
+	_dpu_crtc_check_and_setup_lm_bounds(crtc, crtc->state);
 
 	/* encoder will trigger pending mask now */
 	drm_for_each_encoder_mask(encoder, crtc->dev, crtc->state->encoder_mask)
@@ -1091,9 +1097,6 @@ static void dpu_crtc_disable(struct drm_crtc *crtc,
 
 	dpu_core_perf_crtc_update(crtc, 0);
 
-	memset(cstate->mixers, 0, sizeof(cstate->mixers));
-	cstate->num_mixers = 0;
-
 	/* disable clk & bw control until clk & bw properties are set */
 	cstate->bw_control = false;
 	cstate->bw_split_vote = false;
@@ -1192,8 +1195,11 @@ static int dpu_crtc_atomic_check(struct drm_crtc *crtc,
 	if (crtc_state->active_changed)
 		crtc_state->mode_changed = true;
 
-	if (cstate->num_mixers)
-		_dpu_crtc_setup_lm_bounds(crtc, crtc_state);
+	if (cstate->num_mixers) {
+		rc = _dpu_crtc_check_and_setup_lm_bounds(crtc, crtc_state);
+		if (rc)
+			return rc;
+	}
 
 	/* FIXME: move this to dpu_plane_atomic_check? */
 	drm_atomic_crtc_state_for_each_plane_state(plane, pstate, crtc_state) {
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c +42 -26

115 lines not on this page · raw message

drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c +5 -2
index ba8878d21cf0..d8a2edebfe8c 100644
@@ -302,7 +302,7 @@ static void dpu_encoder_phys_vid_setup_timing_engine(
 	intf_cfg.stream_sel = 0; /* Don't care value for video mode */
 	intf_cfg.mode_3d = dpu_encoder_helper_get_3d_blend_mode(phys_enc);
 	intf_cfg.dsc = dpu_encoder_helper_get_dsc(phys_enc);
-	if (phys_enc->hw_pp->merge_3d)
+	if (intf_cfg.mode_3d && phys_enc->hw_pp->merge_3d)
 		intf_cfg.merge_3d = phys_enc->hw_pp->merge_3d->idx;
 
 	spin_lock_irqsave(phys_enc->enc_spinlock, lock_flags);
@@ -440,10 +440,12 @@ static void dpu_encoder_phys_vid_enable(struct dpu_encoder_phys *phys_enc)
 	struct dpu_hw_ctl *ctl;
 	const struct msm_format *fmt;
 	u32 fmt_fourcc;
+	u32 mode_3d;
 
 	ctl = phys_enc->hw_ctl;
 	fmt_fourcc = dpu_encoder_get_drm_fmt(phys_enc);
 	fmt = mdp_get_format(&phys_enc->dpu_kms->base, fmt_fourcc, 0);
+	mode_3d = dpu_encoder_helper_get_3d_blend_mode(phys_enc);
 
 	DPU_DEBUG_VIDENC(phys_enc, "\n");
 
@@ -466,7 +468,8 @@ static void dpu_encoder_phys_vid_enable(struct dpu_encoder_phys *phys_enc)
 		goto skip_flush;
 
 	ctl->ops.update_pending_flush_intf(ctl, phys_enc->hw_intf->idx);
-	if (ctl->ops.update_pending_flush_merge_3d && phys_enc->hw_pp->merge_3d)
+	if (mode_3d && ctl->ops.update_pending_flush_merge_3d &&
+	    phys_enc->hw_pp->merge_3d)
 		ctl->ops.update_pending_flush_merge_3d(ctl, phys_enc->hw_pp->merge_3d->idx);
 
 	if (ctl->ops.update_pending_flush_cdm && phys_enc->hw_cdm)
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c +4 -1
index 882c717859ce..07035ab77b79 100644
@@ -275,6 +275,7 @@ static void _dpu_encoder_phys_wb_update_flush(struct dpu_encoder_phys *phys_enc)
 	struct dpu_hw_pingpong *hw_pp;
 	struct dpu_hw_cdm *hw_cdm;
 	u32 pending_flush = 0;
+	u32 mode_3d;
 
 	if (!phys_enc)
 		return;
@@ -283,6 +284,7 @@ static void _dpu_encoder_phys_wb_update_flush(struct dpu_encoder_phys *phys_enc)
 	hw_pp = phys_enc->hw_pp;
 	hw_ctl = phys_enc->hw_ctl;
 	hw_cdm = phys_enc->hw_cdm;
+	mode_3d = dpu_encoder_helper_get_3d_blend_mode(phys_enc);
 
 	DPU_DEBUG("[wb:%d]\n", hw_wb->idx - WB_0);
 
@@ -294,7 +296,8 @@ static void _dpu_encoder_phys_wb_update_flush(struct dpu_encoder_phys *phys_enc)
 	if (hw_ctl->ops.update_pending_flush_wb)
 		hw_ctl->ops.update_pending_flush_wb(hw_ctl, hw_wb->idx);
 
-	if (hw_ctl->ops.update_pending_flush_merge_3d && hw_pp && hw_pp->merge_3d)
+	if (mode_3d && hw_ctl->ops.update_pending_flush_merge_3d &&
+	    hw_pp && hw_pp->merge_3d)
 		hw_ctl->ops.update_pending_flush_merge_3d(hw_ctl,
 				hw_pp->merge_3d->idx);
 
drivers/gpu/drm/msm/disp/msm_disp_snapshot_util.c +10 -9
index add72bbc28b1..4d55e3cf570f 100644
@@ -26,7 +26,7 @@ static void msm_disp_state_dump_regs(u32 **reg, u32 aligned_len, void __iomem *b
 	end_addr = base_addr + aligned_len;
 
 	if (!(*reg))
-		*reg = kzalloc(len_padded, GFP_KERNEL);
+		*reg = kvzalloc(len_padded, GFP_KERNEL);
 
 	if (*reg)
 		dump_addr = *reg;
@@ -48,20 +48,21 @@ static void msm_disp_state_dump_regs(u32 **reg, u32 aligned_len, void __iomem *b
 	}
 }
 
-static void msm_disp_state_print_regs(u32 **reg, u32 len, void __iomem *base_addr,
-		struct drm_printer *p)
+static void msm_disp_state_print_regs(const u32 *dump_addr, u32 len,
+		void __iomem *base_addr, struct drm_printer *p)
 {
 	int i;
-	u32 *dump_addr = NULL;
 	void __iomem *addr;
 	u32 num_rows;
 
+	if (!dump_addr) {
+		drm_printf(p, "Registers not stored\n");
+		return;
+	}
+
 	addr = base_addr;
 	num_rows = len / REG_DUMP_ALIGN;
 
-	if (*reg)
-		dump_addr = *reg;
-
 	for (i = 0; i < num_rows; i++) {
 		drm_printf(p, "0x%lx : %08x %08x %08x %08x\n",
 				(unsigned long)(addr - base_addr),
@@ -89,7 +90,7 @@ void msm_disp_state_print(struct msm_disp_state *state, struct drm_printer *p)
 
 	list_for_each_entry_safe(block, tmp, &state->blocks, node) {
 		drm_printf(p, "====================%s================\n", block->name);
-		msm_disp_state_print_regs(&block->state, block->size, block->base_addr, p);
+		msm_disp_state_print_regs(block->state, block->size, block->base_addr, p);
 	}
 
 	drm_printf(p, "===================dpu drm state================\n");
@@ -161,7 +162,7 @@ void msm_disp_state_free(void *data)
 
 	list_for_each_entry_safe(block, tmp, &disp_state->blocks, node) {
 		list_del(&block->node);
-		kfree(block->state);
+		kvfree(block->state);
 		kfree(block);
 	}
 
drivers/gpu/drm/msm/dsi/dsi_host.c +2 -2
index 185d7de0bf37..a98d24b7cb00 100644
@@ -542,7 +542,7 @@ static unsigned long dsi_adjust_pclk_for_compression(const struct drm_display_mo
 
 	int new_htotal = mode->htotal - mode->hdisplay + new_hdisplay;
 
-	return new_htotal * mode->vtotal * drm_mode_vrefresh(mode);
+	return mult_frac(mode->clock * 1000u, new_htotal, mode->htotal);
 }
 
 static unsigned long dsi_get_pclk_rate(const struct drm_display_mode *mode,
@@ -550,7 +550,7 @@ static unsigned long dsi_get_pclk_rate(const struct drm_display_mode *mode,
 {
 	unsigned long pclk_rate;
 
-	pclk_rate = mode->clock * 1000;
+	pclk_rate = mode->clock * 1000u;
 
 	if (dsc)
 		pclk_rate = dsi_adjust_pclk_for_compression(mode, dsc);
drivers/gpu/drm/panel/panel-himax-hx83102.c +6 -6
index 6e4b7e4644ce..8b48bba18131 100644
@@ -298,7 +298,7 @@ static int ivo_t109nw41_init(struct hx83102 *ctx)
 	msleep(60);
 
 	hx83102_enable_extended_cmds(&dsi_ctx, true);
-	mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETPOWER, 0x2c, 0xed, 0xed, 0x0f, 0xcf, 0x42,
+	mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETPOWER, 0x2c, 0xed, 0xed, 0x27, 0xe7, 0x52,
 				     0xf5, 0x39, 0x36, 0x36, 0x36, 0x36, 0x32, 0x8b, 0x11, 0x65, 0x00, 0x88,
 				     0xfa, 0xff, 0xff, 0x8f, 0xff, 0x08, 0xd6, 0x33);
 	mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETDISP, 0x00, 0x47, 0xb0, 0x80, 0x00, 0x12,
@@ -343,11 +343,11 @@ static int ivo_t109nw41_init(struct hx83102 *ctx)
 				     0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xa0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
 				     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
 				     0x00, 0x00, 0x00, 0x00, 0x00, 0x00);
-	mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETGMA, 0x04, 0x04, 0x06, 0x0a, 0x0a, 0x05,
-				     0x12, 0x14, 0x17, 0x13, 0x2c, 0x33, 0x39, 0x4b, 0x4c, 0x56, 0x61, 0x78,
-				     0x7a, 0x41, 0x50, 0x68, 0x73, 0x04, 0x04, 0x06, 0x0a, 0x0a, 0x05, 0x12,
-				     0x14, 0x17, 0x13, 0x2c, 0x33, 0x39, 0x4b, 0x4c, 0x56, 0x61, 0x78, 0x7a,
-				     0x41, 0x50, 0x68, 0x73);
+	mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETGMA, 0x00, 0x07, 0x10, 0x17, 0x1c, 0x33,
+				     0x48, 0x50, 0x57, 0x50, 0x68, 0x6e, 0x71, 0x7f, 0x81, 0x8a, 0x8e, 0x9b,
+				     0x9c, 0x4d, 0x56, 0x5d, 0x73, 0x00, 0x07, 0x10, 0x17, 0x1c, 0x33, 0x48,
+				     0x50, 0x57, 0x50, 0x68, 0x6e, 0x71, 0x7f, 0x81, 0x8a, 0x8e, 0x9b, 0x9c,
+				     0x4d, 0x56, 0x5d, 0x73);
 	mipi_dsi_dcs_write_seq_multi(&dsi_ctx, HX83102_SETTP1, 0x07, 0x10, 0x10, 0x1a, 0x26, 0x9e,
 				     0x00, 0x4f, 0xa0, 0x14, 0x14, 0x00, 0x00, 0x00, 0x00, 0x12, 0x0a, 0x02,
 				     0x02, 0x00, 0x33, 0x02, 0x04, 0x18, 0x01);
drivers/gpu/drm/vboxvideo/hgsmi_base.c +9 -1
index 8c041d7ce4f1..87dccaecc3e5 100644
@@ -139,7 +139,15 @@ int hgsmi_update_pointer_shape(struct gen_pool *ctx, u32 flags,
 		flags |= VBOX_MOUSE_POINTER_VISIBLE;
 	}
 
-	p = hgsmi_buffer_alloc(ctx, sizeof(*p) + pixel_len, HGSMI_CH_VBVA,
+	/*
+	 * The 4 extra bytes come from switching struct vbva_mouse_pointer_shape
+	 * from having a 4 bytes fixed array at the end to using a proper VLA
+	 * at the end. These 4 extra bytes were not subtracted from sizeof(*p)
+	 * before the switch to the VLA, so this way the behavior is unchanged.
+	 * Chances are these 4 extra bytes are not necessary but they are kept
+	 * to avoid regressions.
+	 */
+	p = hgsmi_buffer_alloc(ctx, sizeof(*p) + pixel_len + 4, HGSMI_CH_VBVA,
 			       VBVA_MOUSE_POINTER_SHAPE);
 	if (!p)
 		return -ENOMEM;
drivers/gpu/drm/vboxvideo/vboxvideo.h +1 -3
index f60d82504da0..79ec8481de0e 100644
@@ -351,10 +351,8 @@ struct vbva_mouse_pointer_shape {
 	 * Bytes in the gap between the AND and the XOR mask are undefined.
 	 * XOR mask scanlines have no gap between them and size of XOR mask is:
 	 * xor_len = width * 4 * height.
-	 *
-	 * Preallocate 4 bytes for accessing actual data as p->data.
 	 */
-	u8 data[4];
+	u8 data[];
 } __packed;
 
 /* pointer is visible */
drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c +4 -0
index fab155a68054..82d18b88f4a7 100644
@@ -886,6 +886,10 @@ static int vmw_stdu_connector_atomic_check(struct drm_connector *conn,
 	struct drm_crtc_state *new_crtc_state;
 
 	conn_state = drm_atomic_get_connector_state(state, conn);
+
+	if (IS_ERR(conn_state))
+		return PTR_ERR(conn_state);
+
 	du = vmw_connector_to_stdu(conn);
 
 	if (!conn_state->crtc)
drivers/gpu/drm/xe/xe_device.c +2 -2
index 8a44a2b6dcbb..fb394189d9e2 100644
@@ -960,13 +960,13 @@ void xe_device_declare_wedged(struct xe_device *xe)
 		return;
 	}
 
+	xe_pm_runtime_get_noresume(xe);
+
 	if (drmm_add_action_or_reset(&xe->drm, xe_device_wedged_fini, xe)) {
 		drm_err(&xe->drm, "Failed to register xe_device_wedged_fini clean-up. Although device is wedged.\n");
 		return;
 	}
 
-	xe_pm_runtime_get_noresume(xe);
-
 	if (!atomic_xchg(&xe->wedged.flag, 1)) {
 		xe->needs_flr_on_fini = true;
 		drm_err(&xe->drm,
drivers/gpu/drm/xe/xe_exec.c +4 -8
index f36980aa26e6..6e5ba381eade 100644
@@ -40,11 +40,6 @@
  * user knows an exec writes to a BO and reads from the BO in the next exec, it
  * is the user's responsibility to pass in / out fence between the two execs).
  *
- * Implicit dependencies for external BOs are handled by using the dma-buf
- * implicit dependency uAPI (TODO: add link). To make this works each exec must
- * install the job's fence into the DMA_RESV_USAGE_WRITE slot of every external
- * BO mapped in the VM.
- *
  * We do not allow a user to trigger a bind at exec time rather we have a VM
  * bind IOCTL which uses the same in / out fence interface as exec. In that
  * sense, a VM bind is basically the same operation as an exec from the user
@@ -58,8 +53,8 @@
  * behind any pending kernel operations on any external BOs in VM or any BOs
  * private to the VM. This is accomplished by the rebinds waiting on BOs
  * DMA_RESV_USAGE_KERNEL slot (kernel ops) and kernel ops waiting on all BOs
- * slots (inflight execs are in the DMA_RESV_USAGE_BOOKING for private BOs and
- * in DMA_RESV_USAGE_WRITE for external BOs).
+ * slots (inflight execs are in the DMA_RESV_USAGE_BOOKKEEP for private BOs and
+ * for external BOs).
  *
  * Rebinds / dma-resv usage applies to non-compute mode VMs only as for compute
  * mode VMs we use preempt fences and a rebind worker (TODO: add link).
@@ -292,7 +287,8 @@ int xe_exec_ioctl(struct drm_device *dev, void *data, struct drm_file *file)
 	xe_sched_job_arm(job);
 	if (!xe_vm_in_lr_mode(vm))
 		drm_gpuvm_resv_add_fence(&vm->gpuvm, exec, &job->drm.s_fence->finished,
-					 DMA_RESV_USAGE_BOOKKEEP, DMA_RESV_USAGE_WRITE);
+					 DMA_RESV_USAGE_BOOKKEEP,
+					 DMA_RESV_USAGE_BOOKKEEP);
 
 	for (i = 0; i < num_syncs; i++) {
 		xe_sync_entry_signal(&syncs[i], &job->drm.s_fence->finished);
drivers/gpu/drm/xe/xe_gpu_scheduler.h +2 -0
index 6aac7fe68673..6bdd0a5b3612 100644
@@ -51,7 +51,9 @@ xe_sched_invalidate_job(struct xe_sched_job *job, int threshold)
 static inline void xe_sched_add_pending_job(struct xe_gpu_scheduler *sched,
 					    struct xe_sched_job *job)
 {
+	spin_lock(&sched->base.job_list_lock);
 	list_add(&job->drm.list, &sched->base.pending_list);
+	spin_unlock(&sched->base.job_list_lock);
 }
 
 static inline
drivers/gpu/drm/xe/xe_gt_mcr.c +1 -1
index 6d948a469126..d57a765a1a96 100644
@@ -407,7 +407,7 @@ void xe_gt_mcr_init(struct xe_gt *gt)
 	if (gt->info.type == XE_GT_TYPE_MEDIA) {
 		drm_WARN_ON(&xe->drm, MEDIA_VER(xe) < 13);
 
-		if (MEDIA_VER(xe) >= 20) {
+		if (MEDIA_VERx100(xe) >= 1301) {
 			gt->steering[OADDRM].ranges = xe2lpm_gpmxmt_steering_table;
 			gt->steering[INSTANCE0].ranges = xe2lpm_instance0_steering_table;
 		} else {
drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c +13 -16
index 87cb76a8718c..82795133e129 100644
@@ -36,6 +36,15 @@ static long tlb_timeout_jiffies(struct xe_gt *gt)
 	return hw_tlb_timeout + 2 * delay;
 }
 
+static void xe_gt_tlb_invalidation_fence_fini(struct xe_gt_tlb_invalidation_fence *fence)
+{
+	if (WARN_ON_ONCE(!fence->gt))
+		return;
+
+	xe_pm_runtime_put(gt_to_xe(fence->gt));
+	fence->gt = NULL; /* fini() should be called once */
+}
+
 static void
 __invalidation_fence_signal(struct xe_device *xe, struct xe_gt_tlb_invalidation_fence *fence)
 {
@@ -203,7 +212,7 @@ static int send_tlb_invalidation(struct xe_guc *guc,
 						   tlb_timeout_jiffies(gt));
 		}
 		spin_unlock_irq(&gt->tlb_invalidation.pending_lock);
-	} else if (ret < 0) {
+	} else {
 		__invalidation_fence_signal(xe, fence);
 	}
 	if (!ret) {
@@ -265,10 +274,8 @@ int xe_gt_tlb_invalidation_ggtt(struct xe_gt *gt)
 
 		xe_gt_tlb_invalidation_fence_init(gt, &fence, true);
 		ret = xe_gt_tlb_invalidation_guc(gt, &fence);
-		if (ret < 0) {
-			xe_gt_tlb_invalidation_fence_fini(&fence);
+		if (ret)
 			return ret;
-		}
 
 		xe_gt_tlb_invalidation_fence_wait(&fence);
 	} else if (xe_device_uc_enabled(xe) && !xe_device_wedged(xe)) {
@@ -494,7 +501,8 @@ static const struct dma_fence_ops invalidation_fence_ops = {
  * @stack: fence is stack variable
  *
  * Initialize TLB invalidation fence for use. xe_gt_tlb_invalidation_fence_fini
- * must be called if fence is not signaled.
+ * will be automatically called when fence is signalled (all fences must signal),
+ * even on error.
  */
 void xe_gt_tlb_invalidation_fence_init(struct xe_gt *gt,
 				       struct xe_gt_tlb_invalidation_fence *fence,
@@ -514,14 +522,3 @@ void xe_gt_tlb_invalidation_fence_init(struct xe_gt *gt,
 		dma_fence_get(&fence->base);
 	fence->gt = gt;
 }
-
-/**
- * xe_gt_tlb_invalidation_fence_fini - Finalize TLB invalidation fence
- * @fence: TLB invalidation fence to finalize
- *
- * Drop PM ref which fence took durinig init.
- */
-void xe_gt_tlb_invalidation_fence_fini(struct xe_gt_tlb_invalidation_fence *fence)
-{
-	xe_pm_runtime_put(gt_to_xe(fence->gt));
-}
drivers/gpu/drm/xe/xe_gt_tlb_invalidation.h +0 -1
index a84065fa324c..f430d5797af7 100644
@@ -28,7 +28,6 @@ int xe_guc_tlb_invalidation_done_handler(struct xe_guc *guc, u32 *msg, u32 len);
 void xe_gt_tlb_invalidation_fence_init(struct xe_gt *gt,
 				       struct xe_gt_tlb_invalidation_fence *fence,
 				       bool stack);
-void xe_gt_tlb_invalidation_fence_fini(struct xe_gt_tlb_invalidation_fence *fence);
 
 static inline void
 xe_gt_tlb_invalidation_fence_wait(struct xe_gt_tlb_invalidation_fence *fence)
drivers/gpu/drm/xe/xe_guc_submit.c +5 -2
index 690f821f8bf5..dfd809e7bbd2 100644
@@ -1101,10 +1101,13 @@ guc_exec_queue_timedout_job(struct drm_sched_job *drm_job)
 
 	/*
 	 * TDR has fired before free job worker. Common if exec queue
-	 * immediately closed after last fence signaled.
+	 * immediately closed after last fence signaled. Add back to pending
+	 * list so job can be freed and kick scheduler ensuring free job is not
+	 * lost.
 	 */
 	if (test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &job->fence->flags)) {
-		guc_exec_queue_free_job(drm_job);
+		xe_sched_add_pending_job(sched, job);
+		xe_sched_submission_start(sched);
 
 		return DRM_GPU_SCHED_STAT_NOMINAL;
 	}
drivers/gpu/drm/xe/xe_vm.c +2 -6
index 49ba9a1e375f..3ac41f70ea6b 100644
@@ -3377,10 +3377,8 @@ int xe_vm_invalidate_vma(struct xe_vma *vma)
 
 			ret = xe_gt_tlb_invalidation_vma(tile->primary_gt,
 							 &fence[fence_id], vma);
-			if (ret < 0) {
-				xe_gt_tlb_invalidation_fence_fini(&fence[fence_id]);
+			if (ret)
 				goto wait;
-			}
 			++fence_id;
 
 			if (!tile->media_gt)
@@ -3392,10 +3390,8 @@ int xe_vm_invalidate_vma(struct xe_vma *vma)
 
 			ret = xe_gt_tlb_invalidation_vma(tile->media_gt,
 							 &fence[fence_id], vma);
-			if (ret < 0) {
-				xe_gt_tlb_invalidation_fence_fini(&fence[fence_id]);
+			if (ret)
 				goto wait;
-			}
 			++fence_id;
 		}
 	}
drivers/hwmon/jc42.c +1 -1
index a260cff750a5..c459dce496a6 100644
@@ -417,7 +417,7 @@ static int jc42_detect(struct i2c_client *client, struct i2c_board_info *info)
 		return -ENODEV;
 
 	if ((devid & TSE2004_DEVID_MASK) == TSE2004_DEVID &&
-	    (cap & 0x00e7) != 0x00e7)
+	    (cap & 0x0062) != 0x0062)
 		return -ENODEV;
 
 	for (i = 0; i < ARRAY_SIZE(jc42_chips); i++) {
drivers/iio/accel/bma400_core.c +2 -1
index e90e2f01550a..04083b7395ab 100644
@@ -1219,7 +1219,8 @@ static int bma400_activity_event_en(struct bma400_data *data,
 static int bma400_tap_event_en(struct bma400_data *data,
 			       enum iio_event_direction dir, int state)
 {
-	unsigned int mask, field_value;
+	unsigned int mask;
+	unsigned int field_value = 0;
 	int ret;
 
 	/*
drivers/iio/adc/Kconfig +2 -0
index cceac30e2bb9..c16316664db3 100644
@@ -1486,6 +1486,8 @@ config TI_LMP92064
 	tristate "Texas Instruments LMP92064 ADC driver"
 	depends on SPI
 	select REGMAP_SPI
+	select IIO_BUFFER
+	select IIO_TRIGGERED_BUFFER
 	help
 	  Say yes here to build support for the LMP92064 Precision Current and Voltage
 	  sensor.
drivers/iio/frequency/Kconfig +17 -16
index 89ae09db5ca5..583cbdf4e8cd 100644
@@ -92,25 +92,26 @@ config ADMV1014
 	  module will be called admv1014.
 
 config ADMV4420
-       tristate "Analog Devices ADMV4420 K Band Downconverter"
-       depends on SPI
-       help
-         Say yes here to build support for Analog Devices K Band
-         Downconverter with integrated Fractional-N PLL and VCO.
+	tristate "Analog Devices ADMV4420 K Band Downconverter"
+	depends on SPI
+	select REGMAP_SPI
+	help
+	  Say yes here to build support for Analog Devices K Band
+	  Downconverter with integrated Fractional-N PLL and VCO.
 
-         To compile this driver as a module, choose M here: the
-         module will be called admv4420.
+	  To compile this driver as a module, choose M here: the
+	  module will be called admv4420.
 
 config ADRF6780
-        tristate "Analog Devices ADRF6780 Microwave Upconverter"
-        depends on SPI
-        depends on COMMON_CLK
-        help
-          Say yes here to build support for Analog Devices ADRF6780
-          5.9 GHz to 23.6 GHz, Wideband, Microwave Upconverter.
-
-          To compile this driver as a module, choose M here: the
-          module will be called adrf6780.
+	tristate "Analog Devices ADRF6780 Microwave Upconverter"
+	depends on SPI
+	depends on COMMON_CLK
+	help
+	  Say yes here to build support for Analog Devices ADRF6780
+	  5.9 GHz to 23.6 GHz, Wideband, Microwave Upconverter.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called adrf6780.
 
 endmenu
 endmenu
drivers/infiniband/core/addr.c +2 -0
index be0743dac3ff..c4cf26f1d149 100644
@@ -269,6 +269,8 @@ rdma_find_ndev_for_src_ip_rcu(struct net *net, const struct sockaddr *src_in)
 		break;
 #endif
 	}
+	if (!ret && dev && is_vlan_dev(dev))
+		dev = vlan_dev_real_dev(dev);
 	return ret ? ERR_PTR(ret) : dev;
 }
 
drivers/infiniband/hw/bnxt_re/hw_counters.c +1 -1
index 128651c01595..1e63f8091748 100644
@@ -366,7 +366,7 @@ int bnxt_re_ib_get_hw_stats(struct ib_device *ibdev,
 				goto done;
 			}
 		}
-		if (rdev->pacing.dbr_pacing)
+		if (rdev->pacing.dbr_pacing && bnxt_qplib_is_chip_gen_p5_p7(rdev->chip_ctx))
 			bnxt_re_copy_db_pacing_stats(rdev, stats);
 	}
 
drivers/infiniband/hw/bnxt_re/ib_verbs.h +1 -0
index e98cb1717338..b368916a5bcf 100644
@@ -77,6 +77,7 @@ struct bnxt_re_srq {
 	struct bnxt_qplib_srq	qplib_srq;
 	struct ib_umem		*umem;
 	spinlock_t		lock;		/* protect srq */
+	void			*uctx_srq_page;
 };
 
 struct bnxt_re_qp {
drivers/infiniband/hw/bnxt_re/main.c +19 -10
index 9714b9ab7524..9b7093eb439c 100644
@@ -184,8 +184,11 @@ static int bnxt_re_setup_chip_ctx(struct bnxt_re_dev *rdev, u8 wqe_mode)
 
 	bnxt_re_set_db_offset(rdev);
 	rc = bnxt_qplib_map_db_bar(&rdev->qplib_res);
-	if (rc)
+	if (rc) {
+		kfree(rdev->chip_ctx);
+		rdev->chip_ctx = NULL;
 		return rc;
+	}
 
 	if (bnxt_qplib_determine_atomics(en_dev->pdev))
 		ibdev_info(&rdev->ibdev,
@@ -515,6 +518,7 @@ static bool is_dbr_fifo_full(struct bnxt_re_dev *rdev)
 static void __wait_for_fifo_occupancy_below_th(struct bnxt_re_dev *rdev)
 {
 	struct bnxt_qplib_db_pacing_data *pacing_data = rdev->qplib_res.pacing_data;
+	u32 retry_fifo_check = 1000;
 	u32 fifo_occup;
 
 	/* loop shouldn't run infintely as the occupancy usually goes
@@ -528,6 +532,14 @@ static void __wait_for_fifo_occupancy_below_th(struct bnxt_re_dev *rdev)
 
 		if (fifo_occup < pacing_data->pacing_th)
 			break;
+		if (!retry_fifo_check--) {
+			dev_info_once(rdev_to_dev(rdev),
+				      "%s: fifo_occup = 0x%xfifo_max_depth = 0x%x pacing_th = 0x%x\n",
+				      __func__, fifo_occup, pacing_data->fifo_max_depth,
+					pacing_data->pacing_th);
+			break;
+		}
+
 	}
 }
 
@@ -1009,12 +1021,15 @@ static int bnxt_re_handle_unaffi_async_event(struct creq_func_event
 static int bnxt_re_handle_qp_async_event(struct creq_qp_event *qp_event,
 					 struct bnxt_re_qp *qp)
 {
-	struct bnxt_re_srq *srq = container_of(qp->qplib_qp.srq, struct bnxt_re_srq,
-					       qplib_srq);
 	struct creq_qp_error_notification *err_event;
+	struct bnxt_re_srq *srq = NULL;
 	struct ib_event event = {};
 	unsigned int flags;
 
+	if (qp->qplib_qp.srq)
+		srq =  container_of(qp->qplib_qp.srq, struct bnxt_re_srq,
+				    qplib_srq);
+
 	if (qp->qplib_qp.state == CMDQ_MODIFY_QP_NEW_STATE_ERR &&
 	    rdma_is_kernel_res(&qp->ib_qp.res)) {
 		flags = bnxt_re_lock_cqs(qp);
@@ -1242,15 +1257,9 @@ static int bnxt_re_cqn_handler(struct bnxt_qplib_nq *nq,
 {
 	struct bnxt_re_cq *cq = container_of(handle, struct bnxt_re_cq,
 					     qplib_cq);
-	u32 *cq_ptr;
 
-	if (cq->ib_cq.comp_handler) {
-		if (cq->uctx_cq_page) {
-			cq_ptr = (u32 *)cq->uctx_cq_page;
-			*cq_ptr = cq->qplib_cq.toggle;
-		}
+	if (cq->ib_cq.comp_handler)
 		(*cq->ib_cq.comp_handler)(&cq->ib_cq, cq->ib_cq.cq_context);
-	}
 
 	return 0;
 }
drivers/infiniband/hw/bnxt_re/qplib_fp.c +16 -0
index 49e4a4a50bfa..03d517be9c52 100644
@@ -54,6 +54,10 @@
 #include "qplib_rcfw.h"
 #include "qplib_sp.h"
 #include "qplib_fp.h"
+#include <rdma/ib_addr.h>
+#include "bnxt_ulp.h"
+#include "bnxt_re.h"
+#include "ib_verbs.h"
 
 static void __clean_cq(struct bnxt_qplib_cq *cq, u64 qp);
 
@@ -323,6 +327,7 @@ static void bnxt_qplib_service_nq(struct tasklet_struct *t)
 		case NQ_BASE_TYPE_CQ_NOTIFICATION:
 		{
 			struct nq_cn *nqcne = (struct nq_cn *)nqe;
+			struct bnxt_re_cq *cq_p;
 
 			q_handle = le32_to_cpu(nqcne->cq_handle_low);
 			q_handle |= (u64)le32_to_cpu(nqcne->cq_handle_high)
@@ -333,6 +338,10 @@ static void bnxt_qplib_service_nq(struct tasklet_struct *t)
 			cq->toggle = (le16_to_cpu(nqe->info10_type) &
 					NQ_CN_TOGGLE_MASK) >> NQ_CN_TOGGLE_SFT;
 			cq->dbinfo.toggle = cq->toggle;
+			cq_p = container_of(cq, struct bnxt_re_cq, qplib_cq);
+			if (cq_p->uctx_cq_page)
+				*((u32 *)cq_p->uctx_cq_page) = cq->toggle;
+
 			bnxt_qplib_armen_db(&cq->dbinfo,
 					    DBC_DBC_TYPE_CQ_ARMENA);
 			spin_lock_bh(&cq->compl_lock);
@@ -347,6 +356,7 @@ static void bnxt_qplib_service_nq(struct tasklet_struct *t)
 		case NQ_BASE_TYPE_SRQ_EVENT:
 		{
 			struct bnxt_qplib_srq *srq;
+			struct bnxt_re_srq *srq_p;
 			struct nq_srq_event *nqsrqe =
 						(struct nq_srq_event *)nqe;
 
@@ -354,6 +364,12 @@ static void bnxt_qplib_service_nq(struct tasklet_struct *t)
 			q_handle |= (u64)le32_to_cpu(nqsrqe->srq_handle_high)
 				     << 32;
 			srq = (struct bnxt_qplib_srq *)q_handle;
+			srq->toggle = (le16_to_cpu(nqe->info10_type) & NQ_CN_TOGGLE_MASK)
+				      >> NQ_CN_TOGGLE_SFT;
+			srq->dbinfo.toggle = srq->toggle;
+			srq_p = container_of(srq, struct bnxt_re_srq, qplib_srq);
+			if (srq_p->uctx_srq_page)
+				*((u32 *)srq_p->uctx_srq_page) = srq->toggle;
 			bnxt_qplib_armen_db(&srq->dbinfo,
 					    DBC_DBC_TYPE_SRQ_ARMENA);
 			if (nq->srqn_handler(nq,
drivers/infiniband/hw/bnxt_re/qplib_fp.h +2 -1
index 56538b90d6c5..389862df818d 100644
@@ -105,6 +105,7 @@ struct bnxt_qplib_srq {
 	struct bnxt_qplib_sg_info	sg_info;
 	u16				eventq_hw_ring_id;
 	spinlock_t			lock; /* protect SRQE link list */
+	u8				toggle;
 };
 
 struct bnxt_qplib_sge {
@@ -169,7 +170,7 @@ struct bnxt_qplib_swqe {
 			};
 			u32		q_key;
 			u32		dst_qp;
-			u16		avid;
+			u32		avid;
 		} send;
 
 		/* Send Raw Ethernet and QP1 */
drivers/infiniband/hw/bnxt_re/qplib_rcfw.c +1 -1
index 3ffaef0c2651..7294221b3316 100644
@@ -525,7 +525,7 @@ static int __bnxt_qplib_rcfw_send_message(struct bnxt_qplib_rcfw *rcfw,
 		/* failed with status */
 		dev_err(&rcfw->pdev->dev, "cmdq[%#x]=%#x status %#x\n",
 			cookie, opcode, evnt->status);
-		rc = -EFAULT;
+		rc = -EIO;
 	}
 
 	return rc;
drivers/infiniband/hw/bnxt_re/qplib_res.c +5 -16
index dfc943fab87b..96ceec1e8199 100644
@@ -244,6 +244,8 @@ int bnxt_qplib_alloc_init_hwq(struct bnxt_qplib_hwq *hwq,
 			sginfo.pgsize = npde * pg_size;
 			sginfo.npages = 1;
 			rc = __alloc_pbl(res, &hwq->pbl[PBL_LVL_0], &sginfo);
+			if (rc)
+				goto fail;
 
 			/* Alloc PBL pages */
 			sginfo.npages = npbl;
@@ -255,22 +257,9 @@ int bnxt_qplib_alloc_init_hwq(struct bnxt_qplib_hwq *hwq,
 			dst_virt_ptr =
 				(dma_addr_t **)hwq->pbl[PBL_LVL_0].pg_arr;
 			src_phys_ptr = hwq->pbl[PBL_LVL_1].pg_map_arr;
-			if (hwq_attr->type == HWQ_TYPE_MR) {
-			/* For MR it is expected that we supply only 1 contigous
-			 * page i.e only 1 entry in the PDL that will contain
-			 * all the PBLs for the user supplied memory region
-			 */
-				for (i = 0; i < hwq->pbl[PBL_LVL_1].pg_count;
-				     i++)
-					dst_virt_ptr[0][i] = src_phys_ptr[i] |
-						flag;
-			} else {
-				for (i = 0; i < hwq->pbl[PBL_LVL_1].pg_count;
-				     i++)
-					dst_virt_ptr[PTR_PG(i)][PTR_IDX(i)] =
-						src_phys_ptr[i] |
-						PTU_PDE_VALID;
-			}
+			for (i = 0; i < hwq->pbl[PBL_LVL_1].pg_count; i++)
+				dst_virt_ptr[0][i] = src_phys_ptr[i] | flag;
+
 			/* Alloc or init PTEs */
 			rc = __alloc_pbl(res, &hwq->pbl[PBL_LVL_2],
 					 hwq_attr->sginfo);
drivers/infiniband/hw/bnxt_re/qplib_sp.c +10 -1
index 9328db92fa6d..420f8613bcd5 100644
@@ -137,6 +137,8 @@ int bnxt_qplib_get_dev_attr(struct bnxt_qplib_rcfw *rcfw,
 			    6 : sb->max_sge;
 	attr->max_cq = le32_to_cpu(sb->max_cq);
 	attr->max_cq_wqes = le32_to_cpu(sb->max_cqe);
+	if (!bnxt_qplib_is_chip_gen_p7(rcfw->res->cctx))
+		attr->max_cq_wqes = min_t(u32, BNXT_QPLIB_MAX_CQ_WQES, attr->max_cq_wqes);
 	attr->max_cq_sges = attr->max_qp_sges;
 	attr->max_mr = le32_to_cpu(sb->max_mr);
 	attr->max_mw = le32_to_cpu(sb->max_mw);
@@ -154,7 +156,14 @@ int bnxt_qplib_get_dev_attr(struct bnxt_qplib_rcfw *rcfw,
 	if (!bnxt_qplib_is_chip_gen_p7(rcfw->res->cctx))
 		attr->l2_db_size = (sb->l2_db_space_size + 1) *
 				    (0x01 << RCFW_DBR_BASE_PAGE_SHIFT);
-	attr->max_sgid = BNXT_QPLIB_NUM_GIDS_SUPPORTED;
+	/*
+	 * Read the max gid supported by HW.
+	 * For each entry in HW  GID in HW table, we consume 2
+	 * GID entries in the kernel GID table.  So max_gid reported
+	 * to stack can be up to twice the value reported by the HW, up to 256 gids.
+	 */
+	attr->max_sgid = le32_to_cpu(sb->max_gid);
+	attr->max_sgid = min_t(u32, BNXT_QPLIB_NUM_GIDS_SUPPORTED, 2 * attr->max_sgid);
 	attr->dev_cap_flags = le16_to_cpu(sb->dev_cap_flags);
 	attr->dev_cap_flags2 = le16_to_cpu(sb->dev_cap_ext_flags_2);
 
drivers/infiniband/hw/bnxt_re/qplib_sp.h +1 -0
index 16a67d70a6fc..2f16f3db093e 100644
@@ -55,6 +55,7 @@ struct bnxt_qplib_dev_attr {
 	u32				max_qp_wqes;
 	u32				max_qp_sges;
 	u32				max_cq;
+#define BNXT_QPLIB_MAX_CQ_WQES          0xfffff
 	u32				max_cq_wqes;
 	u32				max_cq_sges;
 	u32				max_mr;
drivers/infiniband/hw/cxgb4/cm.c +4 -5
index b3757c6a0457..8d753e6e0c71 100644
@@ -2086,7 +2086,7 @@ static int import_ep(struct c4iw_ep *ep, int iptype, __u8 *peer_ip,
 	err = -ENOMEM;
 	if (n->dev->flags & IFF_LOOPBACK) {
 		if (iptype == 4)
-			pdev = ip_dev_find(&init_net, *(__be32 *)peer_ip);
+			pdev = __ip_dev_find(&init_net, *(__be32 *)peer_ip, false);
 		else if (IS_ENABLED(CONFIG_IPV6))
 			for_each_netdev(&init_net, pdev) {
 				if (ipv6_chk_addr(&init_net,
@@ -2101,12 +2101,12 @@ static int import_ep(struct c4iw_ep *ep, int iptype, __u8 *peer_ip,
 			err = -ENODEV;
 			goto out;
 		}
+		if (is_vlan_dev(pdev))
+			pdev = vlan_dev_real_dev(pdev);
 		ep->l2t = cxgb4_l2t_get(cdev->rdev.lldi.l2t,
 					n, pdev, rt_tos2priority(tos));
-		if (!ep->l2t) {
-			dev_put(pdev);
+		if (!ep->l2t)
 			goto out;
-		}
 		ep->mtu = pdev->mtu;
 		ep->tx_chan = cxgb4_port_chan(pdev);
 		ep->smac_idx = ((struct port_info *)netdev_priv(pdev))->smt_idx;
@@ -2119,7 +2119,6 @@ static int import_ep(struct c4iw_ep *ep, int iptype, __u8 *peer_ip,
 		ep->rss_qid = cdev->rdev.lldi.rxq_ids[
 			cxgb4_port_idx(pdev) * step];
 		set_tcp_window(ep, (struct port_info *)netdev_priv(pdev));
-		dev_put(pdev);
 	} else {
 		pdev = get_real_dev(n->dev);
 		ep->l2t = cxgb4_l2t_get(cdev->rdev.lldi.l2t,
drivers/infiniband/hw/irdma/cm.c +1 -1
index 36bb7e5ce638..ce8d821bdad8 100644
@@ -3631,7 +3631,7 @@ void irdma_free_lsmm_rsrc(struct irdma_qp *iwqp)
 /**
  * irdma_accept - registered call for connection to be accepted
  * @cm_id: cm information for passive connection
- * @conn_param: accpet parameters
+ * @conn_param: accept parameters
  */
 int irdma_accept(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param)
 {
drivers/infiniband/ulp/srpt/ib_srpt.c +68 -12

145 lines not on this page · raw message

drivers/irqchip/irq-renesas-rzg2l.c +14 -2
index 693ff285ca2c..99e27e01b0b1 100644
@@ -8,6 +8,7 @@
  */
 
 #include <linux/bitfield.h>
+#include <linux/cleanup.h>
 #include <linux/clk.h>
 #include <linux/err.h>
 #include <linux/io.h>
@@ -530,12 +531,12 @@ static int rzg2l_irqc_parse_interrupts(struct rzg2l_irqc_priv *priv,
 static int rzg2l_irqc_common_init(struct device_node *node, struct device_node *parent,
 				  const struct irq_chip *irq_chip)
 {
+	struct platform_device *pdev = of_find_device_by_node(node);
+	struct device *dev __free(put_device) = pdev ? &pdev->dev : NULL;
 	struct irq_domain *irq_domain, *parent_domain;
-	struct platform_device *pdev;
 	struct reset_control *resetn;
 	int ret;
 
-	pdev = of_find_device_by_node(node);
 	if (!pdev)
 		return -ENODEV;
 
@@ -591,6 +592,17 @@ static int rzg2l_irqc_common_init(struct device_node *node, struct device_node *
 
 	register_syscore_ops(&rzg2l_irqc_syscore_ops);
 
+	/*
+	 * Prevent the cleanup function from invoking put_device by assigning
+	 * NULL to dev.
+	 *
+	 * make coccicheck will complain about missing put_device calls, but
+	 * those are false positives, as dev will be automatically "put" via
+	 * __free_put_device on the failing path.
+	 * On the successful path we don't actually want to "put" dev.
+	 */
+	dev = NULL;
+
 	return 0;
 
 pm_put:
drivers/irqchip/irq-riscv-imsic-platform.c +1 -1
index 11723a763c10..c5ec66e0bfd3 100644
@@ -340,7 +340,7 @@ int imsic_irqdomain_init(void)
 		imsic->fwnode, global->hart_index_bits, global->guest_index_bits);
 	pr_info("%pfwP: group-index-bits: %d, group-index-shift: %d\n",
 		imsic->fwnode, global->group_index_bits, global->group_index_shift);
-	pr_info("%pfwP: per-CPU IDs %d at base PPN %pa\n",
+	pr_info("%pfwP: per-CPU IDs %d at base address %pa\n",
 		imsic->fwnode, global->nr_ids, &global->base_addr);
 	pr_info("%pfwP: total %d interrupts available\n",
 		imsic->fwnode, num_possible_cpus() * (global->nr_ids - 1));
drivers/md/raid10.c +5 -2
index 2a9c4ee982e0..df6668a823ed 100644
@@ -4055,9 +4055,12 @@ static int raid10_run(struct mddev *mddev)
 	}
 
 	if (!mddev_is_dm(conf->mddev)) {
-		ret = raid10_set_queue_limits(mddev);
-		if (ret)
+		int err = raid10_set_queue_limits(mddev);
+
+		if (err) {
+			ret = err;
 			goto out_free_conf;
+		}
 	}
 
 	/* need to check that every block has at least one working mirror */
drivers/net/dsa/microchip/ksz_common.c +11 -10
index 1491099528be..5ec21bda8ab6 100644
@@ -2579,26 +2579,27 @@ static u32 ksz_get_phy_flags(struct dsa_switch *ds, int port)
 			return MICREL_KSZ8_P1_ERRATA;
 		break;
 	case KSZ8567_CHIP_ID:
+		/* KSZ8567R Errata DS80000752C Module 4 */
+	case KSZ8765_CHIP_ID:
+	case KSZ8794_CHIP_ID:
+	case KSZ8795_CHIP_ID:
+		/* KSZ879x/KSZ877x/KSZ876x Errata DS80000687C Module 2 */
 	case KSZ9477_CHIP_ID:
+		/* KSZ9477S Errata DS80000754A Module 4 */
 	case KSZ9567_CHIP_ID:
+		/* KSZ9567S Errata DS80000756A Module 4 */
 	case KSZ9896_CHIP_ID:
+		/* KSZ9896C Errata DS80000757A Module 3 */
 	case KSZ9897_CHIP_ID:
-		/* KSZ9477 Errata DS80000754C
-		 *
-		 * Module 4: Energy Efficient Ethernet (EEE) feature select must
-		 * be manually disabled
+		/* KSZ9897R Errata DS80000758C Module 4 */
+		/* Energy Efficient Ethernet (EEE) feature select must be manually disabled
 		 *   The EEE feature is enabled by default, but it is not fully
 		 *   operational. It must be manually disabled through register
 		 *   controls. If not disabled, the PHY ports can auto-negotiate
 		 *   to enable EEE, and this feature can cause link drops when
 		 *   linked to another device supporting EEE.
 		 *
-		 * The same item appears in the errata for the KSZ9567, KSZ9896,
-		 * and KSZ9897.
-		 *
-		 * A similar item appears in the errata for the KSZ8567, but
-		 * provides an alternative workaround. For now, use the simple
-		 * workaround of disabling the EEE feature for this device too.
+		 * The same item appears in the errata for all switches above.
 		 */
 		return MICREL_NO_EEE;
 	}
drivers/net/dsa/mv88e6xxx/chip.c +1 -1
index 5b4e2ce5470d..284270a4ade1 100644
@@ -6347,7 +6347,7 @@ static const struct mv88e6xxx_info mv88e6xxx_table[] = {
 		.invalid_port_mask = BIT(1) | BIT(2) | BIT(8),
 		.num_internal_phys = 5,
 		.internal_phys_offset = 3,
-		.max_vid = 4095,
+		.max_vid = 8191,
 		.max_sid = 63,
 		.port_base_addr = 0x0,
 		.phy_base_addr = 0x0,
drivers/net/dsa/mv88e6xxx/chip.h +2 -4
index c34caf9815c5..a54682240839 100644
@@ -206,6 +206,7 @@ struct mv88e6xxx_gpio_ops;
 struct mv88e6xxx_avb_ops;
 struct mv88e6xxx_ptp_ops;
 struct mv88e6xxx_pcs_ops;
+struct mv88e6xxx_cc_coeffs;
 
 struct mv88e6xxx_irq {
 	u16 masked;
@@ -408,6 +409,7 @@ struct mv88e6xxx_chip {
 	struct cyclecounter	tstamp_cc;
 	struct timecounter	tstamp_tc;
 	struct delayed_work	overflow_work;
+	const struct mv88e6xxx_cc_coeffs *cc_coeffs;
 
 	struct ptp_clock	*ptp_clock;
 	struct ptp_clock_info	ptp_clock_info;
@@ -731,10 +733,6 @@ struct mv88e6xxx_ptp_ops {
 	int arr1_sts_reg;
 	int dep_sts_reg;
 	u32 rx_filters;
-	u32 cc_shift;
-	u32 cc_mult;
-	u32 cc_mult_num;
-	u32 cc_mult_dem;
 };
 
 struct mv88e6xxx_pcs_ops {
drivers/net/dsa/mv88e6xxx/port.c +1 -0
index 5394a8cf7bf1..04053fdc6489 100644
@@ -1713,6 +1713,7 @@ int mv88e6393x_port_set_policy(struct mv88e6xxx_chip *chip, int port,
 	ptr = shift / 8;
 	shift %= 8;
 	mask >>= ptr * 8;
+	ptr <<= 8;
 
 	err = mv88e6393x_port_policy_read(chip, port, ptr, &reg);
 	if (err)
drivers/net/dsa/mv88e6xxx/ptp.c +75 -33

187 lines not on this page · raw message

drivers/net/dsa/vitesse-vsc73xx-core.c +0 -1
index 212421e9d42e..f5a1fefb7650 100644
@@ -721,7 +721,6 @@ static int vsc73xx_setup(struct dsa_switch *ds)
 
 	dev_info(vsc->dev, "set up the switch\n");
 
-	ds->untag_bridge_pvid = true;
 	ds->max_num_bridges = DSA_TAG_8021Q_MAX_NUM_BRIDGES;
 
 	/* Issue RESET */
drivers/net/ethernet/aeroflex/greth.c +2 -1
index 27af7746d645..adf6f67c5fcb 100644
@@ -484,7 +484,7 @@ greth_start_xmit_gbit(struct sk_buff *skb, struct net_device *dev)
 
 	if (unlikely(skb->len > MAX_FRAME_SIZE)) {
 		dev->stats.tx_errors++;
-		goto out;
+		goto len_error;
 	}
 
 	/* Save skb pointer. */
@@ -575,6 +575,7 @@ greth_start_xmit_gbit(struct sk_buff *skb, struct net_device *dev)
 map_error:
 	if (net_ratelimit())
 		dev_warn(greth->dev, "Could not create TX DMA mapping\n");
+len_error:
 	dev_kfree_skb(skb);
 out:
 	return err;
drivers/net/ethernet/broadcom/asp2/bcmasp_intf.c +1 -0
index 82768b0e9026..9ea16ef4139d 100644
@@ -322,6 +322,7 @@ static netdev_tx_t bcmasp_xmit(struct sk_buff *skb, struct net_device *dev)
 			}
 			/* Rewind so we do not have a hole */
 			spb_index = intf->tx_spb_index;
+			dev_kfree_skb(skb);
 			return NETDEV_TX_OK;
 		}
 
drivers/net/ethernet/broadcom/bcmsysport.c +1 -0
index c9faa8540859..0a68b526e4a8 100644
@@ -1359,6 +1359,7 @@ static netdev_tx_t bcm_sysport_xmit(struct sk_buff *skb,
 		netif_err(priv, tx_err, dev, "DMA map failed at %p (len=%d)\n",
 			  skb->data, skb_len);
 		ret = NETDEV_TX_OK;
+		dev_kfree_skb_any(skb);
 		goto out;
 	}
 
drivers/net/ethernet/broadcom/bnxt/bnxt.c +14 -8
index 04a623b3eee2..103e6aa604c3 100644
@@ -2257,10 +2257,11 @@ static int bnxt_rx_pkt(struct bnxt *bp, struct bnxt_cp_ring_info *cpr,
 
 			if (!bnxt_get_rx_ts_p5(bp, &ts, cmpl_ts)) {
 				struct bnxt_ptp_cfg *ptp = bp->ptp_cfg;
+				unsigned long flags;
 
-				spin_lock_bh(&ptp->ptp_lock);
+				spin_lock_irqsave(&ptp->ptp_lock, flags);
 				ns = timecounter_cyc2time(&ptp->tc, ts);
-				spin_unlock_bh(&ptp->ptp_lock);
+				spin_unlock_irqrestore(&ptp->ptp_lock, flags);
 				memset(skb_hwtstamps(skb), 0,
 				       sizeof(*skb_hwtstamps(skb)));
 				skb_hwtstamps(skb)->hwtstamp = ns_to_ktime(ns);
@@ -2760,17 +2761,18 @@ static int bnxt_async_event_process(struct bnxt *bp,
 		case ASYNC_EVENT_CMPL_PHC_UPDATE_EVENT_DATA1_FLAGS_PHC_RTC_UPDATE:
 			if (BNXT_PTP_USE_RTC(bp)) {
 				struct bnxt_ptp_cfg *ptp = bp->ptp_cfg;
+				unsigned long flags;
 				u64 ns;
 
 				if (!ptp)
 					goto async_event_process_exit;
 
-				spin_lock_bh(&ptp->ptp_lock);
+				spin_lock_irqsave(&ptp->ptp_lock, flags);
 				bnxt_ptp_update_current_time(bp);
 				ns = (((u64)BNXT_EVENT_PHC_RTC_UPDATE(data1) <<
 				       BNXT_PHC_BITS) | ptp->current_time);
 				bnxt_ptp_rtc_timecounter_init(ptp, ns);
-				spin_unlock_bh(&ptp->ptp_lock);
+				spin_unlock_irqrestore(&ptp->ptp_lock, flags);
 			}
 			break;
 		}
@@ -13484,9 +13486,11 @@ static void bnxt_force_fw_reset(struct bnxt *bp)
 		return;
 
 	if (ptp) {
-		spin_lock_bh(&ptp->ptp_lock);
+		unsigned long flags;
+
+		spin_lock_irqsave(&ptp->ptp_lock, flags);
 		set_bit(BNXT_STATE_IN_FW_RESET, &bp->state);
-		spin_unlock_bh(&ptp->ptp_lock);
+		spin_unlock_irqrestore(&ptp->ptp_lock, flags);
 	} else {
 		set_bit(BNXT_STATE_IN_FW_RESET, &bp->state);
 	}
@@ -13551,9 +13555,11 @@ void bnxt_fw_reset(struct bnxt *bp)
 		int n = 0, tmo;
 
 		if (ptp) {
-			spin_lock_bh(&ptp->ptp_lock);
+			unsigned long flags;
+
+			spin_lock_irqsave(&ptp->ptp_lock, flags);
 			set_bit(BNXT_STATE_IN_FW_RESET, &bp->state);
-			spin_unlock_bh(&ptp->ptp_lock);
+			spin_unlock_irqrestore(&ptp->ptp_lock, flags);
 		} else {
 			set_bit(BNXT_STATE_IN_FW_RESET, &bp->state);
 		}
drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c +42 -28

225 lines not on this page · raw message

drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.h +7 -5
index a9a2f9a18c9c..f322466ecad3 100644
@@ -146,11 +146,13 @@ struct bnxt_ptp_cfg {
 };
 
 #if BITS_PER_LONG == 32
-#define BNXT_READ_TIME64(ptp, dst, src)		\
-do {						\
-	spin_lock_bh(&(ptp)->ptp_lock);		\
-	(dst) = (src);				\
-	spin_unlock_bh(&(ptp)->ptp_lock);	\
+#define BNXT_READ_TIME64(ptp, dst, src)				\
+do {								\
+	unsigned long flags;					\
+								\
+	spin_lock_irqsave(&(ptp)->ptp_lock, flags);		\
+	(dst) = (src);						\
+	spin_unlock_irqrestore(&(ptp)->ptp_lock, flags);	\
 } while (0)
 #else
 #define BNXT_READ_TIME64(ptp, dst, src)		\
drivers/net/ethernet/emulex/benet/be_main.c +5 -5
index a8596ebcdfd6..875fe379eea2 100644
@@ -1381,10 +1381,8 @@ static netdev_tx_t be_xmit(struct sk_buff *skb, struct net_device *netdev)
 	be_get_wrb_params_from_skb(adapter, skb, &wrb_params);
 
 	wrb_cnt = be_xmit_enqueue(adapter, txo, skb, &wrb_params);
-	if (unlikely(!wrb_cnt)) {
-		dev_kfree_skb_any(skb);
-		goto drop;
-	}
+	if (unlikely(!wrb_cnt))
+		goto drop_skb;
 
 	/* if os2bmc is enabled and if the pkt is destined to bmc,
 	 * enqueue the pkt a 2nd time with mgmt bit set.
@@ -1393,7 +1391,7 @@ static netdev_tx_t be_xmit(struct sk_buff *skb, struct net_device *netdev)
 		BE_WRB_F_SET(wrb_params.features, OS2BMC, 1);
 		wrb_cnt = be_xmit_enqueue(adapter, txo, skb, &wrb_params);
 		if (unlikely(!wrb_cnt))
-			goto drop;
+			goto drop_skb;
 		else
 			skb_get(skb);
 	}
@@ -1407,6 +1405,8 @@ static netdev_tx_t be_xmit(struct sk_buff *skb, struct net_device *netdev)
 		be_xmit_flush(adapter, txo);
 
 	return NETDEV_TX_OK;
+drop_skb:
+	dev_kfree_skb_any(skb);
 drop:
 	tx_stats(txo)->tx_drv_drops++;
 	/* Flush the already enqueued tx requests */
drivers/net/ethernet/freescale/fman/mac.c +51 -17

164 lines not on this page · raw message

drivers/net/ethernet/freescale/fman/mac.h +5 -1
index fe747915cc73..8b5b43d50f8e 100644
@@ -19,12 +19,13 @@
 struct fman_mac;
 struct mac_priv_s;
 
+#define PORT_NUM 2
 struct mac_device {
 	void __iomem		*vaddr;
 	struct device		*dev;
 	struct resource		*res;
 	u8			 addr[ETH_ALEN];
-	struct fman_port	*port[2];
+	struct fman_port	*port[PORT_NUM];
 	struct phylink		*phylink;
 	struct phylink_config	phylink_config;
 	phy_interface_t		phy_if;
@@ -52,6 +53,9 @@ struct mac_device {
 
 	struct fman_mac		*fman_mac;
 	struct mac_priv_s	*priv;
+
+	struct device		*fman_dev;
+	struct device		*fman_port_devs[PORT_NUM];
 };
 
 static inline struct mac_device
drivers/net/ethernet/i825xx/sun3_82586.c +1 -0
index f2d4669c81cf..58a3d28d938c 100644
@@ -1012,6 +1012,7 @@ sun3_82586_send_packet(struct sk_buff *skb, struct net_device *dev)
 	if(skb->len > XMIT_BUFF_SIZE)
 	{
 		printk("%s: Sorry, max. framelength is %d bytes. The length of your frame is %d bytes.\n",dev->name,XMIT_BUFF_SIZE,skb->len);
+		dev_kfree_skb(skb);
 		return NETDEV_TX_OK;
 	}
 
drivers/net/ethernet/marvell/octeon_ep/octep_rx.c +59 -23

69 lines not on this page · raw message

drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c +2 -2
index 82832a24fbd8..da69350c6f76 100644

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

drivers/net/ethernet/mediatek/mtk_eth_soc.c +1 -1
index 16ca427cf4c3..ed7313c10a05 100644

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

drivers/net/ethernet/mellanox/mlx5/core/cmd.c +6 -2
index 20768ef2e9d2..86d63c5f27ce 100644

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

drivers/net/ethernet/mellanox/mlx5/core/en_main.c +3 -1
index 16b67c457b60..3e11c1c6d4f6 100644

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

drivers/net/ethernet/mellanox/mlx5/core/eq.c +6 -0
index cb7e7e4104af..99d9e8863bfd 100644

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

drivers/net/ethernet/mellanox/mlx5/core/eswitch.c +3 -2
index 17f78091ad30..7aef30dbd82d 100644

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

drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c +3 -6
index 800dfb64ec83..7d6d859cef3f 100644

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

drivers/net/ethernet/microchip/sparx5/sparx5_mirror.c +6 -6
index 15db423be4aa..459a53676ae9 100644

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

drivers/net/ethernet/realtek/r8169_main.c +3 -1
index 01e18f645c0e..91a8c62b180a 100644

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

drivers/net/ethernet/renesas/ravb_main.c +12 -13
index 6b82df11fe8d..907af4651c55 100644

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

drivers/net/ethernet/renesas/rtsn.c +1 -0
index 0e6cea42f007..da90adef6b2b 100644

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

drivers/net/ethernet/stmicro/stmmac/dwmac-tegra.c +12 -2
index 362f85136c3e..6fdd94c8919e 100644

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

drivers/net/ethernet/xilinx/xilinx_axienet_main.c +2 -0
index 5dbfee4aee43..0c4c57e7fddc 100644

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

drivers/net/hyperv/netvsc_drv.c +30 -0
index 44142245343d..5708c6e71d1d 100644

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

drivers/net/macsec.c +0 -18
index 2da70bc3dd86..2a31d09d43ed 100644

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

drivers/net/netdevsim/dev.c +9 -6
index 92a7a36b93ac..3e0b61202f0c 100644

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

drivers/net/phy/dp83822.c +2 -2
index fc247f479257..3ab64e04a01c 100644

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

drivers/net/plip/plip.c +1 -1
index e39bfaefe8c5..d81163bc910a 100644

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

drivers/net/pse-pd/pse_core.c +2 -2
index f8e6854781e6..2906ce173f66 100644

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

drivers/net/usb/usbnet.c +3 -1
index 2506aa8c603e..44179f4e807f 100644

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

drivers/net/virtio_net.c +1 -1
index f8131f92a392..792e9eadbfc3 100644

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

drivers/net/vmxnet3/vmxnet3_xdp.c +1 -1
index a6c787454a1a..1341374a4588 100644

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

drivers/net/wwan/wwan_core.c +1 -1
index 17431f1b1a0c..65a7ed4d6766 100644

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

drivers/nvme/host/pci.c +16 -3
index 7990c3f22ecf..4b9fda0b1d9a 100644

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

drivers/pci/probe.c +2 -0
index e9e56bbb3b59..d203e23b7562 100644

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

drivers/pci/pwrctl/pci-pwrctl-pwrseq.c +54 -4

58 lines not on this page · raw message

drivers/platform/x86/dell/dell-wmi-base.c +9 -0
index 502783a7adb1..24fd7ffadda9 100644

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

drivers/platform/x86/dell/dell-wmi-sysman/sysman.c +1 -0
index 9def7983d7d6..40ddc6eb7562 100644

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

drivers/platform/x86/intel/pmc/core_ssram.c +3 -1
index 1bde86c54eb9..239211486fb9 100644

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

drivers/powercap/dtpm_devfreq.c +1 -1
index f40bce8176df..d1dff6ccab12 100644

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

drivers/reset/starfive/reset-starfive-jh71x0.c +3 -0
index 55bbbd2de52c..29ce3486752f 100644

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

drivers/soundwire/intel_ace2x.c +6 -13
index 781fe0aefa68..655766af2ea5 100644

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

drivers/target/target_core_device.c +1 -1
index bf4892544cfd..bb84d304b07e 100644

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

drivers/target/target_core_user.c +1 -1
index 7eb94894bd68..717931267bda 100644

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

drivers/usb/host/xhci-dbgcap.h +1 -1
index 97c5dc290138..9dc8f4d8077c 100644

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

drivers/usb/host/xhci-dbgtty.c +53 -20

73 lines not on this page · raw message

drivers/usb/typec/class.c +3 -0
index 9262fcd4144f..d61b4c74648d 100644

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

drivers/video/fbdev/Kconfig +1 -0
index ea36c6956bf3..1af0ccf7967a 100644

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

fs/9p/v9fs.h +27 -7
index 1775fcc7f0e8..698c43dd5dc8 100644

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

fs/9p/v9fs_vfs.h +1 -1
index 7923c3c347cb..d3aefbec4de6 100644

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

fs/9p/vfs_inode.c +82 -47

129 lines not on this page · raw message

fs/9p/vfs_inode_dotl.c +81 -31

112 lines not on this page · raw message

fs/9p/vfs_super.c +1 -1
index f52fdf42945c..489db161abc9 100644

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

fs/backing-file.c +4 -4
index 8860dac58c37..09a9be945d45 100644

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

fs/btrfs/block-group.c +2 -0
index 2e49d978f504..4ca22d4655ae 100644

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

fs/btrfs/dir-item.c +2 -2
index 001c0c2f872c..1e8cd7c9472e 100644

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

fs/btrfs/disk-io.c +1 -1
index 216b3b412aa0..64bead01354c 100644

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

fs/btrfs/extent_map.c +16 -15
index 10ac5f657e38..72ae8f64482c 100644

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

fs/btrfs/inode.c +2 -5
index b1b6564ab68f..13675e128af6 100644

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

fs/btrfs/qgroup.c +1 -1
index feb8f9f2f358..427e8887a510 100644

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

fs/btrfs/qgroup.h +2 -0
index deb479d176a9..1ef566cf1c2a 100644

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

fs/btrfs/super.c +10 -2
index 98fa0f382480..926d7a9ed99d 100644

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

fs/fuse/passthrough.c +4 -4
index 9666d13884ce..d1b570d39501 100644

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

fs/jfs/jfs_dmap.c +1 -1
index 974ecf5e0d95..3ab410059dc2 100644

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

fs/namespace.c +3 -1
index 155c6abda71d..666070457cf7 100644

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

fs/nfsd/nfs4state.c +41 -9

50 lines not on this page · raw message

fs/nfsd/state.h +2 -0
index ec4559ecd193..df345896a745 100644

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

fs/nilfs2/page.c +4 -2
index 14e470fb8870..7f9073d5c5a5 100644

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

fs/notify/fsnotify.c +12 -9
index 272c8a1dab3c..82ae8254c068 100644

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

fs/notify/inotify/inotify_user.c +1 -1
index 4ffc30606e0b..e163a4b79022 100644

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

fs/notify/mark.c +6 -2
index 5e170e713088..c45b222cf9c1 100644

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

fs/open.c +2 -0
index 22adbef7ecc2..30bfcddd505d 100644

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

fs/overlayfs/file.c +7 -2
index 1a411cae57ed..7b085f89e5a1 100644

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

fs/select.c +3 -1
index 9515c3fa1a03..bc185d111436 100644

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

fs/smb/client/cifsfs.c +1 -1
index 33e286001015..9bdb6e7f1dc3 100644

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

fs/smb/client/fs_context.c +7 -0
index bc926ab2555b..4069b69fbc7e 100644

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

fs/smb/client/reparse.c +23 -0
index ad0e0de9a165..7429b96a6ae5 100644

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

fs/smb/client/smb2ops.c +2 -1
index e9be7b43bb6b..b9e332443b0d 100644

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

fs/smb/client/smb2pdu.c +9 -0
index 3d9e6e15dd90..194a4262d57a 100644

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

fs/udf/balloc.c +25 -13
index d8fc11765d61..807c493ed0cd 100644

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

fs/udf/directory.c +16 -7
index 93153665eb37..632453aa3893 100644

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

fs/udf/inode.c +134 -68

202 lines not on this page · raw message

fs/udf/partition.c +4 -2
index af877991edc1..2b85c9501bed 100644

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

fs/udf/super.c +2 -1
index 3460ecc826d1..1c8a736b3309 100644

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

fs/udf/truncate.c +34 -9

43 lines not on this page · raw message

fs/udf/udfdecl.h +9 -6
index 88692512a466..d159f20d61e8 100644

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

fs/xfs/scrub/repair.c +5 -3
index 67478294f11a..155bbaaa496e 100644

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

include/linux/backing-file.h +1 -1
index 4b61b0e57720..2eed0ffb5e8f 100644

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

include/linux/bpf.h +11 -3
index f3e5ce397b8e..eb1d3a2fe333 100644

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

include/linux/bpf_types.h +1 -0
index 9f2a6b83b49e..fa78f49d4a9a 100644

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

include/linux/huge_mm.h +18 -0
index e25d9ebfdf89..6d334c211176 100644

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

include/linux/netdevice.h +12 -0
index b26954dc9ed7..93548d71cf69 100644

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

include/linux/shmem_fs.h +2 -9
index 1d06b1e5408a..1564d7d3ca61 100644

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

include/linux/task_work.h +4 -1
index cf5e7e891a77..2964171856e0 100644

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

include/linux/uaccess.h +7 -0
index d8e4105a2f21..39c7cf82b0c2 100644

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

include/net/bluetooth/bluetooth.h +1 -0
index 5d655e109b2c..f66bc85c6411 100644

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

include/net/genetlink.h +1 -2
index 9ab49bfeae78..c1d91f1d20f6 100644

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

include/net/sock.h +5 -0
index 2d4149075091..f127fc268a5e 100644

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

include/net/xfrm.h +15 -13
index 54cef89f6c1e..2a98d14b036f 100644

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

include/uapi/linux/bpf.h +8 -8
index 35bcf52dbc65..b44b3b6c6a8f 100644

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

include/uapi/sound/asoc.h +1 -1
index 99333cbd3114..c117672d4439 100644

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

kernel/bpf/btf.c +11 -4
index 7783b16b87cf..5f4f1d0bc23a 100644

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

kernel/bpf/devmap.c +7 -4
index 9e0e3b0a18e4..7878be18e9d2 100644

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

kernel/bpf/helpers.c +5 -5
index c9e235807cac..cc8c00864a68 100644

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

kernel/bpf/inode.c +3 -2
index af5d2ffadd70..00b8dc8ef738 100644

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

kernel/bpf/log.c +1 -2
index 5aebfc3051e3..4a858fdb6476 100644

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

kernel/bpf/ringbuf.c +7 -7
index e20b90c36131..e1cfe890e0be 100644

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

kernel/bpf/syscall.c +23 -8
index 21fb9c4d498f..19b590b5aaec 100644

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

kernel/bpf/task_iter.c +1 -1
index 02aa9db8d796..5af9e130e500 100644

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

kernel/bpf/verifier.c +58 -49

107 lines not on this page · raw message

kernel/sched/core.c +3 -1
index 1af59cf714cd..3713341c2e72 100644

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

kernel/task_work.c +13 -2
index 5d14d639ac71..c969f1f26be5 100644

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

kernel/time/posix-clock.c +3 -3
index 6b5d5c0021fa..a6487a9d6085 100644

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

kernel/trace/bpf_trace.c +19 -23

42 lines not on this page · raw message

kernel/trace/fgraph.c +6 -9
index 43f4e3f57438..69e226a48daa 100644

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

kernel/trace/ring_buffer.c +26 -18

44 lines not on this page · raw message

kernel/trace/trace_eprobe.c +6 -1
index b0e0ec85912e..ebda68ee9abf 100644

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

kernel/trace/trace_fprobe.c +5 -1
index 62e6a8f4aae9..5107d466a129 100644

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

kernel/trace/trace_kprobe.c +5 -1
index 61a6da808203..263fac44d3ca 100644

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

kernel/trace/trace_probe.c +1 -1
index 39877c80d6cb..16a5e368e7b7 100644

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

kernel/trace/trace_uprobe.c +9 -4
index c98e3b3386ba..6de07df05ed8 100644

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

lib/Kconfig.debug +1 -1
index a30c03a66172..8079f5c2dfe4 100644

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

lib/objpool.c +1 -1
index 234f9d0bd081..fd108fe0d095 100644

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

lib/strncpy_from_user.c +9 -0
index 6432b8c3e431..989a12a67872 100644

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

lib/strnlen_user.c +9 -0
index feeb935a2299..6e489f9e90f1 100644

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

mm/huge_memory.c +4 -20
index 99b146d16a18..e44508e46e89 100644

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

mm/memory.c +9 -0
index cda2c12c500b..cb66345e398d 100644

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

mm/shmem.c +32 -23

55 lines not on this page · raw message

net/bluetooth/af_bluetooth.c +22 -0
index e39fba5565c5..0b4d0a8bd361 100644

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

net/bluetooth/bnep/core.c +1 -2
index ec45f77fce21..344e2e063be6 100644

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

net/bluetooth/hci_core.c +15 -9
index b2f8f9c5b610..6e07350817be 100644

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

net/bluetooth/hci_sync.c +9 -3
index 40ccdef168d7..ae7a5817883a 100644

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

net/bluetooth/iso.c +12 -6
index c9eefb43bf47..7a83e400ac77 100644

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

net/bluetooth/sco.c +12 -6
index a5ac160c592e..1c7252a36866 100644

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

net/core/filter.c +20 -30

50 lines not on this page · raw message

net/core/sock_map.c +8 -0
index 724b6856fcc3..219fd8f1ca2a 100644

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

net/ipv4/devinet.c +25 -10
index ddab15116454..4d0c8d501ab7 100644

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

net/ipv4/inet_connection_sock.c +16 -5
index 64d07b842e73..cd7989b514ea 100644

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

net/ipv4/xfrm4_policy.c +18 -22
index 0294fef577fa..7e1c2faed1ff 100644

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

net/ipv6/xfrm6_policy.c +16 -15
index b1d81c4270ab..1f19b6f14484 100644

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

net/l2tp/l2tp_netlink.c +2 -2
index fc43ecbd128c..28e77a222a39 100644

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

net/netfilter/nf_bpf_link.c +6 -1
index 5257d5e7eb09..3d64a4511fcf 100644

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

net/netfilter/xt_NFLOG.c +1 -1
index d80abd6ccaf8..6dcf4bc7e30b 100644

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

net/netfilter/xt_TRACE.c +1 -0
index f3fa4f11348c..a642ff09fc8e 100644

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

net/netfilter/xt_mark.c +1 -1
index f76fe04fc9a4..65b965ca40ea 100644

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

net/netlink/genetlink.c +14 -14
index feb54c63a116..07ad65774fe2 100644

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

net/sched/act_api.c +22 -1
index 2714c4ed928e..eecad65fec92 100644

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

net/sched/sch_generic.c +7 -1
index 2af24547a82c..38ec18f73de4 100644

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

net/sched/sch_taprio.c +14 -7
index 8498d0606b24..8623dc0bafc0 100644

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

net/smc/smc_pnet.c +1 -1
index 2adb92b8c469..dbcc72b43d0c 100644

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

net/smc/smc_wr.c +5 -1
index 0021065a600a..994c0cd4fddb 100644

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

net/vmw_vsock/virtio_transport_common.c +12 -2
index 16ff976a86e3..645222ac84e3 100644

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

net/vmw_vsock/vsock_bpf.c +0 -8
index c42c5cc18f32..4aa6e74ec295 100644

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

net/wireless/nl80211.c +2 -6
index f18e1716339e..3766efacfd64 100644

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

net/xfrm/xfrm_device.c +8 -3
index 9a44d363ba62..fcd67fdfe79b 100644

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

net/xfrm/xfrm_policy.c +38 -12

50 lines not on this page · raw message

net/xfrm/xfrm_user.c +8 -2
index 55f039ec3d59..eb146f574bbd 100644

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

sound/firewire/amdtp-stream.c +3 -0
index c827d7d8d800..ea3a7d69f1c4 100644

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

sound/pci/hda/Kconfig +1 -1
index bb15a0248250..68f1eee9e5c9 100644

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

sound/pci/hda/patch_cs8409.c +3 -2
index 26f3c31600d7..614327218634 100644

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

sound/pci/hda/patch_realtek.c +27 -21

48 lines not on this page · raw message

sound/soc/amd/yc/acp6x-mach.c +7 -0
index 06349bf0b658..ace6328e91e3 100644

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

sound/soc/codecs/lpass-rx-macro.c +1 -1
index ce42749660c8..ac759f4a880d 100644

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

sound/soc/codecs/max98388.c +1 -0
index b847d7c59ec0..99986090b4a6 100644

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

sound/soc/fsl/fsl_micfil.c +42 -1

43 lines not on this page · raw message

sound/soc/fsl/fsl_sai.c +4 -1
index d03b0172b8ad..a1f03c97b7bb 100644

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

sound/soc/fsl/fsl_sai.h +1 -0
index dadbd16ee394..9c4d19fe22c6 100644

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

sound/soc/loongson/loongson_card.c +1 -0
index 2c8dbdba27c5..cc0bb6f9772e 100644

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

sound/soc/qcom/Kconfig +2 -0
index 762491d6f2f2..ca7a30ebd26a 100644

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

sound/soc/qcom/lpass-cpu.c +2 -0
index 5a47f661e0c6..242bc16da36d 100644

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

sound/soc/qcom/sc7280.c +9 -1
index 207ac5da4dd4..230af8d7b205 100644

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

sound/soc/qcom/sdm845.c +6 -1
index 75701546b6ea..a479d7e5b7fb 100644

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

sound/soc/qcom/sm8250.c +1 -0
index a15dafb99b33..50e175fd521c 100644

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

sound/soc/sh/rcar/core.c +5 -2
index 63b3c8bf0fde..eda8de226439 100644

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

sound/soc/soc-dapm.c +2 -2
index 32c556c62557..e39df5d10b07 100644

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

sound/soc/sof/intel/hda-dai-ops.c +10 -13
index 484c76147885..92681ca7f24d 100644

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

sound/soc/sof/intel/hda-dai.c +33 -4
index 1c823f9eea57..ac505c7ad342 100644

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

sound/soc/sof/intel/hda-loader.c +0 -17
index 75f6240cf3e1..9d8ebb7c6a10 100644

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

sound/soc/sof/ipc4-topology.c +13 -2
index 87be7f16e8c2..240fee2166d1 100644

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

tools/include/uapi/linux/bpf.h +3 -0
index 35bcf52dbc65..cf9b43b872f9 100644

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

tools/testing/selftests/bpf/Makefile +1 -1
index 848fffa25022..555fd34c6e1f 100644

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

tools/testing/selftests/bpf/prog_tests/fill_link_info.c +6 -3
index f3932941bbaa..745c5ada4c4b 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.