Skip to contentSkip to conversation

arm/sbsa-ref: move to Neoverse-N2 as default

PATCH Applied Marcin Juszkiewicz 3 participants 3 messages May 23, 2024 – May 30, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm/sbsa-ref: move to Neoverse-N2 as default

Moving to Neoverse-N2 gives us several cpu features to use for expanding our platform:

- branch target identification
- pointer authentication
- RME for confidential computing
- RNG for EFI_PROTOCOL_RNG
- SVE being enabled by default

We do not go for "max" as default to have stable set of features enabled by default. It is still supported and can be selected with "--cpu" argument.

---
 hw/arm/sbsa-ref.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/arm/sbsa-ref.c +1 -1
index 57c337fd92..e884692f07 100644
@@ -891,7 +891,7 @@ static void sbsa_ref_class_init(ObjectClass *oc, void *data)
 
     mc->init = sbsa_ref_init;
     mc->desc = "QEMU 'SBSA Reference' ARM Virtual Machine";
-    mc->default_cpu_type = ARM_CPU_TYPE_NAME("neoverse-n1");
+    mc->default_cpu_type = ARM_CPU_TYPE_NAME("neoverse-n2");
     mc->valid_cpu_types = valid_cpu_types;
     mc->max_cpus = 512;
     mc->pci_allow_0_address = true;
Signature · 1 line
2.45.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 9 lines · Marcin Juszkiewicz

Moving to Neoverse-N2 gives us several cpu features to use for expanding our platform:

- branch target identification
- pointer authentication
- RME for confidential computing
- RNG for EFI_PROTOCOL_RNG
- SVE being enabled by default

Quoted 3 lines

We do not go for "max" as default to have stable set of features enabled by default. It is still supported and can be selected with "--cpu" argument.

I still want to move to max at some point :)
But this is a good improvement for now.

Quoted 18 lines
---
  hw/arm/sbsa-ref.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
hw/arm/sbsa-ref.c +1 -1
index 57c337fd92..e884692f07 100644
@@ -891,7 +891,7 @@ static void sbsa_ref_class_init(ObjectClass *oc, void *data)
 
      mc->init = sbsa_ref_init;
      mc->desc = "QEMU 'SBSA Reference' ARM Virtual Machine";
-    mc->default_cpu_type = ARM_CPU_TYPE_NAME("neoverse-n1");
+    mc->default_cpu_type = ARM_CPU_TYPE_NAME("neoverse-n2");
      mc->valid_cpu_types = valid_cpu_types;
      mc->max_cpus = 512;
      mc->pci_allow_0_address = true;
#2 lore raw
In reply to Marcin Juszkiewicz
Quoted 10 lines · Marcin Juszkiewicz

Moving to Neoverse-N2 gives us several cpu features to use for expanding our platform:

- branch target identification
- pointer authentication
- RME for confidential computing
- RNG for EFI_PROTOCOL_RNG
- SVE being enabled by default

Quoted 6 lines

We do not go for "max" as default to have stable set of features enabled by default. It is still supported and can be selected with "--cpu" argument.

---

Applied to target-arm.next, thanks.

-- PMM