summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorYunhui Cui <cuiyunhui@bytedance.com>2024-06-17 15:14:25 +0200
committerPalmer Dabbelt <palmer@rivosinc.com>2024-07-24 16:39:37 +0200
commit66381d36771e4ffedbea0dd23da17cf3d38e9aae (patch)
tree3ee5058b10deb3a80e019daa70a693371ba03952 /arch
parentriscv: cacheinfo: initialize cacheinfo's level and type from ACPI PPTT (diff)
downloadlinux-66381d36771e4ffedbea0dd23da17cf3d38e9aae.tar.xz
linux-66381d36771e4ffedbea0dd23da17cf3d38e9aae.zip
RISC-V: Select ACPI PPTT drivers
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/riscv/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index b94176e25be1..15f062e1d5ee 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