[GIT PULL] LoongArch fixes for v7.1-rc3
From: Huacai Chen
Date: Tue May 05 2026 - 22:39:28 EST
The following changes since commit 7fd2df204f342fc17d1a0bfcd474b24232fb0f32:
Linux 7.1-rc2 (2026-05-03 14:21:25 -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.1-1
for you to fetch changes up to 5a873d77ba792410a796595a917be6a440f9b7d2:
LoongArch: KVM: Move unconditional delay into timer clear scenery (2026-05-04 09:00:48 +0800)
----------------------------------------------------------------
LoongArch fixes for v7.1-rc3
Fix some build and runtime issues after 32BIT Kconfig option enabled,
improve the platform-specific PCI controller compatibility, drop custom
__arch_vdso_hres_capable(), and fix a lot of KVM bugs.
----------------------------------------------------------------
Bibo Mao (3):
LoongArch: KVM: Move AVEC interrupt injection into switch loop
LoongArch: KVM: Fix HW timer interrupt lost when inject interrupt by software
LoongArch: KVM: Move unconditional delay into timer clear scenery
Huacai Chen (4):
LoongArch: Make CONFIG_64BIT as the default option
LoongArch: Specify -m32/-m64 explicitly for 32BIT/64BIT
LoongArch: Fix SYM_SIGFUNC_START definition for 32BIT
LoongArch: Use per-root-bridge PCIH flag to skip mem resource fixup
Qiang Ma (1):
LoongArch: KVM: Cap KVM_CAP_NR_VCPUS by KVM_CAP_MAX_VCPUS
Tao Cui (2):
LoongArch: KVM: Fix missing EMULATE_FAIL in kvm_emu_mmio_read()
LoongArch: KVM: Use kvm_set_pte() in kvm_flush_pte()
Thomas Weißschuh (1):
LoongArch: vDSO: Drop custom __arch_vdso_hres_capable()
Wentao Guan (1):
LoongArch: Fix potential ADE in loongson_gpu_fixup_dma_hang()
Xianglai Li (2):
LoongArch: KVM: Compile switch.S directly into the kernel
LoongArch: KVM: Fix "unreliable stack" for kvm_exc_entry
arch/loongarch/Kbuild | 2 +-
arch/loongarch/Kconfig | 1 +
arch/loongarch/Makefile | 2 ++
arch/loongarch/include/asm/asm-prototypes.h | 20 +++++++++++++++
arch/loongarch/include/asm/kvm_host.h | 3 ---
arch/loongarch/include/asm/linkage.h | 2 +-
arch/loongarch/include/asm/vdso/gettimeofday.h | 6 -----
arch/loongarch/kvm/Makefile | 3 ++-
arch/loongarch/kvm/exit.c | 1 +
arch/loongarch/kvm/interrupt.c | 34 +++++++++++++++++--------
arch/loongarch/kvm/main.c | 35 +++-----------------------
arch/loongarch/kvm/mmu.c | 2 +-
arch/loongarch/kvm/switch.S | 22 +++++++++++-----
arch/loongarch/kvm/timer.c | 10 ++++++--
arch/loongarch/kvm/vm.c | 2 +-
arch/loongarch/pci/acpi.c | 5 ++++
arch/loongarch/pci/pci.c | 3 +++
arch/loongarch/vdso/Makefile | 2 ++
18 files changed, 90 insertions(+), 65 deletions(-)