[PATCH v6 3/3] RISC-V: Select ACPI PPTT drivers

Yunhui Cui cuiyunhui at bytedance.com
Mon Jun 17 06:14:25 PDT 2024


After adding ACPI support to populate_cache_leaves(), RISC-V can build
cacheinfo through the ACPI PPTT table, thus enabling the ACPI_PPTT
configuration.

Signed-off-by: Yunhui Cui <cuiyunhui at bytedance.com>
Reviewed-by: Jeremy Linton <jeremy.linton at arm.com>
Reviewed-by: Sudeep Holla <sudeep.holla at arm.com>
Reviewed-by: Sunil V L <sunilvl at ventanamicro.com>
---
 arch/riscv/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index 9f38a5ecbee3..1b4c310a59fb 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -13,6 +13,7 @@ config 32BIT
 config RISCV
 	def_bool y
 	select ACPI_GENERIC_GSI if ACPI
+	select ACPI_PPTT if ACPI
 	select ACPI_REDUCED_HARDWARE_ONLY if ACPI
 	select ARCH_DMA_DEFAULT_COHERENT
 	select ARCH_ENABLE_HUGEPAGE_MIGRATION if HUGETLB_PAGE && MIGRATION
-- 
2.20.1




More information about the linux-riscv mailing list