From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: char: legacy RTC cleanups Date: Wed, 27 Apr 2016 13:30:05 +0200 Message-ID: <13390963.BOLfm8tOYx@wuerfel> References: <1461707052-1337718-1-git-send-email-arnd@arndb.de> <4937900.aITlOE9vLo@wuerfel> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: In-Reply-To: Sender: linux-sh-owner@vger.kernel.org To: Geert Uytterhoeven Cc: Alexandre Belloni , Greg Kroah-Hartman , Tony Luck , "James E.J. Bottomley" , Helge Deller , Benjamin Herrenschmidt , Michael Ellerman , Rich Felker , David Howells , Koichi Yasutake , Richard Henderson , Ivan Kokshaysky , alpha , the arch/x86 maintainers , Alessandro Zummo , "linux-kernel@vger.kernel.org" , "linux-ia64@vger.kernel.org" , Parisc List , "linuxppc-dev@lists.ozlabs.org" Linux-sh list List-Id: linux-arch.vger.kernel.org On Wednesday 27 April 2016 12:19:59 Geert Uytterhoeven wrote: > > > > Right, so we could skip patches 5 and 6, and instead remove the two > > headers as we remove the driver. Let's see what the architecture > > maintainers think about it, at least powerpc actually enables gen_rtc > > in its defconfig, so it might take a while to move it over. > > FWIW, all PPC defconfigs (except tqm8xx.dts, which is a more recent platform) > enabling it did that long before my old commit to enable rtc-generic support > on PPC: > > commit bcd68a70cb0eee556d86d93133aa150319bd9f53 > Author: Geert Uytterhoeven > Date: Thu Feb 19 16:50:46 2009 +0100 > > powerpc: Hook up rtc-generic, and kill rtc-ppc Ah, interesting. I have two observations about that patch: - you were moving basically in the opposite direction that I am trying to bring it now. ;-) - I see now that four defconfigs (gamecube, powernv, pseries and wii) do enable RTC_DRV_GENERIC. For some reason, ppc64_defconfig only enables RTC_DRV_DS1307, I assume that is not intentional. Arnd From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.kundenserver.de ([212.227.126.187]:53470 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752249AbcD0LbN (ORCPT ); Wed, 27 Apr 2016 07:31:13 -0400 From: Arnd Bergmann Subject: Re: char: legacy RTC cleanups Date: Wed, 27 Apr 2016 13:30:05 +0200 Message-ID: <13390963.BOLfm8tOYx@wuerfel> In-Reply-To: References: <1461707052-1337718-1-git-send-email-arnd@arndb.de> <4937900.aITlOE9vLo@wuerfel> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-arch-owner@vger.kernel.org List-ID: To: Geert Uytterhoeven Cc: Alexandre Belloni , Greg Kroah-Hartman , Tony Luck , "James E.J. Bottomley" , Helge Deller , Benjamin Herrenschmidt , Michael Ellerman , Rich Felker , David Howells , Koichi Yasutake , Richard Henderson , Ivan Kokshaysky , alpha , the arch/x86 maintainers , Alessandro Zummo , "linux-kernel@vger.kernel.org" , "linux-ia64@vger.kernel.org" , Parisc List , "linuxppc-dev@lists.ozlabs.org" , Linux-sh list , RTCLINUX , Linux-Arch Message-ID: <20160427113005.TTsX39QaJ2PBJ_8IVFRv705MOJgpkTIA7-uyc0ddL8k@z> On Wednesday 27 April 2016 12:19:59 Geert Uytterhoeven wrote: > > > > Right, so we could skip patches 5 and 6, and instead remove the two > > headers as we remove the driver. Let's see what the architecture > > maintainers think about it, at least powerpc actually enables gen_rtc > > in its defconfig, so it might take a while to move it over. > > FWIW, all PPC defconfigs (except tqm8xx.dts, which is a more recent platform) > enabling it did that long before my old commit to enable rtc-generic support > on PPC: > > commit bcd68a70cb0eee556d86d93133aa150319bd9f53 > Author: Geert Uytterhoeven > Date: Thu Feb 19 16:50:46 2009 +0100 > > powerpc: Hook up rtc-generic, and kill rtc-ppc Ah, interesting. I have two observations about that patch: - you were moving basically in the opposite direction that I am trying to bring it now. ;-) - I see now that four defconfigs (gamecube, powernv, pseries and wii) do enable RTC_DRV_GENERIC. For some reason, ppc64_defconfig only enables RTC_DRV_DS1307, I assume that is not intentional. Arnd