Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752836AbcD0IeX (ORCPT ); Wed, 27 Apr 2016 04:34:23 -0400 Received: from mout.kundenserver.de ([217.72.192.73]:53390 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752383AbcD0IeS (ORCPT ); Wed, 27 Apr 2016 04:34:18 -0400 From: Arnd Bergmann To: Geert Uytterhoeven 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 Subject: Re: char: legacy RTC cleanups Date: Wed, 27 Apr 2016 10:33:04 +0200 Message-ID: <6883809.SRgmlLMdyd@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: References: <1461707052-1337718-1-git-send-email-arnd@arndb.de> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:66RiegKVBGJx2NBS9CfKbHdaNAsfyZhhyXO7ewxGNhk7x3Eve3B yktYMHyO6keskTSCbUy4fgIR4Qq3VxCn6AmPTbtt/BDSuJO1FXRWaaaHODfENniV3IRYjdB 2ZCMVjOC72SnOHWCP3xvI7YpMub8qA0LnDeLk9kl7Ucj0qzjvdtC2kJVW09Cfwpibp+2VYn 3xb4tcic/xhw00vhwcA3w== X-UI-Out-Filterresults: notjunk:1;V01:K0:H5epjkeGlU0=:LWc1OCuuM+0T8Hp0y6kC9p N0aobzR+M5RbymZE2dFs+1McuUuBvMhpoBEaCxC/yl0PTGrx8oqkIMPGzScx88sfQ20GJJfL+ ucoTRH3RYLHrZrCVvSUfL44k09NEDAWzXvwErGJ1UbtqyTqB6x+62lteNfNl8iYA4vhQ3/fgd 5F6I/IdGu3VgR+ahGILRnzCF7NjMMe2Yp/LoPT1e0JCD+tKuaJBjfOHWJB3z8arIVwbMSIiSn mavVr7aJ1e3c75IMdNrYNDxhMhqhZSDJhDDhG1uX1lKFaSafWfcglkGgz/jlyKCWNM9UZNEk0 iy3SFmAFwdD0/GrFhxFDaUES/O4OhcW9AykkG10LeKkpU8HAIWFv9yC7EYazsjHiz4iikc4XL VxLtaAN8as/vDZiWKm8wPHVpGDD/vNPJBO0gXky60MnnykaUojcL+0hgHZF5cF9Ren1Yy5M44 o3gsDAlvug3Fe8JXVpL4STfjVTHDXiYRnF4+Fq/AiC018DCOunAed9vKgLoNyZOJjqFrfS8T3 fS/z8c/VvaGCEjKzGYR5HA/VbT6LRi2xsN3S7u81gQaEhGa4tjEmU9B+tRH+Ab/NI3smfC0qF 8W3NWQGB0JtP9VPozowaTtBZgFc1MYcoR4IoO8+pyrbR+it/+j0GK9Le8ppuB7W+XRmQxSN50 0rqP/r2QDGDK2FQ4G+/qph9ccK+T1cf6DHGestaPDcx7qM7YxujULHoZKrJwAbQcKmgZJWhE1 fEvleKR1T1ZwNtEr Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1390 Lines: 32 On Wednesday 27 April 2016 09:54:41 Geert Uytterhoeven wrote: > Hi Arnd, > > 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? On powerpc, a quarter of the defconfigs (mostly for really old hardware) still use GEN_RTC, but I guess we can either bulk-convert them to RTC_GENERIC, or convert the five implementations of .get_rtc_time/.set_rtc_time (8xx, rtas, chrp, powermac, maple) into five regular RTC class drivers. Arnd