[GIT PULL] LoongArch fixes for v6.17-rc7

From: Huacai Chen

Date: Fri Sep 19 2025 - 03:22:23 EST


The following changes since commit f83ec76bf285bea5727f478a68b894f5543ca76e:

Linux 6.17-rc6 (2025-09-14 14:21:14 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson.git tags/loongarch-fixes-6.17-2

for you to fetch changes up to 8dc5245673cf7f33743e5c0d2a4207c0b8df3067:

LoongArch: KVM: Avoid copy_*_user() with lock hold in kvm_pch_pic_regs_access() (2025-09-18 19:44:25 +0800)

----------------------------------------------------------------
LoongArch fixes for v6.17-rc7

Fix some build warnings for RUST-enabled objtool check, align ACPI
structures for ARCH_STRICT_ALIGN, fix an unreliable stack for live
patching, add some NULL pointer checkings, and fix some bugs about
KVM.
----------------------------------------------------------------
Bibo Mao (5):
LoongArch: KVM: Fix VM migration failure with PTW enabled
LoongArch: KVM: Avoid copy_*_user() with lock hold in kvm_eiointc_ctrl_access()
LoongArch: KVM: Avoid copy_*_user() with lock hold in kvm_eiointc_regs_access()
LoongArch: KVM: Avoid copy_*_user() with lock hold in kvm_eiointc_sw_status_access()
LoongArch: KVM: Avoid copy_*_user() with lock hold in kvm_pch_pic_regs_access()

Guangshuo Li (1):
LoongArch: vDSO: Check kcalloc() result in init_vdso()

Huacai Chen (1):
LoongArch: Align ACPI structures if ARCH_STRICT_ALIGN enabled

Tao Cui (3):
LoongArch: Check the return value when creating kobj
LoongArch: Replace sprintf() with sysfs_emit()
LoongArch: KVM: Remove unused returns and semicolons

Tiezhu Yang (6):
objtool/LoongArch: Mark types based on break immediate code
objtool/LoongArch: Mark special atomic instruction as INSN_BUG type
LoongArch: Make LTO case independent in Makefile
LoongArch: Handle jump tables options for RUST
LoongArch: Update help info of ARCH_STRICT_ALIGN
LoongArch: Fix unreliable stack for live patching

arch/loongarch/Kconfig | 12 ++++-
arch/loongarch/Makefile | 15 ++++--
arch/loongarch/include/asm/acenv.h | 7 ++-
arch/loongarch/include/asm/kvm_mmu.h | 20 ++++++--
arch/loongarch/kernel/env.c | 4 +-
arch/loongarch/kernel/stacktrace.c | 3 +-
arch/loongarch/kernel/vdso.c | 3 ++
arch/loongarch/kvm/exit.c | 6 +--
arch/loongarch/kvm/intc/eiointc.c | 87 ++++++++++++++++++++-------------
arch/loongarch/kvm/intc/pch_pic.c | 21 +++++---
arch/loongarch/kvm/mmu.c | 8 +--
tools/arch/loongarch/include/asm/inst.h | 12 +++++
tools/objtool/arch/loongarch/decode.c | 33 +++++++++++--
13 files changed, 162 insertions(+), 69 deletions(-)