From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752384AbbKYKRx (ORCPT ); Wed, 25 Nov 2015 05:17:53 -0500 Received: from mout.kundenserver.de ([212.227.126.135]:56077 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750934AbbKYKRu (ORCPT ); Wed, 25 Nov 2015 05:17:50 -0500 From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org Cc: Daniel Lezcano , Stephen Boyd , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Andy Gross Subject: Re: [PATCH 1/3] clocksource: defbool CLKSRC_QCOM=y on ARCH_QCOM and make it visible Date: Wed, 25 Nov 2015 11:17:17 +0100 Message-ID: <3550727.W9y7mWx54D@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <56558929.6090403@linaro.org> References: <1448413710-8101-1-git-send-email-sboyd@codeaurora.org> <1448413710-8101-2-git-send-email-sboyd@codeaurora.org> <56558929.6090403@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:jaPlzRftZi92WZ3PqJ5QldXfty3wGk22ECr/dwOLxw1FZdGvJRD g0zG7Mgqom70wwP3Yh1519GhAcK6tVu6l+3NF1lGVorEEwa3CV00BJ/bv3Drk9rTmUnXqsL aaJ9FO0wqp/bttNmmn5IzKM+OP28L9W4Q6NfXaHsrUrkF6/khJN04SLYQ9iTAtGNb7cXcHs fSTPOINpuQ625Ds0ogORw== X-UI-Out-Filterresults: notjunk:1;V01:K0:EVDUbSwtC64=:4Aaxutc7deKAi04C7rIexW 0VUvu1cC8EGFrwKl5Zodi8qaGLRYc2VSy88O79nE+aMABlQb4ZgU4S8BMX7E32NcScbA7KOXZ 1i7VEXw0Pw3b2qvCAmFNVevmyrMN2cxrXytl8G8BFNJ6tDF+CX5WMHvIDFbL+7np7SZXY6tFH 5lQ0W9DpVH95ri/3r3qfB4Wg25j1CVu3tIyGHpWAEyfe8fuHcfT2i0VKhHcYP6xej8gfe3xs5 iAhltOzcAbaEEvR6xRAJ1Nw8y3Y2A0WuaU6OFsI/ke6oh/i0MxAczbBqn6axNlEo3yva6uLzG KaaPCjqm9WHZohIuQk06RBNlZ23s4DxRGPbnZ8cemAWF6PydNJQGTJMNHPuV2nL1jYFYOpqk+ eYH3KZmTHextrTnX8jDp9RvkTn6elIAx+lgzrb3dYBxpiRmR2mF2ecIG3IKtWpHM6Fa4I/Pxx 7YKA1rI+KKp7jW37OjOaqBx3SD4DjyZHICDeHZnT9JJck20v+ELg9zbVyBwZIYbb4US+dJmtb ruFGA0V6mnq1LnDZT3NUvHc7ffiqRq5AjJQ2X8gac+EN1mrqVvR03BHRgUy7jf5n4RWjzVRvI jGuaJsXWr/Vw9Sf8CHh3uMgPrgf2zs1oGEQlQ1EB2fJBVijEzNP4bvRUtsekPQc9GXKrU9Iqn t+dvZ+lBJETPmMH8n1wmFb3KUrGhfieWCJyRY1pGiN+BbkR32uItXcM2hxsRh/kcCT9Ga83Hs uyLacDkT//JOZLaG Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wednesday 25 November 2015 11:10:49 Daniel Lezcano wrote: > On 11/25/2015 02:08 AM, Stephen Boyd wrote: > > We want to remove the ARCH_MSM* configs in mach-qcom/Kconfig > > because they are mostly proxy configs for selecting the right > > clocksource driver. Therefore, make CLKSRC_QCOM default to the > > value of ARCH_QCOM, but also make it visible if ARCH_QCOM=y so > > that we can turn it off when we don't want it. > > I have been removing the ARCH dependencies in the Kconfig file. > > Why do you have to turn it off manually ? The background is that this is used only on some of the older MSM SoCs, while the newer ones use the arch timer. We decided to remove the SoC-specific top-level options from mach-msm as they are becoming rather meaningless these days and just a burden to maintain at the rate that new variants get released, so being able to turn off this driver helps make the kernel slightly smaller if you are building a kernel for only the more recent models. Arnd