From fb78afbbd0ea83eed2e02d6f8d5a43719fb438df Mon Sep 17 00:00:00 2001 From: Will Fancher Date: Thu, 22 May 2025 18:09:31 -0400 Subject: [PATCH] linux/common-config: Enable ACPI_DEBUG --- pkgs/os-specific/linux/kernel/common-config.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index 0c5ee542de44..15668f239c73 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -134,6 +134,12 @@ let # APEI Generic Hardware Error Source ACPI_APEI_GHES = (option yes); + # Without this, on some hardware the kernel fails at some + # point after the EFI stub has executed but before a console + # is set up. Regardless, it's good to have the extra debug + # anyway. + ACPI_DEBUG = yes; + # Enable lazy RCUs for power savings: # https://lore.kernel.org/rcu/20221019225138.GA2499943@paulmck-ThinkPad-P17-Gen-1/ # RCU_LAZY depends on RCU_NOCB_CPU depends on NO_HZ_FULL