[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 10/12] ppc/spapr: fix default cpu for pre-9.0 machines.
From: |
Nicholas Piggin |
Subject: |
[PULL 10/12] ppc/spapr: fix default cpu for pre-9.0 machines. |
Date: |
Fri, 21 Mar 2025 16:24:14 +1000 |
From: Harsh Prateek Bora <harshpb@linux.ibm.com>
When POWER10 CPU was made as default, we missed keeping POWER9 as
default for older pseries releases (pre-9.0) at that time.
This caused breakge in default cpu evaluation for older pseries
machines and hence this fix.
Fixes: 51113013f3 ("ppc/spapr: change pseries machine default to POWER10 CPU")
Cc: qemu-stable@nongnu.org
Signed-off-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20250313094705.2361997-1-harshpb@linux.ibm.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
---
hw/ppc/spapr.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
index 9865d7147f..b0a0f8c689 100644
--- a/hw/ppc/spapr.c
+++ b/hw/ppc/spapr.c
@@ -4816,6 +4816,7 @@ static void spapr_machine_8_2_class_options(MachineClass
*mc)
{
spapr_machine_9_0_class_options(mc);
compat_props_add(mc->compat_props, hw_compat_8_2, hw_compat_8_2_len);
+ mc->default_cpu_type = POWERPC_CPU_TYPE_NAME("power9_v2.2");
}
DEFINE_SPAPR_MACHINE(8, 2);
--
2.47.1
- [PULL 01/12] ppc/spapr: Fix RTAS stopped state, (continued)
- [PULL 01/12] ppc/spapr: Fix RTAS stopped state, Nicholas Piggin, 2025/03/21
- [PULL 02/12] ppc/xive: Fix typo in crowd block level calculation, Nicholas Piggin, 2025/03/21
- [PULL 04/12] ppc/xive2: Fix logical / bitwise comparison typo, Nicholas Piggin, 2025/03/21
- [PULL 05/12] ppc/spapr: Fix possible pa_features memory overflow, Nicholas Piggin, 2025/03/21
- [PULL 07/12] ppc/pnv: Fix system symbols in HOMER structure definitions, Nicholas Piggin, 2025/03/21
- [PULL 08/12] ppc/amigaone: Check blk_pwrite return value, Nicholas Piggin, 2025/03/21
- [PULL 11/12] target/ppc: Fix facility interrupt checks for VSX, Nicholas Piggin, 2025/03/21
- [PULL 06/12] ppc/pnv: Move the PNOR LPC address into struct PnvPnor, Nicholas Piggin, 2025/03/21
- [PULL 03/12] pnv/xive: Fix possible undefined shift error in group size calculation, Nicholas Piggin, 2025/03/21
- [PULL 09/12] ppc/amigaone: Constify default_env, Nicholas Piggin, 2025/03/21
- [PULL 10/12] ppc/spapr: fix default cpu for pre-9.0 machines.,
Nicholas Piggin <=
- [PULL 12/12] target/ppc: Fix e200 duplicate SPRs, Nicholas Piggin, 2025/03/21
- Re: [PULL 00/12] ppc-for-10.0-2 queue, Stefan Hajnoczi, 2025/03/24