Received: by 10.192.165.148 with SMTP id m20csp1355177imm; Wed, 25 Apr 2018 17:31:17 -0700 (PDT) X-Google-Smtp-Source: AIpwx49dapJRshuLQWjYdxeutCWunjqNHvnjQFR+9jLrJznXXLdHJZG6t+HkgfWLHSFx6Yx717ap X-Received: by 10.98.98.65 with SMTP id w62mr29954993pfb.256.1524702677660; Wed, 25 Apr 2018 17:31:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524702677; cv=none; d=google.com; s=arc-20160816; b=SMnYKeiBSCx0yZ8vyLHMAulTI/IkcwkIsLfbQSiLJXqcmoSuWqrVR8K5NS+etQYef+ 0n7VpV9H6Ylt0D0+tvltqNx77BxVMWfsfqL6iTfA8mDxaBt98gTc3R9gAaPlavn5cSev EOaD2vItFlzsqWE5mdeMpYVms3sfNQ5tc+YW7Male41ttzRJg+gCOds7ebjpeVs9IBzp gjAu69h0Y2J/UPzGqKRLTuPY984pbgXZzTR5+Ky0iK+ctdpPE98Pk/yo7F0JHcimcHKh E49LirmUBE/zBlCJg5Dfpd+BCqvOn6991uA4kA0eE0yTpNDI9vvVRJlJIWeU1R2JDPpJ SCIQ== 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 w13si14209827pgm.91.2018.04.25.17.31.03; Wed, 25 Apr 2018 17:31: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 S1753022AbeDZA2P (ORCPT + 99 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(+) 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 -- 2.13.6