From patchwork Thu Oct 12 19:48:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeremy Linton X-Patchwork-Id: 115673 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp2309872qgn; Thu, 12 Oct 2017 12:50:41 -0700 (PDT) X-Google-Smtp-Source: AOwi7QCaT6kWhGSNj8RWf0oH2MgALVmELqFVI9Q1z9W4o12dwzybOwEEp9LqkY8KV2wTE10g3lU7 X-Received: by 10.101.65.11 with SMTP id w11mr1086955pgp.207.1507837841855; Thu, 12 Oct 2017 12:50:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507837841; cv=none; d=google.com; s=arc-20160816; b=bgzlsM1lXe9Fte7+qpffBf++sPXTw/x1aIGVwWGYNNAdZT8BiJ5EMc3aos/DHISR+O BbXVDb/UTveB/TuKDeuewMAYj0An/m5Z2uOc788NoeZqxrITX3mwUaKQ3JWlNAV+Dk6B 5uqAarOojGvbdycEXkByz6TbVLtuRlDR09pItFoxHtQJBy1poTVElSjIQrqSAFhjBuYs mLbtZQzfJX35K3hgIABiATJ3BvrBngc+ob0VQogAZRs9kEo/T70TbUZZpWsj23ZKn8Iw AgBT9XDXsaSDlEZsCT4gNRyfb8zAYIgSII96OVpr7HzAyOj44UxFWOpBVagKtUcUvmuo YJ6g== 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=8VVkSwQKQaX5/9pcT0QHP7d6eHnF5AVtKr3xGS6Z1Es=; b=miiw6L0LwVi9TpFsG/1QZzUeiD9rc2pO8YWK18ocKSou5Tby9u+lHEHBbdh+4YNDH4 NzwWR46wjiLwV0n7n1SKymkZNWcgW7Sh7lcwDT0z5mBf769w3fsE7l0z6XyW3NZJWMlx eG65TCdRFJ5ZqcS75GNkjWke8i/g7PntzXgjVZjTD7lqvB50fPswg56jU6zDX3gdhzOd DWov7WDeG1iTIMwFaCC9TIe1mrgsVI9ZlIPYGZP6q30RApiNgvj/FbnbN9dmOOrt2rmI A0moflBB5Lc0o/o+h5n/8xEerWP0KvEaR3zYaSwG6kR7ANtkUIu+QWaeWRs/okN+hcbr vDRA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 h91si8792036pld.3.2017.10.12.12.50.41; Thu, 12 Oct 2017 12:50:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754161AbdJLTuj (ORCPT + 27 others); Thu, 12 Oct 2017 15:50:39 -0400 Received: from foss.arm.com ([217.140.101.70]:51644 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753174AbdJLTtH (ORCPT ); Thu, 12 Oct 2017 15:49:07 -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 1374C1610; Thu, 12 Oct 2017 12:49:07 -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 373303F58C; Thu, 12 Oct 2017 12:49:06 -0700 (PDT) From: Jeremy Linton To: linux-acpi@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, sudeep.holla@arm.com, hanjun.guo@linaro.org, lorenzo.pieralisi@arm.com, rjw@rjwysocki.net, will.deacon@arm.com, catalin.marinas@arm.com, gregkh@linuxfoundation.org, viresh.kumar@linaro.org, mark.rutland@arm.com, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, jhugo@codeaurora.org, wangxiongfeng2@huawei.com, Jonathan.Zhang@cavium.com, ahs3@redhat.com, Jayachandran.Nair@cavium.com, austinwc@codeaurora.org, Jeremy Linton Subject: [PATCH v3 2/7] ACPI: Enable PPTT support on ARM64 Date: Thu, 12 Oct 2017 14:48:51 -0500 Message-Id: <20171012194856.13844-3-jeremy.linton@arm.com> X-Mailer: git-send-email 2.13.5 In-Reply-To: <20171012194856.13844-1-jeremy.linton@arm.com> References: <20171012194856.13844-1-jeremy.linton@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 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