diff mbox series

[2/2] sbsa-ref: add 'max' to list of allowed cpus

Message ID 20210211123638.1820482-2-marcin.juszkiewicz@linaro.org
State Superseded
Headers show
Series [1/2] sbsa-ref: remove cortex-a53 from list of supported cpus | expand

Commit Message

Marcin Juszkiewicz Feb. 11, 2021, 12:36 p.m. UTC
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>

---
 hw/arm/sbsa-ref.c | 1 +
 1 file changed, 1 insertion(+)

-- 
2.29.2

Comments

Leif Lindholm Feb. 11, 2021, 2:16 p.m. UTC | #1
On Thu, Feb 11, 2021 at 13:36:38 +0100, Marcin Juszkiewicz wrote:
> 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>


> ---

>  hw/arm/sbsa-ref.c | 1 +

>  1 file changed, 1 insertion(+)

> 

> diff --git hw/arm/sbsa-ref.c hw/arm/sbsa-ref.c

> index 276243d122..88dfb2284c 100644

> --- hw/arm/sbsa-ref.c

> +++ 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)

> -- 

> 2.29.2

>
diff mbox series

Patch

diff --git hw/arm/sbsa-ref.c hw/arm/sbsa-ref.c
index 276243d122..88dfb2284c 100644
--- hw/arm/sbsa-ref.c
+++ 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)