From: Vitaly Kuznetsov vkuznets@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 vkuznets@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@lists.fedoraproject.org