diff options
author | Sergei Trofimovich <slyich@gmail.com> | 2023-02-18 20:54:24 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-18 20:54:24 +0000 |
commit | 6c5bf4e060c359b00ef4f2e194fe000308bc47bf (patch) | |
tree | 2206d50cb24a21556cb537cf64ba1a92d32de5c7 /pkgs/os-specific/linux/kernel/common-config.nix | |
parent | 0a7bdcbeebad3c244e984852d62d9cd9b40aaf54 (diff) | |
parent | fb49d81b2541bd06fbaef6f516906381e7356947 (diff) | |
download | nixpkgs-6c5bf4e060c359b00ef4f2e194fe000308bc47bf.tar nixpkgs-6c5bf4e060c359b00ef4f2e194fe000308bc47bf.tar.gz nixpkgs-6c5bf4e060c359b00ef4f2e194fe000308bc47bf.tar.bz2 nixpkgs-6c5bf4e060c359b00ef4f2e194fe000308bc47bf.tar.lz nixpkgs-6c5bf4e060c359b00ef4f2e194fe000308bc47bf.tar.xz nixpkgs-6c5bf4e060c359b00ef4f2e194fe000308bc47bf.tar.zst nixpkgs-6c5bf4e060c359b00ef4f2e194fe000308bc47bf.zip |
Merge pull request #209667 from QuantMint/linux
linux: enable ACPI_FPDT, ACPI_HMAT, ACPI_APEI, ACPI_APEI_GHES, ACPI_DPTF
Diffstat (limited to 'pkgs/os-specific/linux/kernel/common-config.nix')
-rw-r--r-- | pkgs/os-specific/linux/kernel/common-config.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index 20679b3c951..78fe1ad0b99 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -70,12 +70,22 @@ let PM_ADVANCED_DEBUG = yes; PM_WAKELOCKS = yes; POWERCAP = yes; + # ACPI Firmware Performance Data Table Support + ACPI_FPDT = whenAtLeast "5.12" yes; + # ACPI Heterogeneous Memory Attribute Table Support + ACPI_HMAT = whenAtLeast "5.2" yes; + # ACPI Platform Error Interface + ACPI_APEI = yes; + # APEI Generic Hardware Error Source + ACPI_APEI_GHES = yes; } // optionalAttrs (stdenv.hostPlatform.isx86) { INTEL_IDLE = yes; INTEL_RAPL = whenAtLeast "5.3" module; X86_INTEL_LPSS = yes; X86_INTEL_PSTATE = yes; X86_AMD_PSTATE = whenAtLeast "5.17" yes; + # Intel DPTF (Dynamic Platform and Thermal Framework) Support + ACPI_DPTF = whenAtLeast "5.10" yes; }; external-firmware = { |