Skip to contentSkip to conversation

Linux 6.6.36

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

lore
Share & tools
lore

Greg Kroah-Hartman

author maintainer
#0 lore raw

I'm announcing the release of the 6.6.36 kernel.

All users of the 6.6 kernel series must upgrade.

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

thanks,

greg k-h

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

 Documentation/devicetree/bindings/dma/fsl,edma.yaml                  |    4 
 Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml         |    2 
 Documentation/devicetree/bindings/i2c/google,cros-ec-i2c-tunnel.yaml |    2 
 Makefile                                                             |    2 
 arch/alpha/kernel/setup.c                                            |    2 
 arch/alpha/kernel/sys_sio.c                                          |    2 
 arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi                     |    2 
 arch/arm64/boot/dts/freescale/imx8mp-dhcom-som.dtsi                  |    4 
 arch/arm64/boot/dts/freescale/imx8mp-venice-gw73xx.dtsi              |    2 
 arch/arm64/boot/dts/freescale/imx8qm-mek.dts                         |    2 
 arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts                    |    1 
 arch/arm64/configs/defconfig                                         |    1 
 arch/arm64/kvm/vgic/vgic-init.c                                      |    2 
 arch/arm64/kvm/vgic/vgic-mmio-v3.c                                   |   15 
 arch/arm64/kvm/vgic/vgic.h                                           |    2 
 arch/csky/kernel/probes/ftrace.c                                     |    3 
 arch/ia64/kernel/setup.c                                             |    6 
 arch/loongarch/include/asm/efi.h                                     |    2 
 arch/loongarch/include/asm/hw_breakpoint.h                           |    4 
 arch/loongarch/kernel/ftrace_dyn.c                                   |    3 
 arch/loongarch/kernel/head.S                                         |    3 
 arch/loongarch/kernel/hw_breakpoint.c                                |   96 ++---
 arch/loongarch/kernel/image-vars.h                                   |    1 
 arch/loongarch/kernel/ptrace.c                                       |   47 +-
 arch/loongarch/kernel/setup.c                                        |    2 
 arch/loongarch/kernel/vmlinux.lds.S                                  |   11 
 arch/mips/bmips/setup.c                                              |    3 
 arch/mips/kernel/setup.c                                             |    2 
 arch/mips/pci/ops-rc32434.c                                          |    4 
 arch/mips/pci/pcie-octeon.c                                          |    6 
 arch/mips/sibyte/swarm/setup.c                                       |    2 
 arch/mips/sni/setup.c                                                |    2 
 arch/parisc/kernel/ftrace.c                                          |    3 
 arch/powerpc/include/asm/hvcall.h                                    |    8 
 arch/powerpc/include/asm/io.h                                        |   24 -
 arch/powerpc/kernel/kprobes-ftrace.c                                 |    3 
 arch/riscv/kernel/probes/ftrace.c                                    |    3 
 arch/riscv/kernel/setup.c                                            |   11 
 arch/riscv/mm/init.c                                                 |   13 
 arch/s390/kernel/ftrace.c                                            |    3 
 arch/x86/include/asm/cpu_device_id.h                                 |   98 +++++
 arch/x86/include/asm/efi.h                                           |    1 
 arch/x86/kernel/cpu/match.c                                          |    4 
 arch/x86/kernel/kprobes/ftrace.c                                     |    3 
 arch/x86/kvm/x86.c                                                   |    9 
 arch/x86/platform/efi/memmap.c                                       |   12 
 block/ioctl.c                                                        |    2 
 drivers/acpi/acpica/acevents.h                                       |    4 
 drivers/acpi/acpica/evregion.c                                       |    6 
 drivers/acpi/acpica/evxfregn.c                                       |   54 ++
 drivers/acpi/acpica/exregion.c                                       |   23 -
 drivers/acpi/ec.c                                                    |   28 -
 drivers/acpi/internal.h                                              |    1 
 drivers/acpi/video_detect.c                                          |    8 
 drivers/acpi/x86/utils.c                                             |   20 -
 drivers/block/nbd.c                                                  |   34 -
 drivers/bluetooth/ath3k.c                                            |   25 -
 drivers/cpufreq/amd-pstate.c                                         |    7 
 drivers/crypto/hisilicon/qm.c                                        |    5 
 drivers/crypto/hisilicon/sec2/sec_crypto.c                           |    4 
 drivers/dma/Kconfig                                                  |    2 
 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c                       |    6 
 drivers/dma/dw-axi-dmac/dw-axi-dmac.h                                |    1 
 drivers/dma/idxd/irq.c                                               |    4 
 drivers/dma/ioat/init.c                                              |   55 +-
 drivers/firmware/efi/libstub/loongarch-stub.c                        |    9 
 drivers/firmware/efi/libstub/loongarch-stub.h                        |    4 
 drivers/firmware/efi/libstub/loongarch.c                             |    8 
 drivers/firmware/efi/memmap.c                                        |    9 
 drivers/firmware/psci/psci.c                                         |    4 
 drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c                           |    2 
 drivers/gpu/drm/i915/display/intel_dp.c                              |    4 
 drivers/gpu/drm/lima/lima_bcast.c                                    |   12 
 drivers/gpu/drm/lima/lima_bcast.h                                    |    3 
 drivers/gpu/drm/lima/lima_gp.c                                       |    8 
 drivers/gpu/drm/lima/lima_pp.c                                       |   18 
 drivers/gpu/drm/lima/lima_sched.c                                    |    7 
 drivers/gpu/drm/lima/lima_sched.h                                    |    1 
 drivers/gpu/drm/radeon/sumo_dpm.c                                    |    2 
 drivers/hid/hid-asus.c                                               |   51 +-
 drivers/hid/hid-ids.h                                                |    1 
 drivers/hid/hid-multitouch.c                                         |    6 
 drivers/i2c/busses/i2c-ocores.c                                      |    2 
 drivers/infiniband/hw/bnxt_re/bnxt_re.h                              |    4 
 drivers/infiniband/hw/mana/mr.c                                      |    1 
 drivers/infiniband/hw/mlx5/main.c                                    |    4 
 drivers/infiniband/hw/mlx5/mr.c                                      |    5 
 drivers/infiniband/hw/mlx5/srq.c                                     |   13 
 drivers/infiniband/sw/rxe/rxe_resp.c                                 |   13 
 drivers/infiniband/sw/rxe/rxe_verbs.c                                |    2 
 drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c                          |    2 
 drivers/media/pci/intel/ipu-bridge.c                                 |   66 ++-
 drivers/media/platform/mediatek/vcodec/common/mtk_vcodec_fw_scp.c    |    2 
 drivers/net/dsa/realtek/rtl8366rb.c                                  |   87 +---
 drivers/net/ethernet/broadcom/bnxt/bnxt.c                            |    5 
 drivers/net/ethernet/intel/ice/ice_main.c                            |    7 
 drivers/net/ethernet/intel/ice/ice_switch.c                          |    6 
 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c                      |    5 
 drivers/net/ethernet/marvell/octeontx2/nic/Makefile                  |    3 
 drivers/net/ethernet/marvell/octeontx2/nic/otx2_dcbnl.c              |    7 
 drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.c            |    2 
 drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c               |    5 
 drivers/net/ethernet/microchip/lan743x_ethtool.c                     |   44 ++
 drivers/net/ethernet/microchip/lan743x_main.c                        |   48 ++
 drivers/net/ethernet/microchip/lan743x_main.h                        |   28 +
 drivers/net/ethernet/qualcomm/qca_debug.c                            |    6 
 drivers/net/ethernet/qualcomm/qca_spi.c                              |   16 
 drivers/net/ethernet/qualcomm/qca_spi.h                              |    3 
 drivers/net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c                |    6 
 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c                      |   40 +-
 drivers/net/phy/mxl-gpy.c                                            |   58 +--
 drivers/net/phy/sfp.c                                                |    3 
 drivers/net/usb/ax88179_178a.c                                       |   18 
 drivers/net/usb/rtl8150.c                                            |    3 
 drivers/net/virtio_net.c                                             |   32 +
 drivers/net/wireless/ath/ath.h                                       |    6 
 drivers/net/wireless/ath/ath9k/main.c                                |    3 
 drivers/net/wireless/mediatek/mt76/mt7921/mac.c                      |    2 
 drivers/net/wireless/mediatek/mt76/mt7921/pci_mac.c                  |    2 
 drivers/net/wireless/mediatek/mt76/mt7921/sdio_mac.c                 |    2 
 drivers/net/wireless/mediatek/mt76/sdio.c                            |    3 
 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h                     |    9 
 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c                |    7 
 drivers/pci/pci.c                                                    |   17 
 drivers/platform/x86/p2sb.c                                          |   29 -
 drivers/platform/x86/toshiba_acpi.c                                  |   36 +
 drivers/power/supply/cros_usbpd-charger.c                            |   11 
 drivers/ptp/ptp_sysfs.c                                              |    3 
 drivers/regulator/bd71815-regulator.c                                |    2 
 drivers/regulator/core.c                                             |    1 
 drivers/scsi/qedi/qedi_debugfs.c                                     |   12 
 drivers/spi/spi-cs42l43.c                                            |    2 
 drivers/spi/spi-imx.c                                                |   14 
 drivers/spi/spi-stm32-qspi.c                                         |   12 
 drivers/ssb/main.c                                                   |    4 
 drivers/thermal/mediatek/lvts_thermal.c                              |    6 
 drivers/tty/serial/8250/8250_dw.c                                    |   27 +
 drivers/tty/serial/8250/8250_dwlib.h                                 |   32 -
 drivers/tty/serial/8250/8250_exar.c                                  |   42 ++
 drivers/tty/serial/imx.c                                             |    7 
 drivers/tty/tty_ldisc.c                                              |    6 
 drivers/tty/vt/vt.c                                                  |   10 
 drivers/ufs/core/ufshcd.c                                            |    1 
 drivers/usb/dwc3/dwc3-pci.c                                          |    8 
 drivers/usb/gadget/function/f_hid.c                                  |    6 
 drivers/usb/gadget/function/f_printer.c                              |    6 
 drivers/usb/gadget/function/rndis.c                                  |    4 
 drivers/usb/gadget/function/uvc_configfs.c                           |   14 
 drivers/usb/misc/uss720.c                                            |   20 -
 drivers/usb/typec/ucsi/ucsi_glink.c                                  |    8 
 drivers/vfio/pci/vfio_pci_core.c                                     |   78 ++--
 fs/btrfs/bio.c                                                       |    4 
 fs/btrfs/block-group.c                                               |   11 
 fs/ext4/mballoc.c                                                    |    4 
 fs/ext4/super.c                                                      |   22 -
 fs/ext4/sysfs.c                                                      |   24 -
 fs/f2fs/super.c                                                      |   12 
 fs/fs-writeback.c                                                    |    7 
 fs/ocfs2/acl.c                                                       |    4 
 fs/ocfs2/alloc.c                                                     |    6 
 fs/ocfs2/aops.c                                                      |    6 
 fs/ocfs2/dir.c                                                       |    9 
 fs/ocfs2/dlmfs/dlmfs.c                                               |    4 
 fs/ocfs2/dlmglue.c                                                   |   29 -
 fs/ocfs2/file.c                                                      |   30 -
 fs/ocfs2/inode.c                                                     |   28 -
 fs/ocfs2/journal.c                                                   |  192 +++++-----
 fs/ocfs2/move_extents.c                                              |    4 
 fs/ocfs2/namei.c                                                     |   18 
 fs/ocfs2/ocfs2.h                                                     |   27 +
 fs/ocfs2/refcounttree.c                                              |   12 
 fs/ocfs2/super.c                                                     |    4 
 fs/ocfs2/xattr.c                                                     |    4 
 fs/overlayfs/export.c                                                |    6 
 fs/smb/client/cifsfs.c                                               |    2 
 fs/udf/udftime.c                                                     |   11 
 include/acpi/acpixf.h                                                |    4 
 include/linux/atomic/atomic-arch-fallback.h                          |    6 
 include/linux/atomic/atomic-instrumented.h                           |    8 
 include/linux/atomic/atomic-long.h                                   |    4 
 include/linux/kcov.h                                                 |    2 
 include/linux/kprobes.h                                              |    7 
 include/linux/mod_devicetable.h                                      |    2 
 include/linux/pci.h                                                  |    7 
 include/linux/tty_driver.h                                           |    8 
 include/net/netns/netfilter.h                                        |    3 
 include/net/sch_generic.h                                            |    1 
 io_uring/rsrc.c                                                      |    1 
 io_uring/sqpoll.c                                                    |    8 
 kernel/gcov/gcc_4_7.c                                                |    4 
 kernel/kcov.c                                                        |    1 
 kernel/kprobes.c                                                     |    6 
 kernel/padata.c                                                      |    8 
 kernel/rcu/rcutorture.c                                              |   16 
 kernel/trace/Kconfig                                                 |    4 
 kernel/trace/ftrace.c                                                |    1 
 kernel/trace/preemptirq_delay_test.c                                 |    1 
 mm/page_table_check.c                                                |   11 
 net/batman-adv/originator.c                                          |    2 
 net/core/drop_monitor.c                                              |   20 -
 net/core/filter.c                                                    |    5 
 net/core/net_namespace.c                                             |    9 
 net/core/netpoll.c                                                   |    2 
 net/core/sock.c                                                      |    3 
 net/ipv4/cipso_ipv4.c                                                |   12 
 net/ipv4/tcp_input.c                                                 |    1 
 net/ipv6/route.c                                                     |    4 
 net/ipv6/seg6_local.c                                                |    8 
 net/ipv6/xfrm6_policy.c                                              |    8 
 net/netfilter/core.c                                                 |   13 
 net/netfilter/ipset/ip_set_core.c                                    |   11 
 net/netfilter/nf_conntrack_standalone.c                              |   15 
 net/netfilter/nf_hooks_lwtunnel.c                                    |   67 +++
 net/netfilter/nf_internals.h                                         |    6 
 net/netrom/nr_timer.c                                                |    3 
 net/packet/af_packet.c                                               |   26 -
 net/sched/act_api.c                                                  |   66 ++-
 net/sched/act_ct.c                                                   |   16 
 net/sched/sch_api.c                                                  |    1 
 net/sched/sch_generic.c                                              |    4 
 net/sched/sch_htb.c                                                  |   22 -
 net/tipc/node.c                                                      |    1 
 scripts/atomic/kerneldoc/sub_and_test                                |    2 
 sound/core/seq/seq_ump_convert.c                                     |    2 
 sound/hda/intel-dsp-config.c                                         |    2 
 sound/pci/hda/cs35l41_hda.c                                          |    2 
 sound/pci/hda/cs35l56_hda.c                                          |    4 
 sound/pci/hda/patch_realtek.c                                        |   11 
 sound/pci/hda/tas2781_hda_i2c.c                                      |    4 
 sound/soc/intel/boards/sof_sdw.c                                     |   18 
 tools/perf/Documentation/perf-script.txt                             |    7 
 tools/perf/builtin-script.c                                          |   24 -
 tools/testing/selftests/arm64/tags/tags_test.c                       |    4 
 tools/testing/selftests/bpf/prog_tests/btf_map_in_map.c              |   26 -
 tools/testing/selftests/bpf/test_tc_tunnel.sh                        |   13 
 tools/testing/selftests/net/openvswitch/openvswitch.sh               |    2 
 virt/kvm/kvm_main.c                                                  |    5 
 237 files changed, 1925 insertions(+), 992 deletions(-)

Adrian Hunter (1):
perf script: Show also errors for --insn-trace option

Ajrat Makhmutov (1):
ALSA: hda/realtek: Enable headset mic on IdeaPad 330-17IKB 81DM

Aleksandr Aprelkov (1):
iommu/arm-smmu-v3: Free MSIs in case of ENOMEM

Aleksandr Nogikh (1):
kcov: don't lose track of remote references during softirqs

Alessandro Carminati (Red Hat) (1):
selftests/bpf: Prevent client connect before server bind in test_tc_tunnel.sh

Alex Deucher (2):
drm/radeon: fix UBSAN warning in kv_dpm.c
drm/amdgpu: fix UBSAN warning in kv_dpm.c

Alex Henrie (1):
usb: misc: uss720: check for incompatible versions of the Belkin F5U002

Alex Williamson (1):
vfio/pci: Collect hot-reset devices to local buffer

Alexandre Ghiti (1):
riscv: Don't use PGD entries for the linear mapping

Andrew Ballance (1):
hid: asus: asus_report_fixup: fix potential read out of bounds

Andy Chi (1):
ALSA: hda/realtek: fix mute/micmute LEDs don't work for ProBook 445/465 G11.

Andy Shevchenko (1):
serial: 8250_dw: Revert "Move definitions to the shared header"

Ard Biesheuvel (1):
efi/x86: Free EFI memory map only when installing a new one.

Arnd Bergmann (3):
wifi: ath9k: work around memset overflow warning
dmaengine: fsl-edma: avoid linking both modules
vgacon: rework screen_info #ifdef checks

Arvid Norlander (1):
platform/x86: toshiba_acpi: Add quirk for buttons on Z830

Aryan Srivastava (1):
net: mvpp2: use slab_build_skb for oversized frames

Baokun Li (3):
ext4: fix uninitialized ratelimit_state->lock access in __ext4_fill_super()
ext4: avoid overflow when setting values via sysfs
ext4: fix slab-out-of-bounds in ext4_mb_find_good_group_avg_frag_lists()

Bart Van Assche (2):
nbd: Improve the documentation of the locking assumptions
nbd: Fix signal handling

Ben Fradella (1):
platform/x86: p2sb: Don't init until unassigned resources have been assigned

Biju Das (1):
regulator: core: Fix modpost error "regulator_get_regmap" undefined

Boris Burkov (1):
btrfs: retry block group reclaim without infinite loop

Breno Leitao (2):
netpoll: Fix race condition in netpoll_owner_active
KVM: Fix a data race on last_boosted_vcpu in kvm_vcpu_on_spin()

Carlos Llamas (1):

      locking/atomic: scripts: fix ${atomic}_sub_and_test() kerneldoc

Changbin Du (1):
perf: script: add raw|disasm arguments to --insn-trace option

Charles Keepax (1):
spi: cs42l43: Correct SPI root clock speed

Chenghai Huang (2):
crypto: hisilicon/sec - Fix memory leak for sec resource release
crypto: hisilicon/qm - Add the err memory release process to qm uninit

Chenliang Li (1):

      io_uring/rsrc: fix incorrect assignment of iter->nr_segs in io_import_fixed

Christian Marangi (1):
mips: bmips: BCM6358: make sure CBR is correctly set

Christophe JAILLET (1):
usb: gadget: function: Remove usage of the deprecated ida_simple_xx() API

Dan Carpenter (1):
ptp: fix integer overflow in max_vclocks_store

Daniel Golle (1):
net: sfp: add quirk for ATS SFP-GE-T 1000Base-TX module

David Ruth (1):
net/sched: act_api: fix possible infinite loop in tcf_idr_check_alloc()

Davide Caratti (2):
net/sched: fix false lockdep warning on qdisc root lock net/sched: unregister lockdep keys in qdisc_create/qdisc_alloc error path

Dmitry Baryshkov (1):
usb: typec: ucsi_glink: drop special handling for CCI_BUSY

Dustin L. Howett (1):
ALSA: hda/realtek: Remove Framework Laptop 16 from quirks

Edson Juliano Drosdeck (1):
ALSA: hda/realtek: Limit mic boost on N14AP7

En-Wei Wu (1):
ice: avoid IRQ collision to fix init failure on ACPI S3 resume

Eric Dumazet (6):
batman-adv: bypass empty buckets in batadv_purge_orig_ref()
af_packet: avoid a false positive warning in packet_setsockopt()
ipv6: prevent possible NULL deref in fib6_nh_init()
ipv6: prevent possible NULL dereference in rt6_probe()
xfrm6: check ip6_dst_idev() return value in xfrm6_get_saddr()
tcp: clear tp->retrans_stamp in tcp_rcv_fastopen_synack()

Erico Nunes (2):
drm/lima: add mask irq callback to gp and pp drm/lima: mask irqs in timeout path before hard reset

Esben Haabendal (1):
serial: imx: Introduce timeout when waiting on transmitter empty

Fabio Estevam (1):

      arm64: dts: imx93-11x11-evk: Remove the 'no-sdio' property

Florian Westphal (1):
bpf: Avoid splat in pskb_pull_reason

Frank Li (1):
arm64: dts: imx8qm-mek: fix gpio number for reg_usdhc2_vmmc

Fullway Wang (1):
media: mtk-vcodec: potential null pointer deference in SCP

Gavrilov Ilia (1):
netrom: Fix a memory leak in nr_heartbeat_expiry()

Geetha sowjanya (1):
octeontx2-pf: Fix linking objects into multiple modules

Greg Kroah-Hartman (1):

      Linux 6.6.36

Grygorii Tertychnyi (1):
i2c: ocores: set IACK bit after core is enabled

Hans de Goede (2):
ACPI: x86: Add PNP_UART1_SKIP quirk for Lenovo Blade2 tablets
usb: dwc3: pci: Don't set "linux,phy_charger_detect" property on Lenovo Yoga Tab2 1380

Heng Qi (2):
virtio_net: checksum offloading handling fix
virtio_net: fixing XDP for fully checksummed packets handling

Herbert Xu (1):
padata: Disable BH when taking works lock on MT path

Honggang LI (2):
RDMA/rxe: Fix responder length checking for UD request packets RDMA/rxe: Fix data copy for IB_SEND_INLINE

Hui Li (3):
LoongArch: Fix watchpoint setting error
LoongArch: Trigger user-space watchpoints correctly
LoongArch: Fix multiple hardware watchpoint issues

Ignat Korchagin (1):
net: do not leave a dangling sk pointer, when socket creation fails

Ilpo Järvinen (2):
PCI: Do not wait for disconnected devices when resuming
MIPS: Routerboard 532: Fix vendor retry check code

Jaegeuk Kim (1):
f2fs: don't set RO when shutting down f2fs

Jani Nikula (1):
drm/i915/mso: using joiner is not possible with eDP MSO

Jason Gunthorpe (2):
RDMA/mlx5: Remove extra unlock on error path RDMA/mlx5: Follow rb_key.ats when creating new mkeys

Jeff Johnson (1):
tracing: Add MODULE_DESCRIPTION() to preemptirq_delay_test

Jeff Layton (1):
ocfs2: convert to new timestamp accessors

Jens Axboe (1):
io_uring/sqpoll: work around a potential audit memory leak

Jianguo Wu (2):
seg6: fix parameter passing when calling NF_HOOK() in End.DX4 and End.DX6 behaviors
netfilter: move the sysctl nf_hooks_lwtunnel into the netfilter core

Jiaxun Yang (1):
LoongArch: Fix entry point in kernel image header

Joao Pinto (1):
Avoid hw_desc array overrun in dw-axi-dmac

Joel Slebodnick (1):
scsi: ufs: core: Free memory allocated for model before reinit

Johannes Thumshirn (1):
btrfs: zoned: allocate dummy checksums for zoned NODATASUM writes

Jose Ignacio Tornos Martinez (1):

      net: usb: ax88179_178a: improve reset check

Joseph Qi (2):
ocfs2: fix NULL pointer dereference in ocfs2_journal_dirty()
ocfs2: fix NULL pointer dereference in ocfs2_abort_trigger()

Jozsef Kadlecsik (1):
netfilter: ipset: Fix suspicious rcu_dereference_protected()

Julien Panis (1):
thermal/drivers/mediatek/lvts_thermal: Return error in case of invalid efuse data

Justin Stitt (1):
block/ioctl: prefer different overflow check

Kalle Niemi (1):
regulator: bd71815: fix ramp values

Kemeng Shi (1):
fs/writeback: bail out if there is no more inodes for IO and queued once

Konstantin Taranov (1):
RDMA/mana_ib: Ignore optional access flags for MRs

Krzysztof Kozlowski (3):
dt-bindings: dma: fsl-edma: fix dma-channels constraints
dt-bindings: i2c: atmel,at91sam: correct path to i2c-controller schema
dt-bindings: i2c: google,cros-ec-i2c-tunnel: correct path to i2c-controller schema

Kunwu Chan (1):
kselftest: arm64: Add a null pointer check

Leon Yen (1):
wifi: mt76: mt7921s: fix potential hung tasks during chip recovery

Li RongQing (1):
dmaengine: idxd: Fix possible Use-After-Free in irq_process_work_list

Linus Torvalds (3):
tty: add the option to have a tty reject a new ldisc
kprobe/ftrace: fix build error due to bad function definition
Revert "mm: mmap: allow for the maximum number of bits for randomizing mmap_base by default"

Luiz Angelo Daros de Luca (1):
net: dsa: realtek: keep default LED state in rtl8366rb

Luke D. Jones (1):
HID: asus: fix more n-key report descriptors if n-key quirked

Manish Rangankar (1):
scsi: qedi: Fix crash while reading debugfs attribute

Marc Kleine-Budde (1):
spi: spi-imx: imx51: revert burst length calculation back to bits_per_word

Marc Zyngier (1):
KVM: arm64: Disassociate vcpus from redistributor region on teardown

Marcin Szycik (1):
ice: Fix VSI list rule with ICE_SW_LKUP_LAST type

Marek Vasut (2):
arm64: dts: imx8mp: Fix TC9595 reset GPIO on DH i.MX8M Plus DHCOM SoM
arm64: dts: imx8mp: Fix TC9595 input clock on DH i.MX8M Plus DHCOM SoM

Mario Limonciello (1):
PCI/PM: Avoid D3cold for HP Pavilion 17 PC/1972 PCIe Ports

Martin Kaiser (1):
arm64: defconfig: enable the vf610 gpio driver

Martin Kaistra (1):
wifi: rtl8xxxu: enable MFP support with security flag of RX descriptor

Martin Leung (1):
drm/amd/display: revert Exit idle optimizations before HDCP execution

Masami Hiramatsu (Google) (1):
tracing: Build event generation tests only as modules

Max Krummenacher (1):
arm64: dts: freescale: imx8mm-verdin: enable hysteresis on slow input pin

Michael Ellerman (1):
powerpc/io: Avoid clang null pointer arithmetic warnings

Michael Grzeschik (1):
usb: gadget: uvc: configfs: ensure guid to be valid before set

Miklos Szeredi (1):
ovl: fix encoding fid for lower only root

Nam Cao (1):
riscv: force PAGE_SIZE linear mapping if debug_pagealloc is enabled

Nathan Lynch (1):
powerpc/pseries: Enforce hcall result buffer validity and size

Nicholas Kazlauskas (1):
drm/amd/display: Exit idle optimizations before HDCP execution

Nikita Shubin (4):
dmaengine: ioatdma: Fix leaking on version mismatch
dmaengine: ioatdma: Fix error path in ioat3_dma_probe()
dmaengine: ioatdma: Fix kmemleak in ioat_pci_probe()
dmaengine: ioatdma: Fix missing kmem_cache_destroy()

Oleksij Rempel (1):
net: stmmac: Assign configured channel value to EXTTS event

Oliver Neukum (1):
net: usb: rtl8150 fix unintiatilzed variables in rtl8150_get_link_ksettings

Ondrej Mosnacek (1):
cipso: fix total option length computation

Pablo Caño (1):
ALSA: hda/realtek: Add quirk for Lenovo Yoga Pro 7 14AHP9

Parker Newman (1):
serial: exar: adding missing CTI and Exar PCI ids

Patrice Chotard (2):
spi: stm32: qspi: Fix dual flash mode sanity test in stm32_qspi_setup()
spi: stm32: qspi: Clamp stm32_qspi_get_mode() output to CCR_BUSWIDTH_4

Patrisious Haddad (1):
RDMA/mlx5: Add check for srq max_sge attribute

Paul E. McKenney (1):
rcutorture: Fix rcu_torture_one_read() pipe_count overflow comment

Pavan Chebbi (1):
bnxt_en: Restore PTP tx_avail count in case of skb_pad() error

Pedro Tammela (1):
net/sched: act_api: rely on rcu in tcf_idr_check_alloc

Peng Ma (1):
cpufreq: amd-pstate: fix memory leak on CPU EPP exit

Peter Oberparleiter (1):
gcov: add support for GCC 14

Peter Ujfalusi (1):
ALSA/hda: intel-dsp-config: Document AVS as dsp_driver option

Peter Xu (1):
mm/page_table_check: fix crash on ZONE_DEVICE

Pierre-Louis Bossart (3):
ASoC: Intel: sof_sdw: add JD2 quirk for HP Omen 14
ASoC: Intel: sof_sdw: add quirk for Dell SKU 0C0F
ASoC: Intel: sof-sdw: really remove FOUR_SPEAKER quirk

Rafael Aquini (1):
mm: mmap: allow for the maximum number of bits for randomizing mmap_base by default

Rafael J. Wysocki (2):
ACPI: EC: Install address space handler at the namespace root
ACPI: EC: Evaluate orphan _REG under EC device

Raju Lakkaraju (3):
net: lan743x: disable WOL upon resume to restore full data path operation
net: lan743x: Support WOL at both the PHY and MAC appropriately
net: phy: mxl-gpy: Remove interrupt mask clearing from config_init

Raju Rangoju (1):
ACPICA: Revert "ACPICA: avoid Info: mapping multiple BARs. Your kernel is fine."

Rand Deeb (1):
ssb: Fix potential NULL pointer dereference in ssb_device_uevent()

Ricardo Ribalda (1):
media: intel/ipu6: Fix build with !ACPI

Roman Smirnov (1):
udf: udftime: prevent overflow in udf_disk_stamp_to_time()

Sean Christopherson (1):
KVM: x86: Always sync PIR to IRR prior to scanning I/O APIC routes

Sean O'Brien (1):
HID: Add quirk for Logitech Casa touchpad

Selvin Xavier (1):
RDMA/bnxt_re: Fix the max msix vectors macro

Simon Horman (2):
selftests: openvswitch: Use bash as interpreter
octeontx2-pf: Add error handling to VLAN unoffload handling

Simon Trimmer (3):
ALSA: hda: cs35l41: Possible null pointer dereference in cs35l41_hda_unbind()
ALSA: hda: cs35l56: Component should be unbound before deconstruction
ALSA: hda: tas2781: Component should be unbound before deconstruction

Songyang Li (1):
MIPS: Octeon: Add PCIe link status check

Stefan Binding (1):
ALSA: hda/realtek: Add quirks for Lenovo 13X

Stefan Wahren (1):
qca_spi: Make interrupt remembering atomic

Stephen Brennan (1):
kprobe/ftrace: bail out if ftrace was killed

Steve French (1):
cifs: fix typo in module parameter enable_gcm_256

Su Yue (1):
ocfs2: update inode fsync transaction id in ocfs2_unlink and ocfs2_link

Sudeep Holla (1):
firmware: psci: Fix return value from psci_system_suspend()

Takashi Iwai (2):
ACPI: video: Add backlight=native quirk for Lenovo Slim 7 16ARH7
ALSA: seq: ump: Fix missing System Reset message handling

Tim Harvey (1):
arm64: dts: freescale: imx8mp-venice-gw73xx-2x: fix BT shutdown GPIO

Tony Luck (2):
x86/cpu/vfm: Add new macros to work with (vendor/family/model) values x86/cpu: Fix x86_match_cpu() to match just X86_VENDOR_INTEL

Tzung-Bi Shih (1):
power: supply: cros_usbpd: provide ID table for avoiding fallback match

Uri Arev (1):
Bluetooth: ath3k: Fix multiple issues reported by checkpatch.pl

Wander Lairson Costa (1):
drop_monitor: replace spin_lock by raw_spin_lock

Wang Yao (1):
efi/loongarch: Directly position the loaded image file

Xiaolei Wang (1):
net: stmmac: No need to calculate speed divider when offload is disabled

Xin Long (2):
tipc: force a dst refcount before doing decryption
sched: act_ct: add netns into the key of tcf_ct_flow_table

Yishai Hadas (1):
RDMA/mlx5: Fix unwind flow as part of mlx5_ib_stage_init_init

Yonghong Song (1):
selftests/bpf: Fix flaky test btf_map_in_map/lookup_update

Yue Haibing (1):
netns: Make get_net_ns() handle zero refcount net

Yunlei He (1):
f2fs: remove clear SB_INLINECRYPT flag in default_options

Zqiang (2):
rcutorture: Make stall-tasks directly exit when rcutorture tests end
rcutorture: Fix invalid context warning when enable srcu barrier testing

author maintainer
#1 lore raw
Documentation/devicetree/bindings/dma/fsl,edma.yaml +2 -2
index 437db0c62339..e1b4b910044b 100644
@@ -47,8 +47,8 @@ properties:
       - 3
 
   dma-channels:
-    minItems: 1
-    maxItems: 64
+    minimum: 1
+    maximum: 64
 
   clocks:
     minItems: 1
Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml +1 -1
index 6adedd3ec399..c22e459c175a 100644
@@ -75,7 +75,7 @@ required:
   - clocks
 
 allOf:
-  - $ref: i2c-controller.yaml
+  - $ref: /schemas/i2c/i2c-controller.yaml#
   - if:
       properties:
         compatible:
Documentation/devicetree/bindings/i2c/google,cros-ec-i2c-tunnel.yaml +1 -1
index ab151c9db219..580003cdfff5 100644
@@ -21,7 +21,7 @@ description: |
   google,cros-ec-spi or google,cros-ec-i2c.
 
 allOf:
-  - $ref: i2c-controller.yaml#
+  - $ref: /schemas/i2c/i2c-controller.yaml#
 
 properties:
   compatible:
Makefile +1 -1
index 3faa2679d9a7..b7d5f2f0def0 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 6
 PATCHLEVEL = 6
-SUBLEVEL = 35
+SUBLEVEL = 36
 EXTRAVERSION =
 NAME = Hurr durr I'ma ninja sloth
 
arch/alpha/kernel/setup.c +2 -0
index c80258ec332f..85a679ce061c 100644
@@ -131,6 +131,7 @@ static void determine_cpu_caches (unsigned int);
 
 static char __initdata command_line[COMMAND_LINE_SIZE];
 
+#ifdef CONFIG_VGA_CONSOLE
 /*
  * The format of "screen_info" is strange, and due to early
  * i386-setup code. This is just enough to make the console
@@ -147,6 +148,7 @@ struct screen_info screen_info = {
 };
 
 EXPORT_SYMBOL(screen_info);
+#endif
 
 /*
  * The direct map I/O window, if any.  This should be the same
arch/alpha/kernel/sys_sio.c +2 -0
index 7c420d8dac53..7de8a5d2d206 100644
@@ -57,11 +57,13 @@ sio_init_irq(void)
 static inline void __init
 alphabook1_init_arch(void)
 {
+#ifdef CONFIG_VGA_CONSOLE
 	/* The AlphaBook1 has LCD video fixed at 800x600,
 	   37 rows and 100 cols. */
 	screen_info.orig_y = 37;
 	screen_info.orig_video_cols = 100;
 	screen_info.orig_video_lines = 37;
+#endif
 
 	lca_init_arch();
 }
arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi +1 -1
index 6f0811587142..14d20a33af8e 100644
@@ -929,7 +929,7 @@ pinctrl_gpio8: gpio8grp {
 	/* Verdin GPIO_9_DSI (pulled-up as active-low) */
 	pinctrl_gpio_9_dsi: gpio9dsigrp {
 		fsl,pins =
-			<MX8MM_IOMUXC_NAND_RE_B_GPIO3_IO15		0x146>;	/* SODIMM 17 */
+			<MX8MM_IOMUXC_NAND_RE_B_GPIO3_IO15		0x1c6>;	/* SODIMM 17 */
 	};
 
 	/* Verdin GPIO_10_DSI (pulled-up as active-low) */
arch/arm64/boot/dts/freescale/imx8mp-dhcom-som.dtsi +2 -2
index cb1953d14aa9..eae39c1cb985 100644
@@ -251,8 +251,8 @@ tc_bridge: bridge@f {
 				  <&clk IMX8MP_CLK_CLKOUT2>,
 				  <&clk IMX8MP_AUDIO_PLL2_OUT>;
 		assigned-clock-parents = <&clk IMX8MP_AUDIO_PLL2_OUT>;
-		assigned-clock-rates = <13000000>, <13000000>, <156000000>;
-		reset-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>;
+		assigned-clock-rates = <13000000>, <13000000>, <208000000>;
+		reset-gpios = <&gpio4 1 GPIO_ACTIVE_HIGH>;
 		status = "disabled";
 
 		ports {
arch/arm64/boot/dts/freescale/imx8mp-venice-gw73xx.dtsi +1 -1
index 68c62def4c06..d27bfba1b4b8 100644
@@ -161,7 +161,7 @@ &uart3 {
 
 	bluetooth {
 		compatible = "brcm,bcm4330-bt";
-		shutdown-gpios = <&gpio4 16 GPIO_ACTIVE_HIGH>;
+		shutdown-gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
 	};
 };
 
arch/arm64/boot/dts/freescale/imx8qm-mek.dts +1 -1
index 0b34cc2250e1..a9ab87699f3d 100644
@@ -36,7 +36,7 @@ reg_usdhc2_vmmc: usdhc2-vmmc {
 		regulator-name = "SD1_SPWR";
 		regulator-min-microvolt = <3000000>;
 		regulator-max-microvolt = <3000000>;
-		gpio = <&lsio_gpio4 19 GPIO_ACTIVE_HIGH>;
+		gpio = <&lsio_gpio4 7 GPIO_ACTIVE_HIGH>;
 		enable-active-high;
 	};
 };
arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts +0 -1
index cafd39130eb8..a06ca740f540 100644
@@ -168,7 +168,6 @@ &usdhc2 {
 	vmmc-supply = <&reg_usdhc2_vmmc>;
 	bus-width = <4>;
 	status = "okay";
-	no-sdio;
 	no-mmc;
 };
 
arch/arm64/configs/defconfig +1 -0
index a789119e6483..60af93c04b45 100644
@@ -623,6 +623,7 @@ CONFIG_GPIO_RCAR=y
 CONFIG_GPIO_UNIPHIER=y
 CONFIG_GPIO_VISCONTI=y
 CONFIG_GPIO_WCD934X=m
+CONFIG_GPIO_VF610=y
 CONFIG_GPIO_XGENE=y
 CONFIG_GPIO_XGENE_SB=y
 CONFIG_GPIO_MAX732X=y
arch/arm64/kvm/vgic/vgic-init.c +1 -1
index e949e1d0fd9f..a2b439ad387c 100644
@@ -355,7 +355,7 @@ static void kvm_vgic_dist_destroy(struct kvm *kvm)
 
 	if (dist->vgic_model == KVM_DEV_TYPE_ARM_VGIC_V3) {
 		list_for_each_entry_safe(rdreg, next, &dist->rd_regions, list)
-			vgic_v3_free_redist_region(rdreg);
+			vgic_v3_free_redist_region(kvm, rdreg);
 		INIT_LIST_HEAD(&dist->rd_regions);
 	} else {
 		dist->vgic_cpu_base = VGIC_ADDR_UNDEF;
arch/arm64/kvm/vgic/vgic-mmio-v3.c +13 -2
index ae5a3a717655..48e8b60ff1e3 100644
@@ -942,8 +942,19 @@ static int vgic_v3_alloc_redist_region(struct kvm *kvm, uint32_t index,
 	return ret;
 }
 
-void vgic_v3_free_redist_region(struct vgic_redist_region *rdreg)
+void vgic_v3_free_redist_region(struct kvm *kvm, struct vgic_redist_region *rdreg)
 {
+	struct kvm_vcpu *vcpu;
+	unsigned long c;
+
+	lockdep_assert_held(&kvm->arch.config_lock);
+
+	/* Garbage collect the region */
+	kvm_for_each_vcpu(c, vcpu, kvm) {
+		if (vcpu->arch.vgic_cpu.rdreg == rdreg)
+			vcpu->arch.vgic_cpu.rdreg = NULL;
+	}
+
 	list_del(&rdreg->list);
 	kfree(rdreg);
 }
@@ -968,7 +979,7 @@ int vgic_v3_set_redist_base(struct kvm *kvm, u32 index, u64 addr, u32 count)
 
 		mutex_lock(&kvm->arch.config_lock);
 		rdreg = vgic_v3_rdist_region_from_index(kvm, index);
-		vgic_v3_free_redist_region(rdreg);
+		vgic_v3_free_redist_region(kvm, rdreg);
 		mutex_unlock(&kvm->arch.config_lock);
 		return ret;
 	}
arch/arm64/kvm/vgic/vgic.h +1 -1
index 8d134569d0a1..fae2618da720 100644
@@ -310,7 +310,7 @@ vgic_v3_rd_region_size(struct kvm *kvm, struct vgic_redist_region *rdreg)
 
 struct vgic_redist_region *vgic_v3_rdist_region_from_index(struct kvm *kvm,
 							   u32 index);
-void vgic_v3_free_redist_region(struct vgic_redist_region *rdreg);
+void vgic_v3_free_redist_region(struct kvm *kvm, struct vgic_redist_region *rdreg);
 
 bool vgic_v3_rdist_overlap(struct kvm *kvm, gpa_t base, size_t size);
 
arch/csky/kernel/probes/ftrace.c +3 -0
index 834cffcfbce3..7ba4b98076de 100644
@@ -12,6 +12,9 @@ void kprobe_ftrace_handler(unsigned long ip, unsigned long parent_ip,
 	struct kprobe_ctlblk *kcb;
 	struct pt_regs *regs;
 
+	if (unlikely(kprobe_ftrace_disabled))
+		return;
+
 	bit = ftrace_test_recursion_trylock(ip, parent_ip);
 	if (bit < 0)
 		return;
arch/ia64/kernel/setup.c +6 -0
index 5a55ac82c13a..d2c66efdde56 100644
@@ -86,9 +86,13 @@ EXPORT_SYMBOL(local_per_cpu_offset);
 #endif
 unsigned long ia64_cycles_per_usec;
 struct ia64_boot_param *ia64_boot_param;
+#if defined(CONFIG_VGA_CONSOLE) || defined(CONFIG_EFI)
 struct screen_info screen_info;
+#endif
+#ifdef CONFIG_VGA_CONSOLE
 unsigned long vga_console_iobase;
 unsigned long vga_console_membase;
+#endif
 
 static struct resource data_resource = {
 	.name	= "Kernel data",
@@ -497,6 +501,7 @@ early_console_setup (char *cmdline)
 static void __init
 screen_info_setup(void)
 {
+#ifdef CONFIG_VGA_CONSOLE
 	unsigned int orig_x, orig_y, num_cols, num_rows, font_height;
 
 	memset(&screen_info, 0, sizeof(screen_info));
@@ -525,6 +530,7 @@ screen_info_setup(void)
 	screen_info.orig_video_mode = 3;	/* XXX fake */
 	screen_info.orig_video_isVGA = 1;	/* XXX fake */
 	screen_info.orig_video_ega_bx = 3;	/* XXX fake */
+#endif
 }
 
 static inline void
arch/loongarch/include/asm/efi.h +0 -2
index 91d81f9730ab..eddc8e79b3fa 100644
@@ -32,6 +32,4 @@ static inline unsigned long efi_get_kimg_min_align(void)
 
 #define EFI_KIMG_PREFERRED_ADDRESS	PHYSADDR(VMLINUX_LOAD_ADDRESS)
 
-unsigned long kernel_entry_address(unsigned long kernel_addr);
-
 #endif /* _ASM_LOONGARCH_EFI_H */
arch/loongarch/include/asm/hw_breakpoint.h +3 -1
index 21447fb1efc7..d78330916bd1 100644
@@ -75,6 +75,8 @@ do {								\
 #define CSR_MWPC_NUM		0x3f
 
 #define CTRL_PLV_ENABLE		0x1e
+#define CTRL_PLV0_ENABLE	0x02
+#define CTRL_PLV3_ENABLE	0x10
 
 #define MWPnCFG3_LoadEn		8
 #define MWPnCFG3_StoreEn	9
@@ -101,7 +103,7 @@ struct perf_event;
 struct perf_event_attr;
 
 extern int arch_bp_generic_fields(struct arch_hw_breakpoint_ctrl ctrl,
-				  int *gen_len, int *gen_type, int *offset);
+				  int *gen_len, int *gen_type);
 extern int arch_check_bp_in_kernelspace(struct arch_hw_breakpoint *hw);
 extern int hw_breakpoint_arch_parse(struct perf_event *bp,
 				    const struct perf_event_attr *attr,
arch/loongarch/kernel/ftrace_dyn.c +3 -0
index 73858c9029cc..bff058317062 100644
@@ -287,6 +287,9 @@ void kprobe_ftrace_handler(unsigned long ip, unsigned long parent_ip,
 	struct kprobe *p;
 	struct kprobe_ctlblk *kcb;
 
+	if (unlikely(kprobe_ftrace_disabled))
+		return;
+
 	bit = ftrace_test_recursion_trylock(ip, parent_ip);
 	if (bit < 0)
 		return;
arch/loongarch/kernel/head.S +1 -2
index 53b883db0786..e336fbc4eb96 100644
@@ -22,7 +22,7 @@
 _head:
 	.word	MZ_MAGIC		/* "MZ", MS-DOS header */
 	.org	0x8
-	.dword	kernel_entry		/* Kernel entry point */
+	.dword	_kernel_entry		/* Kernel entry point (physical address) */
 	.dword	_kernel_asize		/* Kernel image effective size */
 	.quad	PHYS_LINK_KADDR		/* Kernel image load offset from start of RAM */
 	.org	0x38			/* 0x20 ~ 0x37 reserved */
@@ -34,7 +34,6 @@ pe_header:
 
 SYM_DATA(kernel_asize, .long _kernel_asize);
 SYM_DATA(kernel_fsize, .long _kernel_fsize);
-SYM_DATA(kernel_offset, .long _kernel_offset);
 
 #endif
 
arch/loongarch/kernel/hw_breakpoint.c +55 -41

160 lines not on this page · raw message

arch/loongarch/kernel/image-vars.h +0 -1
index e561989d02de..b12f8810f199 100644
@@ -11,7 +11,6 @@ __efistub_strcmp		= strcmp;
 __efistub_kernel_entry		= kernel_entry;
 __efistub_kernel_asize		= kernel_asize;
 __efistub_kernel_fsize		= kernel_fsize;
-__efistub_kernel_offset		= kernel_offset;
 __efistub_screen_info		= screen_info;
 
 #endif
arch/loongarch/kernel/ptrace.c +27 -20

71 lines not on this page · raw message

arch/loongarch/kernel/setup.c +2 -0
index d7409a3e67a5..6748d7f3f221 100644
@@ -57,7 +57,9 @@
 #define SMBIOS_CORE_PACKAGE_OFFSET	0x23
 #define LOONGSON_EFI_ENABLE		(1 << 3)
 
+#ifdef CONFIG_EFI
 struct screen_info screen_info __section(".data");
+#endif
 
 unsigned long fw_arg0, fw_arg1, fw_arg2;
 DEFINE_PER_CPU(unsigned long, kernelsp);
arch/loongarch/kernel/vmlinux.lds.S +6 -5
index bb2ec86f37a8..d5afd0c80a49 100644
@@ -5,6 +5,7 @@
 
 #define PAGE_SIZE _PAGE_SIZE
 #define RO_EXCEPTION_TABLE_ALIGN	4
+#define PHYSADDR_MASK			0xffffffffffff /* 48-bit */
 
 /*
  * Put .bss..swapper_pg_dir as the first thing in .bss. This will
@@ -139,11 +140,11 @@ SECTIONS
 
 #ifdef CONFIG_EFI_STUB
 	/* header symbols */
-	_kernel_asize = _end - _text;
-	_kernel_fsize = _edata - _text;
-	_kernel_vsize = _end - __initdata_begin;
-	_kernel_rsize = _edata - __initdata_begin;
-	_kernel_offset = kernel_offset - _text;
+	_kernel_entry = ABSOLUTE(kernel_entry & PHYSADDR_MASK);
+	_kernel_asize = ABSOLUTE(_end - _text);
+	_kernel_fsize = ABSOLUTE(_edata - _text);
+	_kernel_vsize = ABSOLUTE(_end - __initdata_begin);
+	_kernel_rsize = ABSOLUTE(_edata - __initdata_begin);
 #endif
 
 	.gptab.sdata : {
arch/mips/bmips/setup.c +2 -1
index ec180ab92eaa..66a8ba19c287 100644
@@ -110,7 +110,8 @@ static void bcm6358_quirks(void)
 	 * RAC flush causes kernel panics on BCM6358 when booting from TP1
 	 * because the bootloader is not initializing it properly.
 	 */
-	bmips_rac_flush_disable = !!(read_c0_brcm_cmt_local() & (1 << 31));
+	bmips_rac_flush_disable = !!(read_c0_brcm_cmt_local() & (1 << 31)) ||
+				  !!BMIPS_GET_CBR();
 }
 
 static void bcm6368_quirks(void)
arch/mips/kernel/setup.c +1 -1
index f88a2f83c5ea..3f45b72561db 100644
@@ -54,7 +54,7 @@ struct cpuinfo_mips cpu_data[NR_CPUS] __read_mostly;
 
 EXPORT_SYMBOL(cpu_data);
 
-#ifdef CONFIG_VT
+#ifdef CONFIG_VGA_CONSOLE
 struct screen_info screen_info;
 #endif
 
arch/mips/pci/ops-rc32434.c +2 -2
index 874ed6df9768..34b9323bdabb 100644
@@ -112,8 +112,8 @@ static int read_config_dword(struct pci_bus *bus, unsigned int devfn,
 	 * gives them time to settle
 	 */
 	if (where == PCI_VENDOR_ID) {
-		if (ret == 0xffffffff || ret == 0x00000000 ||
-		    ret == 0x0000ffff || ret == 0xffff0000) {
+		if (*val == 0xffffffff || *val == 0x00000000 ||
+		    *val == 0x0000ffff || *val == 0xffff0000) {
 			if (delay > 4)
 				return 0;
 			delay *= 2;
arch/mips/pci/pcie-octeon.c +6 -0
old mode 100644
new mode 100755
index c9edd3fb380d..9eaacd3d3388
@@ -230,12 +230,18 @@ static inline uint64_t __cvmx_pcie_build_config_addr(int pcie_port, int bus,
 {
 	union cvmx_pcie_address pcie_addr;
 	union cvmx_pciercx_cfg006 pciercx_cfg006;
+	union cvmx_pciercx_cfg032 pciercx_cfg032;
 
 	pciercx_cfg006.u32 =
 	    cvmx_pcie_cfgx_read(pcie_port, CVMX_PCIERCX_CFG006(pcie_port));
 	if ((bus <= pciercx_cfg006.s.pbnum) && (dev != 0))
 		return 0;
 
+	pciercx_cfg032.u32 =
+		cvmx_pcie_cfgx_read(pcie_port, CVMX_PCIERCX_CFG032(pcie_port));
+	if ((pciercx_cfg032.s.dlla == 0) || (pciercx_cfg032.s.lt == 1))
+		return 0;
+
 	pcie_addr.u64 = 0;
 	pcie_addr.config.upper = 2;
 	pcie_addr.config.io = 1;
arch/mips/sibyte/swarm/setup.c +1 -1
index 76683993cdd3..37df504d3ecb 100644
@@ -129,7 +129,7 @@ void __init plat_mem_setup(void)
 	if (m41t81_probe())
 		swarm_rtc_type = RTC_M41T81;
 
-#ifdef CONFIG_VT
+#ifdef CONFIG_VGA_CONSOLE
 	screen_info = (struct screen_info) {
 		.orig_video_page	= 52,
 		.orig_video_mode	= 3,
arch/mips/sni/setup.c +1 -1
index efad85c8c823..9984cf91be7d 100644
@@ -38,7 +38,7 @@ extern void sni_machine_power_off(void);
 
 static void __init sni_display_setup(void)
 {
-#if defined(CONFIG_VT) && defined(CONFIG_VGA_CONSOLE) && defined(CONFIG_FW_ARC)
+#if defined(CONFIG_VGA_CONSOLE) && defined(CONFIG_FW_ARC)
 	struct screen_info *si = &screen_info;
 	DISPLAY_STATUS *di;
 
arch/parisc/kernel/ftrace.c +3 -0
index 621a4b386ae4..c91f9c2e61ed 100644
@@ -206,6 +206,9 @@ void kprobe_ftrace_handler(unsigned long ip, unsigned long parent_ip,
 	struct kprobe *p;
 	int bit;
 
+	if (unlikely(kprobe_ftrace_disabled))
+		return;
+
 	bit = ftrace_test_recursion_trylock(ip, parent_ip);
 	if (bit < 0)
 		return;
arch/powerpc/include/asm/hvcall.h +4 -4
index 92ea0fa17ff4..218488407ac0 100644
@@ -494,7 +494,7 @@ long plpar_hcall_norets_notrace(unsigned long opcode, ...);
  * Used for all but the craziest of phyp interfaces (see plpar_hcall9)
  */
 #define PLPAR_HCALL_BUFSIZE 4
-long plpar_hcall(unsigned long opcode, unsigned long *retbuf, ...);
+long plpar_hcall(unsigned long opcode, unsigned long retbuf[static PLPAR_HCALL_BUFSIZE], ...);
 
 /**
  * plpar_hcall_raw: - Make a hypervisor call without calculating hcall stats
@@ -508,7 +508,7 @@ long plpar_hcall(unsigned long opcode, unsigned long *retbuf, ...);
  * plpar_hcall, but plpar_hcall_raw works in real mode and does not
  * calculate hypervisor call statistics.
  */
-long plpar_hcall_raw(unsigned long opcode, unsigned long *retbuf, ...);
+long plpar_hcall_raw(unsigned long opcode, unsigned long retbuf[static PLPAR_HCALL_BUFSIZE], ...);
 
 /**
  * plpar_hcall9: - Make a pseries hypervisor call with up to 9 return arguments
@@ -519,8 +519,8 @@ long plpar_hcall_raw(unsigned long opcode, unsigned long *retbuf, ...);
  * PLPAR_HCALL9_BUFSIZE to size the return argument buffer.
  */
 #define PLPAR_HCALL9_BUFSIZE 9
-long plpar_hcall9(unsigned long opcode, unsigned long *retbuf, ...);
-long plpar_hcall9_raw(unsigned long opcode, unsigned long *retbuf, ...);
+long plpar_hcall9(unsigned long opcode, unsigned long retbuf[static PLPAR_HCALL9_BUFSIZE], ...);
+long plpar_hcall9_raw(unsigned long opcode, unsigned long retbuf[static PLPAR_HCALL9_BUFSIZE], ...);
 
 /* pseries hcall tracing */
 extern struct static_key hcall_tracepoint_key;
arch/powerpc/include/asm/io.h +12 -12
index 0732b743e099..59cc25cb4578 100644
@@ -585,12 +585,12 @@ __do_out_asm(_rec_outl, "stwbrx")
 #define __do_inw(port)		_rec_inw(port)
 #define __do_inl(port)		_rec_inl(port)
 #else /* CONFIG_PPC32 */
-#define __do_outb(val, port)	writeb(val,(PCI_IO_ADDR)_IO_BASE+port);
-#define __do_outw(val, port)	writew(val,(PCI_IO_ADDR)_IO_BASE+port);
-#define __do_outl(val, port)	writel(val,(PCI_IO_ADDR)_IO_BASE+port);
-#define __do_inb(port)		readb((PCI_IO_ADDR)_IO_BASE + port);
-#define __do_inw(port)		readw((PCI_IO_ADDR)_IO_BASE + port);
-#define __do_inl(port)		readl((PCI_IO_ADDR)_IO_BASE + port);
+#define __do_outb(val, port)	writeb(val,(PCI_IO_ADDR)(_IO_BASE+port));
+#define __do_outw(val, port)	writew(val,(PCI_IO_ADDR)(_IO_BASE+port));
+#define __do_outl(val, port)	writel(val,(PCI_IO_ADDR)(_IO_BASE+port));
+#define __do_inb(port)		readb((PCI_IO_ADDR)(_IO_BASE + port));
+#define __do_inw(port)		readw((PCI_IO_ADDR)(_IO_BASE + port));
+#define __do_inl(port)		readl((PCI_IO_ADDR)(_IO_BASE + port));
 #endif /* !CONFIG_PPC32 */
 
 #ifdef CONFIG_EEH
@@ -606,12 +606,12 @@ __do_out_asm(_rec_outl, "stwbrx")
 #define __do_writesw(a, b, n)	_outsw(PCI_FIX_ADDR(a),(b),(n))
 #define __do_writesl(a, b, n)	_outsl(PCI_FIX_ADDR(a),(b),(n))
 
-#define __do_insb(p, b, n)	readsb((PCI_IO_ADDR)_IO_BASE+(p), (b), (n))
-#define __do_insw(p, b, n)	readsw((PCI_IO_ADDR)_IO_BASE+(p), (b), (n))
-#define __do_insl(p, b, n)	readsl((PCI_IO_ADDR)_IO_BASE+(p), (b), (n))
-#define __do_outsb(p, b, n)	writesb((PCI_IO_ADDR)_IO_BASE+(p),(b),(n))
-#define __do_outsw(p, b, n)	writesw((PCI_IO_ADDR)_IO_BASE+(p),(b),(n))
-#define __do_outsl(p, b, n)	writesl((PCI_IO_ADDR)_IO_BASE+(p),(b),(n))
+#define __do_insb(p, b, n)	readsb((PCI_IO_ADDR)(_IO_BASE+(p)), (b), (n))
+#define __do_insw(p, b, n)	readsw((PCI_IO_ADDR)(_IO_BASE+(p)), (b), (n))
+#define __do_insl(p, b, n)	readsl((PCI_IO_ADDR)(_IO_BASE+(p)), (b), (n))
+#define __do_outsb(p, b, n)	writesb((PCI_IO_ADDR)(_IO_BASE+(p)),(b),(n))
+#define __do_outsw(p, b, n)	writesw((PCI_IO_ADDR)(_IO_BASE+(p)),(b),(n))
+#define __do_outsl(p, b, n)	writesl((PCI_IO_ADDR)(_IO_BASE+(p)),(b),(n))
 
 #define __do_memset_io(addr, c, n)	\
 				_memset_io(PCI_FIX_ADDR(addr), c, n)
arch/powerpc/kernel/kprobes-ftrace.c +3 -0
index 072ebe7f290b..f8208c027148 100644
@@ -21,6 +21,9 @@ void kprobe_ftrace_handler(unsigned long nip, unsigned long parent_nip,
 	struct pt_regs *regs;
 	int bit;
 
+	if (unlikely(kprobe_ftrace_disabled))
+		return;
+
 	bit = ftrace_test_recursion_trylock(nip, parent_nip);
 	if (bit < 0)
 		return;
arch/riscv/kernel/probes/ftrace.c +3 -0
index 7142ec42e889..a69dfa610aa8 100644
@@ -11,6 +11,9 @@ void kprobe_ftrace_handler(unsigned long ip, unsigned long parent_ip,
 	struct kprobe_ctlblk *kcb;
 	int bit;
 
+	if (unlikely(kprobe_ftrace_disabled))
+		return;
+
 	bit = ftrace_test_recursion_trylock(ip, parent_ip);
 	if (bit < 0)
 		return;
arch/riscv/kernel/setup.c +2 -9
index e600aab116a4..ddadee6621f0 100644
@@ -40,15 +40,8 @@
 
 #include "head.h"
 
-#if defined(CONFIG_DUMMY_CONSOLE) || defined(CONFIG_EFI)
-struct screen_info screen_info __section(".data") = {
-	.orig_video_lines	= 30,
-	.orig_video_cols	= 80,
-	.orig_video_mode	= 0,
-	.orig_video_ega_bx	= 0,
-	.orig_video_isVGA	= 1,
-	.orig_video_points	= 8
-};
+#if defined(CONFIG_EFI)
+struct screen_info screen_info __section(".data");
 #endif
 
 /*
arch/riscv/mm/init.c +8 -5
index 83ac1eb8e7e6..8adcb9419ad5 100644
@@ -668,16 +668,19 @@ void __init create_pgd_mapping(pgd_t *pgdp,
 static uintptr_t __init best_map_size(phys_addr_t pa, uintptr_t va,
 				      phys_addr_t size)
 {
-	if (!(pa & (PGDIR_SIZE - 1)) && !(va & (PGDIR_SIZE - 1)) && size >= PGDIR_SIZE)
-		return PGDIR_SIZE;
+	if (debug_pagealloc_enabled())
+		return PAGE_SIZE;
 
-	if (!(pa & (P4D_SIZE - 1)) && !(va & (P4D_SIZE - 1)) && size >= P4D_SIZE)
+	if (pgtable_l5_enabled &&
+	    !(pa & (P4D_SIZE - 1)) && !(va & (P4D_SIZE - 1)) && size >= P4D_SIZE)
 		return P4D_SIZE;
 
-	if (!(pa & (PUD_SIZE - 1)) && !(va & (PUD_SIZE - 1)) && size >= PUD_SIZE)
+	if (pgtable_l4_enabled &&
+	    !(pa & (PUD_SIZE - 1)) && !(va & (PUD_SIZE - 1)) && size >= PUD_SIZE)
 		return PUD_SIZE;
 
-	if (!(pa & (PMD_SIZE - 1)) && !(va & (PMD_SIZE - 1)) && size >= PMD_SIZE)
+	if (IS_ENABLED(CONFIG_64BIT) &&
+	    !(pa & (PMD_SIZE - 1)) && !(va & (PMD_SIZE - 1)) && size >= PMD_SIZE)
 		return PMD_SIZE;
 
 	return PAGE_SIZE;
arch/s390/kernel/ftrace.c +3 -0
index c46381ea04ec..7f6f8c438c26 100644
@@ -296,6 +296,9 @@ void kprobe_ftrace_handler(unsigned long ip, unsigned long parent_ip,
 	struct kprobe *p;
 	int bit;
 
+	if (unlikely(kprobe_ftrace_disabled))
+		return;
+
 	bit = ftrace_test_recursion_trylock(ip, parent_ip);
 	if (bit < 0)
 		return;
arch/x86/include/asm/cpu_device_id.h +98 -0

122 lines not on this page · raw message

arch/x86/include/asm/efi.h +0 -1
index c4555b269a1b..a050d329e34b 100644
@@ -410,7 +410,6 @@ extern int __init efi_memmap_alloc(unsigned int num_entries,
 				   struct efi_memory_map_data *data);
 extern void __efi_memmap_free(u64 phys, unsigned long size,
 			      unsigned long flags);
-#define __efi_memmap_free __efi_memmap_free
 
 extern int __init efi_memmap_install(struct efi_memory_map_data *data);
 extern int __init efi_memmap_split_count(efi_memory_desc_t *md,
arch/x86/kernel/cpu/match.c +1 -3
index ad6776081e60..ae71b8ef909c 100644
@@ -39,9 +39,7 @@ const struct x86_cpu_id *x86_match_cpu(const struct x86_cpu_id *match)
 	const struct x86_cpu_id *m;
 	struct cpuinfo_x86 *c = &boot_cpu_data;
 
-	for (m = match;
-	     m->vendor | m->family | m->model | m->steppings | m->feature;
-	     m++) {
+	for (m = match; m->flags & X86_CPU_ID_FLAG_ENTRY_VALID; m++) {
 		if (m->vendor != X86_VENDOR_ANY && c->x86_vendor != m->vendor)
 			continue;
 		if (m->family != X86_FAMILY_ANY && c->x86 != m->family)
arch/x86/kernel/kprobes/ftrace.c +3 -0
index dd2ec14adb77..15af7e98e161 100644
@@ -21,6 +21,9 @@ void kprobe_ftrace_handler(unsigned long ip, unsigned long parent_ip,
 	struct kprobe_ctlblk *kcb;
 	int bit;
 
+	if (unlikely(kprobe_ftrace_disabled))
+		return;
+
 	bit = ftrace_test_recursion_trylock(ip, parent_ip);
 	if (bit < 0)
 		return;
arch/x86/kvm/x86.c +4 -5
index cab7680f0d68..9dd4624bdef2 100644
@@ -10456,13 +10456,12 @@ static void vcpu_scan_ioapic(struct kvm_vcpu *vcpu)
 
 	bitmap_zero(vcpu->arch.ioapic_handled_vectors, 256);
 
+	static_call_cond(kvm_x86_sync_pir_to_irr)(vcpu);
+
 	if (irqchip_split(vcpu->kvm))
 		kvm_scan_ioapic_routes(vcpu, vcpu->arch.ioapic_handled_vectors);
-	else {
-		static_call_cond(kvm_x86_sync_pir_to_irr)(vcpu);
-		if (ioapic_in_kernel(vcpu->kvm))
-			kvm_ioapic_scan_entry(vcpu, vcpu->arch.ioapic_handled_vectors);
-	}
+	else if (ioapic_in_kernel(vcpu->kvm))
+		kvm_ioapic_scan_entry(vcpu, vcpu->arch.ioapic_handled_vectors);
 
 	if (is_guest_mode(vcpu))
 		vcpu->arch.load_eoi_exitmap_pending = true;
arch/x86/platform/efi/memmap.c +11 -1
index 4ef20b49eb5e..6ed1935504b9 100644
@@ -92,12 +92,22 @@ int __init efi_memmap_alloc(unsigned int num_entries,
  */
 int __init efi_memmap_install(struct efi_memory_map_data *data)
 {
+	unsigned long size = efi.memmap.desc_size * efi.memmap.nr_map;
+	unsigned long flags = efi.memmap.flags;
+	u64 phys = efi.memmap.phys_map;
+	int ret;
+
 	efi_memmap_unmap();
 
 	if (efi_enabled(EFI_PARAVIRT))
 		return 0;
 
-	return __efi_memmap_init(data);
+	ret = __efi_memmap_init(data);
+	if (ret)
+		return ret;
+
+	__efi_memmap_free(phys, size, flags);
+	return 0;
 }
 
 /**
block/ioctl.c +1 -1
index 68265f914c27..378603334284 100644
@@ -33,7 +33,7 @@ static int blkpg_do_ioctl(struct block_device *bdev,
 	if (op == BLKPG_DEL_PARTITION)
 		return bdev_del_partition(disk, p.pno);
 
-	if (p.start < 0 || p.length <= 0 || p.start + p.length < 0)
+	if (p.start < 0 || p.length <= 0 || LLONG_MAX - p.length < p.start)
 		return -EINVAL;
 	/* Check that the partition is aligned to the block size */
 	if (!IS_ALIGNED(p.start | p.length, bdev_logical_block_size(bdev)))
drivers/acpi/acpica/acevents.h +4 -0
index ddd072cbc738..2133085deda7 100644
@@ -191,6 +191,10 @@ void
 acpi_ev_execute_reg_methods(struct acpi_namespace_node *node,
 			    acpi_adr_space_type space_id, u32 function);
 
+void
+acpi_ev_execute_orphan_reg_method(struct acpi_namespace_node *node,
+				  acpi_adr_space_type space_id);
+
 acpi_status
 acpi_ev_execute_reg_method(union acpi_operand_object *region_obj, u32 function);
 
drivers/acpi/acpica/evregion.c +1 -5
index 18fdf2bc2d49..dc6004daf624 100644
@@ -20,10 +20,6 @@ extern u8 acpi_gbl_default_address_spaces[];
 
 /* Local prototypes */
 
-static void
-acpi_ev_execute_orphan_reg_method(struct acpi_namespace_node *device_node,
-				  acpi_adr_space_type space_id);
-
 static acpi_status
 acpi_ev_reg_run(acpi_handle obj_handle,
 		u32 level, void *context, void **return_value);
@@ -818,7 +814,7 @@ acpi_ev_reg_run(acpi_handle obj_handle,
  *
  ******************************************************************************/
 
-static void
+void
 acpi_ev_execute_orphan_reg_method(struct acpi_namespace_node *device_node,
 				  acpi_adr_space_type space_id)
 {
drivers/acpi/acpica/evxfregn.c +54 -0

57 lines not on this page · raw message

drivers/acpi/acpica/exregion.c +2 -21
index 8907b8bf4267..c49b9f8de723 100644
@@ -44,7 +44,6 @@ acpi_ex_system_memory_space_handler(u32 function,
 	struct acpi_mem_mapping *mm = mem_info->cur_mm;
 	u32 length;
 	acpi_size map_length;
-	acpi_size page_boundary_map_length;
 #ifdef ACPI_MISALIGNMENT_NOT_SUPPORTED
 	u32 remainder;
 #endif
@@ -138,26 +137,8 @@ acpi_ex_system_memory_space_handler(u32 function,
 		map_length = (acpi_size)
 		    ((mem_info->address + mem_info->length) - address);
 
-		/*
-		 * If mapping the entire remaining portion of the region will cross
-		 * a page boundary, just map up to the page boundary, do not cross.
-		 * On some systems, crossing a page boundary while mapping regions
-		 * can cause warnings if the pages have different attributes
-		 * due to resource management.
-		 *
-		 * This has the added benefit of constraining a single mapping to
-		 * one page, which is similar to the original code that used a 4k
-		 * maximum window.
-		 */
-		page_boundary_map_length = (acpi_size)
-		    (ACPI_ROUND_UP(address, ACPI_DEFAULT_PAGE_SIZE) - address);
-		if (page_boundary_map_length == 0) {
-			page_boundary_map_length = ACPI_DEFAULT_PAGE_SIZE;
-		}
-
-		if (map_length > page_boundary_map_length) {
-			map_length = page_boundary_map_length;
-		}
+		if (map_length > ACPI_DEFAULT_PAGE_SIZE)
+			map_length = ACPI_DEFAULT_PAGE_SIZE;
 
 		/* Create a new mapping starting at the address given */
 
drivers/acpi/ec.c +19 -9
index a59c11df7375..bdeae6ca9f05 100644
@@ -1482,13 +1482,14 @@ static bool install_gpio_irq_event_handler(struct acpi_ec *ec)
 static int ec_install_handlers(struct acpi_ec *ec, struct acpi_device *device,
 			       bool call_reg)
 {
+	acpi_handle scope_handle = ec == first_ec ? ACPI_ROOT_OBJECT : ec->handle;
 	acpi_status status;
 
 	acpi_ec_start(ec, false);
 
 	if (!test_bit(EC_FLAGS_EC_HANDLER_INSTALLED, &ec->flags)) {
 		acpi_ec_enter_noirq(ec);
-		status = acpi_install_address_space_handler_no_reg(ec->handle,
+		status = acpi_install_address_space_handler_no_reg(scope_handle,
 								   ACPI_ADR_SPACE_EC,
 								   &acpi_ec_space_handler,
 								   NULL, ec);
@@ -1497,11 +1498,13 @@ static int ec_install_handlers(struct acpi_ec *ec, struct acpi_device *device,
 			return -ENODEV;
 		}
 		set_bit(EC_FLAGS_EC_HANDLER_INSTALLED, &ec->flags);
-		ec->address_space_handler_holder = ec->handle;
 	}
 
 	if (call_reg && !test_bit(EC_FLAGS_EC_REG_CALLED, &ec->flags)) {
-		acpi_execute_reg_methods(ec->handle, ACPI_ADR_SPACE_EC);
+		acpi_execute_reg_methods(scope_handle, ACPI_ADR_SPACE_EC);
+		if (scope_handle != ec->handle)
+			acpi_execute_orphan_reg_method(ec->handle, ACPI_ADR_SPACE_EC);
+
 		set_bit(EC_FLAGS_EC_REG_CALLED, &ec->flags);
 	}
 
@@ -1553,10 +1556,13 @@ static int ec_install_handlers(struct acpi_ec *ec, struct acpi_device *device,
 
 static void ec_remove_handlers(struct acpi_ec *ec)
 {
+	acpi_handle scope_handle = ec == first_ec ? ACPI_ROOT_OBJECT : ec->handle;
+
 	if (test_bit(EC_FLAGS_EC_HANDLER_INSTALLED, &ec->flags)) {
 		if (ACPI_FAILURE(acpi_remove_address_space_handler(
-					ec->address_space_handler_holder,
-					ACPI_ADR_SPACE_EC, &acpi_ec_space_handler)))
+						scope_handle,
+						ACPI_ADR_SPACE_EC,
+						&acpi_ec_space_handler)))
 			pr_err("failed to remove space handler\n");
 		clear_bit(EC_FLAGS_EC_HANDLER_INSTALLED, &ec->flags);
 	}
@@ -1595,14 +1601,18 @@ static int acpi_ec_setup(struct acpi_ec *ec, struct acpi_device *device, bool ca
 {
 	int ret;
 
-	ret = ec_install_handlers(ec, device, call_reg);
-	if (ret)
-		return ret;
-
 	/* First EC capable of handling transactions */
 	if (!first_ec)
 		first_ec = ec;
 
+	ret = ec_install_handlers(ec, device, call_reg);
+	if (ret) {
+		if (ec == first_ec)
+			first_ec = NULL;
+
+		return ret;
+	}
+
 	pr_info("EC_CMD/EC_SC=0x%lx, EC_DATA=0x%lx\n", ec->command_addr,
 		ec->data_addr);
 
drivers/acpi/internal.h +0 -1
index 866c7c4ed233..6db1a03dd539 100644
@@ -167,7 +167,6 @@ enum acpi_ec_event_state {
 
 struct acpi_ec {
 	acpi_handle handle;
-	acpi_handle address_space_handler_holder;
 	int gpe;
 	int irq;
 	unsigned long command_addr;
drivers/acpi/video_detect.c +8 -0
index 31205fee59d4..16ab2d9ef67f 100644
@@ -505,6 +505,14 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
 		DMI_MATCH(DMI_PRODUCT_NAME, "82BK"),
 		},
 	},
+	{
+	 .callback = video_detect_force_native,
+	 /* Lenovo Slim 7 16ARH7 */
+	 .matches = {
+		DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+		DMI_MATCH(DMI_PRODUCT_NAME, "82UX"),
+		},
+	},
 	{
 	 .callback = video_detect_force_native,
 	 /* Lenovo ThinkPad X131e (3371 AMD version) */
drivers/acpi/x86/utils.c +13 -7
index ac05e2557435..e035cec614dc 100644
@@ -257,9 +257,10 @@ bool force_storage_d3(void)
 #define ACPI_QUIRK_SKIP_I2C_CLIENTS				BIT(0)
 #define ACPI_QUIRK_UART1_SKIP					BIT(1)
 #define ACPI_QUIRK_UART1_TTY_UART2_SKIP				BIT(2)
-#define ACPI_QUIRK_SKIP_ACPI_AC_AND_BATTERY			BIT(3)
-#define ACPI_QUIRK_USE_ACPI_AC_AND_BATTERY			BIT(4)
-#define ACPI_QUIRK_SKIP_GPIO_EVENT_HANDLERS			BIT(5)
+#define ACPI_QUIRK_PNP_UART1_SKIP				BIT(3)
+#define ACPI_QUIRK_SKIP_ACPI_AC_AND_BATTERY			BIT(4)
+#define ACPI_QUIRK_USE_ACPI_AC_AND_BATTERY			BIT(5)
+#define ACPI_QUIRK_SKIP_GPIO_EVENT_HANDLERS			BIT(6)
 
 static const struct dmi_system_id acpi_quirk_skip_dmi_ids[] = {
 	/*
@@ -339,6 +340,7 @@ static const struct dmi_system_id acpi_quirk_skip_dmi_ids[] = {
 			DMI_MATCH(DMI_BIOS_VERSION, "BLADE_21"),
 		},
 		.driver_data = (void *)(ACPI_QUIRK_SKIP_I2C_CLIENTS |
+					ACPI_QUIRK_PNP_UART1_SKIP |
 					ACPI_QUIRK_SKIP_ACPI_AC_AND_BATTERY),
 	},
 	{
@@ -437,14 +439,18 @@ static int acpi_dmi_skip_serdev_enumeration(struct device *controller_parent, bo
 	if (ret)
 		return 0;
 
-	/* to not match on PNP enumerated debug UARTs */
-	if (!dev_is_platform(controller_parent))
-		return 0;
-
 	dmi_id = dmi_first_match(acpi_quirk_skip_dmi_ids);
 	if (dmi_id)
 		quirks = (unsigned long)dmi_id->driver_data;
 
+	if (!dev_is_platform(controller_parent)) {
+		/* PNP enumerated UARTs */
+		if ((quirks & ACPI_QUIRK_PNP_UART1_SKIP) && uid == 1)
+			*skip = true;
+
+		return 0;
+	}
+
 	if ((quirks & ACPI_QUIRK_UART1_SKIP) && uid == 1)
 		*skip = true;
 
drivers/block/nbd.c +19 -15
index df738eab0243..1089dc646b80 100644
@@ -569,7 +569,10 @@ static inline int was_interrupted(int result)
 	return result == -ERESTARTSYS || result == -EINTR;
 }
 
-/* always call with the tx_lock held */
+/*
+ * Returns BLK_STS_RESOURCE if the caller should retry after a delay. Returns
+ * -EAGAIN if the caller should requeue @cmd. Returns -EIO if sending failed.
+ */
 static int nbd_send_cmd(struct nbd_device *nbd, struct nbd_cmd *cmd, int index)
 {
 	struct request *req = blk_mq_rq_from_pdu(cmd);
@@ -586,6 +589,9 @@ static int nbd_send_cmd(struct nbd_device *nbd, struct nbd_cmd *cmd, int index)
 	u32 nbd_cmd_flags = 0;
 	int sent = nsock->sent, skip = 0;
 
+	lockdep_assert_held(&cmd->lock);
+	lockdep_assert_held(&nsock->tx_lock);
+
 	iov_iter_kvec(&from, ITER_SOURCE, &iov, 1, sizeof(request));
 
 	type = req_to_nbd_cmd_type(req);
@@ -650,7 +656,7 @@ static int nbd_send_cmd(struct nbd_device *nbd, struct nbd_cmd *cmd, int index)
 				nsock->sent = sent;
 			}
 			set_bit(NBD_CMD_REQUEUED, &cmd->flags);
-			return BLK_STS_RESOURCE;
+			return (__force int)BLK_STS_RESOURCE;
 		}
 		dev_err_ratelimited(disk_to_dev(nbd->disk),
 			"Send control failed (result %d)\n", result);
@@ -691,7 +697,7 @@ static int nbd_send_cmd(struct nbd_device *nbd, struct nbd_cmd *cmd, int index)
 					nsock->pending = req;
 					nsock->sent = sent;
 					set_bit(NBD_CMD_REQUEUED, &cmd->flags);
-					return BLK_STS_RESOURCE;
+					return (__force int)BLK_STS_RESOURCE;
 				}
 				dev_err(disk_to_dev(nbd->disk),
 					"Send data failed (result %d)\n",
@@ -988,7 +994,7 @@ static int wait_for_reconnect(struct nbd_device *nbd)
 	return !test_bit(NBD_RT_DISCONNECTED, &config->runtime_flags);
 }
 
-static int nbd_handle_cmd(struct nbd_cmd *cmd, int index)
+static blk_status_t nbd_handle_cmd(struct nbd_cmd *cmd, int index)
 {
 	struct request *req = blk_mq_rq_from_pdu(cmd);
 	struct nbd_device *nbd = cmd->nbd;
@@ -996,18 +1002,20 @@ static int nbd_handle_cmd(struct nbd_cmd *cmd, int index)
 	struct nbd_sock *nsock;
 	int ret;
 
+	lockdep_assert_held(&cmd->lock);
+
 	config = nbd_get_config_unlocked(nbd);
 	if (!config) {
 		dev_err_ratelimited(disk_to_dev(nbd->disk),
 				    "Socks array is empty\n");
-		return -EINVAL;
+		return BLK_STS_IOERR;
 	}
 
 	if (index >= config->num_connections) {
 		dev_err_ratelimited(disk_to_dev(nbd->disk),
 				    "Attempted send on invalid socket\n");
 		nbd_config_put(nbd);
-		return -EINVAL;
+		return BLK_STS_IOERR;
 	}
 	cmd->status = BLK_STS_OK;
 again:
@@ -1030,7 +1038,7 @@ static int nbd_handle_cmd(struct nbd_cmd *cmd, int index)
 			 */
 			sock_shutdown(nbd);
 			nbd_config_put(nbd);
-			return -EIO;
+			return BLK_STS_IOERR;
 		}
 		goto again;
 	}
@@ -1043,7 +1051,7 @@ static int nbd_handle_cmd(struct nbd_cmd *cmd, int index)
 	blk_mq_start_request(req);
 	if (unlikely(nsock->pending && nsock->pending != req)) {
 		nbd_requeue_cmd(cmd);
-		ret = 0;
+		ret = BLK_STS_OK;
 		goto out;
 	}
 	/*
@@ -1062,19 +1070,19 @@ static int nbd_handle_cmd(struct nbd_cmd *cmd, int index)
 				    "Request send failed, requeueing\n");
 		nbd_mark_nsock_dead(nbd, nsock, 1);
 		nbd_requeue_cmd(cmd);
-		ret = 0;
+		ret = BLK_STS_OK;
 	}
 out:
 	mutex_unlock(&nsock->tx_lock);
 	nbd_config_put(nbd);
-	return ret;
+	return ret < 0 ? BLK_STS_IOERR : (__force blk_status_t)ret;
 }
 
 static blk_status_t nbd_queue_rq(struct blk_mq_hw_ctx *hctx,
 			const struct blk_mq_queue_data *bd)
 {
 	struct nbd_cmd *cmd = blk_mq_rq_to_pdu(bd->rq);
-	int ret;
+	blk_status_t ret;
 
 	/*
 	 * Since we look at the bio's to send the request over the network we
@@ -1094,10 +1102,6 @@ static blk_status_t nbd_queue_rq(struct blk_mq_hw_ctx *hctx,
 	 * appropriate.
 	 */
 	ret = nbd_handle_cmd(cmd, hctx->queue_num);
-	if (ret < 0)
-		ret = BLK_STS_IOERR;
-	else if (!ret)
-		ret = BLK_STS_OK;
 	mutex_unlock(&cmd->lock);
 
 	return ret;
drivers/bluetooth/ath3k.c +11 -14
index 88262d3a9392..ce97b336fbfb 100644
@@ -3,7 +3,6 @@
  * Copyright (c) 2008-2009 Atheros Communications Inc.
  */
 
-
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/init.h>
@@ -128,7 +127,6 @@ MODULE_DEVICE_TABLE(usb, ath3k_table);
  * for AR3012
  */
 static const struct usb_device_id ath3k_blist_tbl[] = {
-
 	/* Atheros AR3012 with sflash firmware*/
 	{ USB_DEVICE(0x0489, 0xe04e), .driver_info = BTUSB_ATH3012 },
 	{ USB_DEVICE(0x0489, 0xe04d), .driver_info = BTUSB_ATH3012 },
@@ -202,7 +200,7 @@ static inline void ath3k_log_failed_loading(int err, int len, int size,
 #define TIMEGAP_USEC_MAX	100
 
 static int ath3k_load_firmware(struct usb_device *udev,
-				const struct firmware *firmware)
+			       const struct firmware *firmware)
 {
 	u8 *send_buf;
 	int len = 0;
@@ -237,9 +235,9 @@ static int ath3k_load_firmware(struct usb_device *udev,
 		memcpy(send_buf, firmware->data + sent, size);
 
 		err = usb_bulk_msg(udev, pipe, send_buf, size,
-					&len, 3000);
+				   &len, 3000);
 
-		if (err || (len != size)) {
+		if (err || len != size) {
 			ath3k_log_failed_loading(err, len, size, count);
 			goto error;
 		}
@@ -262,7 +260,7 @@ static int ath3k_get_state(struct usb_device *udev, unsigned char *state)
 }
 
 static int ath3k_get_version(struct usb_device *udev,
-			struct ath3k_version *version)
+			     struct ath3k_version *version)
 {
 	return usb_control_msg_recv(udev, 0, ATH3K_GETVERSION,
 				    USB_TYPE_VENDOR | USB_DIR_IN, 0, 0,
@@ -271,7 +269,7 @@ static int ath3k_get_version(struct usb_device *udev,
 }
 
 static int ath3k_load_fwfile(struct usb_device *udev,
-		const struct firmware *firmware)
+			     const struct firmware *firmware)
 {
 	u8 *send_buf;
 	int len = 0;
@@ -310,8 +308,8 @@ static int ath3k_load_fwfile(struct usb_device *udev,
 		memcpy(send_buf, firmware->data + sent, size);
 
 		err = usb_bulk_msg(udev, pipe, send_buf, size,
-					&len, 3000);
-		if (err || (len != size)) {
+				   &len, 3000);
+		if (err || len != size) {
 			ath3k_log_failed_loading(err, len, size, count);
 			kfree(send_buf);
 			return err;
@@ -425,7 +423,6 @@ static int ath3k_load_syscfg(struct usb_device *udev)
 	}
 
 	switch (fw_version.ref_clock) {
-
 	case ATH3K_XTAL_FREQ_26M:
 		clk_value = 26;
 		break;
@@ -441,7 +438,7 @@ static int ath3k_load_syscfg(struct usb_device *udev)
 	}
 
 	snprintf(filename, ATH3K_NAME_LEN, "ar3k/ramps_0x%08x_%d%s",
-		le32_to_cpu(fw_version.rom_version), clk_value, ".dfu");
+		 le32_to_cpu(fw_version.rom_version), clk_value, ".dfu");
 
 	ret = request_firmware(&firmware, filename, &udev->dev);
 	if (ret < 0) {
@@ -456,7 +453,7 @@ static int ath3k_load_syscfg(struct usb_device *udev)
 }
 
 static int ath3k_probe(struct usb_interface *intf,
-			const struct usb_device_id *id)
+		       const struct usb_device_id *id)
 {
 	const struct firmware *firmware;
 	struct usb_device *udev = interface_to_usbdev(intf);
@@ -505,10 +502,10 @@ static int ath3k_probe(struct usb_interface *intf,
 	if (ret < 0) {
 		if (ret == -ENOENT)
 			BT_ERR("Firmware file \"%s\" not found",
-							ATH3K_FIRMWARE);
+			       ATH3K_FIRMWARE);
 		else
 			BT_ERR("Firmware file \"%s\" request failed (err=%d)",
-							ATH3K_FIRMWARE, ret);
+			       ATH3K_FIRMWARE, ret);
 		return ret;
 	}
 
drivers/cpufreq/amd-pstate.c +7 -0
index b8fdfd2c4f6f..a5f4c255edad 100644
@@ -1216,6 +1216,13 @@ static int amd_pstate_epp_cpu_init(struct cpufreq_policy *policy)
 
 static int amd_pstate_epp_cpu_exit(struct cpufreq_policy *policy)
 {
+	struct amd_cpudata *cpudata = policy->driver_data;
+
+	if (cpudata) {
+		kfree(cpudata);
+		policy->driver_data = NULL;
+	}
+
 	pr_debug("CPU %d exiting\n", policy->cpu);
 	return 0;
 }
drivers/crypto/hisilicon/qm.c +1 -4
index e889363ed978..562df5c77c63 100644
@@ -2952,12 +2952,9 @@ void hisi_qm_uninit(struct hisi_qm *qm)
 	hisi_qm_set_state(qm, QM_NOT_READY);
 	up_write(&qm->qps_lock);
 
+	qm_remove_uacce(qm);
 	qm_irqs_unregister(qm);
 	hisi_qm_pci_uninit(qm);
-	if (qm->use_sva) {
-		uacce_remove(qm->uacce);
-		qm->uacce = NULL;
-	}
 }
 EXPORT_SYMBOL_GPL(hisi_qm_uninit);
 
drivers/crypto/hisilicon/sec2/sec_crypto.c +3 -1
index c3a630cb27a6..932cc277eb3a 100644
@@ -478,8 +478,10 @@ static void sec_alg_resource_free(struct sec_ctx *ctx,
 
 	if (ctx->pbuf_supported)
 		sec_free_pbuf_resource(dev, qp_ctx->res);
-	if (ctx->alg_type == SEC_AEAD)
+	if (ctx->alg_type == SEC_AEAD) {
 		sec_free_mac_resource(dev, qp_ctx->res);
+		sec_free_aiv_resource(dev, qp_ctx->res);
+	}
 }
 
 static int sec_alloc_qp_ctx_resource(struct hisi_qm *qm, struct sec_ctx *ctx,
drivers/dma/Kconfig +1 -1
index 7a618f629e86..e36506471a4f 100644
@@ -380,7 +380,7 @@ config LPC18XX_DMAMUX
 
 config MCF_EDMA
 	tristate "Freescale eDMA engine support, ColdFire mcf5441x SoCs"
-	depends on M5441x || COMPILE_TEST
+	depends on M5441x || (COMPILE_TEST && FSL_EDMA=n)
 	select DMA_ENGINE
 	select DMA_VIRTUAL_CHANNELS
 	help
drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c +2 -4
index dd02f84e404d..72fb40de58b3 100644
@@ -256,6 +256,7 @@ static struct axi_dma_desc *axi_desc_alloc(u32 num)
 		kfree(desc);
 		return NULL;
 	}
+	desc->nr_hw_descs = num;
 
 	return desc;
 }
@@ -282,7 +283,7 @@ static struct axi_dma_lli *axi_desc_get(struct axi_dma_chan *chan,
 static void axi_desc_put(struct axi_dma_desc *desc)
 {
 	struct axi_dma_chan *chan = desc->chan;
-	int count = atomic_read(&chan->descs_allocated);
+	int count = desc->nr_hw_descs;
 	struct axi_dma_hw_desc *hw_desc;
 	int descs_put;
 
@@ -1093,9 +1094,6 @@ static void axi_chan_block_xfer_complete(struct axi_dma_chan *chan)
 		/* Remove the completed descriptor from issued list before completing */
 		list_del(&vd->node);
 		vchan_cookie_complete(vd);
-
-		/* Submit queued descriptors after processing the completed ones */
-		axi_chan_start_first_queued(chan);
 	}
 
 out:
drivers/dma/dw-axi-dmac/dw-axi-dmac.h +1 -0
index eb267cb24f67..8521530a34ec 100644
@@ -104,6 +104,7 @@ struct axi_dma_desc {
 	u32				completed_blocks;
 	u32				length;
 	u32				period_len;
+	u32				nr_hw_descs;
 };
 
 struct axi_dma_chan_config {
drivers/dma/idxd/irq.c +3 -1
index b2ca9c1f194c..7efc85b5bad9 100644
@@ -611,11 +611,13 @@ static void irq_process_work_list(struct idxd_irq_entry *irq_entry)
 
 	spin_unlock(&irq_entry->list_lock);
 
-	list_for_each_entry(desc, &flist, list) {
+	list_for_each_entry_safe(desc, n, &flist, list) {
 		/*
 		 * Check against the original status as ABORT is software defined
 		 * and 0xff, which DSA_COMP_STATUS_MASK can mask out.
 		 */
+		list_del(&desc->list);
+
 		if (unlikely(desc->completion->status == IDXD_COMP_DESC_ABORT)) {
 			idxd_dma_complete_txd(desc, IDXD_COMPLETE_ABORT, true);
 			continue;
drivers/dma/ioat/init.c +30 -25

112 lines not on this page · raw message

drivers/firmware/efi/libstub/loongarch-stub.c +5 -4
index d6ec5d4b8dbe..736b6aae323d 100644
@@ -8,10 +8,10 @@
 #include <asm/efi.h>
 #include <asm/addrspace.h>
 #include "efistub.h"
+#include "loongarch-stub.h"
 
 extern int kernel_asize;
 extern int kernel_fsize;
-extern int kernel_offset;
 extern int kernel_entry;
 
 efi_status_t handle_kernel_image(unsigned long *image_addr,
@@ -24,7 +24,7 @@ efi_status_t handle_kernel_image(unsigned long *image_addr,
 	efi_status_t status;
 	unsigned long kernel_addr = 0;
 
-	kernel_addr = (unsigned long)&kernel_offset - kernel_offset;
+	kernel_addr = (unsigned long)image->image_base;
 
 	status = efi_relocate_kernel(&kernel_addr, kernel_fsize, kernel_asize,
 		     EFI_KIMG_PREFERRED_ADDRESS, efi_get_kimg_min_align(), 0x0);
@@ -35,9 +35,10 @@ efi_status_t handle_kernel_image(unsigned long *image_addr,
 	return status;
 }
 
-unsigned long kernel_entry_address(unsigned long kernel_addr)
+unsigned long kernel_entry_address(unsigned long kernel_addr,
+		efi_loaded_image_t *image)
 {
-	unsigned long base = (unsigned long)&kernel_offset - kernel_offset;
+	unsigned long base = (unsigned long)image->image_base;
 
 	return (unsigned long)&kernel_entry - base + kernel_addr;
 }
drivers/firmware/efi/libstub/loongarch-stub.h new file +4 -0
new file mode 100644
index 000000000000..cd015955a015
@@ -0,0 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+unsigned long kernel_entry_address(unsigned long kernel_addr,
+		efi_loaded_image_t *image);
drivers/firmware/efi/libstub/loongarch.c +5 -3
index 0e0aa6cda73f..d0ef93551c44 100644
@@ -8,6 +8,7 @@
 #include <asm/efi.h>
 #include <asm/addrspace.h>
 #include "efistub.h"
+#include "loongarch-stub.h"
 
 typedef void __noreturn (*kernel_entry_t)(bool efi, unsigned long cmdline,
 					  unsigned long systab);
@@ -37,9 +38,10 @@ static efi_status_t exit_boot_func(struct efi_boot_memmap *map, void *priv)
 	return EFI_SUCCESS;
 }
 
-unsigned long __weak kernel_entry_address(unsigned long kernel_addr)
+unsigned long __weak kernel_entry_address(unsigned long kernel_addr,
+		efi_loaded_image_t *image)
 {
-	return *(unsigned long *)(kernel_addr + 8) - VMLINUX_LOAD_ADDRESS + kernel_addr;
+	return *(unsigned long *)(kernel_addr + 8) - PHYSADDR(VMLINUX_LOAD_ADDRESS) + kernel_addr;
 }
 
 efi_status_t efi_boot_kernel(void *handle, efi_loaded_image_t *image,
@@ -73,7 +75,7 @@ efi_status_t efi_boot_kernel(void *handle, efi_loaded_image_t *image,
 	csr_write64(CSR_DMW0_INIT, LOONGARCH_CSR_DMWIN0);
 	csr_write64(CSR_DMW1_INIT, LOONGARCH_CSR_DMWIN1);
 
-	real_kernel_entry = (void *)kernel_entry_address(kernel_addr);
+	real_kernel_entry = (void *)kernel_entry_address(kernel_addr, image);
 
 	real_kernel_entry(true, (unsigned long)cmdline_ptr,
 			  (unsigned long)efi_system_table);
drivers/firmware/efi/memmap.c +0 -9
index a1180461a445..77dd20f9df31 100644
@@ -15,10 +15,6 @@
 #include <asm/early_ioremap.h>
 #include <asm/efi.h>
 
-#ifndef __efi_memmap_free
-#define __efi_memmap_free(phys, size, flags) do { } while (0)
-#endif
-
 /**
  * __efi_memmap_init - Common code for mapping the EFI memory map
  * @data: EFI memory map data
@@ -51,11 +47,6 @@ int __init __efi_memmap_init(struct efi_memory_map_data *data)
 		return -ENOMEM;
 	}
 
-	if (efi.memmap.flags & (EFI_MEMMAP_MEMBLOCK | EFI_MEMMAP_SLAB))
-		__efi_memmap_free(efi.memmap.phys_map,
-				  efi.memmap.desc_size * efi.memmap.nr_map,
-				  efi.memmap.flags);
-
 	map.phys_map = data->phys_map;
 	map.nr_map = data->size / data->desc_size;
 	map.map_end = map.map + data->size;
drivers/firmware/psci/psci.c +3 -1
index d9629ff87861..2328ca58bba6 100644
@@ -497,10 +497,12 @@ int psci_cpu_suspend_enter(u32 state)
 
 static int psci_system_suspend(unsigned long unused)
 {
+	int err;
 	phys_addr_t pa_cpu_resume = __pa_symbol(cpu_resume);
 
-	return invoke_psci_fn(PSCI_FN_NATIVE(1_0, SYSTEM_SUSPEND),
+	err = invoke_psci_fn(PSCI_FN_NATIVE(1_0, SYSTEM_SUSPEND),
 			      pa_cpu_resume, 0, 0);
+	return psci_to_linux_errno(err);
 }
 
 static int psci_system_suspend_enter(suspend_state_t state)
drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c +2 -0
index 5cb4725c773f..c8586cb7d0fe 100644
@@ -164,6 +164,8 @@ static void sumo_construct_vid_mapping_table(struct amdgpu_device *adev,
 
 	for (i = 0; i < SUMO_MAX_HARDWARE_POWERLEVELS; i++) {
 		if (table[i].ulSupportedSCLK != 0) {
+			if (table[i].usVoltageIndex >= SUMO_MAX_NUMBER_VOLTAGES)
+				continue;
 			vid_mapping_table->entries[table[i].usVoltageIndex].vid_7bit =
 				table[i].usVoltageID;
 			vid_mapping_table->entries[table[i].usVoltageIndex].vid_2bit =
drivers/gpu/drm/i915/display/intel_dp.c +4 -0
index ccc47cf4d15d..2936a6c02d6a 100644
@@ -393,6 +393,10 @@ bool intel_dp_can_bigjoiner(struct intel_dp *intel_dp)
 	struct intel_encoder *encoder = &intel_dig_port->base;
 	struct drm_i915_private *dev_priv = to_i915(encoder->base.dev);
 
+	/* eDP MSO is not compatible with joiner */
+	if (intel_dp->mso_link_count)
+		return false;
+
 	return DISPLAY_VER(dev_priv) >= 12 ||
 		(DISPLAY_VER(dev_priv) == 11 &&
 		 encoder->port != PORT_A);
drivers/gpu/drm/lima/lima_bcast.c +12 -0
index fbc43f243c54..6d000504e1a4 100644
@@ -43,6 +43,18 @@ void lima_bcast_suspend(struct lima_ip *ip)
 
 }
 
+int lima_bcast_mask_irq(struct lima_ip *ip)
+{
+	bcast_write(LIMA_BCAST_BROADCAST_MASK, 0);
+	bcast_write(LIMA_BCAST_INTERRUPT_MASK, 0);
+	return 0;
+}
+
+int lima_bcast_reset(struct lima_ip *ip)
+{
+	return lima_bcast_hw_init(ip);
+}
+
 int lima_bcast_init(struct lima_ip *ip)
 {
 	int i;
drivers/gpu/drm/lima/lima_bcast.h +3 -0
index 465ee587bceb..cd08841e4787 100644
@@ -13,4 +13,7 @@ void lima_bcast_fini(struct lima_ip *ip);
 
 void lima_bcast_enable(struct lima_device *dev, int num_pp);
 
+int lima_bcast_mask_irq(struct lima_ip *ip);
+int lima_bcast_reset(struct lima_ip *ip);
+
 #endif
drivers/gpu/drm/lima/lima_gp.c +8 -0
index 8dd501b7a3d0..6cf46b653e81 100644
@@ -212,6 +212,13 @@ static void lima_gp_task_mmu_error(struct lima_sched_pipe *pipe)
 	lima_sched_pipe_task_done(pipe);
 }
 
+static void lima_gp_task_mask_irq(struct lima_sched_pipe *pipe)
+{
+	struct lima_ip *ip = pipe->processor[0];
+
+	gp_write(LIMA_GP_INT_MASK, 0);
+}
+
 static int lima_gp_task_recover(struct lima_sched_pipe *pipe)
 {
 	struct lima_ip *ip = pipe->processor[0];
@@ -344,6 +351,7 @@ int lima_gp_pipe_init(struct lima_device *dev)
 	pipe->task_error = lima_gp_task_error;
 	pipe->task_mmu_error = lima_gp_task_mmu_error;
 	pipe->task_recover = lima_gp_task_recover;
+	pipe->task_mask_irq = lima_gp_task_mask_irq;
 
 	return 0;
 }
drivers/gpu/drm/lima/lima_pp.c +18 -0
index a5c95bed08c0..54b208a4a768 100644
@@ -408,6 +408,9 @@ static void lima_pp_task_error(struct lima_sched_pipe *pipe)
 
 		lima_pp_hard_reset(ip);
 	}
+
+	if (pipe->bcast_processor)
+		lima_bcast_reset(pipe->bcast_processor);
 }
 
 static void lima_pp_task_mmu_error(struct lima_sched_pipe *pipe)
@@ -416,6 +419,20 @@ static void lima_pp_task_mmu_error(struct lima_sched_pipe *pipe)
 		lima_sched_pipe_task_done(pipe);
 }
 
+static void lima_pp_task_mask_irq(struct lima_sched_pipe *pipe)
+{
+	int i;
+
+	for (i = 0; i < pipe->num_processor; i++) {
+		struct lima_ip *ip = pipe->processor[i];
+
+		pp_write(LIMA_PP_INT_MASK, 0);
+	}
+
+	if (pipe->bcast_processor)
+		lima_bcast_mask_irq(pipe->bcast_processor);
+}
+
 static struct kmem_cache *lima_pp_task_slab;
 static int lima_pp_task_slab_refcnt;
 
@@ -447,6 +464,7 @@ int lima_pp_pipe_init(struct lima_device *dev)
 	pipe->task_fini = lima_pp_task_fini;
 	pipe->task_error = lima_pp_task_error;
 	pipe->task_mmu_error = lima_pp_task_mmu_error;
+	pipe->task_mask_irq = lima_pp_task_mask_irq;
 
 	return 0;
 }
drivers/gpu/drm/lima/lima_sched.c +7 -0
index ffd91a5ee299..1114bffe38c8 100644
@@ -402,6 +402,13 @@ static enum drm_gpu_sched_stat lima_sched_timedout_job(struct drm_sched_job *job
 	struct lima_sched_task *task = to_lima_task(job);
 	struct lima_device *ldev = pipe->ldev;
 
+	/*
+	 * The task might still finish while this timeout handler runs.
+	 * To prevent a race condition on its completion, mask all irqs
+	 * on the running core until the next hard reset completes.
+	 */
+	pipe->task_mask_irq(pipe);
+
 	if (!pipe->error)
 		DRM_ERROR("lima job timeout\n");
 
drivers/gpu/drm/lima/lima_sched.h +1 -0
index 6a11764d87b3..edf205be4369 100644
@@ -80,6 +80,7 @@ struct lima_sched_pipe {
 	void (*task_error)(struct lima_sched_pipe *pipe);
 	void (*task_mmu_error)(struct lima_sched_pipe *pipe);
 	int (*task_recover)(struct lima_sched_pipe *pipe);
+	void (*task_mask_irq)(struct lima_sched_pipe *pipe);
 
 	struct work_struct recover_work;
 };
drivers/gpu/drm/radeon/sumo_dpm.c +2 -0
index d49c145db437..f7f1ddc6cdd8 100644
@@ -1621,6 +1621,8 @@ void sumo_construct_vid_mapping_table(struct radeon_device *rdev,
 
 	for (i = 0; i < SUMO_MAX_HARDWARE_POWERLEVELS; i++) {
 		if (table[i].ulSupportedSCLK != 0) {
+			if (table[i].usVoltageIndex >= SUMO_MAX_NUMBER_VOLTAGES)
+				continue;
 			vid_mapping_table->entries[table[i].usVoltageIndex].vid_7bit =
 				table[i].usVoltageID;
 			vid_mapping_table->entries[table[i].usVoltageIndex].vid_2bit =
drivers/hid/hid-asus.c +24 -27

71 lines not on this page · raw message

drivers/hid/hid-ids.h +1 -0
index 0a4daff4846f..89aef5874202 100644
@@ -820,6 +820,7 @@
 #define USB_DEVICE_ID_LOGITECH_AUDIOHUB 0x0a0e
 #define USB_DEVICE_ID_LOGITECH_T651	0xb00c
 #define USB_DEVICE_ID_LOGITECH_DINOVO_EDGE_KBD	0xb309
+#define USB_DEVICE_ID_LOGITECH_CASA_TOUCHPAD	0xbb00
 #define USB_DEVICE_ID_LOGITECH_C007	0xc007
 #define USB_DEVICE_ID_LOGITECH_C077	0xc077
 #define USB_DEVICE_ID_LOGITECH_RECEIVER	0xc101
drivers/hid/hid-multitouch.c +6 -0
index 3816fd06bc95..17efe6e2a1a4 100644
@@ -2084,6 +2084,12 @@ static const struct hid_device_id mt_devices[] = {
 			   USB_VENDOR_ID_LENOVO,
 			   USB_DEVICE_ID_LENOVO_X12_TAB) },
 
+	/* Logitech devices */
+	{ .driver_data = MT_CLS_NSMU,
+		HID_DEVICE(BUS_BLUETOOTH, HID_GROUP_MULTITOUCH_WIN_8,
+			USB_VENDOR_ID_LOGITECH,
+			USB_DEVICE_ID_LOGITECH_CASA_TOUCHPAD) },
+
 	/* MosArt panels */
 	{ .driver_data = MT_CLS_CONFIDENCE_MINUS_ONE,
 		MT_USB_DEVICE(USB_VENDOR_ID_ASUS,
drivers/i2c/busses/i2c-ocores.c +1 -1
index e106af83cef4..350ccfbe8634 100644
@@ -442,8 +442,8 @@ static int ocores_init(struct device *dev, struct ocores_i2c *i2c)
 	oc_setreg(i2c, OCI2C_PREHIGH, prescale >> 8);
 
 	/* Init the device */
-	oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_IACK);
 	oc_setreg(i2c, OCI2C_CONTROL, ctrl | OCI2C_CTRL_EN);
+	oc_setreg(i2c, OCI2C_CMD, OCI2C_CMD_IACK);
 
 	return 0;
 }
drivers/infiniband/hw/bnxt_re/bnxt_re.h +1 -3
index 9fd9849ebdd1..5b481d8539ee 100644
@@ -106,8 +106,6 @@ struct bnxt_re_gsi_context {
 	struct	bnxt_re_sqp_entries *sqp_tbl;
 };
 
-#define BNXT_RE_MIN_MSIX		2
-#define BNXT_RE_MAX_MSIX		9
 #define BNXT_RE_AEQ_IDX			0
 #define BNXT_RE_NQ_IDX			1
 #define BNXT_RE_GEN_P5_MAX_VF		64
@@ -166,7 +164,7 @@ struct bnxt_re_dev {
 	struct bnxt_qplib_rcfw		rcfw;
 
 	/* NQ */
-	struct bnxt_qplib_nq		nq[BNXT_RE_MAX_MSIX];
+	struct bnxt_qplib_nq		nq[BNXT_MAX_ROCE_MSIX];
 
 	/* Device Resources */
 	struct bnxt_qplib_dev_attr	dev_attr;
drivers/infiniband/hw/mana/mr.c +1 -0
index 351207c60eb6..af79b6e3a581 100644
@@ -118,6 +118,7 @@ struct ib_mr *mana_ib_reg_user_mr(struct ib_pd *ibpd, u64 start, u64 length,
 		  "start 0x%llx, iova 0x%llx length 0x%llx access_flags 0x%x",
 		  start, iova, length, access_flags);
 
+	access_flags &= ~IB_ACCESS_OPTIONAL;
 	if (access_flags & ~VALID_MR_FLAGS)
 		return ERR_PTR(-EINVAL);
 
drivers/infiniband/hw/mlx5/main.c +2 -2
index 102ead497196..45a497c0258b 100644
@@ -3732,10 +3732,10 @@ static int mlx5_ib_stage_init_init(struct mlx5_ib_dev *dev)
 	spin_lock_init(&dev->dm.lock);
 	dev->dm.dev = mdev;
 	return 0;
-err:
-	mlx5r_macsec_dealloc_gids(dev);
 err_mp:
 	mlx5_ib_cleanup_multiport_master(dev);
+err:
+	mlx5r_macsec_dealloc_gids(dev);
 	return err;
 }
 
drivers/infiniband/hw/mlx5/mr.c +2 -3
index 46847249b467..50a1786231c7 100644
@@ -308,6 +308,7 @@ static void set_cache_mkc(struct mlx5_cache_ent *ent, void *mkc)
 	MLX5_SET(mkc, mkc, access_mode_1_0, ent->rb_key.access_mode & 0x3);
 	MLX5_SET(mkc, mkc, access_mode_4_2,
 		(ent->rb_key.access_mode >> 2) & 0x7);
+	MLX5_SET(mkc, mkc, ma_translation_mode, !!ent->rb_key.ats);
 
 	MLX5_SET(mkc, mkc, translations_octword_size,
 		 get_mkc_octo_size(ent->rb_key.access_mode,
@@ -697,10 +698,8 @@ static int mlx5_cache_ent_insert(struct mlx5_mkey_cache *cache,
 			new = &((*new)->rb_left);
 		if (cmp < 0)
 			new = &((*new)->rb_right);
-		if (cmp == 0) {
-			mutex_unlock(&cache->rb_lock);
+		if (cmp == 0)
 			return -EEXIST;
-		}
 	}
 
 	/* Add new node and rebalance tree. */
drivers/infiniband/hw/mlx5/srq.c +8 -5
index a056ea835da5..84be0c3d5699 100644
@@ -199,17 +199,20 @@ int mlx5_ib_create_srq(struct ib_srq *ib_srq,
 	int err;
 	struct mlx5_srq_attr in = {};
 	__u32 max_srq_wqes = 1 << MLX5_CAP_GEN(dev->mdev, log_max_srq_sz);
+	__u32 max_sge_sz =  MLX5_CAP_GEN(dev->mdev, max_wqe_sz_rq) /
+			    sizeof(struct mlx5_wqe_data_seg);
 
 	if (init_attr->srq_type != IB_SRQT_BASIC &&
 	    init_attr->srq_type != IB_SRQT_XRC &&
 	    init_attr->srq_type != IB_SRQT_TM)
 		return -EOPNOTSUPP;
 
-	/* Sanity check SRQ size before proceeding */
-	if (init_attr->attr.max_wr >= max_srq_wqes) {
-		mlx5_ib_dbg(dev, "max_wr %d, cap %d\n",
-			    init_attr->attr.max_wr,
-			    max_srq_wqes);
+	/* Sanity check SRQ and sge size before proceeding */
+	if (init_attr->attr.max_wr >= max_srq_wqes ||
+	    init_attr->attr.max_sge > max_sge_sz) {
+		mlx5_ib_dbg(dev, "max_wr %d,wr_cap %d,max_sge %d, sge_cap:%d\n",
+			    init_attr->attr.max_wr, max_srq_wqes,
+			    init_attr->attr.max_sge, max_sge_sz);
 		return -EINVAL;
 	}
 
drivers/infiniband/sw/rxe/rxe_resp.c +13 -0
index da470a925efc..c02aa27fe5d8 100644
@@ -354,6 +354,19 @@ static enum resp_states rxe_resp_check_length(struct rxe_qp *qp,
 	 * receive buffer later. For rmda operations additional
 	 * length checks are performed in check_rkey.
 	 */
+	if ((qp_type(qp) == IB_QPT_GSI) || (qp_type(qp) == IB_QPT_UD)) {
+		unsigned int payload = payload_size(pkt);
+		unsigned int recv_buffer_len = 0;
+		int i;
+
+		for (i = 0; i < qp->resp.wqe->dma.num_sge; i++)
+			recv_buffer_len += qp->resp.wqe->dma.sge[i].length;
+		if (payload + 40 > recv_buffer_len) {
+			rxe_dbg_qp(qp, "The receive buffer is too small for this UD packet.\n");
+			return RESPST_ERR_LENGTH;
+		}
+	}
+
 	if (pkt->mask & RXE_PAYLOAD_MASK && ((qp_type(qp) == IB_QPT_RC) ||
 					     (qp_type(qp) == IB_QPT_UC))) {
 		unsigned int mtu = qp->mtu;
drivers/infiniband/sw/rxe/rxe_verbs.c +1 -1
index 0930350522e3..9f46b9f74825 100644
@@ -812,7 +812,7 @@ static void copy_inline_data_to_wqe(struct rxe_send_wqe *wqe,
 	int i;
 
 	for (i = 0; i < ibwr->num_sge; i++, sge++) {
-		memcpy(p, ib_virt_dma_to_page(sge->addr), sge->length);
+		memcpy(p, ib_virt_dma_to_ptr(sge->addr), sge->length);
 		p += sge->length;
 	}
 }
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c +1 -1
index bd0a596f9863..68b81f9c2f4b 100644
@@ -3193,7 +3193,7 @@ static void arm_smmu_setup_msis(struct arm_smmu_device *smmu)
 	smmu->priq.q.irq = msi_get_virq(dev, PRIQ_MSI_INDEX);
 
 	/* Add callback to free MSIs on teardown */
-	devm_add_action(dev, arm_smmu_free_msis, dev);
+	devm_add_action_or_reset(dev, arm_smmu_free_msis, dev);
 }
 
 static void arm_smmu_setup_unique_irqs(struct arm_smmu_device *smmu)
drivers/media/pci/intel/ipu-bridge.c +47 -19

184 lines not on this page · raw message

drivers/media/platform/mediatek/vcodec/common/mtk_vcodec_fw_scp.c +2 -0
index 9e744d07a1e8..774487fb72a3 100644
@@ -79,6 +79,8 @@ struct mtk_vcodec_fw *mtk_vcodec_fw_scp_init(void *priv, enum mtk_vcodec_fw_use
 	}
 
 	fw = devm_kzalloc(&plat_dev->dev, sizeof(*fw), GFP_KERNEL);
+	if (!fw)
+		return ERR_PTR(-ENOMEM);
 	fw->type = SCP;
 	fw->ops = &mtk_vcodec_rproc_msg;
 	fw->scp = scp;
drivers/net/dsa/realtek/rtl8366rb.c +20 -67

128 lines not on this page · raw message

drivers/net/ethernet/broadcom/bnxt/bnxt.c +2 -3
index 724624737d09..58a7bb75506a 100644
@@ -656,9 +656,6 @@ static netdev_tx_t bnxt_start_xmit(struct sk_buff *skb, struct net_device *dev)
 	return NETDEV_TX_OK;
 
 tx_dma_error:
-	if (BNXT_TX_PTP_IS_SET(lflags))
-		atomic_inc(&bp->ptp_cfg->tx_avail);
-
 	last_frag = i;
 
 	/* start back at beginning and unmap skb */
@@ -680,6 +677,8 @@ static netdev_tx_t bnxt_start_xmit(struct sk_buff *skb, struct net_device *dev)
 tx_free:
 	dev_kfree_skb_any(skb);
 tx_kick_pending:
+	if (BNXT_TX_PTP_IS_SET(lflags))
+		atomic_inc(&bp->ptp_cfg->tx_avail);
 	if (txr->kick_pending)
 		bnxt_txr_db_kick(bp, txr, txr->tx_prod);
 	txr->tx_buf_ring[txr->tx_prod].skb = NULL;
drivers/net/ethernet/intel/ice/ice_main.c +6 -1
index 5d71febdcd4d..26ef8aec4cfd 100644
@@ -5348,7 +5348,7 @@ static int __maybe_unused ice_suspend(struct device *dev)
 	 */
 	disabled = ice_service_task_stop(pf);
 
-	ice_unplug_aux_dev(pf);
+	ice_deinit_rdma(pf);
 
 	/* Already suspended?, then there is nothing to do */
 	if (test_and_set_bit(ICE_SUSPENDED, pf->state)) {
@@ -5428,6 +5428,11 @@ static int __maybe_unused ice_resume(struct device *dev)
 	if (ret)
 		dev_err(dev, "Cannot restore interrupt scheme: %d\n", ret);
 
+	ret = ice_init_rdma(pf);
+	if (ret)
+		dev_err(dev, "Reinitialize RDMA during resume failed: %d\n",
+			ret);
+
 	clear_bit(ICE_DOWN, pf->state);
 	/* Now perform PF reset and rebuild */
 	reset_type = ICE_RESET_PFR;
drivers/net/ethernet/intel/ice/ice_switch.c +4 -2
index 4c6d58bb2690..d2a2388d4fa0 100644
@@ -1829,7 +1829,8 @@ ice_aq_alloc_free_vsi_list(struct ice_hw *hw, u16 *vsi_list_id,
 	    lkup_type == ICE_SW_LKUP_ETHERTYPE_MAC ||
 	    lkup_type == ICE_SW_LKUP_PROMISC ||
 	    lkup_type == ICE_SW_LKUP_PROMISC_VLAN ||
-	    lkup_type == ICE_SW_LKUP_DFLT) {
+	    lkup_type == ICE_SW_LKUP_DFLT ||
+	    lkup_type == ICE_SW_LKUP_LAST) {
 		sw_buf->res_type = cpu_to_le16(ICE_AQC_RES_TYPE_VSI_LIST_REP);
 	} else if (lkup_type == ICE_SW_LKUP_VLAN) {
 		if (opc == ice_aqc_opc_alloc_res)
@@ -2775,7 +2776,8 @@ ice_update_vsi_list_rule(struct ice_hw *hw, u16 *vsi_handle_arr, u16 num_vsi,
 	    lkup_type == ICE_SW_LKUP_ETHERTYPE_MAC ||
 	    lkup_type == ICE_SW_LKUP_PROMISC ||
 	    lkup_type == ICE_SW_LKUP_PROMISC_VLAN ||
-	    lkup_type == ICE_SW_LKUP_DFLT)
+	    lkup_type == ICE_SW_LKUP_DFLT ||
+	    lkup_type == ICE_SW_LKUP_LAST)
 		rule_type = remove ? ICE_AQC_SW_RULES_T_VSI_LIST_CLEAR :
 			ICE_AQC_SW_RULES_T_VSI_LIST_SET;
 	else if (lkup_type == ICE_SW_LKUP_VLAN)
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c +4 -1
index aca17082b9ec..05f4aa11b95c 100644
@@ -4001,7 +4001,10 @@ static int mvpp2_rx(struct mvpp2_port *port, struct napi_struct *napi,
 			}
 		}
 
-		skb = build_skb(data, frag_size);
+		if (frag_size)
+			skb = build_skb(data, frag_size);
+		else
+			skb = slab_build_skb(data);
 		if (!skb) {
 			netdev_warn(port->dev, "skb build failed\n");
 			goto err_drop_frame;
drivers/net/ethernet/marvell/octeontx2/nic/Makefile +1 -2
index 5664f768cb0c..64a97a0a10ed 100644
@@ -9,10 +9,9 @@ obj-$(CONFIG_OCTEONTX2_VF) += rvu_nicvf.o otx2_ptp.o
 rvu_nicpf-y := otx2_pf.o otx2_common.o otx2_txrx.o otx2_ethtool.o \
                otx2_flows.o otx2_tc.o cn10k.o otx2_dmac_flt.o \
                otx2_devlink.o qos_sq.o qos.o
-rvu_nicvf-y := otx2_vf.o otx2_devlink.o
+rvu_nicvf-y := otx2_vf.o
 
 rvu_nicpf-$(CONFIG_DCB) += otx2_dcbnl.o
-rvu_nicvf-$(CONFIG_DCB) += otx2_dcbnl.o
 rvu_nicpf-$(CONFIG_MACSEC) += cn10k_macsec.o
 
 ccflags-y += -I$(srctree)/drivers/net/ethernet/marvell/octeontx2/af
drivers/net/ethernet/marvell/octeontx2/nic/otx2_dcbnl.c +7 -0
index 28fb643d2917..aa01110f04a3 100644
@@ -54,6 +54,7 @@ int otx2_pfc_txschq_config(struct otx2_nic *pfvf)
 
 	return 0;
 }
+EXPORT_SYMBOL(otx2_pfc_txschq_config);
 
 static int otx2_pfc_txschq_alloc_one(struct otx2_nic *pfvf, u8 prio)
 {
@@ -122,6 +123,7 @@ int otx2_pfc_txschq_alloc(struct otx2_nic *pfvf)
 
 	return 0;
 }
+EXPORT_SYMBOL(otx2_pfc_txschq_alloc);
 
 static int otx2_pfc_txschq_stop_one(struct otx2_nic *pfvf, u8 prio)
 {
@@ -260,6 +262,7 @@ int otx2_pfc_txschq_update(struct otx2_nic *pfvf)
 
 	return 0;
 }
+EXPORT_SYMBOL(otx2_pfc_txschq_update);
 
 int otx2_pfc_txschq_stop(struct otx2_nic *pfvf)
 {
@@ -282,6 +285,7 @@ int otx2_pfc_txschq_stop(struct otx2_nic *pfvf)
 
 	return 0;
 }
+EXPORT_SYMBOL(otx2_pfc_txschq_stop);
 
 int otx2_config_priority_flow_ctrl(struct otx2_nic *pfvf)
 {
@@ -321,6 +325,7 @@ int otx2_config_priority_flow_ctrl(struct otx2_nic *pfvf)
 	mutex_unlock(&pfvf->mbox.lock);
 	return err;
 }
+EXPORT_SYMBOL(otx2_config_priority_flow_ctrl);
 
 void otx2_update_bpid_in_rqctx(struct otx2_nic *pfvf, int vlan_prio, int qidx,
 			       bool pfc_enable)
@@ -385,6 +390,7 @@ void otx2_update_bpid_in_rqctx(struct otx2_nic *pfvf, int vlan_prio, int qidx,
 			 "Updating BPIDs in CQ and Aura contexts of RQ%d failed with err %d\n",
 			 qidx, err);
 }
+EXPORT_SYMBOL(otx2_update_bpid_in_rqctx);
 
 static int otx2_dcbnl_ieee_getpfc(struct net_device *dev, struct ieee_pfc *pfc)
 {
@@ -472,3 +478,4 @@ int otx2_dcbnl_set_ops(struct net_device *dev)
 
 	return 0;
 }
+EXPORT_SYMBOL(otx2_dcbnl_set_ops);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.c +2 -0
index 4e1130496573..05956bf03c05 100644
@@ -112,6 +112,7 @@ int otx2_register_dl(struct otx2_nic *pfvf)
 	devlink_free(dl);
 	return err;
 }
+EXPORT_SYMBOL(otx2_register_dl);
 
 void otx2_unregister_dl(struct otx2_nic *pfvf)
 {
@@ -123,3 +124,4 @@ void otx2_unregister_dl(struct otx2_nic *pfvf)
 				  ARRAY_SIZE(otx2_dl_params));
 	devlink_free(dl);
 }
+EXPORT_SYMBOL(otx2_unregister_dl);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c +4 -1
index f828d32737af..04a49b9b545f 100644
@@ -1171,8 +1171,11 @@ bool otx2_sq_append_skb(struct net_device *netdev, struct otx2_snd_queue *sq,
 
 	if (skb_shinfo(skb)->gso_size && !is_hw_tso_supported(pfvf, skb)) {
 		/* Insert vlan tag before giving pkt to tso */
-		if (skb_vlan_tag_present(skb))
+		if (skb_vlan_tag_present(skb)) {
 			skb = __vlan_hwaccel_push_inside(skb);
+			if (!skb)
+				return true;
+		}
 		otx2_sq_append_tso(pfvf, sq, skb, qidx);
 		return true;
 	}
drivers/net/ethernet/microchip/lan743x_ethtool.c +40 -4

65 lines not on this page · raw message

drivers/net/ethernet/microchip/lan743x_main.c +40 -8

91 lines not on this page · raw message

drivers/net/ethernet/microchip/lan743x_main.h +28 -0
index f0b486f85450..3b2c6046eb3a 100644
@@ -61,6 +61,7 @@
 #define PMT_CTL_RX_FCT_RFE_D3_CLK_OVR_		BIT(18)
 #define PMT_CTL_GPIO_WAKEUP_EN_			BIT(15)
 #define PMT_CTL_EEE_WAKEUP_EN_			BIT(13)
+#define PMT_CTL_RES_CLR_WKP_MASK_		GENMASK(9, 8)
 #define PMT_CTL_READY_				BIT(7)
 #define PMT_CTL_ETH_PHY_RST_			BIT(4)
 #define PMT_CTL_WOL_EN_				BIT(3)
@@ -227,12 +228,31 @@
 #define MAC_WUCSR				(0x140)
 #define MAC_MP_SO_EN_				BIT(21)
 #define MAC_WUCSR_RFE_WAKE_EN_			BIT(14)
+#define MAC_WUCSR_EEE_TX_WAKE_			BIT(13)
+#define MAC_WUCSR_EEE_RX_WAKE_			BIT(11)
+#define MAC_WUCSR_RFE_WAKE_FR_			BIT(9)
+#define MAC_WUCSR_PFDA_FR_			BIT(7)
+#define MAC_WUCSR_WUFR_				BIT(6)
+#define MAC_WUCSR_MPR_				BIT(5)
+#define MAC_WUCSR_BCAST_FR_			BIT(4)
 #define MAC_WUCSR_PFDA_EN_			BIT(3)
 #define MAC_WUCSR_WAKE_EN_			BIT(2)
 #define MAC_WUCSR_MPEN_				BIT(1)
 #define MAC_WUCSR_BCST_EN_			BIT(0)
 
 #define MAC_WK_SRC				(0x144)
+#define MAC_WK_SRC_ETH_PHY_WK_			BIT(17)
+#define MAC_WK_SRC_IPV6_TCPSYN_RCD_WK_		BIT(16)
+#define MAC_WK_SRC_IPV4_TCPSYN_RCD_WK_		BIT(15)
+#define MAC_WK_SRC_EEE_TX_WK_			BIT(14)
+#define MAC_WK_SRC_EEE_RX_WK_			BIT(13)
+#define MAC_WK_SRC_RFE_FR_WK_			BIT(12)
+#define MAC_WK_SRC_PFDA_FR_WK_			BIT(11)
+#define MAC_WK_SRC_MP_FR_WK_			BIT(10)
+#define MAC_WK_SRC_BCAST_FR_WK_			BIT(9)
+#define MAC_WK_SRC_WU_FR_WK_			BIT(8)
+#define MAC_WK_SRC_WK_FR_SAVED_			BIT(7)
+
 #define MAC_MP_SO_HI				(0x148)
 #define MAC_MP_SO_LO				(0x14C)
 
@@ -295,6 +315,10 @@
 #define RFE_INDX(index)			(0x580 + (index << 2))
 
 #define MAC_WUCSR2			(0x600)
+#define MAC_WUCSR2_NS_RCD_		BIT(7)
+#define MAC_WUCSR2_ARP_RCD_		BIT(6)
+#define MAC_WUCSR2_IPV6_TCPSYN_RCD_	BIT(5)
+#define MAC_WUCSR2_IPV4_TCPSYN_RCD_	BIT(4)
 
 #define SGMII_ACC			(0x720)
 #define SGMII_ACC_SGMII_BZY_		BIT(31)
@@ -1010,6 +1034,8 @@ enum lan743x_sgmii_lsd {
 	LINK_2500_SLAVE
 };
 
+#define MAC_SUPPORTED_WAKES  (WAKE_BCAST | WAKE_UCAST | WAKE_MCAST | \
+			      WAKE_MAGIC | WAKE_ARP)
 struct lan743x_adapter {
 	struct net_device       *netdev;
 	struct mii_bus		*mdiobus;
@@ -1017,6 +1043,8 @@ struct lan743x_adapter {
 #ifdef CONFIG_PM
 	u32			wolopts;
 	u8			sopass[SOPASS_MAX];
+	u32			phy_wolopts;
+	u32			phy_wol_supported;
 #endif
 	struct pci_dev		*pdev;
 	struct lan743x_csr      csr;
drivers/net/ethernet/qualcomm/qca_debug.c +2 -4
index 1822f2ad8f0d..2ac1b1b96e6a 100644
@@ -111,10 +111,8 @@ qcaspi_info_show(struct seq_file *s, void *what)
 
 	seq_printf(s, "IRQ              : %d\n",
 		   qca->spi_dev->irq);
-	seq_printf(s, "INTR REQ         : %u\n",
-		   qca->intr_req);
-	seq_printf(s, "INTR SVC         : %u\n",
-		   qca->intr_svc);
+	seq_printf(s, "INTR             : %lx\n",
+		   qca->intr);
 
 	seq_printf(s, "SPI max speed    : %lu\n",
 		   (unsigned long)qca->spi_dev->max_speed_hz);
drivers/net/ethernet/qualcomm/qca_spi.c +8 -8
index 5f3c11fb3fa2..b697a9e6face 100644
@@ -48,6 +48,8 @@
 
 #define MAX_DMA_BURST_LEN 5000
 
+#define SPI_INTR 0
+
 /*   Modules parameters     */
 #define QCASPI_CLK_SPEED_MIN 1000000
 #define QCASPI_CLK_SPEED_MAX 16000000
@@ -592,14 +594,14 @@ qcaspi_spi_thread(void *data)
 			continue;
 		}
 
-		if ((qca->intr_req == qca->intr_svc) &&
+		if (!test_bit(SPI_INTR, &qca->intr) &&
 		    !qca->txr.skb[qca->txr.head])
 			schedule();
 
 		set_current_state(TASK_RUNNING);
 
-		netdev_dbg(qca->net_dev, "have work to do. int: %d, tx_skb: %p\n",
-			   qca->intr_req - qca->intr_svc,
+		netdev_dbg(qca->net_dev, "have work to do. int: %lu, tx_skb: %p\n",
+			   qca->intr,
 			   qca->txr.skb[qca->txr.head]);
 
 		qcaspi_qca7k_sync(qca, QCASPI_EVENT_UPDATE);
@@ -613,8 +615,7 @@ qcaspi_spi_thread(void *data)
 			msleep(QCASPI_QCA7K_REBOOT_TIME_MS);
 		}
 
-		if (qca->intr_svc != qca->intr_req) {
-			qca->intr_svc = qca->intr_req;
+		if (test_and_clear_bit(SPI_INTR, &qca->intr)) {
 			start_spi_intr_handling(qca, &intr_cause);
 
 			if (intr_cause & SPI_INT_CPU_ON) {
@@ -676,7 +677,7 @@ qcaspi_intr_handler(int irq, void *data)
 {
 	struct qcaspi *qca = data;
 
-	qca->intr_req++;
+	set_bit(SPI_INTR, &qca->intr);
 	if (qca->spi_thread)
 		wake_up_process(qca->spi_thread);
 
@@ -692,8 +693,7 @@ qcaspi_netdev_open(struct net_device *dev)
 	if (!qca)
 		return -EINVAL;
 
-	qca->intr_req = 1;
-	qca->intr_svc = 0;
+	set_bit(SPI_INTR, &qca->intr);
 	qca->sync = QCASPI_SYNC_UNKNOWN;
 	qcafrm_fsm_init_spi(&qca->frm_handle);
 
drivers/net/ethernet/qualcomm/qca_spi.h +1 -2
index 3067356106f0..58ad910068d4 100644
@@ -93,8 +93,7 @@ struct qcaspi {
 	struct qcafrm_handle frm_handle;
 	struct sk_buff *rx_skb;
 
-	unsigned int intr_req;
-	unsigned int intr_svc;
+	unsigned long intr;
 	u16 reset_count;
 
 #ifdef CONFIG_DEBUG_FS
drivers/net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c +5 -1
index f05bd757dfe5..5ef52ef2698f 100644
@@ -218,6 +218,7 @@ static void timestamp_interrupt(struct stmmac_priv *priv)
 {
 	u32 num_snapshot, ts_status, tsync_int;
 	struct ptp_clock_event event;
+	u32 acr_value, channel;
 	unsigned long flags;
 	u64 ptp_time;
 	int i;
@@ -243,12 +244,15 @@ static void timestamp_interrupt(struct stmmac_priv *priv)
 	num_snapshot = (ts_status & GMAC_TIMESTAMP_ATSNS_MASK) >>
 		       GMAC_TIMESTAMP_ATSNS_SHIFT;
 
+	acr_value = readl(priv->ptpaddr + PTP_ACR);
+	channel = ilog2(FIELD_GET(PTP_ACR_MASK, acr_value));
+
 	for (i = 0; i < num_snapshot; i++) {
 		read_lock_irqsave(&priv->ptp_lock, flags);
 		get_ptptime(priv->ptpaddr, &ptp_time);
 		read_unlock_irqrestore(&priv->ptp_lock, flags);
 		event.type = PTP_CLOCK_EXTTS;
-		event.index = 0;
+		event.index = channel;
 		event.timestamp = ptp_time;
 		ptp_clock_event(priv->ptp_clock, &event);
 	}
drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c +22 -18
index 2467598f9d92..77245f856dd0 100644
@@ -358,24 +358,28 @@ static int tc_setup_cbs(struct stmmac_priv *priv,
 
 	port_transmit_rate_kbps = qopt->idleslope - qopt->sendslope;
 
-	/* Port Transmit Rate and Speed Divider */
-	switch (div_s64(port_transmit_rate_kbps, 1000)) {
-	case SPEED_10000:
-	case SPEED_5000:
-		ptr = 32;
-		break;
-	case SPEED_2500:
-	case SPEED_1000:
-		ptr = 8;
-		break;
-	case SPEED_100:
-		ptr = 4;
-		break;
-	default:
-		netdev_err(priv->dev,
-			   "Invalid portTransmitRate %lld (idleSlope - sendSlope)\n",
-			   port_transmit_rate_kbps);
-		return -EINVAL;
+	if (qopt->enable) {
+		/* Port Transmit Rate and Speed Divider */
+		switch (div_s64(port_transmit_rate_kbps, 1000)) {
+		case SPEED_10000:
+		case SPEED_5000:
+			ptr = 32;
+			break;
+		case SPEED_2500:
+		case SPEED_1000:
+			ptr = 8;
+			break;
+		case SPEED_100:
+			ptr = 4;
+			break;
+		default:
+			netdev_err(priv->dev,
+				   "Invalid portTransmitRate %lld (idleSlope - sendSlope)\n",
+				   port_transmit_rate_kbps);
+			return -EINVAL;
+		}
+	} else {
+		ptr = 0;
 	}
 
 	mode_to_use = priv->plat->tx_queues_cfg[queue].mode_to_use;
drivers/net/phy/mxl-gpy.c +38 -20

122 lines not on this page · raw message

drivers/net/phy/sfp.c +3 -0
index 8152e14250f2..4278a93b055e 100644
@@ -482,6 +482,9 @@ static const struct sfp_quirk sfp_quirks[] = {
 	SFP_QUIRK_F("Walsun", "HXSX-ATRC-1", sfp_fixup_fs_10gt),
 	SFP_QUIRK_F("Walsun", "HXSX-ATRI-1", sfp_fixup_fs_10gt),
 
+	// OEM SFP-GE-T is a 1000Base-T module with broken TX_FAULT indicator
+	SFP_QUIRK_F("OEM", "SFP-GE-T", sfp_fixup_ignore_tx_fault),
+
 	SFP_QUIRK_F("OEM", "SFP-10G-T", sfp_fixup_rollball_cc),
 	SFP_QUIRK_M("OEM", "SFP-2.5G-T", sfp_quirk_oem_2_5g),
 	SFP_QUIRK_F("OEM", "RTSFP-10", sfp_fixup_rollball_cc),
drivers/net/usb/ax88179_178a.c +13 -5
index 6d31061818e9..53f6efc22f5c 100644
@@ -174,7 +174,6 @@ struct ax88179_data {
 	u32 wol_supported;
 	u32 wolopts;
 	u8 disconnecting;
-	u8 initialized;
 };
 
 struct ax88179_int_data {
@@ -1676,12 +1675,21 @@ static int ax88179_reset(struct usbnet *dev)
 
 static int ax88179_net_reset(struct usbnet *dev)
 {
-	struct ax88179_data *ax179_data = dev->driver_priv;
+	u16 tmp16;
 
-	if (ax179_data->initialized)
+	ax88179_read_cmd(dev, AX_ACCESS_PHY, AX88179_PHY_ID, GMII_PHY_PHYSR,
+			 2, &tmp16);
+	if (tmp16) {
+		ax88179_read_cmd(dev, AX_ACCESS_MAC, AX_MEDIUM_STATUS_MODE,
+				 2, 2, &tmp16);
+		if (!(tmp16 & AX_MEDIUM_RECEIVE_EN)) {
+			tmp16 |= AX_MEDIUM_RECEIVE_EN;
+			ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_MEDIUM_STATUS_MODE,
+					  2, 2, &tmp16);
+		}
+	} else {
 		ax88179_reset(dev);
-	else
-		ax179_data->initialized = 1;
+	}
 
 	return 0;
 }
drivers/net/usb/rtl8150.c +2 -1
index 97afd7335d86..01a3b2417a54 100644
@@ -778,7 +778,8 @@ static int rtl8150_get_link_ksettings(struct net_device *netdev,
 				      struct ethtool_link_ksettings *ecmd)
 {
 	rtl8150_t *dev = netdev_priv(netdev);
-	short lpa, bmcr;
+	short lpa = 0;
+	short bmcr = 0;
 	u32 supported;
 
 	supported = (SUPPORTED_10baseT_Half |
drivers/net/virtio_net.c +29 -3
index 56cbe00126bb..51ade909c84f 100644
@@ -1190,6 +1190,10 @@ static struct sk_buff *receive_small_xdp(struct net_device *dev,
 	if (unlikely(hdr->hdr.gso_type))
 		goto err_xdp;
 
+	/* Partially checksummed packets must be dropped. */
+	if (unlikely(hdr->hdr.flags & VIRTIO_NET_HDR_F_NEEDS_CSUM))
+		goto err_xdp;
[… more lines in the raw message]

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

drivers/net/wireless/ath/ath.h +4 -2
index f02a308a9ffc..34654f710d8a 100644

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

drivers/net/wireless/ath/ath9k/main.c +1 -2
index 1494feedb27d..aa271b82875e 100644

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

drivers/net/wireless/mediatek/mt76/mt7921/mac.c +2 -0
index 21f937454229..cd4eee374922 100644

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

drivers/net/wireless/mediatek/mt76/mt7921/pci_mac.c +0 -2
index c866144ff061..031ba9aaa4e2 100644

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

drivers/net/wireless/mediatek/mt76/mt7921/sdio_mac.c +0 -2
index 389eb0903807..1f77cf71ca70 100644

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

drivers/net/wireless/mediatek/mt76/sdio.c +2 -1
index c52d550f0c32..2c761d469c06 100644

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

drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h +9 -0
index 4695fb4e2d2d..af541e52e683 100644

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

drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c +5 -2
index 5422f8da29e6..6e47dde93890 100644

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

drivers/pci/pci.c +17 -0
index 6ea01007031a..cd759e19cc18 100644

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

drivers/platform/x86/p2sb.c +15 -14
index a64f56ddd4a4..053be5c5e0ca 100644

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

drivers/platform/x86/toshiba_acpi.c +33 -3
index 291f14ef6702..2a5a651235fe 100644

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

drivers/power/supply/cros_usbpd-charger.c +9 -2
index b6c96376776a..8008e31c0c09 100644

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

drivers/ptp/ptp_sysfs.c +1 -2
index 34ea5c16123a..aefc06ae5d09 100644

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

drivers/regulator/bd71815-regulator.c +1 -1
index 26192d55a685..79fbb45297f6 100644

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

drivers/regulator/core.c +1 -0
index dfb986377a98..c96bf095695f 100644

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

drivers/scsi/qedi/qedi_debugfs.c +4 -8
index 8deb2001dc2f..37eed6a27816 100644

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

drivers/spi/spi-cs42l43.c +1 -1
index c1556b652909..3169febd8051 100644

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

drivers/spi/spi-imx.c +2 -12
index 0e479c540621..d323b3772392 100644

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

drivers/spi/spi-stm32-qspi.c +5 -7
index def74ae9b5f6..f37dd7dbb9d2 100644

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

drivers/ssb/main.c +3 -1
index ab080cf26c9f..0c736d51566d 100644

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

drivers/thermal/mediatek/lvts_thermal.c +5 -1
index a4e56017dda3..666f440b6663 100644

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

drivers/tty/serial/8250/8250_dw.c +27 -0
index 777bea835b11..8aed33be2ebf 100644

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

drivers/tty/serial/8250/8250_dwlib.h +0 -32
index 794a9014cdac..7dd2a8e7b780 100644

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

drivers/tty/serial/8250/8250_exar.c +42 -0

42 lines not on this page · raw message

drivers/tty/serial/imx.c +4 -3
index c77831e91ec2..a1476e47c6aa 100644

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

drivers/tty/tty_ldisc.c +6 -0
index 3f68e213df1f..d80e9d4c974b 100644

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

drivers/tty/vt/vt.c +10 -0
index e66ff9c11dad..a22da757ca6d 100644

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

drivers/ufs/core/ufshcd.c +1 -0
index 40689757a269..7bb820bfd743 100644

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

drivers/usb/dwc3/dwc3-pci.c +7 -1
index 497deed38c0c..9ef821ca2fc7 100644

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

drivers/usb/gadget/function/f_hid.c +3 -3
index 3c8a9dd585c0..2db01e03bfbf 100644

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

drivers/usb/gadget/function/f_printer.c +3 -3
index 076dd4c1be96..ba7d180cc9e6 100644

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

drivers/usb/gadget/function/rndis.c +2 -2
index 29bf8664bf58..12c5d9cf450c 100644

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

drivers/usb/gadget/function/uvc_configfs.c +13 -1
index d16c04d2961b..4acf336e946d 100644

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

drivers/usb/misc/uss720.c +13 -7
index b00d92db5dfd..eb5a8e0d9e2d 100644

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

drivers/usb/typec/ucsi/ucsi_glink.c +3 -5
index 894622b6556a..ee239a6b8f61 100644

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

drivers/vfio/pci/vfio_pci_core.c +49 -29

78 lines not on this page · raw message

fs/btrfs/bio.c +3 -1
index 12b12443efaa..e47eb248309f 100644

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

fs/btrfs/block-group.c +9 -2
index 77a9984647ac..b3accb082af0 100644

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

fs/ext4/mballoc.c +4 -0
index aadfeb0f5b7f..f55ab800a753 100644

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

fs/ext4/super.c +10 -12
index 83fc3f092a0c..5baacb3058ab 100644

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

fs/ext4/sysfs.c +18 -6
index 6d332dff79dd..63cbda3700ea 100644

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

fs/f2fs/super.c +8 -4
index ce2293e13fad..ce50d2253dd8 100644

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

fs/fs-writeback.c +5 -2
index 1767493dffda..0a498bc60f55 100644

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

fs/ocfs2/acl.c +2 -2
index e75137a8e7cb..62464d194da3 100644

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

fs/ocfs2/alloc.c +3 -3
index aef58f1395c8..f0937902f7b4 100644

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

fs/ocfs2/aops.c +3 -3
index 0fdba30740ab..6ab03494fc6e 100644

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

fs/ocfs2/dir.c +5 -4
index 8b123d543e6e..a14c8fee6ee5 100644

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

fs/ocfs2/dlmfs/dlmfs.c +2 -2
index 81265123ce6c..9b57d012fd5c 100644

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

fs/ocfs2/dlmglue.c +14 -15
index c3e2961ee5db..64a6ef638495 100644

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

fs/ocfs2/file.c +16 -14
index f861b8c345e8..8bbe4a2b48a2 100644

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

fs/ocfs2/inode.c +14 -14
index e8771600b930..999111bfc271 100644

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

fs/ocfs2/journal.c +107 -85

192 lines not on this page · raw message

fs/ocfs2/move_extents.c +2 -2
index 05d67968a3a9..1f9ed117e78b 100644

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

fs/ocfs2/namei.c +10 -8
index 8e648073bf71..21b3d5b9be60 100644

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

fs/ocfs2/ocfs2.h +27 -0
index a503c553bab2..8fe826143d7b 100644

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

fs/ocfs2/refcounttree.c +6 -6
index 25c8ec3c8c3a..3f80a56d0d60 100644

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

fs/ocfs2/super.c +3 -1
index 1259fe02cd53..cfc093937a17 100644

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

fs/ocfs2/xattr.c +2 -2
index 6510ad783c91..b562cfef888a 100644

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

fs/overlayfs/export.c +5 -1
index 26b782c53910..611ff567a1aa 100644

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

fs/smb/client/cifsfs.c +1 -1
index f1dcb86ab989..975697f8079d 100644

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

fs/udf/udftime.c +8 -3
index 758163af39c2..78ecc633606f 100644

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

include/acpi/acpixf.h +4 -0
index 3d90716f9522..f5fbc15e5698 100644

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

include/linux/atomic/atomic-arch-fallback.h +3 -3
index b83ef19da13d..313a76571019 100644

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

include/linux/atomic/atomic-instrumented.h +4 -4
index d401b406ef7c..ce1af59e1c68 100644

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

include/linux/atomic/atomic-long.h +2 -2
index c82947170ddc..aa4a5c09660f 100644

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

include/linux/kcov.h +2 -0
index b851ba415e03..3b479a3d235a 100644

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

include/linux/kprobes.h +7 -0
index 8de5d51a0b5e..45d5b0a76b0b 100644

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

include/linux/mod_devicetable.h +2 -0
index b0678b093cb2..0f51bc24ae59 100644

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

include/linux/pci.h +6 -1
index ee89a69817aa..512cb40150df 100644

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

include/linux/tty_driver.h +8 -0
index 18beff0cec1a..b4f99f6a5385 100644

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

include/net/netns/netfilter.h +3 -0
index 02bbdc577f8e..a6a0bf4a247e 100644

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

include/net/sch_generic.h +1 -0
index e940debac400..2799d44e5b97 100644

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

io_uring/rsrc.c +0 -1
index 2e88b6658e4e..0f9dcde72ebf 100644

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

io_uring/sqpoll.c +8 -0
index 65b5dbe3c850..350436e55aaf 100644

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

kernel/gcov/gcc_4_7.c +3 -1
index 74a4ef1da9ad..fd75b4a484d7 100644

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

kernel/kcov.c +1 -0
index f9ac2e9e460f..9f4affae4fad 100644

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

kernel/kprobes.c +6 -0
index c2841e595713..add63428c0b4 100644

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

kernel/padata.c +4 -4
index 179fb1518070..c974568f65f5 100644

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

kernel/rcu/rcutorture.c +8 -8
index ade42d6a9d9b..781146600aa4 100644

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

kernel/trace/Kconfig +2 -2
index 61c541c36596..bcc97f1bd383 100644

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

kernel/trace/ftrace.c +1 -0
index 2f80239348f5..175eba24f562 100644

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

kernel/trace/preemptirq_delay_test.c +1 -0
index 8c4ffd076162..cb0871fbdb07 100644

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

mm/page_table_check.c +10 -1
index af69c3c8f7c2..6363f93a47c6 100644

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

net/batman-adv/originator.c +2 -0
index 34903df4fe93..dafef3a78ad5 100644

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

net/core/drop_monitor.c +10 -10
index b240d9aae4a6..58843a52bad0 100644

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

net/core/filter.c +5 -0
index df4578219e82..afe38b8dee02 100644

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

net/core/net_namespace.c +7 -2
index ebea4fa69976..018e213185a1 100644

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

net/core/netpoll.c +1 -1
index 543007f159f9..55bcacf67df3 100644

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

net/core/sock.c +3 -0
index 7f64a7b95cfb..55d85d50b3e4 100644

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

net/ipv4/cipso_ipv4.c +8 -4
index d048aa833293..685474ef11c4 100644

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

net/ipv4/tcp_input.c +1 -0
index f938442b202d..abd6e95d2dca 100644

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

net/ipv6/route.c +3 -1
index 29fa2ca07b46..eb3afaee62e8 100644

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

net/ipv6/seg6_local.c +4 -4
index 24e2b4b494cb..c434940131b1 100644

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

net/ipv6/xfrm6_policy.c +7 -1
index 42fb6996b077..444b0b4469a4 100644

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

net/netfilter/core.c +11 -2
index ef4e76e5aef9..7bae43b00ebb 100644

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

net/netfilter/ipset/ip_set_core.c +6 -5
index c7ae4d9bf3d2..61431690cbd5 100644

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

net/netfilter/nf_conntrack_standalone.c +0 -15
index 0ee98ce5b816..559665467b04 100644

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

net/netfilter/nf_hooks_lwtunnel.c +67 -0

67 lines not on this page · raw message

net/netfilter/nf_internals.h +6 -0
index 832ae64179f0..25403023060b 100644

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

net/netrom/nr_timer.c +2 -1
index 4e7c968cde2d..5e3ca068f04e 100644

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

net/packet/af_packet.c +14 -12
index ff1ddf544e17..10a6ec43efb9 100644

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

net/sched/act_api.c +43 -23

66 lines not on this page · raw message

net/sched/act_ct.c +11 -5
index a7b3f60dd0a8..1bd86868726b 100644

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

net/sched/sch_api.c +1 -0
index 5f25a2595add..0feb824242a6 100644

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

net/sched/sch_generic.c +4 -0
index 5d7e23f4cc0e..4023c955036b 100644

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

net/sched/sch_htb.c +3 -19
index 0d947414e616..19035ef8387f 100644

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

net/tipc/node.c +1 -0
index 3105abe97bb9..69053c039825 100644

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

scripts/atomic/kerneldoc/sub_and_test +1 -1
index d3760f7749d4..96615e50836b 100644

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

sound/core/seq/seq_ump_convert.c +2 -0
index 171fb75267af..d81f776a4c3d 100644

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

sound/hda/intel-dsp-config.c +1 -1
index d1f6cdcf1866..e7c2ef6c6b4c 100644

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

sound/pci/hda/cs35l41_hda.c +1 -1
index 3c157b006a5a..b437beae9b51 100644

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

sound/pci/hda/cs35l56_hda.c +2 -2
index 15e20d926139..78e2eeba4934 100644

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

sound/pci/hda/patch_realtek.c +9 -2
index 2151fb1bd0de..af70e764ea4b 100644

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

sound/pci/hda/tas2781_hda_i2c.c +2 -2
index a3dec624132d..75cc3676c1b9 100644

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

sound/soc/intel/boards/sof_sdw.c +18 -0
index 0ea7812125fe..5980fce81797 100644

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

tools/perf/Documentation/perf-script.txt +4 -3
index ff9a52e44688..66b633f3c6d2 100644

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

tools/perf/builtin-script.c +19 -5
index 517bf25750c8..f4f3ef90a462 100644

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

tools/testing/selftests/arm64/tags/tags_test.c +4 -0
index 5701163460ef..955f87c1170d 100644

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

tools/testing/selftests/bpf/prog_tests/btf_map_in_map.c +1 -25
index a8b53b8736f0..f66ceccd7029 100644

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

tools/testing/selftests/bpf/test_tc_tunnel.sh +12 -1
index 910044f08908..7989ec608454 100755

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

tools/testing/selftests/net/openvswitch/openvswitch.sh +1 -1
index 36e40256ab92..bab7436c6834 100755

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

virt/kvm/kvm_main.c +3 -2
index 486800a7024b..0af1546cc223 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.