From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757829AbdJMJ5t (ORCPT ); Fri, 13 Oct 2017 05:57:49 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:8029 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751650AbdJMJ5r (ORCPT ); Fri, 13 Oct 2017 05:57:47 -0400 Subject: Re: [PATCH v3 2/7] ACPI: Enable PPTT support on ARM64 To: Jeremy Linton , References: <20171012194856.13844-1-jeremy.linton@arm.com> <20171012194856.13844-3-jeremy.linton@arm.com> CC: , , , , , , , , , , , , , , , , , From: Hanjun Guo Message-ID: <59E08D32.2010605@huawei.com> Date: Fri, 13 Oct 2017 17:53:54 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <20171012194856.13844-3-jeremy.linton@arm.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.17.188] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A090204.59E08D47.0053,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 6dd8fcdd79d10d55ab01cbb078bab6ea Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jeremy, On 2017/10/13 3:48, Jeremy Linton wrote: > Now that we have a PPTT parser, in preparation for its use > on arm64, lets build it. > > Signed-off-by: Jeremy Linton > --- > arch/arm64/Kconfig | 1 + > drivers/acpi/Makefile | 1 + > drivers/acpi/arm64/Kconfig | 3 +++ > 3 files changed, 5 insertions(+) > > diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig > index 0df64a6a56d4..68c9d1289735 100644 > --- a/arch/arm64/Kconfig > +++ b/arch/arm64/Kconfig > @@ -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 > diff --git a/drivers/acpi/Makefile b/drivers/acpi/Makefile > index 90265ab4437a..c92a0c937551 100644 > --- a/drivers/acpi/Makefile > +++ b/drivers/acpi/Makefile > @@ -85,6 +85,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 > diff --git a/drivers/acpi/arm64/Kconfig b/drivers/acpi/arm64/Kconfig > index 5a6f80fce0d6..74b855a669ea 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 Can this be located in drivers/acpi/Kconfig? then other platform can select ACPI_PPTT if they want. Thanks Hanjun > \ No newline at end of file