[GIT PULL] LoongArch fixes for v7.0-rc5
From: Huacai Chen
Date: Wed Mar 18 2026 - 00:21:30 EST
The following changes since commit f338e77383789c0cae23ca3d48adcc5e9e137e3c:
Linux 7.0-rc4 (2026-03-15 13:52:05 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson.git tags/loongarch-fixes-7.0-1
for you to fetch changes up to c252c12d1f55bd5737e3b8e7839914ccdc7a701c:
LoongArch: KVM: Fix typo issue in kvm_vm_init_features() (2026-03-16 10:36:02 +0800)
----------------------------------------------------------------
LoongArch fixes for v7.0-rc5
Only use SC.Q when supported by the assembler to fix a build failure,
fix calling smp_processor_id() in preemptible code, make a BPF helper
arch_protect_bpf_trampoline() return 0 to fix a kernel memory access
failure, and fix a typo issue in kvm_vm_init_features().
----------------------------------------------------------------
Bibo Mao (1):
LoongArch: KVM: Fix typo issue in kvm_vm_init_features()
Thomas Weißschuh (1):
LoongArch: Only use SC.Q when supported by the assembler
Tiezhu Yang (4):
LoongArch: Give more information if kmem access failed
LoongArch: Check return values for set_memory_{rw,rox}
LoongArch: No need to flush icache if text copy failed
LoongArch: BPF: Make arch_protect_bpf_trampoline() return 0
Xi Ruoyao (1):
LoongArch: Fix calling smp_processor_id() in preemptible code
arch/loongarch/Kconfig | 3 +++
arch/loongarch/include/asm/cmpxchg.h | 5 +++++
arch/loongarch/include/asm/uaccess.h | 14 ++++++++++++--
arch/loongarch/kernel/inst.c | 31 +++++++++++++++++++++++++------
arch/loongarch/kvm/vm.c | 4 ++--
arch/loongarch/net/bpf_jit.c | 11 +++++++++++
6 files changed, 58 insertions(+), 10 deletions(-)