[PATCH v1 0/3] LoongArch: Preparation for BPF patch

From: Tiezhu Yang

Date: Tue Mar 10 2026 - 02:56:01 EST


This series is based on 7.0-rc3 and the following patch:

"[PATCH v3] LoongArch: Fix calling smp_processor_id() in preemptible code"
https://lore.kernel.org/loongarch/20260303084314.628311-1-xry111@xxxxxxxxxxx/

it is a preparation for the dmesg log of BPF patch:
"LoongArch: BPF: Make arch_protect_bpf_trampoline() return 0"
https://lore.kernel.org/loongarch/20260310064706.4985-1-yangtiezhu@xxxxxxxxxxx/

Tiezhu Yang (3):
LoongArch: Give more information if memory access failed
LoongArch: Check return values for set_memory_{rw,rox}
LoongArch: No need to flush icache if copy failed

arch/loongarch/include/asm/uaccess.h | 14 ++++++++++++--
arch/loongarch/kernel/inst.c | 21 +++++++++++++++++----
2 files changed, 29 insertions(+), 6 deletions(-)

--
2.42.0