[OS-BUILD PATCHv2] redhat: Restore the status quo wrt memory onlining

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Vitaly Kuznetsov <vkuznets@xxxxxxxxxx>

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 <vkuznets@xxxxxxxxxx>

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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux