Skip to content

Commit 21465ad

Browse files
committed
ppc/pnv: Change powernv default to powernv10
POWER10 is the latest IBM Power machine. Although it is not offered in "OPAL mode" (i.e., powernv configuration), so there is a case that it should remain at powernv9, most of the development work is going into powernv10 at the moment. Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
1 parent 1392617 commit 21465ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hw/ppc/pnv.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2242,8 +2242,6 @@ static void pnv_machine_power9_class_init(ObjectClass *oc, void *data)
22422242

22432243
xfc->match_nvt = pnv_match_nvt;
22442244

2245-
mc->alias = "powernv";
2246-
22472245
pmc->compat = compat;
22482246
pmc->compat_size = sizeof(compat);
22492247
pmc->dt_power_mgt = pnv_dt_power_mgt;
@@ -2267,6 +2265,8 @@ static void pnv_machine_power10_class_init(ObjectClass *oc, void *data)
22672265
mc->default_cpu_type = POWERPC_CPU_TYPE_NAME("power10_v2.0");
22682266
compat_props_add(mc->compat_props, phb_compat, G_N_ELEMENTS(phb_compat));
22692267

2268+
mc->alias = "powernv";
2269+
22702270
pmc->compat = compat;
22712271
pmc->compat_size = sizeof(compat);
22722272
pmc->dt_power_mgt = pnv_dt_power_mgt;

0 commit comments

Comments
 (0)