Linux 6.6.51
Greg Kroah-Hartman
maintainerI'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
Greg Kroah-Hartman
maintainerMAINTAINERS +1 -1
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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_WRPROTECTstatic inline void ptep_set_wrprotect (struct mm_struct *mm,unsigned long address,pte_t *ptep)
arch/riscv/kernel/efi.c +1 -1
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
Lines of this file are not shown. View the raw message.
drivers/crypto/intel/qat/qat_dh895xcc/adf_dh895xcc_hw_data.c +6 -2
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c +15 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c +27 -3
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c +14 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/amdgpu_ids.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c +3 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/link/link_factory.c +3 -3
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/modules/hdcp/hdcp1_execution.c +9 -6
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c +4 -2
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/gt/uc/intel_gsc_uc.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h +5 -0
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/ad7606_par.c +45 -3
48 lines not on this page · raw message
drivers/iio/buffer/industrialio-buffer-dmaengine.c +3 -1
Lines of this file are not shown. View the raw message.
drivers/media/platform/qcom/camss/camss.c +4 -1
Lines of this file are not shown. View the raw message.
drivers/media/test-drivers/vivid/vivid-vid-cap.c +11 -6
Lines of this file are not shown. View the raw message.
drivers/media/test-drivers/vivid/vivid-vid-out.c +9 -7
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/spi/mcp251xfd/mcp251xfd-core.c +14 -14
Lines of this file are not shown. View the raw message.
drivers/net/can/spi/mcp251xfd/mcp251xfd-ram.c +10 -1
Lines of this file are not shown. View the raw message.
drivers/net/can/spi/mcp251xfd/mcp251xfd-ring.c +20 -3
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
Lines of this file are not shown. View the raw message.
drivers/net/can/spi/mcp251xfd/mcp251xfd-timestamp.c +6 -16
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/ethernet/freescale/dpaa/dpaa_eth.c +15 -5
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c +9 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/e1000e/ich8lan.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/ice/ice_lib.c +21 -13
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
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/igb/igb_main.c +10 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/igc/igc_main.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/microchip/vcap/vcap_api_kunit.c +2 -12
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/microsoft/mana/mana_en.c +13 -9
Lines of this file are not shown. View the raw message.
drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h +2 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/marvell/mwifiex/main.h +3 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/realtek/rtw88/usb.c +10 -3
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/platform/x86/dell/dell-smbios-base.c +4 -1
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/cdns2/cdns2-gadget.c +3 -9
Lines of this file are not shown. View the raw message.
drivers/usb/gadget/udc/cdns2/cdns2-gadget.h +9 -0
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/xattr.c +48 -43
91 lines not on this page · raw message
kernel/trace/trace_osnoise.c +34 -16
50 lines not on this page · raw message
net/bluetooth/hci_conn.c +25 -133
158 lines not on this page · 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/socket.c +67 -37
104 lines not on this page · raw message
sound/soc/codecs/tas2781-fmwlib.c +35 -36
71 lines not on this page · raw message
sound/soc/sunxi/sun4i-i2s.c +73 -70
143 lines not on this page · raw message
tools/testing/selftests/dmabuf-heaps/dmabuf-heap.c +3 -1
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.