From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754065AbcFAQDv (ORCPT ); Wed, 1 Jun 2016 12:03:51 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:53205 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750970AbcFAQDt (ORCPT ); Wed, 1 Jun 2016 12:03:49 -0400 Subject: Re: [PATCH v5 5/6] clocksource/drivers/arm_arch_timer: Simplify ACPI support code. To: fu.wei@linaro.org, rjw@rjwysocki.net, lenb@kernel.org, daniel.lezcano@linaro.org, tglx@linutronix.de, marc.zyngier@arm.com, hanjun.guo@linaro.org Cc: linux-arm-kernel@lists.infradead.org, linaro-acpi@lists.linaro.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, rruigrok@codeaurora.org, harba@codeaurora.org, cov@codeaurora.org, graeme.gregory@linaro.org, al.stone@linaro.org, jcm@redhat.com, wei@redhat.com, arnd@arndb.de, wim@iguana.be, catalin.marinas@arm.com, will.deacon@arm.com, Suravee.Suthikulpanit@amd.com, leo.duran@amd.com References: <1464096633-9309-1-git-send-email-fu.wei@linaro.org> <1464096633-9309-6-git-send-email-fu.wei@linaro.org> From: Timur Tabi Message-ID: <574F075D.1010007@codeaurora.org> Date: Wed, 1 Jun 2016 11:03:41 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40 MIME-Version: 1.0 In-Reply-To: <1464096633-9309-6-git-send-email-fu.wei@linaro.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org fu.wei@linaro.org wrote: > diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig > index 47352d2..5a5baa1 100644 > --- a/drivers/clocksource/Kconfig > +++ b/drivers/clocksource/Kconfig > @@ -8,6 +8,7 @@ config CLKSRC_OF > config CLKSRC_ACPI > bool > select CLKSRC_PROBE > + select ACPI_GTDT I think this should be under the ARM64 Kconfig option (arch/arm64/Kconfig), perhaps like this: select ACPI_SPCR_TABLE if ACPI + select ACPI_GTDT if ACPI We want GTDT to be parsed on ARM64 if we have ACPI, even if we don't have CLKSRC enabled. -- Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation collaborative project.