aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2021-02-16 16:01:22 +0100
committerPeter Maydell <peter.maydell@linaro.org>2021-03-05 15:17:33 +0000
commitcecc0962099b4967473383bf28f12bef47e62cca (patch)
treea59fac343628128ccdd0f04fd2e9f5a28e46d235 /hw
parent4f335a6381f83beb5d6ac0d3993514379454a99d (diff)
downloadqemu-cecc0962099b4967473383bf28f12bef47e62cca.zip
qemu-cecc0962099b4967473383bf28f12bef47e62cca.tar.gz
qemu-cecc0962099b4967473383bf28f12bef47e62cca.tar.bz2
sbsa-ref: add 'max' to list of allowed cpus
Let add 'max' cpu while work goes on adding newer CPU types than Cortex-A72. This allows us to check SVE etc support. Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Acked-by: Leif Lindholm <leif@nuviainc.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-id: 20210216150122.3830863-3-marcin.juszkiewicz@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw')
-rw-r--r--hw/arm/sbsa-ref.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/arm/sbsa-ref.c b/hw/arm/sbsa-ref.c
index 276243d..88dfb22 100644
--- a/hw/arm/sbsa-ref.c
+++ b/hw/arm/sbsa-ref.c
@@ -147,6 +147,7 @@ static const int sbsa_ref_irqmap[] = {
static const char * const valid_cpus[] = {
ARM_CPU_TYPE_NAME("cortex-a57"),
ARM_CPU_TYPE_NAME("cortex-a72"),
+ ARM_CPU_TYPE_NAME("max"),
};
static bool cpu_type_valid(const char *cpu)