Skip to contentSkip to conversation

sbsa-ref: update list of supported cpus

PATCH Applied Marcin Juszkiewicz 3 participants 5 messages Feb 16, 2021 – Mar 5, 2021

lore
Share & tools
lore
#0 lore raw

v3 cover sbsa-ref: update list of supported cpus

Cortex-A53 goes away due to 40-bit address space (so below sbsa-ref default memory map) and 'max' goes in as we want to be able to test SVE support.

Marcin Juszkiewicz (2):
sbsa-ref: remove cortex-a53 from list of supported cpus
sbsa-ref: add 'max' to list of allowed cpus

 hw/arm/sbsa-ref.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
#1 lore raw

PATCH v3 1/2 sbsa-ref: remove cortex-a53 from list of supported cpus

Cortex-A53 supports 40bits of address space. sbsa-ref's memory starts above this limit.

---
 hw/arm/sbsa-ref.c | 1 -
 1 file changed, 1 deletion(-)
arm/sbsa-ref.c +0 -1
index 9f70735153..276243d122 100644
@@ -145,7 +145,6 @@ static const int sbsa_ref_irqmap[] = {
 };
 
 static const char * const valid_cpus[] = {
-    ARM_CPU_TYPE_NAME("cortex-a53"),
     ARM_CPU_TYPE_NAME("cortex-a57"),
     ARM_CPU_TYPE_NAME("cortex-a72"),
 };
Signature · 1 line
2.29.2
#2 lore raw

PATCH v3 2/2 sbsa-ref: add 'max' to list of allowed cpus

In reply to Marcin Juszkiewicz

Let add 'max' cpu while work goes on adding newer CPU types than Cortex-A72. This allows us to check SVE etc support.

---
 hw/arm/sbsa-ref.c | 1 +
 1 file changed, 1 insertion(+)
arm/sbsa-ref.c +1 -0
index 276243d122..88dfb2284c 100644
@@ -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)
Signature · 1 line
2.29.2
Reviewed-by on v3 2/2
#3 lore raw

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

Quoted 8 lines · Marcin Juszkiewicz

Let add 'max' cpu while work goes on adding newer CPU types than Cortex-A72. This allows us to check SVE etc support.

---
 hw/arm/sbsa-ref.c | 1 +
 1 file changed, 1 insertion(+)
#4 lore raw
In reply to Marcin Juszkiewicz
Quoted 11 lines · Marcin Juszkiewicz

Cortex-A53 goes away due to 40-bit address space (so below sbsa-ref default memory map) and 'max' goes in as we want to be able to test SVE support.

Marcin Juszkiewicz (2):
sbsa-ref: remove cortex-a53 from list of supported cpus
sbsa-ref: add 'max' to list of allowed cpus

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

Applied to target-arm.next, thanks.

-- PMM