[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 10/15] hw/loongarch: Remove restriction of la464 cores in the
From: |
Song Gao |
Subject: |
[PATCH v4 10/15] hw/loongarch: Remove restriction of la464 cores in the virt machine |
Date: |
Tue, 22 Aug 2023 11:27:19 +0800 |
Allow virt machine to be used with la132 instead of la464.
Co-authored-by: Jiajie Chen <c@jia.je>
Signed-off-by: Song Gao <gaosong@loongson.cn>
---
hw/loongarch/virt.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/hw/loongarch/virt.c b/hw/loongarch/virt.c
index e19b042ce8..af15bf5aaa 100644
--- a/hw/loongarch/virt.c
+++ b/hw/loongarch/virt.c
@@ -798,11 +798,6 @@ static void loongarch_init(MachineState *machine)
cpu_model = LOONGARCH_CPU_TYPE_NAME("la464");
}
- if (!strstr(cpu_model, "la464")) {
- error_report("LoongArch/TCG needs cpu type la464");
- exit(1);
- }
-
if (ram_size < 1 * GiB) {
error_report("ram_size must be greater than 1G.");
exit(1);
--
2.39.1
- [PATCH v4 00/15] Add some checks before translating instructions, Song Gao, 2023/08/21
- [PATCH v4 06/15] target/loongarch: Sign extend results in VA32 mode, Song Gao, 2023/08/21
- [PATCH v4 01/15] target/loongarch: Support LoongArch32 TLB entry, Song Gao, 2023/08/21
- [PATCH v4 05/15] target/loongarch: Truncate high 32 bits of address in VA32 mode, Song Gao, 2023/08/21
- [PATCH v4 04/15] target/loongarch: Add LA64 & VA32 to DisasContext, Song Gao, 2023/08/21
- [PATCH v4 10/15] hw/loongarch: Remove restriction of la464 cores in the virt machine,
Song Gao <=
- [PATCH v4 09/15] target/loongarch: Add LoongArch32 cpu la132, Song Gao, 2023/08/21
- [PATCH v4 03/15] target/loongarch: Support LoongArch32 VPPN, Song Gao, 2023/08/21
- [PATCH v4 07/15] target/loongarch: Add a check parameter to the TRANS macro, Song Gao, 2023/08/21
- [PATCH v4 02/15] target/loongarch: Support LoongArch32 DMW, Song Gao, 2023/08/21
- [PATCH v4 13/15] target/loongarch: Add avail_LAM to check atomic instructions, Song Gao, 2023/08/21
- [PATCH v4 11/15] target/loongarch: Add avail_FP/FP_SP/FP_DP to check fpu instructions, Song Gao, 2023/08/21