From 136116ab33ee2a596c16f9e320f24943953beb47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Sun, 22 Feb 2026 18:58:41 +0100 Subject: [PATCH] pn02: limit CPU to C1 power state for stability Known PN51 platform issue with deep C-states causing freezes. Limit to C1 to prevent deeper sleep states. Co-Authored-By: Claude Opus 4.6 --- hosts/pn02/configuration.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/pn02/configuration.nix b/hosts/pn02/configuration.nix index 0e719e2..9d2fb63 100644 --- a/hosts/pn02/configuration.nix +++ b/hosts/pn02/configuration.nix @@ -14,7 +14,7 @@ boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; boot.blacklistedKernelModules = [ "amdgpu" ]; - boot.kernelParams = [ "panic=10" "nmi_watchdog=1" ]; + boot.kernelParams = [ "panic=10" "nmi_watchdog=1" "processor.max_cstate=1" ]; boot.kernel.sysctl."kernel.softlockup_panic" = 1; boot.kernel.sysctl."kernel.hardlockup_panic" = 1;