[GIT PULL] LoongArch changes for v7.3
From: Huacai Chen
Date: Wed Aug 19 2026 - 02:54:55 EST
The following changes since commit 8d3ae59288f1e7d58d76558a6ee96d533bc5019f:
Linux 7.2 (2026-08-16 14:32:26 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson.git tags/loongarch-7.3
for you to fetch changes up to 6afb03599653619e661121628611f808de1f7c7a:
selftests/bpf: Enable kptr_xchg_inline test on LoongArch (2026-08-17 22:07:49 +0800)
----------------------------------------------------------------
LoongArch changes for v7.3
1, Add DIRECT_MAP_PHYSMEM_END definition;
2, Expand module virtual address space to 2GB;
3, Use current_stack_pointer in current_pt_regs();
4, BPF JIT enhancements such as kptr_xchg and timed may_goto;
5, Some bug fixes and other small changes.
----------------------------------------------------------------
Bibo Mao (1):
LoongArch: Fix acpi_package_ids[] array overflow
Chenguang Zhao (3):
LoongArch: BPF: Align value-returning atomics with LKMM
LoongArch: BPF: Advertise JIT support for kptr xchg inline
selftests/bpf: Enable kptr_xchg_inline test on LoongArch
George Guo (3):
LoongArch: BPF: Resolve per-CPU addrs for internal-only MOV
LoongArch: BPF: Add timed may_goto implementation
LoongArch: BPF: Add arch_bpf_stack_walk() implementation
Han Gao (1):
LoongArch: Add DIRECT_MAP_PHYSMEM_END definition
Tiezhu Yang (10):
LoongArch: Expand module virtual address space to 2GB
LoongArch: Use generic cmp_int() instead of custom cmp_3way()
LoongArch: Use current_stack_pointer in current_pt_regs()
LoongArch: BPF: Optimize redundant TCC loads in epilogue
LoongArch: BPF: Move arena register slot below TCC context
LoongArch: BPF: Refactor jump offset calculation in tail call
LoongArch: BPF: Implement branchless conditional move for TCC
LoongArch: BPF: Remove redundant zext jumping in move_imm()
LoongArch: BPF: Remove dead move_imm() call in BPF_NEG path
LoongArch: BPF: Split unconditional branch JA paths statically
arch/loongarch/include/asm/inst.h | 25 +++
arch/loongarch/include/asm/pgtable.h | 9 +-
arch/loongarch/include/asm/ptrace.h | 6 +-
arch/loongarch/kernel/acpi.c | 3 +-
arch/loongarch/kernel/module-sections.c | 6 +-
arch/loongarch/mm/init.c | 17 +-
arch/loongarch/net/Makefile | 2 +-
arch/loongarch/net/bpf_jit.c | 197 +++++++++++++--------
arch/loongarch/net/bpf_jit.h | 2 +-
arch/loongarch/net/bpf_timed_may_goto.S | 47 +++++
.../selftests/bpf/prog_tests/kptr_xchg_inline.c | 3 +-
11 files changed, 225 insertions(+), 92 deletions(-)
create mode 100644 arch/loongarch/net/bpf_timed_may_goto.S