]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
RISC-V: Select ACPI PPTT drivers
authorYunhui Cui <cuiyunhui@bytedance.com>
Mon, 17 Jun 2024 13:14:25 +0000 (21:14 +0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Wed, 24 Jul 2024 14:39:37 +0000 (07:39 -0700)
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@bytedance.com>
Reviewed-by: Jeremy Linton <jeremy.linton@arm.com>
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com>
Link: https://lore.kernel.org/r/20240617131425.7526-3-cuiyunhui@bytedance.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/Kconfig

index b94176e25be1810e749cb94686b9c536fd9a2bb0..15f062e1d5ee2bc17bcaf39273ed2cb366777ada 100644 (file)
@@ -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