From: Vitaly Kuznetsov <vkuzn...@redhat.com>

redhat: Restore the status quo wrt memory onlining

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2375049

Fedora used to set CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE=y for x86_64 and
aarch64 but this setting is now gone upstream and replaced with
CONFIG_MHP_DEFAULT_ONLINE_TYPE_ONLINE_*.

Restore the status quo by setting
CONFIG_MHP_DEFAULT_ONLINE_TYPE_ONLINE_AUTO=y where
CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE was previously enabled.

Note, RHEL does not currently enable it.

Signed-off-by: Vitaly Kuznetsov <vkuzn...@redhat.com>

diff --git a/redhat/configs/common/generic/CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE 
b/redhat/configs/common/generic/CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/common/generic/CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE is not set
diff --git 
a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE
 
b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE
deleted file mode 100644
index blahblah..blahblah 0
--- 
a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE=y
diff --git 
a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_MHP_DEFAULT_ONLINE_TYPE_ONLINE_AUTO
 
b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_MHP_DEFAULT_ONLINE_TYPE_ONLINE_AUTO
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ 
b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_MHP_DEFAULT_ONLINE_TYPE_ONLINE_AUTO
@@ -0,0 +1 @@
+CONFIG_MHP_DEFAULT_ONLINE_TYPE_ONLINE_AUTO=y
diff --git 
a/redhat/configs/fedora/generic/x86/CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE 
b/redhat/configs/fedora/generic/x86/CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/fedora/generic/x86/CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE=y
diff --git 
a/redhat/configs/fedora/generic/x86/CONFIG_MHP_DEFAULT_ONLINE_TYPE_ONLINE_AUTO 
b/redhat/configs/fedora/generic/x86/CONFIG_MHP_DEFAULT_ONLINE_TYPE_ONLINE_AUTO
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ 
b/redhat/configs/fedora/generic/x86/CONFIG_MHP_DEFAULT_ONLINE_TYPE_ONLINE_AUTO
@@ -0,0 +1 @@
+CONFIG_MHP_DEFAULT_ONLINE_TYPE_ONLINE_AUTO=y

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3972

-- 
_______________________________________________
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to