- disable keyring option - loongarch: Change the UEFI loading mode to loongarch - target/loongarch: Fix qtest test-hmp error when KVM-only build - target/loongarch/kvm: Enable LSX/LASX extension - target/loongarch: Set cpuid CSR register only once with kvm mode - configure: Add linux header compile support for LoongArch - hw/intc/loongarch_extioi: Add vmstate post_load support - hw/intc/loongarch_extioi: Add dynamic cpu number support - hw/loongarch/virt: Set iocsr address space per-board rather than percpu - hw/intc/loongarch_ipi: Use MemTxAttrs interface for ipi ops - target/loongarch: Add loongarch kvm into meson build - target/loongarch: Implement set vcpu intr for kvm - target/loongarch: Restrict TCG-specific code - target/loongarch: Implement kvm_arch_handle_exit - target/loongarch: Implement kvm_arch_init_vcpu - target/loongarch: Implement kvm_arch_init function - target/loongarch: Implement kvm get/set registers - target/loongarch: Supplement vcpu env initial when vcpu reset - target/loongarch: Define some kvm_arch interfaces - linux-headers: Synchronize linux headers from linux v6.7.0-rc8 - linux-headers: Update to Linux v6.7-rc5 - target/loongarch: move translate modules to tcg/ - target/loongarch/meson: move gdbstub.c to loongarch.ss - target/loongarch: Add timer information dump support - hw/loongarch/virt: Align high memory base address with super page size Signed-off-by: Jiabo Feng <fengjiabo1@huawei.com> (cherry picked from commit b2263e41ffa3428f1d9f9ff6e214c8e3a19e06e8)
41 lines
1.3 KiB
Diff
41 lines
1.3 KiB
Diff
From b21a705562867cc9dcbf0012ffa200caad8458ba Mon Sep 17 00:00:00 2001
|
|
From: Bibo Mao <maobibo@loongson.cn>
|
|
Date: Tue, 16 Jan 2024 09:39:52 +0800
|
|
Subject: [PATCH] configure: Add linux header compile support for LoongArch
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
When compiling qemu with system KVM mode for LoongArch, header files
|
|
in directory linux-headers/asm-loongarch should be used firstly.
|
|
Otherwise it fails to find kvm.h on system with old glibc, since
|
|
latest kernel header files are not installed.
|
|
|
|
This patch adds linux_arch definition for LoongArch system so that
|
|
header files in directory linux-headers/asm-loongarch can be included.
|
|
|
|
Fixes: 714b03c125 ("target/loongarch: Add loongarch kvm into meson build")
|
|
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
|
|
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
|
|
Message-ID: <20240116013952.264474-1-maobibo@loongson.cn>
|
|
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
|
|
---
|
|
configure | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/configure b/configure
|
|
index bdda912f36..6036de83a4 100755
|
|
--- a/configure
|
|
+++ b/configure
|
|
@@ -445,6 +445,7 @@ case "$cpu" in
|
|
loongarch*)
|
|
cpu=loongarch64
|
|
host_arch=loongarch64
|
|
+ linux_arch=loongarch
|
|
;;
|
|
|
|
mips64*)
|
|
--
|
|
2.27.0
|
|
|