ppc/spapr: Make Power11 as default cpu for pseries
With Power11 being the newest supportied Power processor in QEMU, and sufficiently tested, make Power11 as default CPU type for pseries machine Retain Power10 as default CPU for pseries-11.0 and older versions Signed-off-by: Aditya Gupta <adityag@linux.ibm.com> Reviewed-by: Amit Machhiwal <amachhiw@linux.ibm.com> Tested-by: Amit Machhiwal <amachhiw@linux.ibm.com> Tested-by: Misbah Anjum N <misanjum@linux.ibm.com> Link: https://lore.kernel.org/qemu-devel/20260521200844.1449023-3-adityag@linux.ibm.com [harshpb: commit title, Amit's email updated] Signed-off-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Aditya Gupta committed
May 22, 2026 at 01:38 UTC
31064eb74c8635d3747d091f455d232665e06a2e
1 file changed
+2
-1
hw/ppc/spapr.c
+2
-1
@@ -4644,7 +4644,7 @@ static void spapr_machine_class_init(ObjectClass *oc, const void *data)
4644
hc->unplug_request = spapr_machine_device_unplug_request;
4645
hc->unplug = spapr_machine_device_unplug;
4646
4647
- mc->default_cpu_type = POWERPC_CPU_TYPE_NAME("power10_v2.0");
4647
+ mc->default_cpu_type = POWERPC_CPU_TYPE_NAME("power11_v2.0");
4648
mc->has_hotpluggable_cpus = true;
4649
mc->nvdimm_supported = true;
4650
smc->resize_hpt_default = SPAPR_RESIZE_HPT_ENABLED;
@@ -4777,6 +4777,7 @@ static void spapr_machine_11_0_class_options(MachineClass *mc)
4777
{
4778
spapr_machine_11_1_class_options(mc);
4779
compat_props_add(mc->compat_props, hw_compat_11_0, hw_compat_11_0_len);
4780
+ mc->default_cpu_type = POWERPC_CPU_TYPE_NAME("power10_v2.0");
4781
}
4782
4783
DEFINE_SPAPR_MACHINE(11, 0);