Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753828AbcD0KUF (ORCPT ); Wed, 27 Apr 2016 06:20:05 -0400 Received: from mail-ig0-f196.google.com ([209.85.213.196]:34809 "EHLO mail-ig0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752244AbcD0KUA (ORCPT ); Wed, 27 Apr 2016 06:20:00 -0400 MIME-Version: 1.0 In-Reply-To: <4937900.aITlOE9vLo@wuerfel> References: <1461707052-1337718-1-git-send-email-arnd@arndb.de> <20160427094410.GJ3264@piout.net> <4937900.aITlOE9vLo@wuerfel> Date: Wed, 27 Apr 2016 12:19:59 +0200 X-Google-Sender-Auth: UCqbZ4PO2YdTgLypt4L78gxq69Y Message-ID: Subject: Re: char: legacy RTC cleanups From: Geert Uytterhoeven To: Arnd Bergmann 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 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1997 Lines: 47 Hi Arnd, On Wed, Apr 27, 2016 at 12:07 PM, Arnd Bergmann wrote: > On Wednesday 27 April 2016 11:44:10 Alexandre Belloni wrote: >> On 26/04/2016 at 23:44:04 +0200, Arnd Bergmann wrote : >> > I've had these patches in my tree for a while, after the first one >> > had a few issues that are fixed in this new version. The old-style >> > PC RTC driver is now also disabled on m68k (as pointed out by >> > Geert), ppc (it was also blacklisted), and m32r (I showed that >> > it did not build). >> > >> > 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. >> > >> >> Personally, I'd go for the kill and remove genrtc instead of cleaning it up. > > 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 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