Skip to contentSkip to conversation

Linux 6.6.51

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

lore
Share & tools
lore

Greg Kroah-Hartman

author maintainer
#0 lore raw

I'm announcing the release of the 6.6.51 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

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

 MAINTAINERS                                                    |    2 
 Makefile                                                       |    2 
 arch/arm/include/asm/pgtable.h                                 |    2 
 arch/arm64/include/asm/acpi.h                                  |   12 
 arch/arm64/kernel/acpi_numa.c                                  |   11 
 arch/loongarch/kernel/relocate.c                               |    4 
 arch/mips/kernel/cevt-r4k.c                                    |   15 
 arch/powerpc/include/asm/nohash/mmu-e500.h                     |    3 
 arch/powerpc/kernel/vdso/vdso32.lds.S                          |    4 
 arch/powerpc/kernel/vdso/vdso64.lds.S                          |    4 
 arch/powerpc/lib/qspinlock.c                                   |   10 
 arch/powerpc/mm/nohash/Makefile                                |    2 
 arch/powerpc/mm/nohash/tlb.c                                   |  398 ----------
 arch/powerpc/mm/nohash/tlb_64e.c                               |  361 +++++++++
 arch/powerpc/mm/nohash/tlb_low_64e.S                           |  195 ----
 arch/riscv/Kconfig                                             |    5 
 arch/riscv/include/asm/kfence.h                                |    4 
 arch/riscv/include/asm/membarrier.h                            |   31 
 arch/riscv/include/asm/pgtable-64.h                            |   22 
 arch/riscv/include/asm/pgtable.h                               |   33 
 arch/riscv/kernel/efi.c                                        |    2 
 arch/riscv/kernel/head.S                                       |    3 
 arch/riscv/kernel/probes/kprobes.c                             |    5 
 arch/riscv/kvm/mmu.c                                           |   22 
 arch/riscv/mm/Makefile                                         |    3 
 arch/riscv/mm/context.c                                        |    2 
 arch/riscv/mm/fault.c                                          |   16 
 arch/riscv/mm/hugetlbpage.c                                    |   12 
 arch/riscv/mm/init.c                                           |    2 
 arch/riscv/mm/kasan_init.c                                     |   45 -
 arch/riscv/mm/pageattr.c                                       |   44 -
 arch/riscv/mm/pgtable.c                                        |   51 +
 arch/s390/kernel/vmlinux.lds.S                                 |    9 
 arch/um/drivers/line.c                                         |    2 
 arch/x86/coco/tdx/tdx.c                                        |    1 
 arch/x86/events/intel/core.c                                   |   23 
 arch/x86/include/asm/fpu/types.h                               |    7 
 arch/x86/include/asm/page_64.h                                 |    1 
 arch/x86/include/asm/pgtable_64_types.h                        |    4 
 arch/x86/kernel/apic/apic.c                                    |   11 
 arch/x86/kernel/fpu/xstate.c                                   |    3 
 arch/x86/kernel/fpu/xstate.h                                   |    4 
 arch/x86/kvm/svm/svm.c                                         |   15 
 arch/x86/kvm/x86.c                                             |    2 
 arch/x86/lib/iomem.c                                           |    5 
 arch/x86/mm/init_64.c                                          |    4 
 arch/x86/mm/kaslr.c                                            |   32 
 arch/x86/mm/pti.c                                              |   45 -
 drivers/accel/habanalabs/gaudi2/gaudi2_security.c              |    1 
 drivers/acpi/acpi_processor.c                                  |   15 
 drivers/acpi/cppc_acpi.c                                       |   13 
 drivers/android/binder.c                                       |    1 
 drivers/ata/libata-core.c                                      |    4 
 drivers/ata/libata-scsi.c                                      |   24 
 drivers/ata/pata_macio.c                                       |    7 
 drivers/base/devres.c                                          |    1 
 drivers/base/regmap/regcache-maple.c                           |    3 
 drivers/block/ublk_drv.c                                       |    2 
 drivers/bluetooth/btnxpuart.c                                  |   12 
 drivers/bluetooth/hci_qca.c                                    |    1 
 drivers/clk/qcom/clk-alpha-pll.c                               |    6 
 drivers/clk/qcom/clk-rcg.h                                     |    1 
 drivers/clk/qcom/clk-rcg2.c                                    |   30 
 drivers/clk/qcom/gcc-ipq9574.c                                 |   12 
 drivers/clk/qcom/gcc-sm8550.c                                  |   54 -
 drivers/clk/starfive/clk-starfive-jh7110-sys.c                 |   31 
 drivers/clk/starfive/clk-starfive-jh71x0.h                     |    2 
 drivers/clocksource/timer-imx-tpm.c                            |   16 
 drivers/clocksource/timer-of.c                                 |   17 
 drivers/clocksource/timer-of.h                                 |    1 
 drivers/cpufreq/amd-pstate.c                                   |  147 +++
 drivers/crypto/intel/qat/qat_common/adf_gen2_pfvf.c            |    4 
 drivers/crypto/intel/qat/qat_dh895xcc/adf_dh895xcc_hw_data.c   |    8 
 drivers/crypto/starfive/jh7110-cryp.h                          |    4 
 drivers/crypto/starfive/jh7110-rsa.c                           |   15 
 drivers/cxl/core/region.c                                      |    5 
 drivers/firmware/cirrus/cs_dsp.c                               |    3 
 drivers/gpio/gpio-rockchip.c                                   |    1 
 drivers/gpio/gpio-zynqmp-modepin.c                             |    1 
 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c                         |   15 
 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c                    |   30 
 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c                        |   15 
 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.h                        |    1 
 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c                       |    4 
 drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c                         |    8 
 drivers/gpu/drm/amd/amdgpu/ih_v6_0.c                           |   28 
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c              |    2 
 drivers/gpu/drm/amd/display/dc/link/link_factory.c             |    6 
 drivers/gpu/drm/amd/display/modules/hdcp/hdcp1_execution.c     |   15 
 drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c                      |    6 
 drivers/gpu/drm/i915/gt/uc/intel_gsc_uc.c                      |    2 
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h                       |    5 
 drivers/gpu/drm/i915/i915_sw_fence.c                           |    8 
 drivers/hid/amd-sfh-hid/amd_sfh_hid.c                          |    4 
 drivers/hid/hid-cougar.c                                       |    2 
 drivers/hv/vmbus_drv.c                                         |    1 
 drivers/hwmon/adc128d818.c                                     |    4 
 drivers/hwmon/hp-wmi-sensors.c                                 |    2 
 drivers/hwmon/lm95234.c                                        |    9 
 drivers/hwmon/nct6775-core.c                                   |    2 
 drivers/hwmon/w83627ehf.c                                      |    4 
 drivers/i3c/master/mipi-i3c-hci/dma.c                          |    5 
 drivers/i3c/master/svc-i3c-master.c                            |   58 +
 drivers/iio/adc/ad7124.c                                       |   27 
 drivers/iio/adc/ad7606.c                                       |   28 
 drivers/iio/adc/ad7606.h                                       |    2 
 drivers/iio/adc/ad7606_par.c                                   |   48 +
 drivers/iio/buffer/industrialio-buffer-dmaengine.c             |    4 
 drivers/iio/inkern.c                                           |    8 
 drivers/input/misc/uinput.c                                    |   14 
 drivers/input/touchscreen/ili210x.c                            |    6 
 drivers/iommu/intel/dmar.c                                     |    2 
 drivers/iommu/sun50i-iommu.c                                   |    1 
 drivers/irqchip/irq-armada-370-xp.c                            |    4 
 drivers/irqchip/irq-gic-v2m.c                                  |    6 
 drivers/leds/leds-spi-byte.c                                   |    6 
 drivers/md/dm-init.c                                           |    4 
 drivers/media/platform/qcom/camss/camss.c                      |    5 
 drivers/media/test-drivers/vivid/vivid-vid-cap.c               |   17 
 drivers/media/test-drivers/vivid/vivid-vid-out.c               |   16 
 drivers/misc/fastrpc.c                                         |    5 
 drivers/misc/vmw_vmci/vmci_resource.c                          |    3 
 drivers/mmc/core/quirks.h                                      |   22 
 drivers/mmc/core/sd.c                                          |    4 
 drivers/mmc/host/cqhci-core.c                                  |    2 
 drivers/mmc/host/dw_mmc.c                                      |    4 
 drivers/mmc/host/sdhci-of-aspeed.c                             |    1 
 drivers/net/bareudp.c                                          |   22 
 drivers/net/can/kvaser_pciefd.c                                |   43 -
 drivers/net/can/m_can/m_can.c                                  |    5 
 drivers/net/can/spi/mcp251x.c                                  |    2 
 drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c                 |   28 
 drivers/net/can/spi/mcp251xfd/mcp251xfd-ram.c                  |   11 
 drivers/net/can/spi/mcp251xfd/mcp251xfd-ring.c                 |   23 
 drivers/net/can/spi/mcp251xfd/mcp251xfd-rx.c                   |  165 ++--
 drivers/net/can/spi/mcp251xfd/mcp251xfd-tef.c                  |    2 
 drivers/net/can/spi/mcp251xfd/mcp251xfd-timestamp.c            |   22 
 drivers/net/can/spi/mcp251xfd/mcp251xfd.h                      |   42 -
 drivers/net/dsa/vitesse-vsc73xx-core.c                         |   10 
 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c                 |   20 
 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c             |   10 
 drivers/net/ethernet/intel/e1000e/ich8lan.c                    |    2 
 drivers/net/ethernet/intel/ice/ice.h                           |    2 
 drivers/net/ethernet/intel/ice/ice_lib.c                       |   34 
 drivers/net/ethernet/intel/ice/ice_main.c                      |   46 -
 drivers/net/ethernet/intel/ice/ice_xsk.c                       |    3 
 drivers/net/ethernet/intel/igb/igb_main.c                      |   10 
 drivers/net/ethernet/intel/igc/igc_main.c                      |    1 
 drivers/net/ethernet/microchip/vcap/vcap_api_kunit.c           |   14 
 drivers/net/ethernet/microsoft/mana/mana_en.c                  |   22 
 drivers/net/mctp/mctp-serial.c                                 |    4 
 drivers/net/phy/phy_device.c                                   |    2 
 drivers/net/usb/ipheth.c                                       |    2 
 drivers/net/usb/r8152.c                                        |   17 
 drivers/net/usb/usbnet.c                                       |   11 
 drivers/net/wireless/ath/ath12k/mac.c                          |    9 
 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c |    1 
 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h                   |    3 
 drivers/net/wireless/marvell/mwifiex/main.h                    |    3 
 drivers/net/wireless/realtek/rtw88/usb.c                       |   13 
 drivers/nvme/host/pci.c                                        |   17 
 drivers/nvme/target/tcp.c                                      |    4 
 drivers/nvmem/core.c                                           |    6 
 drivers/of/irq.c                                               |   15 
 drivers/pci/controller/dwc/pci-keystone.c                      |   44 +
 drivers/pci/hotplug/pnv_php.c                                  |    3 
 drivers/pci/pci.c                                              |   35 
 drivers/pcmcia/yenta_socket.c                                  |    6 
 drivers/phy/xilinx/phy-zynqmp.c                                |    1 
 drivers/platform/x86/dell/dell-smbios-base.c                   |    5 
 drivers/scsi/pm8001/pm8001_sas.c                               |    4 
 drivers/spi/spi-fsl-lpspi.c                                    |   31 
 drivers/spi/spi-hisi-kunpeng.c                                 |    3 
 drivers/spi/spi-rockchip.c                                     |   23 
 drivers/staging/iio/frequency/ad9834.c                         |    2 
 drivers/ufs/core/ufshcd.c                                      |    7 
 drivers/uio/uio_hv_generic.c                                   |   11 
 drivers/usb/dwc3/core.c                                        |   15 
 drivers/usb/dwc3/core.h                                        |    2 
 drivers/usb/dwc3/gadget.c                                      |   41 -
 drivers/usb/gadget/udc/aspeed_udc.c                            |    2 
 drivers/usb/gadget/udc/cdns2/cdns2-gadget.c                    |   12 
 drivers/usb/gadget/udc/cdns2/cdns2-gadget.h                    |    9 
 drivers/usb/storage/uas.c                                      |    1 
 drivers/vfio/vfio_iommu_spapr_tce.c                            |   13 
 drivers/virtio/virtio_ring.c                                   |    4 
 drivers/xen/privcmd.c                                          |   10 
 fs/binfmt_elf.c                                                |    5 
 fs/btrfs/ctree.c                                               |   12 
 fs/btrfs/ctree.h                                               |    1 
 fs/btrfs/extent-tree.c                                         |   32 
 fs/btrfs/file.c                                                |   25 
 fs/btrfs/inode.c                                               |    2 
 fs/btrfs/transaction.h                                         |    6 
 fs/ext4/fast_commit.c                                          |    8 
 fs/fscache/main.c                                              |    1 
 fs/fuse/dir.c                                                  |    2 
 fs/fuse/file.c                                                 |    8 
 fs/fuse/xattr.c                                                |    4 
 fs/jbd2/recovery.c                                             |   30 
 fs/nfs/super.c                                                 |    2 
 fs/nilfs2/recovery.c                                           |   35 
 fs/nilfs2/segment.c                                            |   10 
 fs/nilfs2/sysfs.c                                              |   43 -
 fs/ntfs3/dir.c                                                 |   52 -
 fs/ntfs3/frecord.c                                             |    4 
 fs/smb/client/smb2inode.c                                      |    3 
 fs/smb/client/smb2ops.c                                        |   16 
 fs/smb/server/oplock.c                                         |    2 
 fs/smb/server/smb2pdu.c                                        |   14 
 fs/smb/server/transport_tcp.c                                  |    4 
 fs/squashfs/inode.c                                            |    7 
 fs/tracefs/event_inode.c                                       |    2 
 fs/udf/super.c                                                 |   15 
 fs/xattr.c                                                     |   91 +-
 include/acpi/cppc_acpi.h                                       |    5 
 include/linux/amd-pstate.h                                     |    4 
 include/linux/bpf-cgroup.h                                     |   16 
 include/linux/mm.h                                             |    4 
 include/linux/pgtable.h                                        |   21 
 include/linux/regulator/consumer.h                             |    8 
 include/net/bluetooth/hci.h                                    |    3 
 include/net/bluetooth/hci_core.h                               |   25 
 include/net/bluetooth/hci_sync.h                               |   24 
 include/net/mana/mana.h                                        |    2 
 include/net/sock.h                                             |    6 
 include/uapi/drm/drm_fourcc.h                                  |   18 
 kernel/bpf/cgroup.c                                            |   25 
 kernel/bpf/verifier.c                                          |    4 
 kernel/cgroup/cgroup.c                                         |    2 
 kernel/dma/map_benchmark.c                                     |   16 
 kernel/events/core.c                                           |   18 
 kernel/events/internal.h                                       |    1 
 kernel/events/ring_buffer.c                                    |    2 
 kernel/events/uprobes.c                                        |    3 
 kernel/kexec_file.c                                            |    2 
 kernel/locking/rtmutex.c                                       |    9 
 kernel/resource.c                                              |    6 
 kernel/sched/core.c                                            |    5 
 kernel/smp.c                                                   |    1 
 kernel/trace/trace.c                                           |    2 
 kernel/trace/trace_osnoise.c                                   |   50 -
 kernel/workqueue.c                                             |   12 
 lib/generic-radix-tree.c                                       |    2 
 mm/memory_hotplug.c                                            |    2 
 mm/sparse.c                                                    |    2 
 mm/userfaultfd.c                                               |   29 
 mm/vmalloc.c                                                   |    2 
 mm/vmscan.c                                                    |   24 
 net/bluetooth/hci_conn.c                                       |  158 ---
 net/bluetooth/hci_event.c                                      |   27 
 net/bluetooth/hci_sync.c                                       |  307 +++++++
 net/bluetooth/mgmt.c                                           |  144 +--
 net/bluetooth/smp.c                                            |    7 
 net/bridge/br_fdb.c                                            |    6 
 net/can/bcm.c                                                  |    4 
 net/core/sock.c                                                |    8 
 net/ipv4/fou_core.c                                            |   29 
 net/ipv4/tcp_bpf.c                                             |    2 
 net/ipv4/tcp_input.c                                           |    6 
 net/ipv6/ila/ila.h                                             |    1 
 net/ipv6/ila/ila_main.c                                        |    6 
 net/ipv6/ila/ila_xlat.c                                        |   13 
 net/netfilter/nf_conncount.c                                   |    8 
 net/sched/sch_cake.c                                           |   11 
 net/sched/sch_netem.c                                          |    9 
 net/socket.c                                                   |  104 +-
 net/unix/af_unix.c                                             |    9 
 rust/Makefile                                                  |    4 
 rust/kernel/types.rs                                           |    2 
 rust/macros/module.rs                                          |    6 
 security/smack/smack_lsm.c                                     |   12 
 sound/core/control.c                                           |    6 
 sound/hda/hdmi_chmap.c                                         |   18 
 sound/pci/hda/patch_conexant.c                                 |   11 
 sound/pci/hda/patch_realtek.c                                  |   10 
 sound/soc/codecs/tas2781-fmwlib.c                              |   71 -
 sound/soc/soc-dapm.c                                           |    1 
 sound/soc/soc-topology.c                                       |    2 
 sound/soc/sof/topology.c                                       |    2 
 sound/soc/sunxi/sun4i-i2s.c                                    |  143 +--
 sound/soc/tegra/tegra210_ahub.c                                |   10 
 tools/lib/bpf/libbpf.c                                         |    4 
 tools/testing/selftests/dmabuf-heaps/dmabuf-heap.c             |    4 
 tools/testing/selftests/net/Makefile                           |    3 
 285 files changed, 3297 insertions(+), 2004 deletions(-)

Aaradhana Sahu (1):
wifi: ath12k: fix uninitialize symbol error on ath12k_peer_assoc_h_he()

Ajith C (1):
wifi: ath12k: fix firmware crash due to invalid peer nss

Aleksandr Mishin (2):
platform/x86: dell-smbios: Fix error path in dell_smbios_init()
staging: iio: frequency: ad9834: Validate frequency parameter value

Alex Deucher (1):
Revert "drm/amdgpu: align pp_power_profile_mode with kernel docs"

Alex Hung (3):
drm/amd/display: Run DC_LOG_DC after checking link->link_enc drm/amd/display: Check HDCP returned status drm/amd/display: Check denominator pbn_div before used

Alexandre Ghiti (5):
riscv: Use WRITE_ONCE() when setting page table entries
mm: Introduce pudp/p4dp/pgdp_get() functions
riscv: mm: Only compile pgtable.c if MMU
riscv: Use accessors to page table entries instead of direct dereference
riscv: Do not restrict memory size because of linear mapping on nommu

Alexey Dobriyan (1):
ELF: fix kernel.randomize_va_space double read

Alison Schofield (1):
cxl/region: Verify target positions using the ordered target list

Amadeusz Sławiński (1):
ASoC: topology: Properly initialize soc_enum values

Andrea Parri (1):
membarrier: riscv: Add full memory barrier in switch_mm()

Andreas Hindborg (1):
rust: kbuild: fix export of bss symbols

Andreas Ziegler (1):

      libbpf: Add NULL checks to bpf_object__{prev_map,next_map}

Andy Shevchenko (3):
leds: spi-byte: Call of_node_put() on error path drm/i915/fence: Mark debug_fence_init_onstack() with __maybe_unused drm/i915/fence: Mark debug_fence_free() with __maybe_unused

Anton Blanchard (1):
riscv: Fix toolchain vector detection

Arend van Spriel (1):
wifi: brcmsmac: advertise MFP_CAPABLE to enable WPA3

Armin Wolf (1):
hwmon: (hp-wmi-sensors) Check if WMI event data exists

Arnd Bergmann (1):
regmap: maple: work around gcc-14.1 false-positive warning

Aurabindo Pillai (1):
drm/amd: Add gfx12 swizzle mode defs

Baokun Li (1):
fscache: delete fscache_cookie_lru_timer when fscache exits to avoid UAF

Benjamin Marzinski (1):
dm init: Handle minors larger than 255

Boqun Feng (2):
rust: types: Make Opaque::get const
rust: macros: provide correct provenance when constructing THIS_MODULE

Breno Leitao (4):
bpf: Add sockptr support for getsockopt
bpf: Add sockptr support for setsockopt
net/socket: Break down __sys_setsockopt
net/socket: Break down __sys_getsockopt

Brian Johannesmeyer (1):
x86/kmsan: Fix hook for unaligned accesses

Brian Norris (1):
spi: rockchip: Resolve unbalanced runtime PM / system PM handling

Camila Alvarez (1):
HID: cougar: fix slab-out-of-bounds Read in cougar_report_fixup

Carlos Llamas (1):
binder: fix UAF caused by offsets overwrite

Carlos Song (1):
spi: spi-fsl-lpspi: limit PRESCALE bit in TCR register

Chen Ni (1):
media: qcom: camss: Add check for v4l2_fwnode_endpoint_parse

Chen-Yu Tsai (1):
ASoc: SOF: topology: Clear SOF link platform name upon unload

ChenXiaoSong (1):
smb/server: fix potential null-ptr-deref of lease_ctx_info in smb2_open()

Christian König (1):
drm/amdgpu: reject gang submit on reserved VMIDs

Christoffer Sandberg (1):
ALSA: hda/conexant: Add pincfg quirk to enable top speakers on Sirius devices

Christophe Leroy (2):
powerpc/64e: Define mmu_pte_psize static
powerpc/vdso: Don't discard rela sections

Cong Wang (1):
tcp_bpf: fix return value of tcp_bpf_sendmsg()

Daiwei Li (1):
igb: Fix not clearing TimeSync interrupts for 82580

Dan Carpenter (2):
ksmbd: Unlock on in ksmbd_tcp_set_interfaces()
igc: Unlock on error in igc_io_resume()

Dan Williams (1):
PCI: Add missing bridge lock to pci_bus_lock()

Daniel Lezcano (1):
clocksource/drivers/timer-of: Remove percpu irq related code

Daniele Ceraolo Spurio (1):
drm/i915: Do not attempt to load the GSC multiple times

Danijel Slivka (1):
drm/amdgpu: clear RB_OVERFLOW bit when enabling interrupts

David Fernandez Gonzalez (1):
VMCI: Fix use-after-free when removing resource in vmci_resource_remove()

David Howells (2):
cifs: Fix FALLOC_FL_ZERO_RANGE to preflush buffered part of target region
vfs: Fix potential circular locking through setxattr() and removexattr()

David Lechner (1):
iio: buffer-dmaengine: fix releasing dma channel on error

David Sterba (1):
btrfs: initialize location to fix -Wmaybe-uninitialized in btrfs_lookup_dentry()

Dawid Osuchowski (1):
ice: Add netif_device_attach/detach into PF reset flow

Devyn Liu (1):
spi: hisi-kunpeng: Add verification for the max_frequency provided by the firmware

Dmitry Torokhov (2):
Input: ili210x - use kvmalloc() to allocate buffer for firmware update
Input: uinput - reject requests with unreasonable number of slots

Douglas Anderson (2):
regulator: core: Stub devm_regulator_bulk_get_const() if !CONFIG_REGULATOR
Bluetooth: qca: If memdump doesn't work, re-enable IBS

Dumitru Ceclan (2):
iio: adc: ad7124: fix config comparison
iio: adc: ad7124: fix chip ID mismatch

Eric Dumazet (1):
ila: call nf_unregister_net_hooks() sooner

Eric Joyner (1):
ice: Check all ice_vsi_rebuild() errors in function

Faisal Hassan (1):
usb: dwc3: core: update LC timer as per USB Spec V3.2

Filipe Manana (2):
btrfs: replace BUG_ON() with error handling at update_ref_for_cow()
btrfs: fix race between direct IO write and fsync when using same fd

Frank Li (1):
i3c: master: svc: resend target address when get NACK

Geert Uytterhoeven (1):
nvmem: Fix return type of devm_nvmem_device_get() in kerneldoc

Georg Gottleuber (1):
nvme-pci: Add sleep quirk for Samsung 990 Evo

Greg Kroah-Hartman (1):

      Linux 6.6.51

Guenter Roeck (4):
hwmon: (adc128d818) Fix underflows seen when writing limit attributes
hwmon: (lm95234) Fix underflows seen when writing limit attributes
hwmon: (nct6775-core) Fix underflows seen when writing limit attributes
hwmon: (w83627ehf) Fix underflows seen when writing limit attributes

Guillaume Nault (1):
bareudp: Fix device stats updates.

Guillaume Stols (1):
iio: adc: ad7606: remove frstdata check for serial mode

Hans Verkuil (2):
media: vivid: fix wrong sizeimage value for mplane
media: vivid: don't set HDMI TX controls if there are no HDMI outputs

Hareshx Sankar Raj (1):
crypto: qat - fix unintentional re-enabling of error interrupts

Hawking Zhang (1):
drm/amdgpu: Fix smatch static checker warning

Hayes Wang (1):
r8152: fix the firmware doesn't work

Heiko Carstens (1):
s390/vmlinux.lds.S: Move ro_after_init section behind rodata section

Huacai Chen (1):
LoongArch: Use correct API to map cmdline in relocate_kernel()

Igor Pylypiv (3):
scsi: pm80xx: Set phy->enable_completion only when we wait for it
ata: libata-scsi: Remove redundant sense_buffer memsets
ata: libata-scsi: Check ATA_QCFLAG_RTF_FILLED before using result_tf

Jacky Bai (2):
clocksource/drivers/imx-tpm: Fix return -ETIME when delta exceeds INT_MAX clocksource/drivers/imx-tpm: Fix next event not taking effect sometime

Jacob Pan (1):
iommu/vt-d: Handle volatile descriptor status read

James Morse (1):
arm64: acpi: Move get_cpu_for_acpi_id() to a header

Jamie Bainbridge (1):
selftests: net: enable bind tests

Jan Kara (1):
udf: Avoid excessive partition lengths

Jann Horn (3):
fuse: use unsigned type for getxattr/listxattr size truncation
userfaultfd: don't BUG_ON() if khugepaged yanks our page table
userfaultfd: fix checks for huge PMDs

Jarkko Nikula (1):
i3c: mipi-i3c-hci: Error out instead on BUG_ON() in IBI DMA setup

Jens Emil Schulz Østergaard (1):
net: microchip: vcap: Fix use-after-free error in kunit test

Jernej Skrabec (1):
iommu: sun50i: clear bypass register

Jia Jie Ho (2):
crypto: starfive - Align rsa input data to 32-bit
crypto: starfive - Fix nent assignment in rsa dec

Jiaxun Yang (1):
MIPS: cevt-r4k: Don't call get_c0_compare_int if timer irq is installed

Jinjie Ruan (1):
net: phy: Fix missing of_node_put() for leds

Joanne Koong (1):
fuse: update stats for pages in dropped aux writeback list

Johannes Berg (2):
wifi: iwlwifi: mvm: use IWL_FW_CHECK for link ID check
um: line: always fill *error_out in setup_one_line()

Jonas Dreßler (3):
Bluetooth: hci_event: Use HCI error defines instead of magic values
Bluetooth: hci_conn: Only do ACL connections sequentially
Bluetooth: Remove pending ACL connection attempts

Jonas Gorski (1):
net: bridge: br_fdb_external_learn_add(): always set EXT_LEARN

Jonathan Bell (1):
mmc: core: apply SD quirks earlier during probe

Jonathan Cameron (3):
ACPI: processor: Return an error if acpi_processor_get_info() fails in processor_add()
ACPI: processor: Fix memory leaks in error paths of processor_add()
arm64: acpi: Harden get_cpu_for_acpi_id() against missing CPU entry

Josef Bacik (2):
btrfs: replace BUG_ON with ASSERT in walk_down_proc()
btrfs: clean up our handling of refs == 0 in snapshot delete

Jules Irenge (1):
pcmcia: Use resource_size function on resource object

Kan Liang (1):
perf/x86/intel: Limit the period on Haswell

Keith Busch (1):
nvme-pci: allocate tagset on reset if necessary

Kent Overstreet (1):
lib/generic-radix-tree.c: Fix rare race in __genradix_ptr_alloc()

Kirill A. Shutemov (1):
x86/tdx: Fix data leak in mmio_read()

Kishon Vijay Abraham I (1):
PCI: keystone: Add workaround for Errata #i2037 (AM65x SR 1.0)

Konstantin Andreev (1):
smack: unix sockets: fix accept()ed socket label

Konstantin Komarov (2):
fs/ntfs3: One more reason to mark inode bad fs/ntfs3: Check more cases when directory is corrupted

Krishna Kumar (1):
pci/hotplug/pnv_php: Fix hotplug driver crash on Powernv

Krzysztof Kozlowski (1):
gpio: rockchip: fix OF node leak in probe()

Kuniyuki Iwashima (4):
af_unix: Remove put_pid()/put_cred() in copy_peercred().
can: bcm: Remove proc entry when dev is unregistered.
fou: Fix null-ptr-deref in GRO.
tcp: Don't drop SYN+ACK for simultaneous connect().

Kyoungrul Kim (1):
scsi: ufs: core: Remove SCSI host only if added

Larysa Zaremba (2):
ice: protect XDP configuration with a mutex
ice: do not bring the VSI up, if it was down before the XDP setup

Leon Hwang (1):
bpf, verifier: Correct tail_call_reachable for bpf prog

Li Nan (1):
ublk_drv: fix NULL pointer dereference in ublk_ctrl_start_recovery()

Liao Chen (2):
mmc: sdhci-of-aspeed: fix module autoloading
gpio: modepin: Enable module autoloading

Luis Henriques (SUSE) (1):
ext4: fix possible tid_t sequence overflows

Luiz Augusto von Dentz (10):
Revert "Bluetooth: MGMT/SMP: Fix address type when using SMP over BREDR/LE"
Bluetooth: MGMT: Ignore keys being loaded with invalid type
Bluetooth: hci_conn: Fix UAF Write in __hci_acl_create_connection_sync
Bluetooth: hci_sync: Add helper functions to manipulate cmd_sync queue
Bluetooth: hci_sync: Attempt to dequeue connection attempt
Bluetooth: hci_sync: Introduce hci_cmd_sync_run/hci_cmd_sync_run_once
Bluetooth: MGMT: Fix not generating command complete for MGMT_OP_DISCONNECT
Bluetooth: hci_sync: Fix UAF in hci_acl_create_conn_sync
Bluetooth: hci_sync: Fix UAF on create_le_conn_complete
Bluetooth: hci_sync: Fix UAF on hci_abort_conn_sync

Ma Ke (2):
irqchip/gic-v2m: Fix refcount leak in gicv2m_of_init()
usb: gadget: aspeed_udc: validate endpoint index for ast udc

Marc Kleine-Budde (5):
can: mcp251xfd: fix ring configuration when switching from CAN-CC to CAN-FD mode
can: mcp251xfd: mcp251xfd_handle_rxif_ring_uinc(): factor out in separate function
can: mcp251xfd: rx: prepare to workaround broken RX FIFO head index erratum
can: mcp251xfd: clarify the meaning of timestamp
can: mcp251xfd: rx: add workaround for erratum DS80000789E 6 of mcp2518fd

Marcin Ślusarz (1):
wifi: rtw88: usb: schedule rx work after everything is set up

Marek Olšák (2):
drm/amdgpu: check for LINEAR_ALIGNED correctly in check_tiling_flags_gfx6 drm/amdgpu: handle gfx12 in amdgpu_display_verify_sizes

Martin Jocic (5):
can: kvaser_pciefd: Skip redundant NULL pointer check in ISR
can: kvaser_pciefd: Remove unnecessary comment
can: kvaser_pciefd: Rename board_irq to pci_irq
can: kvaser_pciefd: Move reset of DMA RX buffers to the end of the ISR
can: kvaser_pciefd: Use a single write when releasing RX buffers

Matt Johnston (1):
net: mctp-serial: Fix missing escapes on transmit

Matteo Martelli (2):
iio: fix scale application in iio_convert_raw_to_processed_unlocked
ASoC: sunxi: sun4i-i2s: fix LRCLK polarity in i2s mode

Matthew Maurer (1):
rust: Use awk instead of recent xargs

Matthieu Baerts (NGI0) (1):
tcp: process the 3rd ACK with sk_socket for TFO/MPTCP

Maurizio Lombardi (1):
nvmet-tcp: fix kernel crash if commands allocation fails

Maxim Levitsky (1):
KVM: SVM: fix emulation of msr reads/writes of MSR_FS_BASE and MSR_GS_BASE

Maximilien Perreault (1):
ALSA: hda/realtek: Support mute LED on HP Laptop 14-dq2xxx

Meng Li (2):
ACPI: CPPC: Add helper to get the highest performance value
cpufreq: amd-pstate: Enable amd-pstate preferred core support

Michael Ellerman (3):
ata: pata_macio: Use WARN instead of BUG powerpc/64e: remove unused IBM HTW code powerpc/64e: split out nohash Book3E 64-bit code

Mitchell Levy (1):
x86/fpu: Avoid writing LBR bit to IA32_XSS unless supported

Mohan Kumar (1):
ASoC: tegra: Fix CBB error during probe()

Naman Jain (1):
Drivers: hv: vmbus: Fix rescind handling in uio_hv_generic

Namjae Jeon (1):
ksmbd: unset the binding mark of a reused connection

Neeraj Sanjay Kale (1):
Bluetooth: btnxpuart: Fix Null pointer dereference in btnxpuart_flush()

Nicholas Piggin (2):
workqueue: wq_watchdog_touch is always called with valid CPU
workqueue: Improve scalability of workqueue watchdog touch

Nysal Jan K.A. (1):
powerpc/qspinlock: Fix deadlock in MCS queue

Oliver Neukum (2):
usbnet: modern method to get random MAC
usbnet: ipheth: race between ipheth_close and error handling

Olivier Sobrie (1):
HID: amd_sfh: free driver_data after destroying hid device

Pali Rohár (1):
irqchip/armada-370-xp: Do not allow mapping IRQ 0 and 1

Paulo Alcantara (2):
smb: client: fix double put of @cfile in smb2_set_path_size()
smb: client: fix double put of @cfile in smb2_rename_path()

Pawel Dembicki (1):
net: dsa: vsc73xx: fix possible subblocks range of CAPT block

Pawel Laszczak (1):
usb: cdns2: Fix controller reset issue

Perry Yuan (1):
cpufreq: amd-pstate: fix the highest frequency issue which limits performance

Peter Zijlstra (1):
perf/aux: Fix AUX buffer serialization

Petr Tesarik (1):
kexec_file: fix elfcorehdr digest exclusion when CONFIG_CRASH_HOTPLUG=y

Phillip Lougher (1):
Squashfs: sanity check symbolic link size

Prashanth K (1):
usb: dwc3: Avoid waking up gadget during startxfer

Rakesh Ughreja (1):
accel/habanalabs/gaudi2: unsecure edma max outstanding register

Ravi Bangoria (1):
KVM: SVM: Don't advertise Bus Lock Detect to guest if SVM support is missing

Richard Fitzgerald (1):
firmware: cs_dsp: Don't allow writes to read-only controls

Roland Xu (1):
rtmutex: Drop rt_mutex::wait_lock before scheduling

Ryusuke Konishi (3):
nilfs2: fix missing cleanup on rollforward recovery error
nilfs2: protect references to superblock parameters exposed in sysfs
nilfs2: fix state management in error path of log writing function

Sam Protsenko (1):
mmc: dw_mmc: Fix IDMAC operation with pages bigger than 4K

Samuel Holland (1):
riscv: kprobes: Use patch_text_nosync() for insn slots

Sascha Hauer (1):
wifi: mwifiex: Do not return unused priv in mwifiex_get_priv_by_id()

Sasha Neftin (1):
intel: legacy: Partial revert of field get conversion

Satya Priya Kakitapalli (2):
clk: qcom: clk-alpha-pll: Fix the pll post div mask
clk: qcom: clk-alpha-pll: Fix the trion pll postdiv set rate API

Saurabh Sengar (1):
uio_hv_generic: Fix kernel NULL pointer dereference in hv_uio_rescind

Sean Anderson (1):
phy: zynqmp: Take the phy mutex in xlate

Sean Christopherson (1):

      KVM: x86: Acquire kvm->srcu when handling KVM_SET_VCPU_EVENTS

Seunghwan Baek (1):
mmc: cqhci: Fix checking of CQHCI_HALT state

Shantanu Goel (1):
usb: uas: set host status byte on data completion error

Shenghao Ding (1):
ASoc: TAS2781: replace beXX_to_cpup with get_unaligned_beXX for potentially broken alignment

Shivaprasad G Bhat (1):
vfio/spapr: Always clear TCEs before unsetting the window

Simon Arlott (1):
can: mcp251x: fix deadlock if an interrupt occurs during mcp251x_open

Simon Horman (1):
can: m_can: Release irq on error in m_can_open

Souradeep Chakrabarti (1):
net: mana: Fix error handling in mana_create_txq/rxq's NAPI cleanup

Stefan Wahren (1):
spi: spi-fsl-lpspi: Fix off-by-one in prescale max

Stefan Wiehler (1):
of/irq: Prevent device address out-of-bounds read in interrupt map walk

Stephen Boyd (2):
clk: qcom: gcc-sm8550: Don't use parking clk_ops for QUPs
clk: qcom: gcc-sm8550: Don't park the USB RCG at registration time

Stephen Hemminger (1):
sch/netem: fix use after free in netem_dequeue

Steven Rostedt (4):
tracing/osnoise: Use a cpumask to know what threads are kthreads tracing/timerlat: Only clear timer if a kthread exists tracing/timerlat: Add interface_lock around clearing of kthread in stop_kthread()
eventfs: Use list_del_rcu() for SRCU protected list variable

Sukrut Bellary (1):
misc: fastrpc: Fix double free of 'buf' in error path

Sven Schnelle (1):
uprobes: Use kzalloc to allocate xol area

Takashi Iwai (2):
ALSA: control: Apply sanity check of input values for user elements
ALSA: hda: Add input value sanity checks to HDMI channel map controls

Terry Cheong (1):
ALSA: hda/realtek: add patch for internal mic in Lenovo V145

Thomas Gleixner (2):
x86/kaslr: Expose and use the end of the physical memory address space x86/mm: Fix PTI for i386 some more

Toke Høiland-Jørgensen (1):
sched: sch_cake: fix bulk flow accounting logic for host fairness

Trond Myklebust (1):
NFSv4: Add missing rescheduling points in nfs_client_return_marked_delegations

Tze-nan Wu (1):
bpf, net: Fix a potential race in do_sock_getsockopt()

Usama Arif (1):
Revert "mm: skip CMA pages when they are not available"

Vern Hao (1):
mm/vmscan: use folio_migratetype() instead of get_pageblock_migratetype()

Viresh Kumar (1):
xen: privcmd: Fix possible access to a freed kirqfd instance

Vladimir Oltean (1):
net: dpaa: avoid on-stack arrays of NR_CPUS elements

Waiman Long (1):

      cgroup: Protect css->cgroup write under css_set_lock

Will Deacon (1):
mm: vmalloc: ensure vmap_block is initialised before adding to queue

Xingyu Wu (1):
clk: starfive: jh7110-sys: Add notifier for PLL0 clock

Xuan Zhuo (1):
virtio_ring: fix KMSAN error for premapped mode

Ye Bin (1):
jbd2: avoid mount failed when commit block is partial submitted

Yicong Yang (1):
dma-mapping: benchmark: Don't starve others when doing the test

Yifan Zha (1):
drm/amdgpu: Set no_hw_access when VF request full GPU fails

Yunjian Wang (1):
netfilter: nf_conncount: fix wrong variable type

Yuntao Wang (1):
x86/apic: Make x2apic_disable() work correctly

Zenghui Yu (1):
kselftests: dmabuf-heaps: Ensure the driver name is null-terminated

Zheng Qixing (1):
ata: libata: Fix memory leak for error path in ata_host_alloc()

Zheng Yejian (1):
tracing: Avoid possible softlockup in tracing_iter_reset()

Zijun Hu (1):
devres: Initialize an uninitialized struct member

Zqiang (1):
smp: Add missing destroy_work_on_stack() call in smp_call_on_cpu()

devi priya (1):
clk: qcom: ipq9574: Update the alpha PLL type for GPLLs

robelin (1):
ASoC: dapm: Fix UAF for snd_soc_pcm_runtime object

yang.zhang (1):
riscv: set trap vector earlier

yangyun (1):
fuse: fix memory leak in fuse_create_open

author maintainer
#1 lore raw
MAINTAINERS +1 -1
index f09415b2b3c5..ae4c0cec5073 100644
@@ -13702,7 +13702,7 @@ M:	Mathieu Desnoyers <[email protected]>
 M:	"Paul E. McKenney" <[email protected]>
 L:	[email protected]
 S:	Supported
-F:	arch/powerpc/include/asm/membarrier.h
+F:	arch/*/include/asm/membarrier.h
 F:	include/uapi/linux/membarrier.h
 F:	kernel/sched/membarrier.c
 
Makefile +1 -1
index f7efbb59c986..6dea0c216368 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 6
 PATCHLEVEL = 6
-SUBLEVEL = 50
+SUBLEVEL = 51
 EXTRAVERSION =
 NAME = Hurr durr I'ma ninja sloth
 
arch/arm/include/asm/pgtable.h +2 -0
index 16b02f44c7d3..d657b84b6bf7 100644
@@ -151,6 +151,8 @@ extern pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
 
 extern pgd_t swapper_pg_dir[PTRS_PER_PGD];
 
+#define pgdp_get(pgpd)		READ_ONCE(*pgdp)
+
 #define pud_page(pud)		pmd_page(__pmd(pud_val(pud)))
 #define pud_write(pud)		pmd_write(__pmd(pud_val(pud)))
 
arch/arm64/include/asm/acpi.h +12 -0
index 6792a1f83f2a..a407f9cd549e 100644
@@ -119,6 +119,18 @@ static inline u32 get_acpi_id_for_cpu(unsigned int cpu)
 	return	acpi_cpu_get_madt_gicc(cpu)->uid;
 }
 
+static inline int get_cpu_for_acpi_id(u32 uid)
+{
+	int cpu;
+
+	for (cpu = 0; cpu < nr_cpu_ids; cpu++)
+		if (acpi_cpu_get_madt_gicc(cpu) &&
+		    uid == get_acpi_id_for_cpu(cpu))
+			return cpu;
+
+	return -EINVAL;
+}
+
 static inline void arch_fix_phys_package_id(int num, u32 slot) { }
 void __init acpi_init_cpus(void);
 int apei_claim_sea(struct pt_regs *regs);
arch/arm64/kernel/acpi_numa.c +0 -11
index ccbff21ce1fa..2465f291c7e1 100644
@@ -34,17 +34,6 @@ int __init acpi_numa_get_nid(unsigned int cpu)
 	return acpi_early_node_map[cpu];
 }
 
-static inline int get_cpu_for_acpi_id(u32 uid)
-{
-	int cpu;
-
-	for (cpu = 0; cpu < nr_cpu_ids; cpu++)
-		if (uid == get_acpi_id_for_cpu(cpu))
-			return cpu;
-
-	return -EINVAL;
-}
-
 static int __init acpi_parse_gicc_pxm(union acpi_subtable_headers *header,
 				      const unsigned long end)
 {
arch/loongarch/kernel/relocate.c +3 -1
index 1acfa704c8d0..0eddd4a66b87 100644
@@ -13,6 +13,7 @@
 #include <asm/bootinfo.h>
 #include <asm/early_ioremap.h>
 #include <asm/inst.h>
+#include <asm/io.h>
 #include <asm/sections.h>
 #include <asm/setup.h>
 
@@ -170,7 +171,7 @@ unsigned long __init relocate_kernel(void)
 	unsigned long kernel_length;
 	unsigned long random_offset = 0;
 	void *location_new = _text; /* Default to original kernel start */
-	char *cmdline = early_ioremap(fw_arg1, COMMAND_LINE_SIZE); /* Boot command line is passed in fw_arg1 */
+	char *cmdline = early_memremap_ro(fw_arg1, COMMAND_LINE_SIZE); /* Boot command line is passed in fw_arg1 */
 
 	strscpy(boot_command_line, cmdline, COMMAND_LINE_SIZE);
 
@@ -182,6 +183,7 @@ unsigned long __init relocate_kernel(void)
 		random_offset = (unsigned long)location_new - (unsigned long)(_text);
 #endif
 	reloc_offset = (unsigned long)_text - VMLINUX_LOAD_ADDRESS;
+	early_memunmap(cmdline, COMMAND_LINE_SIZE);
 
 	if (random_offset) {
 		kernel_length = (long)(_end) - (long)(_text);
arch/mips/kernel/cevt-r4k.c +7 -8
index 368e8475870f..5f6e9e2ebbdb 100644
@@ -303,13 +303,6 @@ int r4k_clockevent_init(void)
 	if (!c0_compare_int_usable())
 		return -ENXIO;
 
-	/*
-	 * With vectored interrupts things are getting platform specific.
-	 * get_c0_compare_int is a hook to allow a platform to return the
-	 * interrupt number of its liking.
-	 */
-	irq = get_c0_compare_int();
-
 	cd = &per_cpu(mips_clockevent_device, cpu);
 
 	cd->name		= "MIPS";
@@ -320,7 +313,6 @@ int r4k_clockevent_init(void)
 	min_delta		= calculate_min_delta();
 
 	cd->rating		= 300;
-	cd->irq			= irq;
 	cd->cpumask		= cpumask_of(cpu);
 	cd->set_next_event	= mips_next_event;
 	cd->event_handler	= mips_event_handler;
@@ -332,6 +324,13 @@ int r4k_clockevent_init(void)
 
 	cp0_timer_irq_installed = 1;
 
+	/*
+	 * With vectored interrupts things are getting platform specific.
+	 * get_c0_compare_int is a hook to allow a platform to return the
+	 * interrupt number of its liking.
+	 */
+	irq = get_c0_compare_int();
+
 	if (request_irq(irq, c0_compare_interrupt, flags, "timer",
 			c0_compare_interrupt))
 		pr_err("Failed to request irq %d (timer)\n", irq);
arch/powerpc/include/asm/nohash/mmu-e500.h +1 -2
index 6ddced0415cb..7dc24b8632d7 100644
@@ -303,8 +303,7 @@ extern unsigned long linear_map_top;
 extern int book3e_htw_mode;
 
 #define PPC_HTW_NONE	0
-#define PPC_HTW_IBM	1
-#define PPC_HTW_E6500	2
+#define PPC_HTW_E6500	1
 
 /*
  * 64-bit booke platforms don't load the tlb in the tlb miss handler code.
arch/powerpc/kernel/vdso/vdso32.lds.S +3 -1
index 426e1ccc6971..8f57107000a2 100644
@@ -74,6 +74,8 @@ SECTIONS
 	.got		: { *(.got) }			:text
 	.plt		: { *(.plt) }
 
+	.rela.dyn	: { *(.rela .rela*) }
+
 	_end = .;
 	__end = .;
 	PROVIDE(end = .);
@@ -87,7 +89,7 @@ SECTIONS
 		*(.branch_lt)
 		*(.data .data.* .gnu.linkonce.d.* .sdata*)
 		*(.bss .sbss .dynbss .dynsbss)
-		*(.got1 .glink .iplt .rela*)
+		*(.got1 .glink .iplt)
 	}
 }
 
arch/powerpc/kernel/vdso/vdso64.lds.S +2 -2
index bda6c8cdd459..400819258c06 100644
@@ -69,7 +69,7 @@ SECTIONS
 	.eh_frame_hdr	: { *(.eh_frame_hdr) }		:text	:eh_frame_hdr
 	.eh_frame	: { KEEP (*(.eh_frame)) }	:text
 	.gcc_except_table : { *(.gcc_except_table) }
-	.rela.dyn ALIGN(8) : { *(.rela.dyn) }
+	.rela.dyn ALIGN(8) : { *(.rela .rela*) }
 
 	.got ALIGN(8)	: { *(.got .toc) }
 
@@ -86,7 +86,7 @@ SECTIONS
 		*(.data .data.* .gnu.linkonce.d.* .sdata*)
 		*(.bss .sbss .dynbss .dynsbss)
 		*(.opd)
-		*(.glink .iplt .plt .rela*)
+		*(.glink .iplt .plt)
 	}
 }
 
arch/powerpc/lib/qspinlock.c +9 -1
index 6dd2f46bd3ef..8830267789c9 100644
@@ -715,7 +715,15 @@ static __always_inline void queued_spin_lock_mcs_queue(struct qspinlock *lock, b
 	}
 
 release:
-	qnodesp->count--; /* release the node */
+	/*
+	 * Clear the lock before releasing the node, as another CPU might see stale
+	 * values if an interrupt occurs after we increment qnodesp->count
+	 * but before node->lock is initialized. The barrier ensures that
+	 * there are no further stores to the node after it has been released.
+	 */
+	node->lock = NULL;
+	barrier();
+	qnodesp->count--;
 }
 
 void queued_spin_lock_slowpath(struct qspinlock *lock)
arch/powerpc/mm/nohash/Makefile +1 -1
index f3894e79d5f7..24b445a5fcac 100644
@@ -3,7 +3,7 @@
 ccflags-$(CONFIG_PPC64)	:= $(NO_MINIMAL_TOC)
 
 obj-y				+= mmu_context.o tlb.o tlb_low.o kup.o
-obj-$(CONFIG_PPC_BOOK3E_64)  	+= tlb_low_64e.o book3e_pgtable.o
+obj-$(CONFIG_PPC_BOOK3E_64)  	+= tlb_64e.o tlb_low_64e.o book3e_pgtable.o
 obj-$(CONFIG_40x)		+= 40x.o
 obj-$(CONFIG_44x)		+= 44x.o
 obj-$(CONFIG_PPC_8xx)		+= 8xx.o
arch/powerpc/mm/nohash/tlb.c +1 -397

410 lines not on this page · raw message

arch/powerpc/mm/nohash/tlb_64e.c new file +361 -0

361 lines not on this page · raw message

arch/powerpc/mm/nohash/tlb_low_64e.S +0 -195

201 lines not on this page · raw message

arch/riscv/Kconfig +3 -2
index c785a0200573..fe30b24d52e1 100644
@@ -27,6 +27,7 @@ config RISCV
 	select ARCH_HAS_GCOV_PROFILE_ALL
 	select ARCH_HAS_GIGANTIC_PAGE
 	select ARCH_HAS_KCOV
+	select ARCH_HAS_MEMBARRIER_CALLBACKS
 	select ARCH_HAS_MMIOWB
 	select ARCH_HAS_NON_OVERLAPPING_ADDRESS_SPACE
 	select ARCH_HAS_PMEM_API
@@ -489,8 +490,8 @@ config RISCV_ISA_SVPBMT
 config TOOLCHAIN_HAS_V
 	bool
 	default y
-	depends on !64BIT || $(cc-option,-mabi=lp64 -march=rv64iv)
-	depends on !32BIT || $(cc-option,-mabi=ilp32 -march=rv32iv)
+	depends on !64BIT || $(cc-option,-mabi=lp64 -march=rv64imv)
+	depends on !32BIT || $(cc-option,-mabi=ilp32 -march=rv32imv)
 	depends on LLD_VERSION >= 140000 || LD_VERSION >= 23800
 	depends on AS_HAS_OPTION_ARCH
 
arch/riscv/include/asm/kfence.h +2 -2
index 0bbffd528096..7388edd88986 100644
@@ -18,9 +18,9 @@ static inline bool kfence_protect_page(unsigned long addr, bool protect)
 	pte_t *pte = virt_to_kpte(addr);
 
 	if (protect)
-		set_pte(pte, __pte(pte_val(*pte) & ~_PAGE_PRESENT));
+		set_pte(pte, __pte(pte_val(ptep_get(pte)) & ~_PAGE_PRESENT));
 	else
-		set_pte(pte, __pte(pte_val(*pte) | _PAGE_PRESENT));
+		set_pte(pte, __pte(pte_val(ptep_get(pte)) | _PAGE_PRESENT));
 
 	flush_tlb_kernel_range(addr, addr + PAGE_SIZE);
 
arch/riscv/include/asm/membarrier.h new file +31 -0
new file mode 100644
index 000000000000..6c016ebb5020
@@ -0,0 +1,31 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+#ifndef _ASM_RISCV_MEMBARRIER_H
+#define _ASM_RISCV_MEMBARRIER_H
+
+static inline void membarrier_arch_switch_mm(struct mm_struct *prev,
+					     struct mm_struct *next,
+					     struct task_struct *tsk)
+{
+	/*
+	 * Only need the full barrier when switching between processes.
+	 * Barrier when switching from kernel to userspace is not
+	 * required here, given that it is implied by mmdrop(). Barrier
+	 * when switching from userspace to kernel is not needed after
+	 * store to rq->curr.
+	 */
+	if (IS_ENABLED(CONFIG_SMP) &&
+	    likely(!(atomic_read(&next->membarrier_state) &
+		     (MEMBARRIER_STATE_PRIVATE_EXPEDITED |
+		      MEMBARRIER_STATE_GLOBAL_EXPEDITED)) || !prev))
+		return;
+
+	/*
+	 * The membarrier system call requires a full memory barrier
+	 * after storing to rq->curr, before going back to user-space.
+	 * Matches a full barrier in the proximity of the membarrier
+	 * system call entry.
+	 */
+	smp_mb();
+}
+
+#endif /* _ASM_RISCV_MEMBARRIER_H */
arch/riscv/include/asm/pgtable-64.h +5 -17
index 7a5097202e15..3272ca7a5270 100644
@@ -198,7 +198,7 @@ static inline int pud_user(pud_t pud)
 
 static inline void set_pud(pud_t *pudp, pud_t pud)
 {
-	*pudp = pud;
+	WRITE_ONCE(*pudp, pud);
 }
 
 static inline void pud_clear(pud_t *pudp)
@@ -274,7 +274,7 @@ static inline unsigned long _pmd_pfn(pmd_t pmd)
 static inline void set_p4d(p4d_t *p4dp, p4d_t p4d)
 {
 	if (pgtable_l4_enabled)
-		*p4dp = p4d;
+		WRITE_ONCE(*p4dp, p4d);
 	else
 		set_pud((pud_t *)p4dp, (pud_t){ p4d_val(p4d) });
 }
@@ -336,18 +336,12 @@ static inline struct page *p4d_page(p4d_t p4d)
 #define pud_index(addr) (((addr) >> PUD_SHIFT) & (PTRS_PER_PUD - 1))
 
 #define pud_offset pud_offset
-static inline pud_t *pud_offset(p4d_t *p4d, unsigned long address)
-{
-	if (pgtable_l4_enabled)
-		return p4d_pgtable(*p4d) + pud_index(address);
-
-	return (pud_t *)p4d;
-}
+pud_t *pud_offset(p4d_t *p4d, unsigned long address);
 
 static inline void set_pgd(pgd_t *pgdp, pgd_t pgd)
 {
 	if (pgtable_l5_enabled)
-		*pgdp = pgd;
+		WRITE_ONCE(*pgdp, pgd);
 	else
 		set_p4d((p4d_t *)pgdp, (p4d_t){ pgd_val(pgd) });
 }
@@ -400,12 +394,6 @@ static inline struct page *pgd_page(pgd_t pgd)
 #define p4d_index(addr) (((addr) >> P4D_SHIFT) & (PTRS_PER_P4D - 1))
 
 #define p4d_offset p4d_offset
-static inline p4d_t *p4d_offset(pgd_t *pgd, unsigned long address)
-{
-	if (pgtable_l5_enabled)
-		return pgd_pgtable(*pgd) + p4d_index(address);
-
-	return (p4d_t *)pgd;
-}
+p4d_t *p4d_offset(pgd_t *pgd, unsigned long address);
 
 #endif /* _ASM_RISCV_PGTABLE_64_H */
arch/riscv/include/asm/pgtable.h +8 -25
index 719c3041ae1c..37829dab4a0a 100644
@@ -248,7 +248,7 @@ static inline int pmd_leaf(pmd_t pmd)
 
 static inline void set_pmd(pmd_t *pmdp, pmd_t pmd)
 {
-	*pmdp = pmd;
+	WRITE_ONCE(*pmdp, pmd);
 }
 
 static inline void pmd_clear(pmd_t *pmdp)
@@ -515,7 +515,7 @@ static inline int pte_same(pte_t pte_a, pte_t pte_b)
  */
 static inline void set_pte(pte_t *ptep, pte_t pteval)
 {
-	*ptep = pteval;
+	WRITE_ONCE(*ptep, pteval);
 }
 
 void flush_icache_pte(pte_t pte);
@@ -549,19 +549,12 @@ static inline void pte_clear(struct mm_struct *mm,
 	__set_pte_at(ptep, __pte(0));
 }
 
-#define __HAVE_ARCH_PTEP_SET_ACCESS_FLAGS
-static inline int ptep_set_access_flags(struct vm_area_struct *vma,
-					unsigned long address, pte_t *ptep,
-					pte_t entry, int dirty)
-{
-	if (!pte_same(*ptep, entry))
-		__set_pte_at(ptep, entry);
-	/*
-	 * update_mmu_cache will unconditionally execute, handling both
-	 * the case that the PTE changed and the spurious fault case.
-	 */
-	return true;
-}
+#define __HAVE_ARCH_PTEP_SET_ACCESS_FLAGS	/* defined in mm/pgtable.c */
+extern int ptep_set_access_flags(struct vm_area_struct *vma, unsigned long address,
+				 pte_t *ptep, pte_t entry, int dirty);
+#define __HAVE_ARCH_PTEP_TEST_AND_CLEAR_YOUNG	/* defined in mm/pgtable.c */
+extern int ptep_test_and_clear_young(struct vm_area_struct *vma, unsigned long address,
+				     pte_t *ptep);
 
 #define __HAVE_ARCH_PTEP_GET_AND_CLEAR
 static inline pte_t ptep_get_and_clear(struct mm_struct *mm,
@@ -574,16 +567,6 @@ static inline pte_t ptep_get_and_clear(struct mm_struct *mm,
 	return pte;
 }
 
-#define __HAVE_ARCH_PTEP_TEST_AND_CLEAR_YOUNG
-static inline int ptep_test_and_clear_young(struct vm_area_struct *vma,
-					    unsigned long address,
-					    pte_t *ptep)
-{
-	if (!pte_young(*ptep))
-		return 0;
-	return test_and_clear_bit(_PAGE_ACCESSED_OFFSET, &pte_val(*ptep));
-}
-
 #define __HAVE_ARCH_PTEP_SET_WRPROTECT
 static inline void ptep_set_wrprotect(struct mm_struct *mm,
 				      unsigned long address, pte_t *ptep)
arch/riscv/kernel/efi.c +1 -1
index aa6209a74c83..b64bf1624a05 100644
@@ -60,7 +60,7 @@ int __init efi_create_mapping(struct mm_struct *mm, efi_memory_desc_t *md)
 static int __init set_permissions(pte_t *ptep, unsigned long addr, void *data)
 {
 	efi_memory_desc_t *md = data;
-	pte_t pte = READ_ONCE(*ptep);
+	pte_t pte = ptep_get(ptep);
 	unsigned long val;
 
 	if (md->attribute & EFI_MEMORY_RO) {
arch/riscv/kernel/head.S +3 -0
index 0097c145385f..9691fa8f2faa 100644
@@ -305,6 +305,9 @@ clear_bss_done:
 #else
 	mv a0, a1
 #endif /* CONFIG_BUILTIN_DTB */
+	/* Set trap vector to spin forever to help debug */
+	la a3, .Lsecondary_park
+	csrw CSR_TVEC, a3
 	call setup_vm
 #ifdef CONFIG_MMU
 	la a0, early_pg_dir
arch/riscv/kernel/probes/kprobes.c +2 -3
index 2f08c14a933d..fecbbcf40ac3 100644
@@ -28,9 +28,8 @@ static void __kprobes arch_prepare_ss_slot(struct kprobe *p)
 
 	p->ainsn.api.restore = (unsigned long)p->addr + offset;
 
-	patch_text(p->ainsn.api.insn, &p->opcode, 1);
-	patch_text((void *)((unsigned long)(p->ainsn.api.insn) + offset),
-		   &insn, 1);
+	patch_text_nosync(p->ainsn.api.insn, &p->opcode, 1);
+	patch_text_nosync(p->ainsn.api.insn + offset, &insn, 1);
 }
 
 static void __kprobes arch_prepare_simulate(struct kprobe *p)
arch/riscv/kvm/mmu.c +11 -11
index 068c74593871..a9e2fd7245e1 100644
@@ -103,7 +103,7 @@ static bool gstage_get_leaf_entry(struct kvm *kvm, gpa_t addr,
 	*ptep_level = current_level;
 	ptep = (pte_t *)kvm->arch.pgd;
 	ptep = &ptep[gstage_pte_index(addr, current_level)];
-	while (ptep && pte_val(*ptep)) {
+	while (ptep && pte_val(ptep_get(ptep))) {
 		if (gstage_pte_leaf(ptep)) {
 			*ptep_level = current_level;
 			*ptepp = ptep;
@@ -113,7 +113,7 @@ static bool gstage_get_leaf_entry(struct kvm *kvm, gpa_t addr,
 		if (current_level) {
 			current_level--;
 			*ptep_level = current_level;
-			ptep = (pte_t *)gstage_pte_page_vaddr(*ptep);
+			ptep = (pte_t *)gstage_pte_page_vaddr(ptep_get(ptep));
 			ptep = &ptep[gstage_pte_index(addr, current_level)];
 		} else {
 			ptep = NULL;
@@ -149,25 +149,25 @@ static int gstage_set_pte(struct kvm *kvm, u32 level,
 		if (gstage_pte_leaf(ptep))
 			return -EEXIST;
 
-		if (!pte_val(*ptep)) {
+		if (!pte_val(ptep_get(ptep))) {
 			if (!pcache)
 				return -ENOMEM;
 			next_ptep = kvm_mmu_memory_cache_alloc(pcache);
 			if (!next_ptep)
 				return -ENOMEM;
-			*ptep = pfn_pte(PFN_DOWN(__pa(next_ptep)),
-					__pgprot(_PAGE_TABLE));
+			set_pte(ptep, pfn_pte(PFN_DOWN(__pa(next_ptep)),
+					      __pgprot(_PAGE_TABLE)));
 		} else {
 			if (gstage_pte_leaf(ptep))
 				return -EEXIST;
-			next_ptep = (pte_t *)gstage_pte_page_vaddr(*ptep);
+			next_ptep = (pte_t *)gstage_pte_page_vaddr(ptep_get(ptep));
 		}
 
 		current_level--;
 		ptep = &next_ptep[gstage_pte_index(addr, current_level)];
 	}
 
-	*ptep = *new_pte;
+	set_pte(ptep, *new_pte);
 	if (gstage_pte_leaf(ptep))
 		gstage_remote_tlb_flush(kvm, current_level, addr);
 
@@ -239,11 +239,11 @@ static void gstage_op_pte(struct kvm *kvm, gpa_t addr,
 
 	BUG_ON(addr & (page_size - 1));
 
-	if (!pte_val(*ptep))
+	if (!pte_val(ptep_get(ptep)))
 		return;
 
 	if (ptep_level && !gstage_pte_leaf(ptep)) {
-		next_ptep = (pte_t *)gstage_pte_page_vaddr(*ptep);
+		next_ptep = (pte_t *)gstage_pte_page_vaddr(ptep_get(ptep));
 		next_ptep_level = ptep_level - 1;
 		ret = gstage_level_to_page_size(next_ptep_level,
 						&next_page_size);
@@ -261,7 +261,7 @@ static void gstage_op_pte(struct kvm *kvm, gpa_t addr,
 		if (op == GSTAGE_OP_CLEAR)
 			set_pte(ptep, __pte(0));
 		else if (op == GSTAGE_OP_WP)
-			set_pte(ptep, __pte(pte_val(*ptep) & ~_PAGE_WRITE));
+			set_pte(ptep, __pte(pte_val(ptep_get(ptep)) & ~_PAGE_WRITE));
 		gstage_remote_tlb_flush(kvm, ptep_level, addr);
 	}
 }
@@ -603,7 +603,7 @@ bool kvm_test_age_gfn(struct kvm *kvm, struct kvm_gfn_range *range)
 				   &ptep, &ptep_level))
 		return false;
 
-	return pte_young(*ptep);
+	return pte_young(ptep_get(ptep));
 }
 
 int kvm_riscv_gstage_map(struct kvm_vcpu *vcpu,
arch/riscv/mm/Makefile +1 -2
index 3a4dfc8babcf..2c869f8026a8 100644
@@ -13,10 +13,9 @@ endif
 KCOV_INSTRUMENT_init.o := n
 
 obj-y += init.o
-obj-$(CONFIG_MMU) += extable.o fault.o pageattr.o
+obj-$(CONFIG_MMU) += extable.o fault.o pageattr.o pgtable.o
 obj-y += cacheflush.o
 obj-y += context.o
-obj-y += pgtable.o
 obj-y += pmem.o
 
 ifeq ($(CONFIG_MMU),y)
arch/riscv/mm/context.c +2 -0
index 217fd4de6134..ba8eb3944687 100644
@@ -323,6 +323,8 @@ void switch_mm(struct mm_struct *prev, struct mm_struct *next,
 	if (unlikely(prev == next))
 		return;
 
+	membarrier_arch_switch_mm(prev, next, task);
+
 	/*
 	 * Mark the current MM context as inactive, and the next as
 	 * active.  This is at least used by the icache flushing
arch/riscv/mm/fault.c +8 -8
index 655b2b1bb529..8960f4c84497 100644
@@ -137,24 +137,24 @@ static inline void vmalloc_fault(struct pt_regs *regs, int code, unsigned long a
 	pgd = (pgd_t *)pfn_to_virt(pfn) + index;
 	pgd_k = init_mm.pgd + index;
 
-	if (!pgd_present(*pgd_k)) {
+	if (!pgd_present(pgdp_get(pgd_k))) {
 		no_context(regs, addr);
 		return;
 	}
-	set_pgd(pgd, *pgd_k);
+	set_pgd(pgd, pgdp_get(pgd_k));
 
 	p4d_k = p4d_offset(pgd_k, addr);
-	if (!p4d_present(*p4d_k)) {
+	if (!p4d_present(p4dp_get(p4d_k))) {
 		no_context(regs, addr);
 		return;
 	}
 
 	pud_k = pud_offset(p4d_k, addr);
-	if (!pud_present(*pud_k)) {
+	if (!pud_present(pudp_get(pud_k))) {
 		no_context(regs, addr);
 		return;
 	}
-	if (pud_leaf(*pud_k))
+	if (pud_leaf(pudp_get(pud_k)))
 		goto flush_tlb;
 
 	/*
@@ -162,11 +162,11 @@ static inline void vmalloc_fault(struct pt_regs *regs, int code, unsigned long a
 	 * to copy individual PTEs
 	 */
 	pmd_k = pmd_offset(pud_k, addr);
-	if (!pmd_present(*pmd_k)) {
+	if (!pmd_present(pmdp_get(pmd_k))) {
 		no_context(regs, addr);
 		return;
 	}
-	if (pmd_leaf(*pmd_k))
+	if (pmd_leaf(pmdp_get(pmd_k)))
 		goto flush_tlb;
 
 	/*
@@ -176,7 +176,7 @@ static inline void vmalloc_fault(struct pt_regs *regs, int code, unsigned long a
 	 * silently loop forever.
 	 */
 	pte_k = pte_offset_kernel(pmd_k, addr);
-	if (!pte_present(*pte_k)) {
+	if (!pte_present(ptep_get(pte_k))) {
 		no_context(regs, addr);
 		return;
 	}
arch/riscv/mm/hugetlbpage.c +6 -6
index fbe918801667..5ef2a6891158 100644
@@ -54,7 +54,7 @@ pte_t *huge_pte_alloc(struct mm_struct *mm,
 	}
 
 	if (sz == PMD_SIZE) {
-		if (want_pmd_share(vma, addr) && pud_none(*pud))
+		if (want_pmd_share(vma, addr) && pud_none(pudp_get(pud)))
 			pte = huge_pmd_share(mm, vma, addr, pud);
 		else
 			pte = (pte_t *)pmd_alloc(mm, pud, addr);
@@ -93,11 +93,11 @@ pte_t *huge_pte_offset(struct mm_struct *mm,
 	pmd_t *pmd;
 
 	pgd = pgd_offset(mm, addr);
-	if (!pgd_present(*pgd))
+	if (!pgd_present(pgdp_get(pgd)))
 		return NULL;
 
 	p4d = p4d_offset(pgd, addr);
-	if (!p4d_present(*p4d))
+	if (!p4d_present(p4dp_get(p4d)))
 		return NULL;
 
 	pud = pud_offset(p4d, addr);
@@ -105,7 +105,7 @@ pte_t *huge_pte_offset(struct mm_struct *mm,
 		/* must be pud huge, non-present or none */
 		return (pte_t *)pud;
 
-	if (!pud_present(*pud))
+	if (!pud_present(pudp_get(pud)))
 		return NULL;
 
 	pmd = pmd_offset(pud, addr);
@@ -113,7 +113,7 @@ pte_t *huge_pte_offset(struct mm_struct *mm,
 		/* must be pmd huge, non-present or none */
 		return (pte_t *)pmd;
 
-	if (!pmd_present(*pmd))
+	if (!pmd_present(pmdp_get(pmd)))
 		return NULL;
 
 	for_each_napot_order(order) {
@@ -351,7 +351,7 @@ void huge_pte_clear(struct mm_struct *mm,
 		    pte_t *ptep,
 		    unsigned long sz)
 {
-	pte_t pte = READ_ONCE(*ptep);
+	pte_t pte = ptep_get(ptep);
 	int i, pte_num;
 
 	if (!pte_napot(pte)) {
arch/riscv/mm/init.c +1 -1
index abe7a7a7686c..3245bb525212 100644
@@ -235,7 +235,7 @@ static void __init setup_bootmem(void)
 	 * The size of the linear page mapping may restrict the amount of
 	 * usable RAM.
 	 */
-	if (IS_ENABLED(CONFIG_64BIT)) {
+	if (IS_ENABLED(CONFIG_64BIT) && IS_ENABLED(CONFIG_MMU)) {
 		max_mapped_addr = __pa(PAGE_OFFSET) + KERN_VIRT_SIZE;
 		memblock_cap_memory_range(phys_ram_base,
 					  max_mapped_addr - phys_ram_base);
arch/riscv/mm/kasan_init.c +24 -21

171 lines not on this page · raw message

arch/riscv/mm/pageattr.c +22 -22

109 lines not on this page · raw message

arch/riscv/mm/pgtable.c +46 -5

87 lines not on this page · raw message

arch/s390/kernel/vmlinux.lds.S +9 -0
index 2ae201ebf90b..de5f9f623f5b 100644
@@ -71,6 +71,15 @@ SECTIONS
 	. = ALIGN(PAGE_SIZE);
 	__end_ro_after_init = .;
 
+	.data.rel.ro : {
+		*(.data.rel.ro .data.rel.ro.*)
+	}
+	.got : {
+		__got_start = .;
+		*(.got)
+		__got_end = .;
+	}
+
 	RW_DATA(0x100, PAGE_SIZE, THREAD_SIZE)
 	BOOT_DATA_PRESERVED
 
arch/um/drivers/line.c +2 -0
index 375200e9aba9..2ba4e0d4e26b 100644
@@ -383,6 +383,7 @@ int setup_one_line(struct line *lines, int n, char *init,
 			parse_chan_pair(NULL, line, n, opts, error_out);
 			err = 0;
 		}
+		*error_out = "configured as 'none'";
 	} else {
 		char *new = kstrdup(init, GFP_KERNEL);
 		if (!new) {
@@ -406,6 +407,7 @@ int setup_one_line(struct line *lines, int n, char *init,
 			}
 		}
 		if (err) {
+			*error_out = "failed to parse channel pair";
 			line->init_str = NULL;
 			line->valid = 0;
 			kfree(new);
arch/x86/coco/tdx/tdx.c +0 -1
index f3c75809fed2..006041fbb65f 100644
@@ -362,7 +362,6 @@ static bool mmio_read(int size, unsigned long addr, unsigned long *val)
 		.r12 = size,
 		.r13 = EPT_READ,
 		.r14 = addr,
-		.r15 = *val,
 	};
 
 	if (__tdx_hypercall_ret(&args))
arch/x86/events/intel/core.c +21 -2
index bc4fcf0d9405..688550e336ce 100644
@@ -4465,6 +4465,25 @@ static u8 adl_get_hybrid_cpu_type(void)
 	return hybrid_big;
 }
 
+static inline bool erratum_hsw11(struct perf_event *event)
+{
+	return (event->hw.config & INTEL_ARCH_EVENT_MASK) ==
+		X86_CONFIG(.event=0xc0, .umask=0x01);
+}
+
+/*
+ * The HSW11 requires a period larger than 100 which is the same as the BDM11.
+ * A minimum period of 128 is enforced as well for the INST_RETIRED.ALL.
+ *
+ * The message 'interrupt took too long' can be observed on any counter which
+ * was armed with a period < 32 and two events expired in the same NMI.
+ * A minimum period of 32 is enforced for the rest of the events.
+ */
+static void hsw_limit_period(struct perf_event *event, s64 *left)
+{
+	*left = max(*left, erratum_hsw11(event) ? 128 : 32);
+}
+
 /*
  * Broadwell:
  *
@@ -4482,8 +4501,7 @@ static u8 adl_get_hybrid_cpu_type(void)
  */
 static void bdw_limit_period(struct perf_event *event, s64 *left)
 {
-	if ((event->hw.config & INTEL_ARCH_EVENT_MASK) ==
-			X86_CONFIG(.event=0xc0, .umask=0x01)) {
+	if (erratum_hsw11(event)) {
 		if (*left < 128)
 			*left = 128;
 		*left &= ~0x3fULL;
@@ -6392,6 +6410,7 @@ __init int intel_pmu_init(void)
 
 		x86_pmu.hw_config = hsw_hw_config;
 		x86_pmu.get_event_constraints = hsw_get_event_constraints;
+		x86_pmu.limit_period = hsw_limit_period;
 		x86_pmu.lbr_double_abort = true;
 		extra_attr = boot_cpu_has(X86_FEATURE_RTM) ?
 			hsw_format_attr : nhm_format_attr;
arch/x86/include/asm/fpu/types.h +7 -0
index eb810074f1e7..fd5fb43d920b 100644
@@ -589,6 +589,13 @@ struct fpu_state_config {
 	 * even without XSAVE support, i.e. legacy features FP + SSE
 	 */
 	u64 legacy_features;
+	/*
+	 * @independent_features:
+	 *
+	 * Features that are supported by XSAVES, but not managed as part of
+	 * the FPU core, such as LBR
+	 */
+	u64 independent_features;
 };
 
 /* FPU state configuration information */
arch/x86/include/asm/page_64.h +1 -0
index cc6b8e087192..9dab85aba7af 100644
@@ -17,6 +17,7 @@ extern unsigned long phys_base;
 extern unsigned long page_offset_base;
 extern unsigned long vmalloc_base;
 extern unsigned long vmemmap_base;
+extern unsigned long physmem_end;
 
 static __always_inline unsigned long __phys_addr_nodebug(unsigned long x)
 {
arch/x86/include/asm/pgtable_64_types.h +4 -0
index 38b54b992f32..35c416f06155 100644
@@ -140,6 +140,10 @@ extern unsigned int ptrs_per_p4d;
 # define VMEMMAP_START		__VMEMMAP_BASE_L4
 #endif /* CONFIG_DYNAMIC_MEMORY_LAYOUT */
 
+#ifdef CONFIG_RANDOMIZE_MEMORY
+# define PHYSMEM_END		physmem_end
+#endif
+
 /*
  * End of the region for which vmalloc page tables are pre-allocated.
  * For non-KMSAN builds, this is the same as VMALLOC_END.
arch/x86/kernel/apic/apic.c +6 -5
index 06d5a7eeee81..f2e605ee75d9 100644
@@ -1812,12 +1812,9 @@ static __init void apic_set_fixmap(bool read_apic);
 
 static __init void x2apic_disable(void)
 {
-	u32 x2apic_id, state = x2apic_state;
+	u32 x2apic_id;
 
-	x2apic_mode = 0;
-	x2apic_state = X2APIC_DISABLED;
-
-	if (state != X2APIC_ON)
+	if (x2apic_state < X2APIC_ON)
 		return;
 
 	x2apic_id = read_apic_id();
@@ -1830,6 +1827,10 @@ static __init void x2apic_disable(void)
 	}
 
 	__x2apic_disable();
+
+	x2apic_mode = 0;
+	x2apic_state = X2APIC_DISABLED;
+
 	/*
 	 * Don't reread the APIC ID as it was already done from
 	 * check_x2apic() and the APIC driver still is a x2APIC variant,
arch/x86/kernel/fpu/xstate.c +3 -0
index 571a43b3105d..255ff8f6c527 100644
@@ -788,6 +788,9 @@ void __init fpu__init_system_xstate(unsigned int legacy_size)
 		goto out_disable;
 	}
 
+	fpu_kernel_cfg.independent_features = fpu_kernel_cfg.max_features &
+					      XFEATURE_MASK_INDEPENDENT;
+
 	/*
 	 * Clear XSAVE features that are disabled in the normal CPUID.
 	 */
arch/x86/kernel/fpu/xstate.h +2 -2
index 19ca623ffa2a..544224611e23 100644
@@ -64,9 +64,9 @@ static inline u64 xfeatures_mask_supervisor(void)
 static inline u64 xfeatures_mask_independent(void)
 {
 	if (!cpu_feature_enabled(X86_FEATURE_ARCH_LBR))
-		return XFEATURE_MASK_INDEPENDENT & ~XFEATURE_MASK_LBR;
+		return fpu_kernel_cfg.independent_features & ~XFEATURE_MASK_LBR;
 
-	return XFEATURE_MASK_INDEPENDENT;
+	return fpu_kernel_cfg.independent_features;
 }
 
 /* XSAVE/XRSTOR wrapper functions */
arch/x86/kvm/svm/svm.c +15 -0
index e3c2acc1adc7..413f1f2aadd1 100644
@@ -2869,6 +2869,12 @@ static int svm_get_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info)
 	case MSR_CSTAR:
 		msr_info->data = svm->vmcb01.ptr->save.cstar;
 		break;
+	case MSR_GS_BASE:
+		msr_info->data = svm->vmcb01.ptr->save.gs.base;
+		break;
+	case MSR_FS_BASE:
+		msr_info->data = svm->vmcb01.ptr->save.fs.base;
+		break;
 	case MSR_KERNEL_GS_BASE:
 		msr_info->data = svm->vmcb01.ptr->save.kernel_gs_base;
 		break;
@@ -3090,6 +3096,12 @@ static int svm_set_msr(struct kvm_vcpu *vcpu, struct msr_data *msr)
 	case MSR_CSTAR:
 		svm->vmcb01.ptr->save.cstar = data;
 		break;
+	case MSR_GS_BASE:
+		svm->vmcb01.ptr->save.gs.base = data;
+		break;
+	case MSR_FS_BASE:
+		svm->vmcb01.ptr->save.fs.base = data;
+		break;
 	case MSR_KERNEL_GS_BASE:
 		svm->vmcb01.ptr->save.kernel_gs_base = data;
 		break;
@@ -5166,6 +5178,9 @@ static __init void svm_set_cpu_caps(void)
 
 	/* CPUID 0x8000001F (SME/SEV features) */
 	sev_set_cpu_caps();
+
+	/* Don't advertise Bus Lock Detect to guest if SVM support is absent */
+	kvm_cpu_cap_clear(X86_FEATURE_BUS_LOCK_DETECT);
 }
 
 static __init int svm_hardware_setup(void)
arch/x86/kvm/x86.c +2 -0
index c7e7ab1593d5..50cc822e1290 100644
@@ -5829,7 +5829,9 @@ long kvm_arch_vcpu_ioctl(struct file *filp,
 		if (copy_from_user(&events, argp, sizeof(struct kvm_vcpu_events)))
 			break;
 
+		kvm_vcpu_srcu_read_lock(vcpu);
 		r = kvm_vcpu_ioctl_x86_set_vcpu_events(vcpu, &events);
+		kvm_vcpu_srcu_read_unlock(vcpu);
 		break;
 	}
 	case KVM_GET_DEBUGREGS: {
arch/x86/lib/iomem.c +4 -1
index e0411a3774d4..5eecb45d05d5 100644
@@ -25,6 +25,9 @@ static __always_inline void rep_movs(void *to, const void *from, size_t n)
 
 static void string_memcpy_fromio(void *to, const volatile void __iomem *from, size_t n)
 {
+	const void *orig_to = to;
+	const size_t orig_n = n;
+
 	if (unlikely(!n))
 		return;
 
@@ -39,7 +42,7 @@ static void string_memcpy_fromio(void *to, const volatile void __iomem *from, si
 	}
 	rep_movs(to, (const void *)from, n);
 	/* KMSAN must treat values read from devices as initialized. */
-	kmsan_unpoison_memory(to, n);
+	kmsan_unpoison_memory(orig_to, orig_n);
 }
 
 static void string_memcpy_toio(volatile void __iomem *to, const void *from, size_t n)
arch/x86/mm/init_64.c +4 -0
index 19d209b412d7..aa69353da49f 100644
@@ -950,8 +950,12 @@ static void update_end_of_memory_vars(u64 start, u64 size)
 int add_pages(int nid, unsigned long start_pfn, unsigned long nr_pages,
 	      struct mhp_params *params)
 {
+	unsigned long end = ((start_pfn + nr_pages) << PAGE_SHIFT) - 1;
 	int ret;
 
+	if (WARN_ON_ONCE(end > PHYSMEM_END))
+		return -ERANGE;
+
 	ret = __add_pages(nid, start_pfn, nr_pages, params);
 	WARN_ON_ONCE(ret);
 
arch/x86/mm/kaslr.c +26 -6
index 37db264866b6..230f1dee4f09 100644
@@ -47,13 +47,24 @@ static const unsigned long vaddr_end = CPU_ENTRY_AREA_BASE;
  */
 static __initdata struct kaslr_memory_region {
 	unsigned long *base;
+	unsigned long *end;
 	unsigned long size_tb;
 } kaslr_regions[] = {
-	{ &page_offset_base, 0 },
-	{ &vmalloc_base, 0 },
-	{ &vmemmap_base, 0 },
+	{
+		.base	= &page_offset_base,
+		.end	= &physmem_end,
+	},
+	{
+		.base	= &vmalloc_base,
+	},
+	{
+		.base	= &vmemmap_base,
+	},
 };
 
+/* The end of the possible address space for physical memory */
+unsigned long physmem_end __ro_after_init;
+
 /* Get size in bytes used by the memory region */
 static inline unsigned long get_padding(struct kaslr_memory_region *region)
 {
@@ -82,6 +93,8 @@ void __init kernel_randomize_memory(void)
 	BUILD_BUG_ON(vaddr_end != CPU_ENTRY_AREA_BASE);
 	BUILD_BUG_ON(vaddr_end > __START_KERNEL_map);
 
+	/* Preset the end of the possible address space for physical memory */
+	physmem_end = ((1ULL << MAX_PHYSMEM_BITS) - 1);
 	if (!kaslr_memory_enabled())
 		return;
 
@@ -128,11 +141,18 @@ void __init kernel_randomize_memory(void)
 		vaddr += entropy;
 		*kaslr_regions[i].base = vaddr;
 
+		/* Calculate the end of the region */
+		vaddr += get_padding(&kaslr_regions[i]);
 		/*
-		 * Jump the region and add a minimum padding based on
-		 * randomization alignment.
+		 * KASLR trims the maximum possible size of the
+		 * direct-map. Update the physmem_end boundary.
+		 * No rounding required as the region starts
+		 * PUD aligned and size is in units of TB.
 		 */
-		vaddr += get_padding(&kaslr_regions[i]);
+		if (kaslr_regions[i].end)
+			*kaslr_regions[i].end = __pa_nodebug(vaddr - 1);
+
+		/* Add a minimum padding based on randomization alignment. */
 		vaddr = round_up(vaddr + 1, PUD_SIZE);
 		remain_entropy -= entropy;
 	}
arch/x86/mm/pti.c +29 -16

117 lines not on this page · raw message

drivers/accel/habanalabs/gaudi2/gaudi2_security.c +1 -0
index 908710524dc9..493e556cd31b 100644
@@ -479,6 +479,7 @@ static const u32 gaudi2_pb_dcr0_edma0_unsecured_regs[] = {
 	mmDCORE0_EDMA0_CORE_CTX_TE_NUMROWS,
 	mmDCORE0_EDMA0_CORE_CTX_IDX,
 	mmDCORE0_EDMA0_CORE_CTX_IDX_INC,
+	mmDCORE0_EDMA0_CORE_WR_COMP_MAX_OUTSTAND,
 	mmDCORE0_EDMA0_CORE_RD_LBW_RATE_LIM_CFG,
 	mmDCORE0_EDMA0_QM_CQ_CFG0_0,
 	mmDCORE0_EDMA0_QM_CQ_CFG0_1,
drivers/acpi/acpi_processor.c +8 -7
index 0f5218e361df..7053f1b9fc1d 100644
@@ -415,7 +415,7 @@ static int acpi_processor_add(struct acpi_device *device,
 
 	result = acpi_processor_get_info(device);
 	if (result) /* Processor is not physically present or unavailable */
-		return 0;
+		goto err_clear_driver_data;
 
 	BUG_ON(pr->id >= nr_cpu_ids);
 
@@ -430,7 +430,7 @@ static int acpi_processor_add(struct acpi_device *device,
 			"BIOS reported wrong ACPI id %d for the processor\n",
 			pr->id);
 		/* Give up, but do not abort the namespace scan. */
-		goto err;
+		goto err_clear_driver_data;
 	}
 	/*
 	 * processor_device_array is not cleared on errors to allow buggy BIOS
@@ -442,12 +442,12 @@ static int acpi_processor_add(struct acpi_device *device,
 	dev = get_cpu_device(pr->id);
 	if (!dev) {
 		result = -ENODEV;
-		goto err;
+		goto err_clear_per_cpu;
 	}
 
 	result = acpi_bind_one(dev, device);
 	if (result)
-		goto err;
+		goto err_clear_per_cpu;
 
 	pr->dev = dev;
 
@@ -458,10 +458,11 @@ static int acpi_processor_add(struct acpi_device *device,
 	dev_err(dev, "Processor driver could not be attached\n");
 	acpi_unbind_one(dev);
 
- err:
-	free_cpumask_var(pr->throttling.shared_cpu_map);
-	device->driver_data = NULL;
+ err_clear_per_cpu:
 	per_cpu(processors, pr->id) = NULL;
+ err_clear_driver_data:
+	device->driver_data = NULL;
+	free_cpumask_var(pr->throttling.shared_cpu_map);
  err_free_pr:
 	kfree(pr);
 	return result;
drivers/acpi/cppc_acpi.c +13 -0
index d3b9da75a815..d6934ba7a315 100644
@@ -1196,6 +1196,19 @@ int cppc_get_nominal_perf(int cpunum, u64 *nominal_perf)
 	return cppc_get_perf(cpunum, NOMINAL_PERF, nominal_perf);
 }
 
+/**
+ * cppc_get_highest_perf - Get the highest performance register value.
+ * @cpunum: CPU from which to get highest performance.
+ * @highest_perf: Return address.
+ *
+ * Return: 0 for success, -EIO otherwise.
+ */
+int cppc_get_highest_perf(int cpunum, u64 *highest_perf)
+{
+	return cppc_get_perf(cpunum, HIGHEST_PERF, highest_perf);
+}
+EXPORT_SYMBOL_GPL(cppc_get_highest_perf);
+
 /**
  * cppc_get_epp_perf - Get the epp register value.
  * @cpunum: CPU from which to get epp preference value.
drivers/android/binder.c +1 -0
index ccaceedbc2c0..94f10c6eb336 100644
@@ -3342,6 +3342,7 @@ static void binder_transaction(struct binder_proc *proc,
 		 */
 		copy_size = object_offset - user_offset;
 		if (copy_size && (user_offset > object_offset ||
+				object_offset > tr->data_size ||
 				binder_alloc_copy_user_to_buffer(
 					&target_proc->alloc,
 					t->buffer, user_offset,
drivers/ata/libata-core.c +3 -1
index 373d23af1d9a..4ed90d46a017 100644
@@ -5593,8 +5593,10 @@ struct ata_host *ata_host_alloc(struct device *dev, int max_ports)
 	}
 
 	dr = devres_alloc(ata_devres_release, 0, GFP_KERNEL);
-	if (!dr)
+	if (!dr) {
+		kfree(host);
 		goto err_out;
+	}
 
 	devres_add(dev, dr);
 	dev_set_drvdata(dev, host);
drivers/ata/libata-scsi.c +20 -4
index 277bf0e8ed09..c91f8746289f 100644
@@ -242,10 +242,17 @@ void ata_scsi_set_sense_information(struct ata_device *dev,
  */
 static void ata_scsi_set_passthru_sense_fields(struct ata_queued_cmd *qc)
 {
+	struct ata_device *dev = qc->dev;
 	struct scsi_cmnd *cmd = qc->scsicmd;
 	struct ata_taskfile *tf = &qc->result_tf;
 	unsigned char *sb = cmd->sense_buffer;
 
+	if (!(qc->flags & ATA_QCFLAG_RTF_FILLED)) {
+		ata_dev_dbg(dev,
+			    "missing result TF: can't set ATA PT sense fields\n");
+		return;
+	}
+
 	if ((sb[0] & 0x7f) >= 0x72) {
 		unsigned char *desc;
 		u8 len;
@@ -924,12 +931,16 @@ static void ata_to_sense_error(unsigned id, u8 drv_stat, u8 drv_err, u8 *sk,
  */
 static void ata_gen_passthru_sense(struct ata_queued_cmd *qc)
 {
+	struct ata_device *dev = qc->dev;
 	struct scsi_cmnd *cmd = qc->scsicmd;
 	struct ata_taskfile *tf = &qc->result_tf;
-	unsigned char *sb = cmd->sense_buffer;
 	u8 sense_key, asc, ascq;
 
-	memset(sb, 0, SCSI_SENSE_BUFFERSIZE);
+	if (!(qc->flags & ATA_QCFLAG_RTF_FILLED)) {
+		ata_dev_dbg(dev,
+			    "missing result TF: can't generate ATA PT sense data\n");
+		return;
+	}
 
 	/*
 	 * Use ata_to_sense_error() to map status register bits
@@ -976,14 +987,19 @@ static void ata_gen_ata_sense(struct ata_queued_cmd *qc)
 	u64 block;
 	u8 sense_key, asc, ascq;
 
-	memset(sb, 0, SCSI_SENSE_BUFFERSIZE);
-
 	if (ata_dev_disabled(dev)) {
 		/* Device disabled after error recovery */
 		/* LOGICAL UNIT NOT READY, HARD RESET REQUIRED */
 		ata_scsi_set_sense(dev, cmd, NOT_READY, 0x04, 0x21);
 		return;
 	}
+
+	if (!(qc->flags & ATA_QCFLAG_RTF_FILLED)) {
+		ata_dev_dbg(dev,
+			    "missing result TF: can't generate sense data\n");
+		return;
+	}
+
 	/* Use ata_to_sense_error() to map status register bits
 	 * onto sense key, asc & ascq.
 	 */
drivers/ata/pata_macio.c +5 -2
index 17f6ccee53c7..ffbb2e8591ce 100644
@@ -541,7 +541,8 @@ static enum ata_completion_errors pata_macio_qc_prep(struct ata_queued_cmd *qc)
 
 		while (sg_len) {
 			/* table overflow should never happen */
-			BUG_ON (pi++ >= MAX_DCMDS);
+			if (WARN_ON_ONCE(pi >= MAX_DCMDS))
+				return AC_ERR_SYSTEM;
 
 			len = (sg_len < MAX_DBDMA_SEG) ? sg_len : MAX_DBDMA_SEG;
 			table->command = cpu_to_le16(write ? OUTPUT_MORE: INPUT_MORE);
@@ -553,11 +554,13 @@ static enum ata_completion_errors pata_macio_qc_prep(struct ata_queued_cmd *qc)
 			addr += len;
 			sg_len -= len;
 			++table;
+			++pi;
 		}
 	}
 
 	/* Should never happen according to Tejun */
-	BUG_ON(!pi);
+	if (WARN_ON_ONCE(!pi))
+		return AC_ERR_SYSTEM;
 
 	/* Convert the last command to an input/output */
 	table--;
drivers/base/devres.c +1 -0
index 8d709dbd4e0c..e9b0d94aeabd 100644
@@ -567,6 +567,7 @@ void * devres_open_group(struct device *dev, void *id, gfp_t gfp)
 	grp->id = grp;
 	if (id)
 		grp->id = id;
+	grp->color = 0;
 
 	spin_lock_irqsave(&dev->devres_lock, flags);
 	add_dr(dev, &grp->node[0]);
drivers/base/regmap/regcache-maple.c +2 -1
index 55999a50ccc0..0b6c2277128b 100644
@@ -110,7 +110,8 @@ static int regcache_maple_drop(struct regmap *map, unsigned int min,
 	struct maple_tree *mt = map->cache;
 	MA_STATE(mas, mt, min, max);
 	unsigned long *entry, *lower, *upper;
-	unsigned long lower_index, lower_last;
+	/* initialized to work around false-positive -Wuninitialized warning */
+	unsigned long lower_index = 0, lower_last = 0;
 	unsigned long upper_index, upper_last;
 	int ret = 0;
 
drivers/block/ublk_drv.c +2 -0
index f4e0573c4711..bf7f68e90953 100644
@@ -2603,6 +2603,8 @@ static int ublk_ctrl_start_recovery(struct ublk_device *ub,
 	mutex_lock(&ub->mutex);
 	if (!ublk_can_use_recovery(ub))
 		goto out_unlock;
+	if (!ub->nr_queues_ready)
+		goto out_unlock;
 	/*
 	 * START_RECOVERY is only allowd after:
 	 *
drivers/bluetooth/btnxpuart.c +8 -4
index 814dd966b1a4..5ee9a8b8dcfd 100644
@@ -1326,8 +1326,10 @@ static int btnxpuart_close(struct hci_dev *hdev)
 
 	serdev_device_close(nxpdev->serdev);
 	skb_queue_purge(&nxpdev->txq);
-	kfree_skb(nxpdev->rx_skb);
-	nxpdev->rx_skb = NULL;
+	if (!IS_ERR_OR_NULL(nxpdev->rx_skb)) {
+		kfree_skb(nxpdev->rx_skb);
+		nxpdev->rx_skb = NULL;
+	}
 	clear_bit(BTNXPUART_SERDEV_OPEN, &nxpdev->tx_state);
 	return 0;
 }
@@ -1342,8 +1344,10 @@ static int btnxpuart_flush(struct hci_dev *hdev)
 
 	cancel_work_sync(&nxpdev->tx_work);
 
-	kfree_skb(nxpdev->rx_skb);
-	nxpdev->rx_skb = NULL;
+	if (!IS_ERR_OR_NULL(nxpdev->rx_skb)) {
+		kfree_skb(nxpdev->rx_skb);
+		nxpdev->rx_skb = NULL;
+	}
 
 	return 0;
 }
drivers/bluetooth/hci_qca.c +1 -0
index 9082456d80fb..7a552387129e 100644
@@ -1090,6 +1090,7 @@ static void qca_controller_memdump(struct work_struct *work)
 				qca->memdump_state = QCA_MEMDUMP_COLLECTED;
 				cancel_delayed_work(&qca->ctrl_memdump_timeout);
 				clear_bit(QCA_MEMDUMP_COLLECTION, &qca->flags);
+				clear_bit(QCA_IBS_DISABLED, &qca->flags);
 				mutex_unlock(&qca->hci_memdump_lock);
 				return;
 			}
drivers/clk/qcom/clk-alpha-pll.c +3 -3
index 85aa089650ea..1701cce74df7 100644
@@ -40,7 +40,7 @@
 
 #define PLL_USER_CTL(p)		((p)->offset + (p)->regs[PLL_OFF_USER_CTL])
 # define PLL_POST_DIV_SHIFT	8
-# define PLL_POST_DIV_MASK(p)	GENMASK((p)->width, 0)
+# define PLL_POST_DIV_MASK(p)	GENMASK((p)->width - 1, 0)
 # define PLL_ALPHA_EN		BIT(24)
 # define PLL_ALPHA_MODE		BIT(25)
 # define PLL_VCO_SHIFT		20
@@ -1478,8 +1478,8 @@ clk_trion_pll_postdiv_set_rate(struct clk_hw *hw, unsigned long rate,
 	}
 
 	return regmap_update_bits(regmap, PLL_USER_CTL(pll),
-				  PLL_POST_DIV_MASK(pll) << PLL_POST_DIV_SHIFT,
-				  val << PLL_POST_DIV_SHIFT);
+				  PLL_POST_DIV_MASK(pll) << pll->post_div_shift,
+				  val << pll->post_div_shift);
 }
 
 const struct clk_ops clk_alpha_pll_postdiv_trion_ops = {
drivers/clk/qcom/clk-rcg.h +1 -0
index e6d84c8c7989..84c497f361bc 100644
@@ -176,6 +176,7 @@ extern const struct clk_ops clk_byte2_ops;
 extern const struct clk_ops clk_pixel_ops;
 extern const struct clk_ops clk_gfx3d_ops;
 extern const struct clk_ops clk_rcg2_shared_ops;
+extern const struct clk_ops clk_rcg2_shared_no_init_park_ops;
 extern const struct clk_ops clk_dp_ops;
 
 struct clk_rcg_dfs_data {
drivers/clk/qcom/clk-rcg2.c +30 -0
index b9f2a29be927..461f54fe5e4f 100644
@@ -1182,6 +1182,36 @@ const struct clk_ops clk_rcg2_shared_ops = {
 };
 EXPORT_SYMBOL_GPL(clk_rcg2_shared_ops);
 
+static int clk_rcg2_shared_no_init_park(struct clk_hw *hw)
+{
+	struct clk_rcg2 *rcg = to_clk_rcg2(hw);
+
+	/*
+	 * Read the config register so that the parent is properly mapped at
+	 * registration time.
+	 */
+	regmap_read(rcg->clkr.regmap, rcg->cmd_rcgr + CFG_REG, &rcg->parked_cfg);
+
+	return 0;
+}
+
+/*
+ * Like clk_rcg2_shared_ops but skip the init so that the clk frequency is left
+ * unchanged at registration time.
+ */
+const struct clk_ops clk_rcg2_shared_no_init_park_ops = {
+	.init = clk_rcg2_shared_no_init_park,
+	.enable = clk_rcg2_shared_enable,
+	.disable = clk_rcg2_shared_disable,
+	.get_parent = clk_rcg2_shared_get_parent,
+	.set_parent = clk_rcg2_shared_set_parent,
+	.recalc_rate = clk_rcg2_shared_recalc_rate,
+	.determine_rate = clk_rcg2_determine_rate,
+	.set_rate = clk_rcg2_shared_set_rate,
+	.set_rate_and_parent = clk_rcg2_shared_set_rate_and_parent,
+};
+EXPORT_SYMBOL_GPL(clk_rcg2_shared_no_init_park_ops);
+
 /* Common APIs to be used for DFS based RCGR */
 static void clk_rcg2_dfs_populate_freq(struct clk_hw *hw, unsigned int l,
 				       struct freq_tbl *f)
drivers/clk/qcom/gcc-ipq9574.c +6 -6
index f8b9a1e93bef..cdbbf2cc9c5d 100644
@@ -65,7 +65,7 @@ static const struct clk_parent_data gcc_sleep_clk_data[] = {
 
 static struct clk_alpha_pll gpll0_main = {
 	.offset = 0x20000,
-	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
+	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT_EVO],
 	.clkr = {
 		.enable_reg = 0x0b000,
 		.enable_mask = BIT(0),
@@ -93,7 +93,7 @@ static struct clk_fixed_factor gpll0_out_main_div2 = {
 
 static struct clk_alpha_pll_postdiv gpll0 = {
 	.offset = 0x20000,
-	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
+	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT_EVO],
 	.width = 4,
 	.clkr.hw.init = &(const struct clk_init_data) {
 		.name = "gpll0",
@@ -107,7 +107,7 @@ static struct clk_alpha_pll_postdiv gpll0 = {
 
 static struct clk_alpha_pll gpll4_main = {
 	.offset = 0x22000,
-	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
+	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT_EVO],
 	.clkr = {
 		.enable_reg = 0x0b000,
 		.enable_mask = BIT(2),
@@ -122,7 +122,7 @@ static struct clk_alpha_pll gpll4_main = {
 
 static struct clk_alpha_pll_postdiv gpll4 = {
 	.offset = 0x22000,
-	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
+	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT_EVO],
 	.width = 4,
 	.clkr.hw.init = &(const struct clk_init_data) {
 		.name = "gpll4",
@@ -136,7 +136,7 @@ static struct clk_alpha_pll_postdiv gpll4 = {
 
 static struct clk_alpha_pll gpll2_main = {
 	.offset = 0x21000,
-	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
+	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT_EVO],
 	.clkr = {
 		.enable_reg = 0x0b000,
 		.enable_mask = BIT(1),
@@ -151,7 +151,7 @@ static struct clk_alpha_pll gpll2_main = {
 
 static struct clk_alpha_pll_postdiv gpll2 = {
 	.offset = 0x21000,
-	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
+	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT_EVO],
 	.width = 4,
 	.clkr.hw.init = &(const struct clk_init_data) {
 		.name = "gpll2",
drivers/clk/qcom/gcc-sm8550.c +27 -27

216 lines not on this page · raw message

drivers/clk/starfive/clk-starfive-jh7110-sys.c +30 -1
index 3884eff9fe93..58ef7c6d69cc 100644
@@ -385,6 +385,32 @@ int jh7110_reset_controller_register(struct jh71x0_clk_priv *priv,
 }
 EXPORT_SYMBOL_GPL(jh7110_reset_controller_register);
 
+/*
+ * This clock notifier is called when the rate of PLL0 clock is to be changed.
+ * The cpu_root clock should save the curent parent clock and switch its parent
+ * clock to osc before PLL0 rate will be changed. Then switch its parent clock
+ * back after the PLL0 rate is completed.
+ */
+static int jh7110_pll0_clk_notifier_cb(struct notifier_block *nb,
+				       unsigned long action, void *data)
+{
+	struct jh71x0_clk_priv *priv = container_of(nb, struct jh71x0_clk_priv, pll_clk_nb);
+	struct clk *cpu_root = priv->reg[JH7110_SYSCLK_CPU_ROOT].hw.clk;
+	int ret = 0;
+
+	if (action == PRE_RATE_CHANGE) {
+		struct clk *osc = clk_get(priv->dev, "osc");
+
+		priv->original_clk = clk_get_parent(cpu_root);
+		ret = clk_set_parent(cpu_root, osc);
+		clk_put(osc);
+	} else if (action == POST_RATE_CHANGE) {
+		ret = clk_set_parent(cpu_root, priv->original_clk);
+	}
+
+	return notifier_from_errno(ret);
+}
+
 static int __init jh7110_syscrg_probe(struct platform_device *pdev)
 {
 	struct jh71x0_clk_priv *priv;
@@ -413,7 +439,10 @@ static int __init jh7110_syscrg_probe(struct platform_device *pdev)
 		if (IS_ERR(priv->pll[0]))
 			return PTR_ERR(priv->pll[0]);
 	} else {
-		clk_put(pllclk);
+		priv->pll_clk_nb.notifier_call = jh7110_pll0_clk_notifier_cb;
+		ret = clk_notifier_register(pllclk, &priv->pll_clk_nb);
+		if (ret)
+			return ret;
 		priv->pll[0] = NULL;
 	}
 
drivers/clk/starfive/clk-starfive-jh71x0.h +2 -0
index 34bb11c72eb7..ebc55b9ef837 100644
@@ -114,6 +114,8 @@ struct jh71x0_clk_priv {
 	spinlock_t rmw_lock;
 	struct device *dev;
 	void __iomem *base;
+	struct clk *original_clk;
+	struct notifier_block pll_clk_nb;
 	struct clk_hw *pll[3];
 	struct jh71x0_clk reg[];
 };
drivers/clocksource/timer-imx-tpm.c +12 -4
index bd64a8a8427f..92c025b70eb6 100644
@@ -83,20 +83,28 @@ static u64 notrace tpm_read_sched_clock(void)
 static int tpm_set_next_event(unsigned long delta,
 				struct clock_event_device *evt)
 {
-	unsigned long next, now;
+	unsigned long next, prev, now;
 
-	next = tpm_read_counter();
-	next += delta;
+	prev = tpm_read_counter();
+	next = prev + delta;
 	writel(next, timer_base + TPM_C0V);
 	now = tpm_read_counter();
 
+	/*
+	 * Need to wait CNT increase at least 1 cycle to make sure
+	 * the C0V has been updated into HW.
+	 */
+	if ((next & 0xffffffff) != readl(timer_base + TPM_C0V))
+		while (now == tpm_read_counter())
+			;
+
 	/*
 	 * NOTE: We observed in a very small probability, the bus fabric
 	 * contention between GPU and A7 may results a few cycles delay
 	 * of writing CNT registers which may cause the min_delta event got
 	 * missed, so we need add a ETIME check here in case it happened.
 	 */
-	return (int)(next - now) <= 0 ? -ETIME : 0;
+	return (now - prev) >= delta ? -ETIME : 0;
 }
 
 static int tpm_set_state_oneshot(struct clock_event_device *evt)
drivers/clocksource/timer-of.c +4 -13
index c3f54d9912be..420202bf76e4 100644
@@ -25,10 +25,7 @@ static __init void timer_of_irq_exit(struct of_timer_irq *of_irq)
 
 	struct clock_event_device *clkevt = &to->clkevt;
 
-	if (of_irq->percpu)
-		free_percpu_irq(of_irq->irq, clkevt);
-	else
-		free_irq(of_irq->irq, clkevt);
+	free_irq(of_irq->irq, clkevt);
 }
 
 /**
@@ -42,9 +39,6 @@ static __init void timer_of_irq_exit(struct of_timer_irq *of_irq)
  * - Get interrupt number by name
  * - Get interrupt number by index
  *
- * When the interrupt is per CPU, 'request_percpu_irq()' is called,
- * otherwise 'request_irq()' is used.
- *
  * Returns 0 on success, < 0 otherwise
  */
 static __init int timer_of_irq_init(struct device_node *np,
@@ -69,12 +63,9 @@ static __init int timer_of_irq_init(struct device_node *np,
 		return -EINVAL;
 	}
 
-	ret = of_irq->percpu ?
-		request_percpu_irq(of_irq->irq, of_irq->handler,
-				   np->full_name, clkevt) :
-		request_irq(of_irq->irq, of_irq->handler,
-			    of_irq->flags ? of_irq->flags : IRQF_TIMER,
-			    np->full_name, clkevt);
+	ret = request_irq(of_irq->irq, of_irq->handler,
+			  of_irq->flags ? of_irq->flags : IRQF_TIMER,
+			  np->full_name, clkevt);
 	if (ret) {
 		pr_err("Failed to request irq %d for %pOF\n", of_irq->irq, np);
 		return ret;
drivers/clocksource/timer-of.h +0 -1
index a5478f3e8589..01a2c6b7db06 100644
@@ -11,7 +11,6 @@
 struct of_timer_irq {
 	int irq;
 	int index;
-	int percpu;
 	const char *name;
 	unsigned long flags;
 	irq_handler_t handler;
drivers/cpufreq/amd-pstate.c +139 -8

25 lines not on this page · raw message

drivers/crypto/intel/qat/qat_common/adf_gen2_pfvf.c +3 -1
index 70ef11963938..43af81fcab86 100644

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

drivers/crypto/intel/qat/qat_dh895xcc/adf_dh895xcc_hw_data.c +6 -2
index 09551f949126..0e40897cc983 100644

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

drivers/crypto/starfive/jh7110-cryp.h +2 -2
index fe011d50473d..607f70292b21 100644

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

drivers/crypto/starfive/jh7110-rsa.c +9 -6
index f31bbd825f88..1db9a3d02848 100644

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

drivers/cxl/core/region.c +4 -1
index bc5a43897d57..5060d9802795 100644

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

drivers/firmware/cirrus/cs_dsp.c +3 -0
index a1da7581adb0..e62ffffe5fb8 100644

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

drivers/gpio/gpio-rockchip.c +1 -0
index b35b9604413f..caeb3bdc78f8 100644

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

drivers/gpio/gpio-zynqmp-modepin.c +1 -0
index a0d69387c153..2f3c9ebfa78d 100644

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

drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c +15 -0
index 61668a784315..e361dc37a089 100644

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

drivers/gpu/drm/amd/amdgpu/amdgpu_display.c +27 -3
index 578aeba49ea8..5fbb9caa7415 100644

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

drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c +14 -1
index ff1ea99292fb..69dfc699d78b 100644

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

drivers/gpu/drm/amd/amdgpu/amdgpu_ids.h +1 -0
index fa8c42c83d5d..240fa6751260 100644

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

drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c +3 -1
index d9dc675b46ae..22575422ca7e 100644

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

drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c +4 -4
index c81e98f0d17f..c813cd7b015e 100644

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

drivers/gpu/drm/amd/amdgpu/ih_v6_0.c +28 -0
index f432dc72df6a..725b1a585088 100644

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

drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +1 -1
index 44c155683824..f0ebf686b06f 100644

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

drivers/gpu/drm/amd/display/dc/link/link_factory.c +3 -3
index 2c366866f570..33bb96f770b8 100644

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

drivers/gpu/drm/amd/display/modules/hdcp/hdcp1_execution.c +9 -6
index 1ddb4f5eac8e..93c0455766dd 100644

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

drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c +4 -2
index c9a9c758531b..c0d7fe5102e6 100644

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

drivers/gpu/drm/i915/gt/uc/intel_gsc_uc.c +1 -1
index 0d3b22a74365..e251e061d1ad 100644

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

drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h +5 -0
index 9a431726c8d5..ac7b3aad2222 100644

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

drivers/gpu/drm/i915/i915_sw_fence.c +4 -4
index 8a9aad523eec..1d4cc91c0e40 100644

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

drivers/hid/amd-sfh-hid/amd_sfh_hid.c +3 -1
index 705b52337068..81f3024b7b1b 100644

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

drivers/hid/hid-cougar.c +1 -1
index cb8bd8aae15b..0fa785f52707 100644

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

drivers/hv/vmbus_drv.c +1 -0
index edbb38f6956b..756aebf32473 100644

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

drivers/hwmon/adc128d818.c +2 -2
index 46e3c8c50765..73fd96799847 100644

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

drivers/hwmon/hp-wmi-sensors.c +2 -0
index b5325d0e72b9..dfa1d6926dea 100644

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

drivers/hwmon/lm95234.c +5 -4
index 67b9d7636ee4..37e8e9679aeb 100644

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

drivers/hwmon/nct6775-core.c +1 -1
index f3bf2e4701c3..8da7aa1614d7 100644

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

drivers/hwmon/w83627ehf.c +2 -2
index fe960c0a624f..7d7d70afde65 100644

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

drivers/i3c/master/mipi-i3c-hci/dma.c +4 -1
index 337c95d43f3f..edc3a69bfe31 100644

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

drivers/i3c/master/svc-i3c-master.c +44 -14

58 lines not on this page · raw message

drivers/iio/adc/ad7124.c +16 -11
index b9b206fcd748..2976c62b58c0 100644

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

drivers/iio/adc/ad7606.c +2 -26
index 1928d9ae5bcf..1c08c0921ee7 100644

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

drivers/iio/adc/ad7606.h +2 -0
index 0c6a88cc4695..6649e84d25de 100644

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

drivers/iio/adc/ad7606_par.c +45 -3

48 lines not on this page · raw message

drivers/iio/buffer/industrialio-buffer-dmaengine.c +3 -1
index 0d53c0a07b0d..db5dbd60cf67 100644

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

drivers/iio/inkern.c +4 -4
index b85556538475..80e1c45485c9 100644

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

drivers/input/misc/uinput.c +14 -0
index d98212d55108..2c973f15cab7 100644

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

drivers/input/touchscreen/ili210x.c +3 -3
index ae7ba0c419f5..6a77babcf722 100644

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

drivers/iommu/intel/dmar.c +1 -1
index 23cb80d62a9a..84f0459e503c 100644

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

drivers/iommu/sun50i-iommu.c +1 -0
index 74c5cb93e900..94bd7f25f6f2 100644

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

drivers/irqchip/irq-armada-370-xp.c +4 -0
index a55528469278..91a42e2d7a13 100644

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

drivers/irqchip/irq-gic-v2m.c +3 -3
index f2ff4387870d..d83c2c85962c 100644

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

drivers/leds/leds-spi-byte.c +5 -1
index 9d91f21842f2..afe9bff7c7c1 100644

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

drivers/md/dm-init.c +3 -1
index 2a71bcdba92d..b37bbe762500 100644

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

drivers/media/platform/qcom/camss/camss.c +4 -1
index c6df862c79e3..8fa6750b5b42 100644

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

drivers/media/test-drivers/vivid/vivid-vid-cap.c +11 -6
index 3a06df35a2d7..99325bfed643 100644

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

drivers/media/test-drivers/vivid/vivid-vid-out.c +9 -7
index 184a6df2c29f..d05f547a587c 100644

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

drivers/misc/fastrpc.c +2 -3
index f0626814d56b..4df0d7a0cd11 100644

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

drivers/misc/vmw_vmci/vmci_resource.c +2 -1
index 692daa9eff34..19c9d2cdd277 100644

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

drivers/mmc/core/quirks.h +13 -9
index cca71867bc4a..92905fc46436 100644

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

drivers/mmc/core/sd.c +4 -0
index c3e554344c99..240469a881a2 100644

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

drivers/mmc/host/cqhci-core.c +1 -1
index 41e94cd14109..fe7a4eac9595 100644

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

drivers/mmc/host/dw_mmc.c +2 -2
index 02bee7afab37..2f0bc79ef856 100644

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

drivers/mmc/host/sdhci-of-aspeed.c +1 -0
index 42d54532cabe..8379a0620c8f 100644

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

drivers/net/bareudp.c +11 -11
index 683203f87ae2..277493e41b07 100644

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

drivers/net/can/kvaser_pciefd.c +20 -23

43 lines not on this page · raw message

drivers/net/can/m_can/m_can.c +4 -1
index 2395b1225cc8..fb77fd74de27 100644

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

drivers/net/can/spi/mcp251x.c +1 -1
index 79c4bab5f724..8c56f85e87c1 100644

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

drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c +14 -14
index 1665f78abb5c..a9bafa96e2f9 100644

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

drivers/net/can/spi/mcp251xfd/mcp251xfd-ram.c +10 -1
index 9e8e82cdba46..61b0d6fa52dd 100644

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

drivers/net/can/spi/mcp251xfd/mcp251xfd-ring.c +20 -3
index 4cb79a4f2461..f72582d4d3e8 100644

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

drivers/net/can/spi/mcp251xfd/mcp251xfd-rx.c +111 -54

165 lines not on this page · raw message

drivers/net/can/spi/mcp251xfd/mcp251xfd-tef.c +1 -1
index 5b0c7890d4b4..3886476a8f8e 100644

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

drivers/net/can/spi/mcp251xfd/mcp251xfd-timestamp.c +6 -16
index 712e09186987..1db99aabe85c 100644

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

drivers/net/can/spi/mcp251xfd/mcp251xfd.h +26 -16

42 lines not on this page · raw message

drivers/net/dsa/vitesse-vsc73xx-core.c +8 -2
index 23bd8b3f8993..a28bf5433ea7 100644

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

drivers/net/ethernet/freescale/dpaa/dpaa_eth.c +15 -5
index dcbc598b11c6..c6a3eefd83bf 100644

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

drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c +9 -1
index 5bd0b36d1feb..3f8cd4a7d845 100644

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

drivers/net/ethernet/intel/e1000e/ich8lan.c +1 -1
index 4d83c9a0c023..f9e94be36e97 100644

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

drivers/net/ethernet/intel/ice/ice.h +2 -0
index c7962f322db2..7b3ce30ba38f 100644

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

drivers/net/ethernet/intel/ice/ice_lib.c +21 -13
index 13ca3342a0ce..b3010a53f1b4 100644

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

drivers/net/ethernet/intel/ice/ice_main.c +37 -9

46 lines not on this page · raw message

drivers/net/ethernet/intel/ice/ice_xsk.c +2 -1
index 67511153081a..9a9b8698881b 100644

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

drivers/net/ethernet/intel/igb/igb_main.c +10 -0
index 8c8894ef3388..fa268d7bd1bc 100644

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

drivers/net/ethernet/intel/igc/igc_main.c +1 -0
index 21fb1a98ebca..da1018d83262 100644

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

drivers/net/ethernet/microchip/vcap/vcap_api_kunit.c +2 -12
index fe4e166de8a0..79276bc3d495 100644

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

drivers/net/ethernet/microsoft/mana/mana_en.c +13 -9
index 765c5fc158f8..d8cce3771af2 100644

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

drivers/net/mctp/mctp-serial.c +2 -2
index 5bf6fdff701c..346e6ad36054 100644

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

drivers/net/phy/phy_device.c +2 -0
index c895cd178e6a..2e4bff6055e2 100644

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

drivers/net/usb/ipheth.c +1 -1
index 687d70cfc556..6eeef10edada 100644

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

drivers/net/usb/r8152.c +13 -4
index 127b34dcc5b3..ce19ebd180f1 100644

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

drivers/net/usb/usbnet.c +3 -8
index 2d14b0d78541..6cc1b56ddde2 100644

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

drivers/net/wireless/ath/ath12k/mac.c +8 -1
index ba6fc27f4a1a..dd2a7c95517b 100644

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

drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c +1 -0
index 543e93ec49d2..9ab669487de4 100644

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

drivers/net/wireless/intel/iwlwifi/mvm/mvm.h +2 -1
index c780e5ffcd59..bace9d01fd58 100644

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

drivers/net/wireless/marvell/mwifiex/main.h +3 -0
index 7bdec6c62248..dc6b4cf616be 100644

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

drivers/net/wireless/realtek/rtw88/usb.c +10 -3
index efd0c2915a05..04a64afcbf8a 100644

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

drivers/nvme/host/pci.c +17 -0
index 2c3f55877a11..7fc1ab4d9e7d 100644

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

drivers/nvme/target/tcp.c +3 -1
index c65a1f4421f6..bd142aed20f4 100644

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

drivers/nvmem/core.c +3 -3
index 040dfa01fa12..e7fd1315d7ed 100644

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

drivers/of/irq.c +11 -4
index c94203ce65bb..8fd63100ba8f 100644

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

drivers/pci/controller/dwc/pci-keystone.c +43 -1

44 lines not on this page · raw message

drivers/pci/hotplug/pnv_php.c +1 -2
index 881d420637bf..092c9ac0d26d 100644

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

drivers/pci/pci.c +21 -14
index a0f961a380fa..53e9e9788bd5 100644

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

drivers/pcmcia/yenta_socket.c +3 -3
index 1365eaa20ff4..ff169124929c 100644

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

drivers/phy/xilinx/phy-zynqmp.c +1 -0
index 8c8b1ca31e4c..c72b52955a86 100644

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

drivers/platform/x86/dell/dell-smbios-base.c +4 -1
index 86b95206cb1b..6fb538a13868 100644

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

drivers/scsi/pm8001/pm8001_sas.c +3 -1
index a5a31dfa4512..ee2da8e49d4c 100644

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

drivers/spi/spi-fsl-lpspi.c +29 -2
index 3c0f7dc9614d..f7e268cf9085 100644

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

drivers/spi/spi-hisi-kunpeng.c +3 -0
index 6910b4d4c427..16054695bdb0 100644

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

drivers/spi/spi-rockchip.c +7 -16
index 5b010094dace..1f374cf4d6f6 100644

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

drivers/staging/iio/frequency/ad9834.c +1 -1
index 285df0e489a6..cfdfe66d74f1 100644

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

drivers/ufs/core/ufshcd.c +5 -2
index ad0ef5b6b8cf..ed59d2367a4e 100644

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

drivers/uio/uio_hv_generic.c +10 -1
index 6be3462b109f..a2c7abf8c289 100644

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

drivers/usb/dwc3/core.c +15 -0
index 21ff6cbe5e49..9955091c5336 100644

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

drivers/usb/dwc3/core.h +2 -0
index 07b062c2f647..db1a793a9b13 100644

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

drivers/usb/dwc3/gadget.c +17 -24

41 lines not on this page · raw message

drivers/usb/gadget/udc/aspeed_udc.c +2 -0
index fc2ead0fe621..4868286574a1 100644

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

drivers/usb/gadget/udc/cdns2/cdns2-gadget.c +3 -9
index 0eed0e03842c..d394affb7072 100644

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

drivers/usb/gadget/udc/cdns2/cdns2-gadget.h +9 -0
index 71e2f62d653a..b5d5ec12e986 100644

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

drivers/usb/storage/uas.c +1 -0
index 451d9569163a..f794cb39cc31 100644

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

drivers/vfio/vfio_iommu_spapr_tce.c +9 -4
index a94ec6225d31..5f9e7e477078 100644

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

drivers/virtio/virtio_ring.c +3 -1
index 6f7e5010a673..80669e05bf0e 100644

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

drivers/xen/privcmd.c +9 -1
index 923f064c7e3e..61aaded483e1 100644

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

fs/binfmt_elf.c +3 -2
index 7b3d2d491407..fb2c8d14327a 100644

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

fs/btrfs/ctree.c +10 -2
index 118ad4d2cbbe..2eb4e03080ac 100644

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

fs/btrfs/ctree.h +0 -1
index 86c7f8ce1715..06333a74d6c4 100644

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

fs/btrfs/extent-tree.c +25 -7
index c6ecfd05e1db..72851adc1fee 100644

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

fs/btrfs/file.c +10 -15
index 952cf145c629..15fd8c00f4c0 100644

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

fs/btrfs/inode.c +1 -1
index 18ce5353092d..a42238211887 100644

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

fs/btrfs/transaction.h +6 -0
index 238a0ab85df9..7623db359881 100644

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

fs/ext4/fast_commit.c +4 -4
index 5d473e50598f..f32a91d7c05d 100644

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

fs/fscache/main.c +1 -0
index dad85fd84f6f..7a60cd96e87e 100644

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

fs/fuse/dir.c +1 -1
index c1703d2c4bf9..95f9913a3537 100644

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

fs/fuse/file.c +7 -1
index cc9651a01351..ceb9f7d23038 100644

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

fs/fuse/xattr.c +2 -2
index 49c01559580f..690b9aadceaa 100644

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

fs/jbd2/recovery.c +30 -0
index 5b771a3d8d9a..421c0d360836 100644

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

fs/nfs/super.c +2 -0
index 0d6473cb00cb..f63513e477c5 100644

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

fs/nilfs2/recovery.c +33 -2
index a9b8d77c8c1d..ce30b51ac593 100644

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

fs/nilfs2/segment.c +6 -4
index e10f8a777ab0..0610cb12c11c 100644

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

fs/nilfs2/sysfs.c +33 -10

43 lines not on this page · raw message

fs/ntfs3/dir.c +32 -20

52 lines not on this page · raw message

fs/ntfs3/frecord.c +3 -1
index 45b687aff700..f7c381730b39 100644

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

fs/smb/client/smb2inode.c +3 -0
index 15cbfec4c28c..dd8acd207752 100644

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

fs/smb/client/smb2ops.c +14 -2
index 012d6ec12a69..acd5d7d79352 100644

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

fs/smb/server/oplock.c +1 -1
index a8f52c4ebbda..e546ffa57b55 100644

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

fs/smb/server/smb2pdu.c +9 -5
index da57adc2bd68..458cc736286a 100644

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

fs/smb/server/transport_tcp.c +3 -1
index 6633fa78e9b9..2ce7f75059cb 100644

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

fs/squashfs/inode.c +6 -1
index 16bd693d0b3a..d5918eba27e3 100644

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

fs/tracefs/event_inode.c +1 -1
index aa54be1ce124..73a08db3b7a8 100644

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

fs/udf/super.c +15 -0
index e0080fda2526..3c78535f406b 100644

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

fs/xattr.c +48 -43

91 lines not on this page · raw message

include/acpi/cppc_acpi.h +5 -0
index 6126c977ece0..c0b69ffe7bdb 100644

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

include/linux/amd-pstate.h +4 -0
index 6ad02ad9c7b4..68fc1bd8d851 100644

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

include/linux/bpf-cgroup.h +4 -12
index 31561e789715..d4f2c8706042 100644

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

include/linux/mm.h +4 -0
index 3d617d0d6967..830b925c2d00 100644

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

include/linux/pgtable.h +21 -0
index af7639c3b0a3..8b7daccd11be 100644

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

include/linux/regulator/consumer.h +8 -0
index 2c526c8d10cc..25d0684d37b3 100644

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

include/net/bluetooth/hci.h +3 -0
index d2a280a42f3b..2129d071c372 100644

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

include/net/bluetooth/hci_core.h +19 -6
index f89d6d43ba8f..29f1549ee111 100644

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

include/net/bluetooth/hci_sync.h +22 -2
index 4cb048bdcb1e..3cb2d10cac93 100644

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

include/net/mana/mana.h +2 -0
index 37ccce56a73e..28e110f733ff 100644

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

include/net/sock.h +4 -2
index 5942b5ff4c78..2a1aee503848 100644

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

include/uapi/drm/drm_fourcc.h +18 -0
index 8db7fd3f743e..5eed091d4c29 100644

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

kernel/bpf/cgroup.c +14 -11
index ac37bd53aee0..913a6a7e62ca 100644

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

kernel/bpf/verifier.c +3 -1
index 3f1a9cd7fc9e..9d5699942273 100644

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

kernel/cgroup/cgroup.c +1 -1
index 5eca6281d1aa..660817c125e7 100644

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

kernel/dma/map_benchmark.c +16 -0
index 4950e0b622b1..cc19a3efea89 100644

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

kernel/events/core.c +12 -6
index 0f2b5610933d..4d0abdace4e7 100644

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

kernel/events/internal.h +1 -0
index 386d21c7edfa..f376b057320c 100644

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

kernel/events/ring_buffer.c +2 -0
index f1f4a627f93d..b0930b418552 100644

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

kernel/events/uprobes.c +1 -2
index 3048589e2e85..4705571f8034 100644

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

kernel/kexec_file.c +1 -1
index f9a419cd22d4..830344627e9f 100644

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

kernel/locking/rtmutex.c +5 -4
index 21db0df0eb00..bf3a28ee7d8f 100644

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

kernel/resource.c +2 -4
index e3f5680a564c..ce127a829ead 100644

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

kernel/sched/core.c +3 -2
index 97571d390f18..9b406d988654 100644

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

kernel/smp.c +1 -0
index 695eb13a276d..3eeffeaf5450 100644

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

kernel/trace/trace.c +2 -0
index fd398af792b4..be878005e344 100644

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

kernel/trace/trace_osnoise.c +34 -16

50 lines not on this page · raw message

kernel/workqueue.c +10 -2
index 8c7bafbee1b1..7fa1c7c9151a 100644

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

lib/generic-radix-tree.c +2 -0
index 7dfa88282b00..78f081d695d0 100644

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

mm/memory_hotplug.c +1 -1
index f36525a595a9..9beed7c71a8e 100644

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

mm/sparse.c +1 -1
index 338cf946dee8..0706113c4c84 100644

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

mm/userfaultfd.c +16 -13
index e76faba10279..92fe2a76f4b5 100644

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

mm/vmalloc.c +1 -1
index 732ff66d1b51..0148be0814af 100644

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

mm/vmscan.c +2 -22
index 83fa8e924f8a..81533bed0b46 100644

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

net/bluetooth/hci_conn.c +25 -133

158 lines not on this page · raw message

net/bluetooth/hci_event.c +7 -20
index 727f040b6529..d81c7fccdd40 100644

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

net/bluetooth/hci_sync.c +296 -11

307 lines not on this page · raw message

net/bluetooth/mgmt.c +67 -77

144 lines not on this page · raw message

net/bluetooth/smp.c +0 -7
index fa3986cfd526..56f7f041c9a6 100644

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

net/bridge/br_fdb.c +2 -4
index e69a872bfc1d..a6d8cd9a5807 100644

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

net/can/bcm.c +4 -0
index 9168114fc87f..00208ee13e57 100644

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

net/core/sock.c +0 -8
index 55d85d50b3e4..bc2a4e38dcea 100644

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

net/ipv4/fou_core.c +24 -5
index b38b82ae903d..e0b8d6b17a34 100644

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

net/ipv4/tcp_bpf.c +1 -1
index 53b0d62fd2c2..fe6178715ba0 100644

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

net/ipv4/tcp_input.c +6 -0
index 24c7c955dc95..b565c8a8e7ba 100644

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

net/ipv6/ila/ila.h +1 -0
index ad5f6f6ba333..85b92917849b 100644

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

net/ipv6/ila/ila_main.c +6 -0
index 69caed07315f..976c78efbae1 100644

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

net/ipv6/ila/ila_xlat.c +9 -4
index 67e8c9440977..534a4498e280 100644

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

net/netfilter/nf_conncount.c +3 -5
index 5d8ed6c90b7e..5885810da412 100644

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

net/sched/sch_cake.c +7 -4
index 9cff99558694..30955dd45779 100644

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

net/sched/sch_netem.c +4 -5
index 0224a9249245..d36eeb7b0502 100644

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

net/socket.c +67 -37

104 lines not on this page · raw message

net/unix/af_unix.c +1 -8
index b7f62442d826..dca4429014db 100644

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

rust/Makefile +1 -3
index e5619f25b55c..333b9a482473 100644

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

rust/kernel/types.rs +1 -1
index fdb778e65d79..e23e7827d756 100644

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

rust/macros/module.rs +5 -1
index acd0393b5095..7dee348ef0cc 100644

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

security/smack/smack_lsm.c +9 -3
index 98c2bdbfcaed..4625674f0e95 100644

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

sound/core/control.c +5 -1
index 59c8658966d4..dd4bdb39782c 100644

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

sound/hda/hdmi_chmap.c +18 -0
index 5d8e1d944b0a..7b276047f85a 100644

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

sound/pci/hda/patch_conexant.c +11 -0
index 8396d1d93668..63bd0e384bae 100644

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

sound/pci/hda/patch_realtek.c +10 -0
index 5736516275a3..6661fed2c2bb 100644

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

sound/soc/codecs/tas2781-fmwlib.c +35 -36

71 lines not on this page · raw message

sound/soc/soc-dapm.c +1 -0
index 85e3bbf7e5f0..7729f8f4d5e6 100644

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

sound/soc/soc-topology.c +2 -0
index 7e8fca0b0662..a643ef654b9d 100644

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

sound/soc/sof/topology.c +2 -0
index 7133ec13322b..cf1e63daad86 100644

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

sound/soc/sunxi/sun4i-i2s.c +73 -70

143 lines not on this page · raw message

sound/soc/tegra/tegra210_ahub.c +6 -4
index 3f114a2adfce..ab3c6b2544d2 100644

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

tools/lib/bpf/libbpf.c +2 -2
index de35b9a21dad..ceed16a10285 100644

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

tools/testing/selftests/dmabuf-heaps/dmabuf-heap.c +3 -1
index 890a8236a8ba..2809f9a25c43 100644

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

tools/testing/selftests/net/Makefile +2 -1
index d417de105123..91a48efb140b 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.