ACPI: Enable ACPI_PROCESSOR for RISC-V
authorSunil V L <sunilvl@ventanamicro.com>
Thu, 18 Jan 2024 06:29:30 +0000 (11:59 +0530)
committerPalmer Dabbelt <palmer@rivosinc.com>
Wed, 20 Mar 2024 00:51:40 +0000 (17:51 -0700)
The ACPI processor driver is not currently enabled for RISC-V.
This is required to enable CPU related functionalities like
LPI and CPPC. Hence, enable ACPI_PROCESSOR for RISC-V.

Signed-off-by: Sunil V L <sunilvl@ventanamicro.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://lore.kernel.org/r/20240118062930.245937-4-sunilvl@ventanamicro.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
drivers/acpi/Kconfig

index 3c3f8037ebedddbbfa756f52c98fd209053559c7..1606eb622a9ffe2d7015724778035307d5aae1fd 100644 (file)
@@ -286,7 +286,7 @@ config ACPI_CPPC_LIB
 
 config ACPI_PROCESSOR
        tristate "Processor"
-       depends on X86 || ARM64 || LOONGARCH
+       depends on X86 || ARM64 || LOONGARCH || RISCV
        select ACPI_PROCESSOR_IDLE
        select ACPI_CPU_FREQ_PSS if X86 || LOONGARCH
        select THERMAL