qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] arm/sbsa-ref: move to Neoverse-N2 as default
@ 2024-05-23 16:53 Marcin Juszkiewicz
  2024-05-29 13:11 ` Leif Lindholm
  2024-05-30 10:22 ` Peter Maydell
  0 siblings, 2 replies; 3+ messages in thread
From: Marcin Juszkiewicz @ 2024-05-23 16:53 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Radoslaw Biernacki, Leif Lindholm, qemu-arm,
	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

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.

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
---
 hw/arm/sbsa-ref.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/arm/sbsa-ref.c b/hw/arm/sbsa-ref.c
index 57c337fd92..e884692f07 100644
--- a/hw/arm/sbsa-ref.c
+++ b/hw/arm/sbsa-ref.c
@@ -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.45.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1] arm/sbsa-ref: move to Neoverse-N2 as default
  2024-05-23 16:53 [PATCH 1/1] arm/sbsa-ref: move to Neoverse-N2 as default Marcin Juszkiewicz
@ 2024-05-29 13:11 ` Leif Lindholm
  2024-05-30 10:22 ` Peter Maydell
  1 sibling, 0 replies; 3+ messages in thread
From: Leif Lindholm @ 2024-05-29 13:11 UTC (permalink / raw)
  To: Marcin Juszkiewicz, qemu-devel
  Cc: Peter Maydell, Radoslaw Biernacki, qemu-arm

On 2024-05-23 17:53, Marcin Juszkiewicz wrote:
> 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.

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

Reviewed-by: Leif Lindholm <quic_llindhol@quicinc.com>

> Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
> ---
>   hw/arm/sbsa-ref.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/hw/arm/sbsa-ref.c b/hw/arm/sbsa-ref.c
> index 57c337fd92..e884692f07 100644
> --- a/hw/arm/sbsa-ref.c
> +++ b/hw/arm/sbsa-ref.c
> @@ -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;



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1] arm/sbsa-ref: move to Neoverse-N2 as default
  2024-05-23 16:53 [PATCH 1/1] arm/sbsa-ref: move to Neoverse-N2 as default Marcin Juszkiewicz
  2024-05-29 13:11 ` Leif Lindholm
@ 2024-05-30 10:22 ` Peter Maydell
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Maydell @ 2024-05-30 10:22 UTC (permalink / raw)
  To: Marcin Juszkiewicz
  Cc: qemu-devel, Radoslaw Biernacki, Leif Lindholm, qemu-arm

On Thu, 23 May 2024 at 17:54, Marcin Juszkiewicz
<marcin.juszkiewicz@linaro.org> wrote:
>
> 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.
>
> Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
> ---



Applied to target-arm.next, thanks.

-- PMM


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-05-30 10:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-23 16:53 [PATCH 1/1] arm/sbsa-ref: move to Neoverse-N2 as default Marcin Juszkiewicz
2024-05-29 13:11 ` Leif Lindholm
2024-05-30 10:22 ` Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).