From patchwork Sat Apr 16 19:59:16 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 8861871 Return-Path: X-Original-To: patchwork-linux-arm-msm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 0F7A5BF29F for ; Sat, 16 Apr 2016 20:00:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F3BCF20211 for ; Sat, 16 Apr 2016 20:00:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 22442201F4 for ; Sat, 16 Apr 2016 20:00:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751574AbcDPT77 (ORCPT ); Sat, 16 Apr 2016 15:59:59 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:56640 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751508AbcDPT76 (ORCPT ); Sat, 16 Apr 2016 15:59:58 -0400 Received: from wuerfel.localnet ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue005) with ESMTPSA (Nemesis) id 0LaHLm-1bcA8X2kGc-00m32R; Sat, 16 Apr 2016 21:59:19 +0200 From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org Cc: Stephen Boyd , Olof Johansson , Kevin Hilman , arm@kernel.org, linux-arm-msm@vger.kernel.org, Andy Gross Subject: Re: [GIT PULL] Qualcomm Driver Updates for v4.7 Date: Sat, 16 Apr 2016 21:59:16 +0200 Message-ID: <6572897.TrNljr4Es3@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <20160413191108.GF14441@codeaurora.org> References: <1459540776-7056-1-git-send-email-andy.gross@linaro.org> <20160413184134.GJ19945@localhost> <20160413191108.GF14441@codeaurora.org> MIME-Version: 1.0 X-Provags-ID: V03:K0:TEtIkUBQO2YsNtAB+ALLXZ5tByKerCKP4dXrjL/q4ysKydf/NGP cPRDoe9uoQvII3wd+6qQ8H0bXIi226+0MN+D4eAkBNjGByztKc1fBBLTCoCLR/EPUKkPnyw Ow85m1rRGNTZi50R9wE2TBhIQFthnH7HGRCWPKgnUqo/fpfAv+q+udvfQqrEmxeQ+23/wfT RjFSGL7A7PC9LT9YgVFGA== X-UI-Out-Filterresults: notjunk:1; V01:K0:bwE+qboe2L4=:jjbtaxUV+uMCr9aCCEUDbV EbKkhibOD9uXH9rp6BvusMg9WmeoUu1JxwLD2bkLc6Hn2vOL2pbqYSJdM1jYYSUz46jtBnkUj ToD8zL4OJibgiBUJg+0yJp6CRldafRpI4wb1bK32qJvFTXB7GfaFk9oGlsWBmtJC313VyuCsc x6Kljtrl2CNhbSdXzViQSM0TNXT3cLne+ORRDyfSLsAL4YNHHbnnT+9dqvvlJaOIuOvAFZACq YYiiDBuMwBF9BFfsZj3/tEDbozSFcr15R3vYp2+M43uWpb/OvQ7cK6Vs62hmwEHPUZ1w/069a n29jpwTS5p/pcrIxRASllaZ+ayleW9Cj8yWJfhHb46ZP46zzNIN7qcD6ZTEDZkrfic7r3CsE3 kJ2oYxKw8OPktefmRpoLb8qT/48DM/zL5hK/TJlnth6AiuirDHQlQ8jj4VuOT0gyfFINuzETN SnEvTTslEodCdHzpz+pI8dIEitGP0rUNqAv3AlhDRYcIvFsZFeW4MwKt7RW8wucuH8jD+Unul zEqE4bWfwjaT19GDoP9GAngizUj91iaidzDSvwnLb5FTxSceKv6olOH9fhpYWVFOg1Xw3XSiv RmKn/O72982QP0+OTwp9tPmzy5+qD1zTTqjY7AoCCLD+CSC8ToxgSxDjgzgVAINRJuqrGhcHg trnwxRMgit9jRK1udwD1sllKCfCmPZqlsf2c9d2ZhlAo65vmERuUa1OckzF7t5S7YoD21d4Lw F4AZ8NAnDc2XDLGq Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Spam-Status: No, score=-7.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP On Wednesday 13 April 2016 12:11:08 Stephen Boyd wrote: > > Honestly, I view these clocksource selects as the only blocker in > the effort to get rid of machine type Kconfigs. Maybe that isn't > a good goal though. I agree with you, it would be nice if we could just make them all configurable and not need any machine type Kconfigs (though a lot of platforms will continue using them for other reasons). A patch like the one below (as I think you suggested) would be nice too, but requires people to update their defconfig files. In the mainline kernel, we have four defconfig files that enable CONFIG_HAVE_ARM_ARCH_TIMER manually, so those all need to be changed along with the Kconfig files, and everyone that has their own out of tree defconfig file (not a full .config) runs into the same issue. It's probably still worth doing the change, but it's not obvious. Arnd --- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 62c209504c0a..0daad62cfce5 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1296,7 +1296,6 @@ config HAVE_ARM_SCU This option enables support for the ARM system coherency unit config HAVE_ARM_ARCH_TIMER - bool "Architected timer support" depends on CPU_V7 select ARM_ARCH_TIMER select GENERIC_CLOCKEVENTS diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index c346be650892..0314778c992f 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig @@ -187,7 +187,7 @@ config CLKSRC_STM32 select CLKSRC_MMIO config ARM_ARCH_TIMER - bool + bool "Architected timer support" select CLKSRC_OF if OF select CLKSRC_ACPI if ACPI