From patchwork Thu Sep 14 18:49:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeremy Linton X-Patchwork-Id: 112627 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp1107232qgf; Thu, 14 Sep 2017 11:49:28 -0700 (PDT) X-Google-Smtp-Source: ADKCNb6I1tTOsxMi/Uj75hlms7LwK53lYqSLhWjoiL2YVpIGB7y6y65+DA9VSPeAY7+86RrdF5vB X-Received: by 10.99.114.29 with SMTP id n29mr21943771pgc.258.1505414968070; Thu, 14 Sep 2017 11:49:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505414968; cv=none; d=google.com; s=arc-20160816; b=VvX0BAtrBwqjnMhJzfsqRH9xy/IdRTSFydzaoNDg/DeRCzmRLIZfuoaUW9Z2xk5KgQ gewpG3jQOt7l+fD7U4OmnsnlMPHDgUBvxSVsq+gffGF8fF4lDoCBrIDu/r7omdPmGWJp eXM+kmRb7/Cgsu6XaY/sO5NYVEobwDQPqpTLgbiqjKAz7YAnBT0W9ZMCVS1KWGW1T2cM JK59NOkkbus0aIscsJ1RHofvBoRur+1noht9KKdMlAl1Vv6MDvLA+Ma8IQXoVZInHHTx pN+vipU1lmY/DA3UT64/iLelvka8U0ulJf7FyuuMu978JVHDq1O2/jOICXFe+b9rgZVV SCBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=u0Rg7LbH6akOxV7FakIWLYqrwUybMT4826Ycs7nc1NE=; b=AgMlxZXv9L9a58Zx0HDHasTO5V6N3ql88Y/42Fd0P9Gh6oFma4goUdGtseqS6F35SS Hjy6kuBZQMdz08OVtZK4xXtmVbifQx0Hqup0AzEDY3UI7LaRVkBYREQdGEBudmrxVP6W /yqS1KqIbXvDNzx1naca6FOeq5Te9pY+bIFsW4PYRrGIO5HQ1cbO4iivjiSmN+8uLmKD odxB83O5t/gh1WaCfyM2dz8wMVRQ0lFZJh809l06eF0jAq+bI06rkeurBeIKgWAe/Q+H dJsIbptd19t4FVcFnF8lutBauss8FuqiF2gNqjAIBlFmksPJNiAhzHi8l3WH/BCXEwS9 AQag== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-acpi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-acpi-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v3si12664320plk.436.2017.09.14.11.49.27; Thu, 14 Sep 2017 11:49:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-acpi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-acpi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-acpi-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751732AbdINStZ (ORCPT + 7 others); Thu, 14 Sep 2017 14:49:25 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:39546 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751698AbdINStY (ORCPT ); Thu, 14 Sep 2017 14:49:24 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 985741684; Thu, 14 Sep 2017 11:49:24 -0700 (PDT) Received: from beelzebub.austin.arm.com (beelzebub.austin.arm.com [10.118.12.119]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id BFE293F483; Thu, 14 Sep 2017 11:49:23 -0700 (PDT) From: Jeremy Linton To: linux-acpi@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, wangxiongfeng2@huawei.com, hanjun.guo@linaro.org, jhugo@codeaurora.org, john.garry@huawei.com, austinwc@codeaurora.org, sudeep.holla@arm.com, lorenzo.pieralisi@arm.com, rjw@rjwysocki.net, will.deacon@arm.com, catalin.marinas@arm.com, Jeremy Linton Subject: [PATCH 2/6] ACPI: Enable PPTT support on ARM64 Date: Thu, 14 Sep 2017 13:49:07 -0500 Message-Id: <20170914184918.20406-3-jeremy.linton@arm.com> X-Mailer: git-send-email 2.13.5 In-Reply-To: <20170914184918.20406-1-jeremy.linton@arm.com> References: <20170914184918.20406-1-jeremy.linton@arm.com> Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org 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(+) -- 2.13.5 -- 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 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 \ No newline at end of file