hw/mips/loongson3_virt: Relax CPU restrictions for TCG
authorJiaxun Yang <jiaxun.yang@flygoat.com>
Sun, 21 May 2023 21:18:59 +0000 (22:18 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 10 Jul 2023 21:33:37 +0000 (23:33 +0200)
commit99eff13120c8695f5d14b2edfe24739dd13b982f
treede5529c0636391050f1fdec102a4db28152258f5
parent03afdc28b3ffb9315f9612052b2b1c250370c344
hw/mips/loongson3_virt: Relax CPU restrictions for TCG

After implemented CPUCFG and CSR, we are now able to boot Linux
kernel with Loongson-3A4000 CPU, so there is no point to restrict
CPU type to 3A1000 only, instead we just check for presence of
INSN_LOONGSON3A.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Message-Id: <20230521214832.20145-3-jiaxun.yang@flygoat.com>
[JY: Check for cpu_type_supports_isa(INSN_LOONGSON3A)]
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/mips/loongson3_virt.c