From 6dc4fd392217a9802cfcf8a5deb717ec5520f9ca Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Wed, 16 Sep 2026 07:36:44 +1000 Subject: [PATCH] linux/common-config: fix MEMORY_HOTPLUG_DEFAULT_ONLINE on 6.12 https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/mm/Kconfig?id=f7c7d3cc8417f8579b5a90e3f6319703951070c2 > Existing users of CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE=y should use > CONFIG_MHP_DEFAULT_ONLINE_TYPE_ONLINE_AUTO. was backported in https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.110 --- pkgs/os-specific/linux/kernel/common-config.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index bf7ba4373479..c8bb15d53607 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -1522,8 +1522,8 @@ let ACPI_HOTPLUG_CPU = yes; ACPI_HOTPLUG_MEMORY = yes; MEMORY_HOTPLUG = yes; - MEMORY_HOTPLUG_DEFAULT_ONLINE = whenOlder "6.14" yes; - MHP_DEFAULT_ONLINE_TYPE_ONLINE_AUTO = whenAtLeast "6.14" yes; + MEMORY_HOTPLUG_DEFAULT_ONLINE = whenOlder "6.12" yes; + MHP_DEFAULT_ONLINE_TYPE_ONLINE_AUTO = whenAtLeast "6.12" yes; MEMORY_HOTREMOVE = lib.mkIf ( with stdenv.hostPlatform; isLoongArch64