From patchwork Thu Nov 9 21:03:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeremy Linton X-Patchwork-Id: 118481 Delivered-To: patch@linaro.org Received: by 10.80.225.132 with SMTP id k4csp1393766edl; Thu, 9 Nov 2017 13:03:44 -0800 (PST) X-Google-Smtp-Source: ABhQp+QcdruukL08YCfwtGR3Rs6Jx0DE5EiYo3sifRj1LWkSpA04OfJ4Fb4/36Q9wlEhhsxi16bz X-Received: by 10.98.98.132 with SMTP id w126mr1786426pfb.208.1510261424587; Thu, 09 Nov 2017 13:03:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510261424; cv=none; d=google.com; s=arc-20160816; b=Nig3DUE41j7GYqEFV4bb/Ho58D22QJvUciF8Kj7cGhYNkrG+6fynXTYE1Kxx0dk5EZ yt2ZoxKxc87Z8PnC0edintt/u893AqLo783VEolutARC9GziuK5gZdOTF9aaYu1PGkEo 4jteMi3dhIme70VHfzutYbMOEAdOdz8hTtD2yBADB0Xis+CZgGHjLYr9+19LeL2UBtP3 ViqJ7eDD5xUXLr9kNd+tFmiHosS1XGO85ZpNjaLvg8Sy03nrv8yFOc1cT33INdbx423I +8BR6Lu6mWWIDpzKr5HATDQ5C9KxBmcAkxPx9Ub/Pz+6LuJ2uAdKjbgIsLjGtpLVSt3f tGkw== 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=AU4qR6u43gYyFFM4aL16yMhxDZYyq9wcgEa2LNXptbY=; b=aAvd17mNMvXZRezSd9LvkCz+EBWl9P1sEGbn/znaDFgQ/F1r7XCsLWQ2PEzELpyrxT adQLxgcPFGYFxVqtos+OgM0tsutKcrXLR1nHB5NZQhIRBDYbsO57YVY/rHldLzEn2vXg zORrNhgOamxkjNQxLNtbQeoOxiKvT1jQMIRbGd4TMeZO+afnJAmnl+g4+VfA8uILRROD G6OdakOujELfg+DKIK8XNPp/rnGnkO+CgVx1kEZWuXLncXlOudSdpvT/HAiCNBopyLsP klWQPDQATvTmav7+9timF3U6hq/vkIDA+NycKCmiJxe8QhyoSgIENH5dbJkBw9fpkjmb MkoA== 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 j13si7216772pff.341.2017.11.09.13.03.44; Thu, 09 Nov 2017 13:03:44 -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 S1754825AbdKIVDl (ORCPT + 26 others); Thu, 9 Nov 2017 16:03:41 -0500 Received: from foss.arm.com ([217.140.101.70]:51678 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754629AbdKIVDg (ORCPT ); Thu, 9 Nov 2017 16:03:36 -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 1C9BE165D; Thu, 9 Nov 2017 13:03:36 -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 1C8403F3DF; Thu, 9 Nov 2017 13:03:35 -0800 (PST) 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, lenb@kernel.org, robert.moore@intel.com, lv.zheng@intel.com, devel@acpica.org, Jeremy Linton Subject: [PATCH v4 4/9] ACPI: Enable PPTT support on ARM64 Date: Thu, 9 Nov 2017 15:03:06 -0600 Message-Id: <20171109210311.25655-5-jeremy.linton@arm.com> X-Mailer: git-send-email 2.13.5 In-Reply-To: <20171109210311.25655-1-jeremy.linton@arm.com> References: <20171109210311.25655-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.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/Kconfig b/drivers/acpi/Kconfig index 1ce52f84dc23..fa8a7aeaaed9 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acpi/Kconfig @@ -533,6 +533,9 @@ config ACPI_CONFIGFS if ARM64 source "drivers/acpi/arm64/Kconfig" + +config ACPI_PPTT + bool endif endif # ACPI 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