|
|
ff9ada |
From 300cdf7f5b8b34e111c5e4141684af7329be46d9 Mon Sep 17 00:00:00 2001
|
|
|
ff9ada |
From: Greg Kurz <gkurz@redhat.com>
|
|
|
ff9ada |
Date: Mon, 13 Dec 2021 15:42:41 +0100
|
|
|
ff9ada |
Subject: [PATCH 2/2] redhat: Define pseries-rhel8.6.0 machine type
|
|
|
ff9ada |
MIME-Version: 1.0
|
|
|
ff9ada |
Content-Type: text/plain; charset=UTF-8
|
|
|
ff9ada |
Content-Transfer-Encoding: 8bit
|
|
|
ff9ada |
|
|
|
ff9ada |
RH-Author: Greg Kurz <gkurz@redhat.com>
|
|
|
ff9ada |
RH-MergeRequest: 92: redhat: Define pseries-rhel8.6.0 machine type
|
|
|
ff9ada |
RH-Commit: [1/1] 3c0f59d7ddf4bb22f382b5df7daa136730b9e866
|
|
|
ff9ada |
RH-Bugzilla: 2031041
|
|
|
ff9ada |
RH-Acked-by: Philippe Mathieu-Daudé <philmd@redhat.com>
|
|
|
ff9ada |
RH-Acked-by: David Gibson (Red Hat) <dgibson@redhat.com>
|
|
|
ff9ada |
RH-Acked-by: Thomas Huth <thuth@redhat.com>
|
|
|
ff9ada |
RH-Acked-by: Cornelia Huck <cohuck@redhat.com>
|
|
|
ff9ada |
RH-Acked-by: Laurent Vivier <lvivier@redhat.com>
|
|
|
ff9ada |
|
|
|
ff9ada |
BZ: https://bugzilla.redhat.com/show_bug.cgi?id=2031041
|
|
|
ff9ada |
|
|
|
ff9ada |
BRANCH: rhel-8.6.0
|
|
|
ff9ada |
|
|
|
ff9ada |
UPSTREAM: RHEL only
|
|
|
ff9ada |
|
|
|
ff9ada |
BREW: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=41989147
|
|
|
ff9ada |
|
|
|
ff9ada |
Signed-off-by: Greg Kurz <gkurz@redhat.com>
|
|
|
ff9ada |
---
|
|
|
ff9ada |
hw/ppc/spapr.c | 18 +++++++++++++++---
|
|
|
ff9ada |
1 file changed, 15 insertions(+), 3 deletions(-)
|
|
|
ff9ada |
|
|
|
ff9ada |
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
|
|
|
ff9ada |
index 2f27888d8a..32cfe8f006 100644
|
|
|
ff9ada |
--- a/hw/ppc/spapr.c
|
|
|
ff9ada |
+++ b/hw/ppc/spapr.c
|
|
|
ff9ada |
@@ -5170,6 +5170,19 @@ static void spapr_machine_rhel_default_class_options(MachineClass *mc)
|
|
|
ff9ada |
mc->max_cpus = 384;
|
|
|
ff9ada |
}
|
|
|
ff9ada |
|
|
|
ff9ada |
+/*
|
|
|
ff9ada |
+ * pseries-rhel8.6.0
|
|
|
ff9ada |
+ * like pseries-6.2
|
|
|
ff9ada |
+ */
|
|
|
ff9ada |
+
|
|
|
ff9ada |
+static void spapr_machine_rhel860_class_options(MachineClass *mc)
|
|
|
ff9ada |
+{
|
|
|
ff9ada |
+ /* The default machine type must apply the RHEL specific defaults */
|
|
|
ff9ada |
+ spapr_machine_rhel_default_class_options(mc);
|
|
|
ff9ada |
+}
|
|
|
ff9ada |
+
|
|
|
ff9ada |
+DEFINE_SPAPR_MACHINE(rhel860, "rhel8.6.0", true);
|
|
|
ff9ada |
+
|
|
|
ff9ada |
/*
|
|
|
ff9ada |
* pseries-rhel8.5.0
|
|
|
ff9ada |
* like pseries-6.0
|
|
|
ff9ada |
@@ -5179,15 +5192,14 @@ static void spapr_machine_rhel850_class_options(MachineClass *mc)
|
|
|
ff9ada |
{
|
|
|
ff9ada |
SpaprMachineClass *smc = SPAPR_MACHINE_CLASS(mc);
|
|
|
ff9ada |
|
|
|
ff9ada |
- /* The default machine type must apply the RHEL specific defaults */
|
|
|
ff9ada |
- spapr_machine_rhel_default_class_options(mc);
|
|
|
ff9ada |
+ spapr_machine_rhel860_class_options(mc);
|
|
|
ff9ada |
compat_props_add(mc->compat_props, hw_compat_rhel_8_5,
|
|
|
ff9ada |
hw_compat_rhel_8_5_len);
|
|
|
ff9ada |
smc->pre_6_2_numa_affinity = true;
|
|
|
ff9ada |
mc->smp_props.prefer_sockets = true;
|
|
|
ff9ada |
}
|
|
|
ff9ada |
|
|
|
ff9ada |
-DEFINE_SPAPR_MACHINE(rhel850, "rhel8.5.0", true);
|
|
|
ff9ada |
+DEFINE_SPAPR_MACHINE(rhel850, "rhel8.5.0", false);
|
|
|
ff9ada |
|
|
|
ff9ada |
/*
|
|
|
ff9ada |
* pseries-rhel8.4.0
|
|
|
ff9ada |
--
|
|
|
ff9ada |
2.27.0
|
|
|
ff9ada |
|