From patchwork Wed Apr 25 23:31:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeremy Linton X-Patchwork-Id: 134394 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp1534181lji; Wed, 25 Apr 2018 17:28:18 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqAmRBkKRweh5bs2tX57PBUkiXObEfQyNGaGgAB8yy8JB7VZPbGZPM943ckgE1B+1d3miOw X-Received: by 10.167.133.71 with SMTP id y7mr9340025pfn.210.1524702497972; Wed, 25 Apr 2018 17:28:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524702497; cv=none; d=google.com; s=arc-20160816; b=ARp8qKq+K4WDTPerktDxBZxYh+VpOXV9qIhDuLNYYYpR7Bt636OuELGGR0NwGIZvN/ SaJW39QRpExDJJVk1kH1QKU2QF46GcewxRxZRvj+jgF/2r+LgT0iU9RXGbe7QhdwCI0a miMUq4mqkeKV1CHLwuDIHSdwVa/WnT3RGSTsiJofBRDV/XleTwnnuYLLLiHMGSfF6wlb vYVKABnYh2BgQEc/w7aiJ7DfdlezOg+q2KjyoA5q1svRVhcJq4VH14ElwaLlCFyOS9TW aAaULdtKNDzOWF7Fm2ntz+RNmlq/UAnA+8cfn3oHkkL4Rs/QxAt4JsaYELB5dc5bFy5n 2NEA== 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=iPZKjSeNcnhcG2wFRWM3tqfYzqKCEuP7rtJqHUpKyCs=; b=qz10mHGTwwtO1lafKI16Rl7l3xb6C10y6Al+ub/2C1bmnVtCvA8JF1v2Ic7hYUfG4J KMEELSZR84zHHnxelt8a+PFfSubkyjuCvusYTr/UEpUKx3k7CnUaH+bB18TXSZF0sg4L z6aot8OTCexuZSd9mckNl3uNbzIcelJfyvTnoZuGePk5pYcynRjgclPhGKjdeR4sg1DJ UXkNlmjKwe0HSh0yKgh2ZYfbFJM1miYz6m4C5YsRuzQKbCmCw7xlgRYn3esy88vUvybK Hqc9P2MhSCzKl2+VyTrzuh1HKUZuea2Z8he+LjfrExkhQPjks7SP3fiAduivpgDNZjhc Nd4w== 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 c25si14165909pgf.237.2018.04.25.17.28.17; Wed, 25 Apr 2018 17:28:17 -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 S1753040AbeDZA2P (ORCPT + 29 others); Wed, 25 Apr 2018 20:28:15 -0400 Received: from foss.arm.com ([217.140.101.70]:45698 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751723AbeDZA0Q (ORCPT ); Wed, 25 Apr 2018 20:26:16 -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 6606316A3; Wed, 25 Apr 2018 17:26:16 -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 53C7B3F590; Wed, 25 Apr 2018 17:26:15 -0700 (PDT) From: Jeremy Linton To: linux-acpi@vger.kernel.org Cc: Sudeep.Holla@arm.com, linux-arm-kernel@lists.infradead.org, Lorenzo.Pieralisi@arm.com, hanjun.guo@linaro.org, rjw@rjwysocki.net, Will.Deacon@arm.com, Catalin.Marinas@arm.com, gregkh@linuxfoundation.org, Mark.Rutland@arm.com, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, wangxiongfeng2@huawei.com, vkilari@codeaurora.org, ahs3@redhat.com, Dietmar.Eggemann@arm.com, Morten.Rasmussen@arm.com, palmer@sifive.com, lenb@kernel.org, john.garry@huawei.com, austinwc@codeaurora.org, tnowicki@caviumnetworks.com, jhugo@qti.qualcomm.com, timur@qti.qualcomm.com, ard.biesheuvel@linaro.org, Jeremy Linton Subject: [PATCH v8 06/13] ACPI: Enable PPTT support on ARM64 Date: Wed, 25 Apr 2018 18:31:14 -0500 Message-Id: <20180425233121.13270-7-jeremy.linton@arm.com> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20180425233121.13270-1-jeremy.linton@arm.com> References: <20180425233121.13270-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 Reviewed-by: Sudeep Holla --- arch/arm64/Kconfig | 1 + drivers/acpi/Kconfig | 3 +++ drivers/acpi/Makefile | 1 + 3 files changed, 5 insertions(+) -- 2.13.6 diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index eb2cf4938f6d..cff33d9eff0c 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/Kconfig b/drivers/acpi/Kconfig index 516d7b36d6fb..b533eeb6139d 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acpi/Kconfig @@ -547,6 +547,9 @@ config ACPI_CONFIGFS if ARM64 source "drivers/acpi/arm64/Kconfig" + +config ACPI_PPTT + bool endif config TPS68470_PMIC_OPREGION diff --git a/drivers/acpi/Makefile b/drivers/acpi/Makefile index 48e202752754..6d59aa109a91 100644 --- a/drivers/acpi/Makefile +++ b/drivers/acpi/Makefile @@ -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