From ee1055d80ce5fcfe556e4c7185d9afcf922a7caf Mon Sep 17 00:00:00 2001 From: ghostbuster91 Date: Tue, 23 May 2023 07:29:46 +0200 Subject: [PATCH] [FocusGen1M2] Disable TPM interrupt due to upstream bug --- focus/m2/gen1/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/focus/m2/gen1/default.nix b/focus/m2/gen1/default.nix index 9c7e207..74e4df3 100644 --- a/focus/m2/gen1/default.nix +++ b/focus/m2/gen1/default.nix @@ -11,6 +11,10 @@ boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ]; boot.kernelModules = [ "kvm-intel" ]; + boot.kernelParams = [ + "tpm_tis.interrupts=0" # Upstream bug: https://bugzilla.kernel.org/show_bug.cgi?id=204121 + # without this, kacpid worker thread consumes 100% cpu on kernels 5.15.111 and up + ]; boot.blacklistedKernelModules = [ "i2c_nvidia_gpu" ]; hardware.nvidia.modesetting.enable = lib.mkDefault true;