[GIT PULL] LoongArch changes for v7.4
From: Huacai Chen
Date: Fri Oct 30 2026 - 00:28:36 EST
The following changes since commit c03c1a14507dfaf8b856c2608f9ac216021fc222:
Linux 7.3 (2026-10-18 13:14:58 -1000)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson.git tags/loongarch-7.4
for you to fetch changes up to 6f8d12bb1a1231dbba579932772701880745a21d:
soc: loongson: loongson2_guts: Use of_root instead of own reference (2026-10-28 15:09:27 +0800)
----------------------------------------------------------------
LoongArch changes for v7.4
1, Add LoongArch-specific ACPI initialization;
2, Set NX compat flag in PE/COFF efi header;
3, Use pa_to_nid()/nid_to_addrbase() rather than hard-code;
4, Detect and expose LAMCAS/DIV32 feature existence;
5, Fix and improve perf hardware breakpoints;
6, Fix and improve BPF JIT (trampoline and 32-bit operations);
7, Add arch_crash_save_vmcoreinfo() support;
8, Some bug fixes and other small changes.
----------------------------------------------------------------
Bibo Mao (3):
ACPI: LoongArch: Add acpi_arch_[late]_init()
ACPI: LoongArch: Add support for acpi_iommu_configure_id()
MAINTAINERS: Add entry for drivers/acpi/loongarch
Binbin Zhou (1):
soc: loongson: loongson2_guts: Use of_root instead of own reference
Heinrich Schuchardt (1):
LoongArch: Set NX compat flag in PE/COFF efi header
Huacai Chen (5):
Merge tag 'acpi-7.4-rc1' into loongarch-next
LoongArch: Call cpu_final_simd() with pure_initcall()
LoongArch: Don't init & online empty nodes
LoongArch: Use pa_to_nid()/nid_to_addrbase() rather than hard-code
soc: loongson: loongson2_pm: Fix build warnings for 32BIT
Krzysztof Kozlowski (1):
LoongArch: dts: loongson-2k0500: Drop unsupported bus_id in DWMAC
Kumar Kartikeya Dwivedi (1):
LoongArch: BPF: Fix stack arguments for indirect trampolines
Peng Fan (1):
LoongArch: Use assign_bit() API where applicable
Rong Bao (1):
LoongArch: Detect and expose LAMCAS feature existence
Tiezhu Yang (10):
LoongArch: Detect and expose DIV32 feature existence
LoongArch: Remove arch-specific __smp_mb__{before,after}_atomic()
LoongArch: Remove redundant call in update_bp_registers()
LoongArch: Fix bitmask corruption in update_bp_registers()
LoongArch: Fix architectural naming typo for CSR_FWPS_SKIP
LoongArch: Only send SIGTRAP signal if necessary in do_watch()
LoongArch: Fix perf hardware breakpoint failure via installation
LoongArch: Fix one-shot limitation for perf hardware breakpoints
LoongArch: BPF: Clean up and decouple is32 parameter from move_imm()
LoongArch: BPF: Optimize 32-bit operations using native instructions
Yangyang Lian (1):
LoongArch: Add arch_crash_save_vmcoreinfo() support
Documentation/admin-guide/kdump/vmcoreinfo.rst | 36 +++
MAINTAINERS | 9 +
arch/loongarch/Kconfig | 1 +
arch/loongarch/boot/dts/loongson-2k0500-ref.dts | 2 -
arch/loongarch/include/asm/barrier.h | 3 -
arch/loongarch/include/asm/cpu-features.h | 2 +
arch/loongarch/include/asm/cpu.h | 66 ++--
arch/loongarch/include/asm/hw_breakpoint.h | 8 +-
arch/loongarch/include/asm/inst.h | 6 +
arch/loongarch/include/asm/loongarch.h | 7 +-
arch/loongarch/include/asm/numa.h | 2 +-
arch/loongarch/include/asm/processor.h | 1 +
arch/loongarch/include/asm/switch_to.h | 2 +-
arch/loongarch/include/uapi/asm/hwcap.h | 2 +
arch/loongarch/kernel/Makefile | 1 +
arch/loongarch/kernel/cpu-probe.c | 10 +-
arch/loongarch/kernel/efi-header.S | 2 +-
arch/loongarch/kernel/env.c | 5 +-
arch/loongarch/kernel/hw_breakpoint.c | 66 +++-
arch/loongarch/kernel/irq.c | 3 +-
arch/loongarch/kernel/numa.c | 8 +-
arch/loongarch/kernel/proc.c | 4 +
arch/loongarch/kernel/traps.c | 13 +-
arch/loongarch/kernel/vmcore_info.c | 22 ++
arch/loongarch/net/bpf_jit.c | 391 +++++++++++++-----------
arch/loongarch/net/bpf_jit.h | 25 +-
arch/loongarch/pci/pci.c | 3 +-
drivers/acpi/Kconfig | 4 +
drivers/acpi/Makefile | 2 +-
drivers/acpi/bus.c | 2 +
drivers/acpi/loongarch/Kconfig | 7 +
drivers/acpi/loongarch/Makefile | 3 +
drivers/acpi/loongarch/init.c | 16 +
drivers/acpi/loongarch/init.h | 5 +
drivers/acpi/loongarch/iovt.c | 258 ++++++++++++++++
drivers/acpi/scan.c | 3 +
drivers/soc/loongson/loongson2_guts.c | 9 +-
drivers/soc/loongson/loongson2_pm.c | 2 +-
include/linux/acpi.h | 1 +
include/linux/acpi_iovt.h | 13 +
40 files changed, 753 insertions(+), 272 deletions(-)
create mode 100644 arch/loongarch/kernel/vmcore_info.c
create mode 100644 drivers/acpi/loongarch/Kconfig
create mode 100644 drivers/acpi/loongarch/Makefile
create mode 100644 drivers/acpi/loongarch/init.c
create mode 100644 drivers/acpi/loongarch/init.h
create mode 100644 drivers/acpi/loongarch/iovt.c
create mode 100644 include/linux/acpi_iovt.h