[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH RESEND v5 14/19] hw/loongarch: Remove restriction of la464 cores
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH RESEND v5 14/19] hw/loongarch: Remove restriction of la464 cores in the virt machine |
Date: |
Tue, 22 Aug 2023 09:19:54 +0200 |
From: Song Gao <gaosong@loongson.cn>
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>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20230822032724.1353391-11-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.41.0
- [PATCH RESEND v5 04/19] target/loongarch: Add LA64 & VA32 to DisasContext, (continued)
- [PATCH RESEND v5 04/19] target/loongarch: Add LA64 & VA32 to DisasContext, Philippe Mathieu-Daudé, 2023/08/22
- [PATCH RESEND v5 05/19] target/loongarch: Extract make_address_x() helper, Philippe Mathieu-Daudé, 2023/08/22
- [PATCH RESEND v5 06/19] target/loongarch: Extract make_address_i() helper, Philippe Mathieu-Daudé, 2023/08/22
- [PATCH RESEND v5 07/19] target/loongarch: Extract make_address_pc() helper, Philippe Mathieu-Daudé, 2023/08/22
- [PATCH RESEND v5 08/19] target/loongarch: Extract set_pc() helper, Philippe Mathieu-Daudé, 2023/08/22
- [PATCH RESEND v5 09/19] target/loongarch: Truncate high 32 bits of address in VA32 mode, Philippe Mathieu-Daudé, 2023/08/22
- [PATCH RESEND v5 10/19] target/loongarch: Sign extend results in VA32 mode, Philippe Mathieu-Daudé, 2023/08/22
- [PATCH RESEND v5 11/19] target/loongarch: Add a check parameter to the TRANS macro, Philippe Mathieu-Daudé, 2023/08/22
- [PATCH RESEND v5 12/19] target/loongarch: Add avail_64 to check la64-only instructions, Philippe Mathieu-Daudé, 2023/08/22
- [PATCH RESEND v5 13/19] target/loongarch: Add LoongArch32 cpu la132, Philippe Mathieu-Daudé, 2023/08/22
- [PATCH RESEND v5 14/19] hw/loongarch: Remove restriction of la464 cores in the virt machine,
Philippe Mathieu-Daudé <=
- [PATCH RESEND v5 15/19] target/loongarch: Add avail_FP/FP_SP/FP_DP to check fpu instructions, Philippe Mathieu-Daudé, 2023/08/22
- [PATCH RESEND v5 16/19] target/loongarch: Add avail_LSPW to check LSPW instructions, Philippe Mathieu-Daudé, 2023/08/22
- [PATCH RESEND v5 17/19] target/loongarch: Add avail_LAM to check atomic instructions, Philippe Mathieu-Daudé, 2023/08/22
- [PATCH RESEND v5 19/19] target/loongarch: Add avail_IOCSR to check iocsr instructions, Philippe Mathieu-Daudé, 2023/08/22
- [PATCH RESEND v5 18/19] target/loongarch: Add avail_LSX to check LSX instructions, Philippe Mathieu-Daudé, 2023/08/22
- Re: [PATCH RESEND v5 00/19] Add some checks before translating instructions, gaosong, 2023/08/22