From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geert Uytterhoeven Date: Wed, 27 Apr 2016 08:41:02 +0000 Subject: Re: char: legacy RTC cleanups Message-Id: List-Id: References: <1461707052-1337718-1-git-send-email-arnd@arndb.de> <6883809.SRgmlLMdyd@wuerfel> In-Reply-To: <6883809.SRgmlLMdyd@wuerfel> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Arnd Bergmann Cc: 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 , Alexandre Belloni , "linux-kernel@vger.kernel.org" , "linux-ia64@vger.kernel.org" , Parisc List , "linuxppc-dev@lists.ozlabs.org" , Linux-sh Hi Arnd, On Wed, Apr 27, 2016 at 10:33 AM, Arnd Bergmann wrote: > On Wednesday 27 April 2016 09:54:41 Geert Uytterhoeven wrote: >> On Tue, Apr 26, 2016 at 11:44 PM, Arnd Bergmann wrote: >> > For the genrtc driver, rearranging the headers makes it simpler >> > to use and reduces duplication. In case of alpha and mn10300, >> > I've shown that the genrtc and rtc drivers are doing the same >> > thing, so we don't need them both. The remaining three >> > architectures (m68k, parisc, powerpc) actually all support >> > the newer rtc-generic driver, so we could remove genrtc completely >> > if we want to. >> >> CONFIG_GEN_RTC is not enabled in any of the m68k defconfigs, so I think genrtc >> has been unused for a while. >> All defconfigs either use CONFIG_RTC_DRV_GENERIC, or enable a more specific >> RTC driver. > > Ok, good to know. I'm guessing the same is true for parisc, but there are > also very few users. > > Regarding the Q40 specific ioctls, what do you think this means, is it > > a) nobody uses Q40 with modern kernels, > b) nobody calls RTC_PLL_GET/RTC_PLL_SET on q40, or > c) Q40 users have their own configurations and enable GEN_RTC? To be honest, I have no idea. There have never been many Q40 users. (old) http://www.linux-m68k.org/Registry/Statistics.html shows only 8. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geert Uytterhoeven Subject: Re: char: legacy RTC cleanups Date: Wed, 27 Apr 2016 10:41:02 +0200 Message-ID: References: <1461707052-1337718-1-git-send-email-arnd@arndb.de> <6883809.SRgmlLMdyd@wuerfel> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: 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 , Alexandre Belloni , "linux-kernel@vger.kernel.org" , "linux-ia64@vger.kernel.org" , Parisc List , "linuxppc-dev@lists.ozlabs.org" , Linux-sh list To: Arnd Bergmann Return-path: In-Reply-To: <6883809.SRgmlLMdyd@wuerfel> List-ID: List-Id: linux-parisc.vger.kernel.org Hi Arnd, On Wed, Apr 27, 2016 at 10:33 AM, Arnd Bergmann wrote: > On Wednesday 27 April 2016 09:54:41 Geert Uytterhoeven wrote: >> On Tue, Apr 26, 2016 at 11:44 PM, Arnd Bergmann wrote: >> > For the genrtc driver, rearranging the headers makes it simpler >> > to use and reduces duplication. In case of alpha and mn10300, >> > I've shown that the genrtc and rtc drivers are doing the same >> > thing, so we don't need them both. The remaining three >> > architectures (m68k, parisc, powerpc) actually all support >> > the newer rtc-generic driver, so we could remove genrtc completely >> > if we want to. >> >> CONFIG_GEN_RTC is not enabled in any of the m68k defconfigs, so I think genrtc >> has been unused for a while. >> All defconfigs either use CONFIG_RTC_DRV_GENERIC, or enable a more specific >> RTC driver. > > Ok, good to know. I'm guessing the same is true for parisc, but there are > also very few users. > > Regarding the Q40 specific ioctls, what do you think this means, is it > > a) nobody uses Q40 with modern kernels, > b) nobody calls RTC_PLL_GET/RTC_PLL_SET on q40, or > c) Q40 users have their own configurations and enable GEN_RTC? To be honest, I have no idea. There have never been many Q40 users. (old) http://www.linux-m68k.org/Registry/Statistics.html shows only 8. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752579AbcD0IlK (ORCPT ); Wed, 27 Apr 2016 04:41:10 -0400 Received: from mail-io0-f194.google.com ([209.85.223.194]:32779 "EHLO mail-io0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750721AbcD0IlE (ORCPT ); Wed, 27 Apr 2016 04:41:04 -0400 MIME-Version: 1.0 In-Reply-To: <6883809.SRgmlLMdyd@wuerfel> References: <1461707052-1337718-1-git-send-email-arnd@arndb.de> <6883809.SRgmlLMdyd@wuerfel> Date: Wed, 27 Apr 2016 10:41:02 +0200 X-Google-Sender-Auth: itD9HYBbY_EX5RjHmF6dvV1GZG4 Message-ID: Subject: Re: char: legacy RTC cleanups From: Geert Uytterhoeven To: Arnd Bergmann Cc: 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 , Alexandre Belloni , "linux-kernel@vger.kernel.org" , "linux-ia64@vger.kernel.org" , Parisc List , "linuxppc-dev@lists.ozlabs.org" , Linux-sh list , RTCLINUX , Linux-Arch Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Arnd, On Wed, Apr 27, 2016 at 10:33 AM, Arnd Bergmann wrote: > On Wednesday 27 April 2016 09:54:41 Geert Uytterhoeven wrote: >> On Tue, Apr 26, 2016 at 11:44 PM, Arnd Bergmann wrote: >> > For the genrtc driver, rearranging the headers makes it simpler >> > to use and reduces duplication. In case of alpha and mn10300, >> > I've shown that the genrtc and rtc drivers are doing the same >> > thing, so we don't need them both. The remaining three >> > architectures (m68k, parisc, powerpc) actually all support >> > the newer rtc-generic driver, so we could remove genrtc completely >> > if we want to. >> >> CONFIG_GEN_RTC is not enabled in any of the m68k defconfigs, so I think genrtc >> has been unused for a while. >> All defconfigs either use CONFIG_RTC_DRV_GENERIC, or enable a more specific >> RTC driver. > > Ok, good to know. I'm guessing the same is true for parisc, but there are > also very few users. > > Regarding the Q40 specific ioctls, what do you think this means, is it > > a) nobody uses Q40 with modern kernels, > b) nobody calls RTC_PLL_GET/RTC_PLL_SET on q40, or > c) Q40 users have their own configurations and enable GEN_RTC? To be honest, I have no idea. There have never been many Q40 users. (old) http://www.linux-m68k.org/Registry/Statistics.html shows only 8. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-x243.google.com (mail-io0-x243.google.com. [2607:f8b0:4001:c06::243]) by gmr-mx.google.com with ESMTPS id au10si1303837igc.3.2016.04.27.01.41.02 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Apr 2016 01:41:02 -0700 (PDT) Received: by mail-io0-x243.google.com with SMTP id x35so5320810ioi.0 for ; Wed, 27 Apr 2016 01:41:02 -0700 (PDT) MIME-Version: 1.0 Sender: geert.uytterhoeven@gmail.com In-Reply-To: <6883809.SRgmlLMdyd@wuerfel> References: <1461707052-1337718-1-git-send-email-arnd@arndb.de> <6883809.SRgmlLMdyd@wuerfel> Date: Wed, 27 Apr 2016 10:41:02 +0200 Message-ID: Subject: [rtc-linux] Re: char: legacy RTC cleanups From: Geert Uytterhoeven To: Arnd Bergmann Cc: 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 , Alexandre Belloni , "linux-kernel@vger.kernel.org" , "linux-ia64@vger.kernel.org" , Parisc List , "linuxppc-dev@lists.ozlabs.org" , Linux-sh list , RTCLINUX , Linux-Arch Content-Type: text/plain; charset=UTF-8 Reply-To: rtc-linux@googlegroups.com List-ID: List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Hi Arnd, On Wed, Apr 27, 2016 at 10:33 AM, Arnd Bergmann wrote: > On Wednesday 27 April 2016 09:54:41 Geert Uytterhoeven wrote: >> On Tue, Apr 26, 2016 at 11:44 PM, Arnd Bergmann wrote: >> > For the genrtc driver, rearranging the headers makes it simpler >> > to use and reduces duplication. In case of alpha and mn10300, >> > I've shown that the genrtc and rtc drivers are doing the same >> > thing, so we don't need them both. The remaining three >> > architectures (m68k, parisc, powerpc) actually all support >> > the newer rtc-generic driver, so we could remove genrtc completely >> > if we want to. >> >> CONFIG_GEN_RTC is not enabled in any of the m68k defconfigs, so I think genrtc >> has been unused for a while. >> All defconfigs either use CONFIG_RTC_DRV_GENERIC, or enable a more specific >> RTC driver. > > Ok, good to know. I'm guessing the same is true for parisc, but there are > also very few users. > > Regarding the Q40 specific ioctls, what do you think this means, is it > > a) nobody uses Q40 with modern kernels, > b) nobody calls RTC_PLL_GET/RTC_PLL_SET on q40, or > c) Q40 users have their own configurations and enable GEN_RTC? To be honest, I have no idea. There have never been many Q40 users. (old) http://www.linux-m68k.org/Registry/Statistics.html shows only 8. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- -- You received this message because you are subscribed to "rtc-linux". Membership options at http://groups.google.com/group/rtc-linux . Please read http://groups.google.com/group/rtc-linux/web/checklist before submitting a driver. --- You received this message because you are subscribed to the Google Groups "rtc-linux" group. To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/d/optout. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geert Uytterhoeven Subject: Re: char: legacy RTC cleanups Date: Wed, 27 Apr 2016 10:41:02 +0200 Message-ID: References: <1461707052-1337718-1-git-send-email-arnd@arndb.de> <6883809.SRgmlLMdyd@wuerfel> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: In-Reply-To: <6883809.SRgmlLMdyd@wuerfel> Sender: linux-parisc-owner@vger.kernel.org To: Arnd Bergmann Cc: 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 , Alexandre Belloni , "linux-kernel@vger.kernel.org" , "linux-ia64@vger.kernel.org" , Parisc List , "linuxppc-dev@lists.ozlabs.org" , Linux-sh List-Id: linux-arch.vger.kernel.org Hi Arnd, On Wed, Apr 27, 2016 at 10:33 AM, Arnd Bergmann wrote: > On Wednesday 27 April 2016 09:54:41 Geert Uytterhoeven wrote: >> On Tue, Apr 26, 2016 at 11:44 PM, Arnd Bergmann wrote: >> > For the genrtc driver, rearranging the headers makes it simpler >> > to use and reduces duplication. In case of alpha and mn10300, >> > I've shown that the genrtc and rtc drivers are doing the same >> > thing, so we don't need them both. The remaining three >> > architectures (m68k, parisc, powerpc) actually all support >> > the newer rtc-generic driver, so we could remove genrtc completely >> > if we want to. >> >> CONFIG_GEN_RTC is not enabled in any of the m68k defconfigs, so I think genrtc >> has been unused for a while. >> All defconfigs either use CONFIG_RTC_DRV_GENERIC, or enable a more specific >> RTC driver. > > Ok, good to know. I'm guessing the same is true for parisc, but there are > also very few users. > > Regarding the Q40 specific ioctls, what do you think this means, is it > > a) nobody uses Q40 with modern kernels, > b) nobody calls RTC_PLL_GET/RTC_PLL_SET on q40, or > c) Q40 users have their own configurations and enable GEN_RTC? To be honest, I have no idea. There have never been many Q40 users. (old) http://www.linux-m68k.org/Registry/Statistics.html shows only 8. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds