From patchwork Wed Feb 28 22:06:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeremy Linton X-Patchwork-Id: 130076 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp271258lja; Wed, 28 Feb 2018 14:08:50 -0800 (PST) X-Google-Smtp-Source: AH8x227EPRigqJiz9wTGBt4IhXBxAd0hgjLetXccGUVVforlP4PFTK4hXP6QyOhwXjXGLyGNSfRg X-Received: by 2002:a17:902:62:: with SMTP id 89-v6mr19538598pla.178.1519855729883; Wed, 28 Feb 2018 14:08:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519855729; cv=none; d=google.com; s=arc-20160816; b=gazitTDm2z+HWnom1ItrlgnbkoNsFZYEZEq3K15tCigL2GwRBkK+ucEVCW9Rk5Wo3i OvZAqsCgq4n4FIPInE/M5d6p942PaVgtH80EAdliYVIZSRHf0gI/VPc1OIFD8LPQr0dU XJclHzOIYH1boKfCCnthwN+q5Vl+YwK9q5C7QWpuIo3m5G2ALQ/uHZAE7xaLFzWXKqeS hQYHqvcGHWmgz9C+Hqj+U6HpRG8jYNPXak9ugP9IrnQ0AwoPCp4fpZj4t/EZyC6+j/Jj I4Nw9ISFckJuCUCYa8xVAng+LiAnJgbilmShRXL+jAeGLkvrIs49ULFM10xQntYpIAvz Wv6w== 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=FrB7HgXlFWgsSuKF1xSmw8vLLH7A0luH2WsPNter7ng=; b=LIeOjPbJA0hlE+jgddEEYxyFJzdCtN6vtm7R5bm5bxP8xppaDP1efe19VJakhzqPvz f5U8NZqLXAGpapD6s8qTl+PRmiNixiB5KJWCnwhYtaEorkhVd3RpZ6vC3G/TTeNunPab c8XBCkGyvM8aBSKrwgGGymgx1mo/7eWiu2xxbZdhXvbRZ0U22TFMSk4+mCQV2oTEeHi3 SNwTAhP6satLMR+XpVwPTP7Eclmhxn5hVSS03+aUT5eJnPxPNkEIosIpMVFTCoGb2Xig znj84z+nlyN0olaApAWps34rvp4dNxFQMd0Ro0+A8cSpLK5AWKxc7xeI94dYrK2/Ixle Gbwg== 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 v10-v6si2036475plo.61.2018.02.28.14.08.47; Wed, 28 Feb 2018 14:08:49 -0800 (PST) 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 S935359AbeB1WHa (ORCPT + 28 others); Wed, 28 Feb 2018 17:07:30 -0500 Received: from foss.arm.com ([217.140.101.70]:58046 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935324AbeB1WHX (ORCPT ); Wed, 28 Feb 2018 17:07:23 -0500 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 D1FAF15AD; Wed, 28 Feb 2018 14:07:22 -0800 (PST) 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 DA4413F246; Wed, 28 Feb 2018 14:07:21 -0800 (PST) From: Jeremy Linton To: linux-acpi@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, sudeep.holla@arm.com, 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, Jeremy Linton Subject: [PATCH v7 06/13] ACPI: Enable PPTT support on ARM64 Date: Wed, 28 Feb 2018 16:06:12 -0600 Message-Id: <20180228220619.6992-7-jeremy.linton@arm.com> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20180228220619.6992-1-jeremy.linton@arm.com> References: <20180228220619.6992-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/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 7381eeb7ef8e..439684a71e18 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 f505e9a01b2d..55aa9789d474 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acpi/Kconfig @@ -534,6 +534,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 41954a601989..b6056b566df4 100644 --- a/drivers/acpi/Makefile +++ b/drivers/acpi/Makefile @@ -87,6 +87,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