From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: [PATCH v8 09/16] clockevents/drivers: Add STM32 Timer driver Date: Tue, 19 May 2015 16:05:36 +0200 Message-ID: <2641240.S39i1jrT81@wuerfel> References: <1431158038-3813-1-git-send-email-mcoquelin.stm32@gmail.com> <555B3F80.8070605@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <555B3F80.8070605@linaro.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Daniel Lezcano Cc: Mark Rutland , "linux-doc@vger.kernel.org" , Linus Walleij , Will Deacon , Stefan Agner , Nikolay Borisov , Peter Meerwald , "linux-api@vger.kernel.org" , Lee Jones , Kees Cook , Linux-Arch , Daniel Thompson , Russell King , Jonathan Corbet , Jiri Slaby , Mauro Carvalho Chehab , Chanwoo Choi , Andy Shevchenko , Antti Palosaari , Geert Uytterhoeven , "linux-serial@vger.kernel.org" , Uwe List-Id: linux-gpio@vger.kernel.org On Tuesday 19 May 2015 15:49:52 Daniel Lezcano wrote: > On 05/19/2015 03:42 PM, Maxime Coquelin wrote: > > 2015-05-19 12:55 GMT+02:00 Arnd Bergmann : > >> Please also make it possible to select this driver on other architectures > >> with COMPILE_TEST, so we get coverage from all the x86 test infrastructure. > > > > You proposal is to revert back to the original patch, except that > > ARCH_STM32 should select CLKSRC_STM32, right? > > > > Daniel, what do you think? > > It is not exactly as the initial patch. > > I think Arnd is proposing: > > config CLKSRC_STM32 > bool "Clocksource for STM32 SoCs" if COMPILE_TEST > select CLKSRC_MMIO Yes, that's fine, although we might also need a 'depends on OF' line, not sure. Arnd From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756098AbbESOpQ (ORCPT ); Tue, 19 May 2015 10:45:16 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:60383 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754524AbbESOpI (ORCPT ); Tue, 19 May 2015 10:45:08 -0400 From: Arnd Bergmann To: Daniel Lezcano Cc: Maxime Coquelin , Uwe =?ISO-8859-1?Q?Kleine=2DK=F6nig?= , Andreas =?ISO-8859-1?Q?F=E4rber?= , Geert Uytterhoeven , Rob Herring , Philipp Zabel , Linus Walleij , Stefan Agner , Peter Meerwald , Paul Bolle , Peter Hurley , Andy Shevchenko , Chanwoo Choi , Russell King , Joe Perches , Vladimir Zapolskiy , Lee Jones , Daniel Thompson , Jonathan Corbet , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Thomas Gleixner , Greg Kroah-Hartman , Jiri Slaby , Andrew Morton , "David S. Miller" , Mauro Carvalho Chehab , Antti Palosaari , Tejun Heo , Will Deacon , Nikolay Borisov , Rusty Russell , Kees Cook , Michal Marek , "linux-doc@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-gpio@vger.kernel.org" , "linux-serial@vger.kernel.org" , Linux-Arch , "linux-api@vger.kernel.org" , Nicolae Rosia , Kamil Lulko Subject: Re: [PATCH v8 09/16] clockevents/drivers: Add STM32 Timer driver Date: Tue, 19 May 2015 16:05:36 +0200 Message-ID: <2641240.S39i1jrT81@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <555B3F80.8070605@linaro.org> References: <1431158038-3813-1-git-send-email-mcoquelin.stm32@gmail.com> <555B3F80.8070605@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:EgUw79bbVJ99Gy4xp4qGWj81MN6xMeZIPOmMjKcSsd2w9S2Zchx hkPaSz3bza2UXbYM5VZoGB4vXg32cGjPEMe4aQUWkj1QwLWwEkbmEfbRnJafZKwERGHl0AM xxxOy2FaSPkblWmulVJLmrrn6jIYVI5wBTbIc3hGNE2AFHDYyBHLNrt1uRMLTIqUZnLx2EK AQrbHi1nYcp764LAijQbA== X-UI-Out-Filterresults: notjunk:1; Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday 19 May 2015 15:49:52 Daniel Lezcano wrote: > On 05/19/2015 03:42 PM, Maxime Coquelin wrote: > > 2015-05-19 12:55 GMT+02:00 Arnd Bergmann : > >> Please also make it possible to select this driver on other architectures > >> with COMPILE_TEST, so we get coverage from all the x86 test infrastructure. > > > > You proposal is to revert back to the original patch, except that > > ARCH_STM32 should select CLKSRC_STM32, right? > > > > Daniel, what do you think? > > It is not exactly as the initial patch. > > I think Arnd is proposing: > > config CLKSRC_STM32 > bool "Clocksource for STM32 SoCs" if COMPILE_TEST > select CLKSRC_MMIO Yes, that's fine, although we might also need a 'depends on OF' line, not sure. Arnd From mboxrd@z Thu Jan 1 00:00:00 1970 From: arnd@arndb.de (Arnd Bergmann) Date: Tue, 19 May 2015 16:05:36 +0200 Subject: [PATCH v8 09/16] clockevents/drivers: Add STM32 Timer driver In-Reply-To: <555B3F80.8070605@linaro.org> References: <1431158038-3813-1-git-send-email-mcoquelin.stm32@gmail.com> <555B3F80.8070605@linaro.org> Message-ID: <2641240.S39i1jrT81@wuerfel> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tuesday 19 May 2015 15:49:52 Daniel Lezcano wrote: > On 05/19/2015 03:42 PM, Maxime Coquelin wrote: > > 2015-05-19 12:55 GMT+02:00 Arnd Bergmann : > >> Please also make it possible to select this driver on other architectures > >> with COMPILE_TEST, so we get coverage from all the x86 test infrastructure. > > > > You proposal is to revert back to the original patch, except that > > ARCH_STM32 should select CLKSRC_STM32, right? > > > > Daniel, what do you think? > > It is not exactly as the initial patch. > > I think Arnd is proposing: > > config CLKSRC_STM32 > bool "Clocksource for STM32 SoCs" if COMPILE_TEST > select CLKSRC_MMIO Yes, that's fine, although we might also need a 'depends on OF' line, not sure. Arnd