]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ACPI: Enable PPTT support on ARM64
authorJeremy Linton <jeremy.linton@arm.com>
Fri, 11 May 2018 23:58:01 +0000 (18:58 -0500)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 17 May 2018 16:28:09 +0000 (17:28 +0100)
Now that we have a PPTT parser, in preparation for its use
on arm64, lets build it.

Tested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Tested-by: Vijaya Kumar K <vkilari@codeaurora.org>
Tested-by: Xiongfeng Wang <wangxiongfeng2@huawei.com>
Tested-by: Tomasz Nowicki <Tomasz.Nowicki@cavium.com>
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/Kconfig
drivers/acpi/Kconfig
drivers/acpi/Makefile

index 9c850f3b398fe70786299ebed01ec5cf60958500..4d98774cf3c799984fe3f572e04db6b10f27dd97 100644 (file)
@@ -7,6 +7,7 @@ config ARM64
        select ACPI_REDUCED_HARDWARE_ONLY if ACPI
        select ACPI_MCFG if ACPI
        select ACPI_SPCR_TABLE if ACPI
+       select ACPI_PPTT if ACPI
        select ARCH_CLOCKSOURCE_DATA
        select ARCH_HAS_DEBUG_VIRTUAL
        select ARCH_HAS_DEVMEM_IS_ALLOWED
index 516d7b36d6fb8c3435cc82948e3cd82975251540..b533eeb6139d255bd8418d42352caf4eb92bb278 100644 (file)
@@ -547,6 +547,9 @@ config ACPI_CONFIGFS
 
 if ARM64
 source "drivers/acpi/arm64/Kconfig"
+
+config ACPI_PPTT
+       bool
 endif
 
 config TPS68470_PMIC_OPREGION
index 48e202752754a77278940af4130fa8116f76b465..6d59aa109a91a349d521d87b9e465ad2d0e17d63 100644 (file)
@@ -88,6 +88,7 @@ obj-$(CONFIG_ACPI_BGRT)               += bgrt.o
 obj-$(CONFIG_ACPI_CPPC_LIB)    += cppc_acpi.o
 obj-$(CONFIG_ACPI_SPCR_TABLE)  += spcr.o
 obj-$(CONFIG_ACPI_DEBUGGER_USER) += acpi_dbg.o
+obj-$(CONFIG_ACPI_PPTT)        += pptt.o
 
 # processor has its own "processor." module_param namespace
 processor-y                    := processor_driver.o