[RFC,4/4] ACPI: Enable PPTT support on ARM64

Message ID 20170805001159.12769-5-jeremy.linton@arm.com
State New
Headers show
Series
  • Parse ACPI/PPTT for cache information
Related show

Commit Message

Jeremy Linton Aug. 5, 2017, 12:11 a.m.
Now that we have a parser, and arm64 has appropriate
hooks in place to utilize it, lets enable PPTT
parsing in the arm64 ACPI build.

Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>

---
 drivers/acpi/arm64/Kconfig  | 3 +++
 drivers/acpi/arm64/Makefile | 1 +
 2 files changed, 4 insertions(+)

-- 
2.9.4

--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Xiongfeng Wang Sept. 5, 2017, 7:22 a.m. | #1
Hi Jeremy,

On 2017/8/5 8:11, Jeremy Linton wrote:
> Now that we have a parser, and arm64 has appropriate

> hooks in place to utilize it, lets enable PPTT

> parsing in the arm64 ACPI build.

> 

> Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>

> ---

>  drivers/acpi/arm64/Kconfig  | 3 +++

>  drivers/acpi/arm64/Makefile | 1 +

>  2 files changed, 4 insertions(+)

> 

> diff --git a/drivers/acpi/arm64/Kconfig b/drivers/acpi/arm64/Kconfig

> index 5a6f80f..74b855a 100644

> --- a/drivers/acpi/arm64/Kconfig

> +++ b/drivers/acpi/arm64/Kconfig

> @@ -7,3 +7,6 @@ config ACPI_IORT

>  

>  config ACPI_GTDT

>  	bool

> +

> +config ACPI_PPTT

> +	bool


We may need to select ACPI_PPTT in arch/arm64/Kconfig, just like ACPI_GTDT

> \ No newline at end of file

> diff --git a/drivers/acpi/arm64/Makefile b/drivers/acpi/arm64/Makefile

> index 1017def..b6dee6b 100644

> --- a/drivers/acpi/arm64/Makefile

> +++ b/drivers/acpi/arm64/Makefile

> @@ -1,2 +1,3 @@

>  obj-$(CONFIG_ACPI_IORT) 	+= iort.o

>  obj-$(CONFIG_ACPI_GTDT) 	+= gtdt.o

> +obj-$(CONFIG_ACPI_GTDT) 	+= pptt.o

obj-$(CONFIG_ACPI_PPTT) 	+= pptt.o
> 



Thanks,
Xiongfeng Wang

--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/drivers/acpi/arm64/Kconfig b/drivers/acpi/arm64/Kconfig
index 5a6f80f..74b855a 100644
--- a/drivers/acpi/arm64/Kconfig
+++ b/drivers/acpi/arm64/Kconfig
@@ -7,3 +7,6 @@  config ACPI_IORT
 
 config ACPI_GTDT
 	bool
+
+config ACPI_PPTT
+	bool
\ No newline at end of file
diff --git a/drivers/acpi/arm64/Makefile b/drivers/acpi/arm64/Makefile
index 1017def..b6dee6b 100644
--- a/drivers/acpi/arm64/Makefile
+++ b/drivers/acpi/arm64/Makefile
@@ -1,2 +1,3 @@ 
 obj-$(CONFIG_ACPI_IORT) 	+= iort.o
 obj-$(CONFIG_ACPI_GTDT) 	+= gtdt.o
+obj-$(CONFIG_ACPI_GTDT) 	+= pptt.o