linux: enable ACPI_FPDT, ACPI_HMAT, ACPI_APEI, ACPI_APEI_GHES, ACPI_DPTF
This commit is contained in:
@@ -70,12 +70,22 @@ let
|
|||||||
PM_ADVANCED_DEBUG = yes;
|
PM_ADVANCED_DEBUG = yes;
|
||||||
PM_WAKELOCKS = yes;
|
PM_WAKELOCKS = yes;
|
||||||
POWERCAP = 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) {
|
} // optionalAttrs (stdenv.hostPlatform.isx86) {
|
||||||
INTEL_IDLE = yes;
|
INTEL_IDLE = yes;
|
||||||
INTEL_RAPL = whenAtLeast "5.3" module;
|
INTEL_RAPL = whenAtLeast "5.3" module;
|
||||||
X86_INTEL_LPSS = yes;
|
X86_INTEL_LPSS = yes;
|
||||||
X86_INTEL_PSTATE = yes;
|
X86_INTEL_PSTATE = yes;
|
||||||
X86_AMD_PSTATE = whenAtLeast "5.17" yes;
|
X86_AMD_PSTATE = whenAtLeast "5.17" yes;
|
||||||
|
# Intel DPTF (Dynamic Platform and Thermal Framework) Support
|
||||||
|
ACPI_DPTF = whenAtLeast "5.10" yes;
|
||||||
};
|
};
|
||||||
|
|
||||||
external-firmware = {
|
external-firmware = {
|
||||||
|
|||||||
Reference in New Issue
Block a user