From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexandre Belloni Subject: Re: [PATCH 00/51] rtc: stop using rtc deprecated functions Date: Tue, 20 Jun 2017 12:07:57 +0200 Message-ID: <20170620100757.d7dulehry67qknip@piout.net> References: <1497951359-13334-1-git-send-email-benjamin.gaignard@linaro.org> <20170620100348.zh4ygvjjgnhxvmvl@piout.net> Reply-To: rtc-linux-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Sender: rtc-linux-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Content-Disposition: inline In-Reply-To: <20170620100348.zh4ygvjjgnhxvmvl-m++hUPXGwpdeoWH0uzbU5w@public.gmane.org> List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: Benjamin Gaignard Cc: linaro-kernel-cunTk1MwBs8s++Sfvej+rw@public.gmane.org, adi-buildroot-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, Alessandro Zummo , Gregory Clement , Ingo Molnar , Jason Cooper , John Stultz , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Linus Walleij , Michael Chan , netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, rtc-linux-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org, Sebastian Hesselbarth , Support Opensource , Thomas Gleixner , x86-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, Baruch Siach , Hans Ulli Kroll , Vladimir Zapolskiy , Sylvain Lemieux , Barry Song , Maxime Ripard List-Id: linux-tegra@vger.kernel.org On 20/06/2017 at 12:03:48 +0200, Alexandre Belloni wrote: > On 20/06/2017 at 11:35:08 +0200, Benjamin Gaignard wrote: > > rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they > > rely on 32bits variables and that will make rtc break in y2038/2016. > > Please don't, because this hide the fact that the hardware will not > handle dates in y2038 anyway and as pointed by Russell a few month ago, > rtc_time_to_tm will be able to catch it but the 64 bit version will > silently ignore it. > Just to be clear, it is fine on your ST hardware because it uses a 64bit counter. Most of the one you patched are using 32 bit counters and so will break anyway. > > > The goal of this series of patches is ti stop using those two functions > > and use instead to safer 64bits ones. > > > > It also remove change .set_mmss to set_mmss64 callback for the same reasons. > > > > Those 51 patches almost clean all the drivers except the few that I haven't > > been able to compile because of cross-toolchains issues (au1xxx, mpc5121, ps3, > > puv3, sun4v, tx4939, starfire, ls1x ...) > > > > Obviously I don't have all those hardwares in my hands so I have only check > > that the patches compile without warnings but it up to each maintainer to > > valid them on real hardware. > > > > Benjamin Gaignard (51): > > x86: rtc: stop using rtc deprecated functions > > x86: intel-mid: vrtc: stop using rtc deprecated functions > > net: broadcom: stop using rtc deprecated functions > > rtc: 88pm80x: stop using rtc deprecated functions > > rtc: 88pm860x: stop using rtc deprecated functions > > rtc: ab-b5ze-s3: stop using rtc deprecated functions > > rtc: ab8500: stop using rtc deprecated functions > > rtc: armada38x: stop using rtc deprecated functions > > rtc: at32ap700x: stop using rtc deprecated functions > > rtc: at91sam9: stop using rtc deprecated functions > > rtc: bfin: stop using rtc deprecated functions > > rtc: coh901331: stop using rtc deprecated functions > > rtc: cpcap: stop using rtc deprecated functions > > rtc: da9063: stop using rtc deprecated functions > > rtc: da9063: stop using rtc deprecated functions > > rtc: davinci: stop using rtc deprecated functions > > rtc: digicolor: stop using rtc deprecated functions > > rtc: dm355evm: stop using rtc deprecated functions > > rtc: ds1305: stop using rtc deprecated functions > > rtc: ds1374: stop using rtc deprecated functions > > rtc: ds1511: stop using rtc deprecated functions > > rtc: ds1553: stop using rtc deprecated functions > > rtc: ds1672: stop using rtc deprecated functions > > rtc: ds2404: stop using rtc deprecated functions > > rtc: ep93xx: stop using rtc deprecated functions > > rtc: gemini: stop using rtc deprecated functions > > rtc: imxdi: stop using rtc deprecated functions > > rtc: jz4740: stop using rtc deprecated functions > > rtc: lpc32xx: stop using rtc deprecated functions > > rtc: mv: stop using rtc deprecated functions > > rtc: omap: stop using rtc deprecated functions > > rtc: pcap: stop using rtc deprecated functions > > rtc: pl030: stop using rtc deprecated functions > > rtc: pl031: stop using rtc deprecated functions > > rtc: pm8xxx: stop using rtc deprecated functions > > rtc: rs5c348: stop using rtc deprecated functions > > rtc: sa1100: stop using rtc deprecated functions > > rtc: sh: stop using rtc deprecated functions > > rtc: sirfsoc: stop using rtc deprecated functions > > rtc: snvs: stop using rtc deprecated functions > > rtc: stk17ta8: stop using rtc deprecated functions > > rtc: stmp3xxx: stop using rtc deprecated functions > > rtc: sun6i: stop using rtc deprecated functions > > rtc: sysfs: stop using rtc deprecated functions > > rtc: tegra stop using rtc deprecated functions > > rtc: test: stop using rtc deprecated functions > > rtc: tps6586: stop using rtc deprecated functions > > rtc: vr41xx: stop using rtc deprecated functions > > rtc: wm831x: stop using rtc deprecated functions > > rtc: xgene stop using rtc deprecated functions > > power: suspend test: stop using rtc deprecated functions > > > > arch/x86/kernel/rtc.c | 6 ++-- > > arch/x86/platform/intel-mid/intel_mid_vrtc.c | 2 +- > > drivers/net/ethernet/broadcom/bnxt/bnxt.c | 2 +- > > drivers/rtc/rtc-88pm80x.c | 44 +++++++++++++-------------- > > drivers/rtc/rtc-88pm860x.c | 40 ++++++++++++------------- > > drivers/rtc/rtc-ab-b5ze-s3.c | 45 ++++++++-------------------- > > drivers/rtc/rtc-ab8500.c | 26 ++++++++-------- > > drivers/rtc/rtc-armada38x.c | 34 +++++++++------------ > > drivers/rtc/rtc-at32ap700x.c | 29 ++++++++---------- > > drivers/rtc/rtc-at91sam9.c | 18 ++++------- > > drivers/rtc/rtc-bfin.c | 24 +++++++-------- > > drivers/rtc/rtc-coh901331.c | 14 +++++---- > > drivers/rtc/rtc-cpcap.c | 8 ++--- > > drivers/rtc/rtc-da9052.c | 8 ++--- > > drivers/rtc/rtc-da9063.c | 8 ++--- > > drivers/rtc/rtc-davinci.c | 8 ++--- > > drivers/rtc/rtc-digicolor.c | 4 +-- > > drivers/rtc/rtc-dm355evm.c | 6 ++-- > > drivers/rtc/rtc-ds1305.c | 11 +++---- > > drivers/rtc/rtc-ds1374.c | 6 ++-- > > drivers/rtc/rtc-ds1511.c | 2 +- > > drivers/rtc/rtc-ds1553.c | 2 +- > > drivers/rtc/rtc-ds1672.c | 8 ++--- > > drivers/rtc/rtc-ds2404.c | 8 ++--- > > drivers/rtc/rtc-ep93xx.c | 10 +++---- > > drivers/rtc/rtc-gemini.c | 8 ++--- > > drivers/rtc/rtc-imxdi.c | 16 +++++----- > > drivers/rtc/rtc-jz4740.c | 12 ++++---- > > drivers/rtc/rtc-lpc32xx.c | 19 +++++------- > > drivers/rtc/rtc-mv.c | 2 +- > > drivers/rtc/rtc-omap.c | 6 ++-- > > drivers/rtc/rtc-pcap.c | 16 +++++----- > > drivers/rtc/rtc-pl030.c | 24 +++++++-------- > > drivers/rtc/rtc-pl031.c | 31 ++++++++----------- > > drivers/rtc/rtc-pm8xxx.c | 22 +++++++------- > > drivers/rtc/rtc-rs5c348.c | 4 +-- > > drivers/rtc/rtc-sa1100.c | 25 +++++++--------- > > drivers/rtc/rtc-sh.c | 2 +- > > drivers/rtc/rtc-sirfsoc.c | 18 +++++------ > > drivers/rtc/rtc-snvs.c | 14 ++++----- > > drivers/rtc/rtc-stk17ta8.c | 2 +- > > drivers/rtc/rtc-stmp3xxx.c | 12 ++++---- > > drivers/rtc/rtc-sun6i.c | 14 ++++----- > > drivers/rtc/rtc-sysfs.c | 25 ++++++++-------- > > drivers/rtc/rtc-tegra.c | 22 +++++++------- > > drivers/rtc/rtc-test.c | 17 +---------- > > drivers/rtc/rtc-tps6586x.c | 26 ++++++++-------- > > drivers/rtc/rtc-vr41xx.c | 6 ++-- > > drivers/rtc/rtc-wm831x.c | 28 +++++++---------- > > drivers/rtc/rtc-xgene.c | 12 ++++---- > > kernel/power/suspend_test.c | 6 ++-- > > 51 files changed, 342 insertions(+), 420 deletions(-) > > > > -- > > CC: adi-buildroot-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > > CC: Alessandro Zummo > > CC: Alexandre Belloni > > CC: Gregory Clement > > CC: Ingo Molnar > > CC: Jason Cooper > > CC: John Stultz > > CC: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org > > CC: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > > CC: Linus Walleij > > CC: Michael Chan > > CC: netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > > CC: rtc-linux-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > CC: Sebastian Hesselbarth > > CC: Support Opensource > > CC: Thomas Gleixner > > CC: x86-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org > > CC: Baruch Siach > > CC: Hans Ulli Kroll > > CC: Vladimir Zapolskiy > > CC: Sylvain Lemieux > > CC: Barry Song > > CC: Maxime Ripard > > CC: Chen-Yu Tsai > > CC: Thierry Reding > > CC: Jonathan Hunter > > CC: linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > > CC: patches-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org > > CC: "Rafael J. Wysocki" > > CC: Pavel Machek > > CC: Len Brown > > CC: linux-pm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > > > > 1.9.1 > > > > -- > Alexandre Belloni, Free Electrons > Embedded Linux and Kernel engineering > http://free-electrons.com -- Alexandre Belloni, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/d/optout. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751883AbdFTKID (ORCPT ); Tue, 20 Jun 2017 06:08:03 -0400 Received: from mail.free-electrons.com ([62.4.15.54]:46193 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751174AbdFTKIA (ORCPT ); Tue, 20 Jun 2017 06:08:00 -0400 Date: Tue, 20 Jun 2017 12:07:57 +0200 From: Alexandre Belloni To: Benjamin Gaignard Cc: linaro-kernel@lists.linaro.org, adi-buildroot-devel@lists.sourceforge.net, Alessandro Zummo , Gregory Clement , Ingo Molnar , Jason Cooper , John Stultz , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Linus Walleij , Michael Chan , netdev@vger.kernel.org, rtc-linux@googlegroups.com, Sebastian Hesselbarth , Support Opensource , Thomas Gleixner , x86@kernel.org, Baruch Siach , Hans Ulli Kroll , Vladimir Zapolskiy , Sylvain Lemieux , Barry Song , Maxime Ripard , Chen-Yu Tsai , Thierry Reding , Jonathan Hunter , linux-tegra@vger.kernel.org, patches@opensource.wolfsonmicro.com, "Rafael J. Wysocki" , Pavel Machek , Len Brown , linux-pm@vger.kernel.org Subject: Re: [PATCH 00/51] rtc: stop using rtc deprecated functions Message-ID: <20170620100757.d7dulehry67qknip@piout.net> References: <1497951359-13334-1-git-send-email-benjamin.gaignard@linaro.org> <20170620100348.zh4ygvjjgnhxvmvl@piout.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170620100348.zh4ygvjjgnhxvmvl@piout.net> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20/06/2017 at 12:03:48 +0200, Alexandre Belloni wrote: > On 20/06/2017 at 11:35:08 +0200, Benjamin Gaignard wrote: > > rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they > > rely on 32bits variables and that will make rtc break in y2038/2016. > > Please don't, because this hide the fact that the hardware will not > handle dates in y2038 anyway and as pointed by Russell a few month ago, > rtc_time_to_tm will be able to catch it but the 64 bit version will > silently ignore it. > Just to be clear, it is fine on your ST hardware because it uses a 64bit counter. Most of the one you patched are using 32 bit counters and so will break anyway. > > > The goal of this series of patches is ti stop using those two functions > > and use instead to safer 64bits ones. > > > > It also remove change .set_mmss to set_mmss64 callback for the same reasons. > > > > Those 51 patches almost clean all the drivers except the few that I haven't > > been able to compile because of cross-toolchains issues (au1xxx, mpc5121, ps3, > > puv3, sun4v, tx4939, starfire, ls1x ...) > > > > Obviously I don't have all those hardwares in my hands so I have only check > > that the patches compile without warnings but it up to each maintainer to > > valid them on real hardware. > > > > Benjamin Gaignard (51): > > x86: rtc: stop using rtc deprecated functions > > x86: intel-mid: vrtc: stop using rtc deprecated functions > > net: broadcom: stop using rtc deprecated functions > > rtc: 88pm80x: stop using rtc deprecated functions > > rtc: 88pm860x: stop using rtc deprecated functions > > rtc: ab-b5ze-s3: stop using rtc deprecated functions > > rtc: ab8500: stop using rtc deprecated functions > > rtc: armada38x: stop using rtc deprecated functions > > rtc: at32ap700x: stop using rtc deprecated functions > > rtc: at91sam9: stop using rtc deprecated functions > > rtc: bfin: stop using rtc deprecated functions > > rtc: coh901331: stop using rtc deprecated functions > > rtc: cpcap: stop using rtc deprecated functions > > rtc: da9063: stop using rtc deprecated functions > > rtc: da9063: stop using rtc deprecated functions > > rtc: davinci: stop using rtc deprecated functions > > rtc: digicolor: stop using rtc deprecated functions > > rtc: dm355evm: stop using rtc deprecated functions > > rtc: ds1305: stop using rtc deprecated functions > > rtc: ds1374: stop using rtc deprecated functions > > rtc: ds1511: stop using rtc deprecated functions > > rtc: ds1553: stop using rtc deprecated functions > > rtc: ds1672: stop using rtc deprecated functions > > rtc: ds2404: stop using rtc deprecated functions > > rtc: ep93xx: stop using rtc deprecated functions > > rtc: gemini: stop using rtc deprecated functions > > rtc: imxdi: stop using rtc deprecated functions > > rtc: jz4740: stop using rtc deprecated functions > > rtc: lpc32xx: stop using rtc deprecated functions > > rtc: mv: stop using rtc deprecated functions > > rtc: omap: stop using rtc deprecated functions > > rtc: pcap: stop using rtc deprecated functions > > rtc: pl030: stop using rtc deprecated functions > > rtc: pl031: stop using rtc deprecated functions > > rtc: pm8xxx: stop using rtc deprecated functions > > rtc: rs5c348: stop using rtc deprecated functions > > rtc: sa1100: stop using rtc deprecated functions > > rtc: sh: stop using rtc deprecated functions > > rtc: sirfsoc: stop using rtc deprecated functions > > rtc: snvs: stop using rtc deprecated functions > > rtc: stk17ta8: stop using rtc deprecated functions > > rtc: stmp3xxx: stop using rtc deprecated functions > > rtc: sun6i: stop using rtc deprecated functions > > rtc: sysfs: stop using rtc deprecated functions > > rtc: tegra stop using rtc deprecated functions > > rtc: test: stop using rtc deprecated functions > > rtc: tps6586: stop using rtc deprecated functions > > rtc: vr41xx: stop using rtc deprecated functions > > rtc: wm831x: stop using rtc deprecated functions > > rtc: xgene stop using rtc deprecated functions > > power: suspend test: stop using rtc deprecated functions > > > > arch/x86/kernel/rtc.c | 6 ++-- > > arch/x86/platform/intel-mid/intel_mid_vrtc.c | 2 +- > > drivers/net/ethernet/broadcom/bnxt/bnxt.c | 2 +- > > drivers/rtc/rtc-88pm80x.c | 44 +++++++++++++-------------- > > drivers/rtc/rtc-88pm860x.c | 40 ++++++++++++------------- > > drivers/rtc/rtc-ab-b5ze-s3.c | 45 ++++++++-------------------- > > drivers/rtc/rtc-ab8500.c | 26 ++++++++-------- > > drivers/rtc/rtc-armada38x.c | 34 +++++++++------------ > > drivers/rtc/rtc-at32ap700x.c | 29 ++++++++---------- > > drivers/rtc/rtc-at91sam9.c | 18 ++++------- > > drivers/rtc/rtc-bfin.c | 24 +++++++-------- > > drivers/rtc/rtc-coh901331.c | 14 +++++---- > > drivers/rtc/rtc-cpcap.c | 8 ++--- > > drivers/rtc/rtc-da9052.c | 8 ++--- > > drivers/rtc/rtc-da9063.c | 8 ++--- > > drivers/rtc/rtc-davinci.c | 8 ++--- > > drivers/rtc/rtc-digicolor.c | 4 +-- > > drivers/rtc/rtc-dm355evm.c | 6 ++-- > > drivers/rtc/rtc-ds1305.c | 11 +++---- > > drivers/rtc/rtc-ds1374.c | 6 ++-- > > drivers/rtc/rtc-ds1511.c | 2 +- > > drivers/rtc/rtc-ds1553.c | 2 +- > > drivers/rtc/rtc-ds1672.c | 8 ++--- > > drivers/rtc/rtc-ds2404.c | 8 ++--- > > drivers/rtc/rtc-ep93xx.c | 10 +++---- > > drivers/rtc/rtc-gemini.c | 8 ++--- > > drivers/rtc/rtc-imxdi.c | 16 +++++----- > > drivers/rtc/rtc-jz4740.c | 12 ++++---- > > drivers/rtc/rtc-lpc32xx.c | 19 +++++------- > > drivers/rtc/rtc-mv.c | 2 +- > > drivers/rtc/rtc-omap.c | 6 ++-- > > drivers/rtc/rtc-pcap.c | 16 +++++----- > > drivers/rtc/rtc-pl030.c | 24 +++++++-------- > > drivers/rtc/rtc-pl031.c | 31 ++++++++----------- > > drivers/rtc/rtc-pm8xxx.c | 22 +++++++------- > > drivers/rtc/rtc-rs5c348.c | 4 +-- > > drivers/rtc/rtc-sa1100.c | 25 +++++++--------- > > drivers/rtc/rtc-sh.c | 2 +- > > drivers/rtc/rtc-sirfsoc.c | 18 +++++------ > > drivers/rtc/rtc-snvs.c | 14 ++++----- > > drivers/rtc/rtc-stk17ta8.c | 2 +- > > drivers/rtc/rtc-stmp3xxx.c | 12 ++++---- > > drivers/rtc/rtc-sun6i.c | 14 ++++----- > > drivers/rtc/rtc-sysfs.c | 25 ++++++++-------- > > drivers/rtc/rtc-tegra.c | 22 +++++++------- > > drivers/rtc/rtc-test.c | 17 +---------- > > drivers/rtc/rtc-tps6586x.c | 26 ++++++++-------- > > drivers/rtc/rtc-vr41xx.c | 6 ++-- > > drivers/rtc/rtc-wm831x.c | 28 +++++++---------- > > drivers/rtc/rtc-xgene.c | 12 ++++---- > > kernel/power/suspend_test.c | 6 ++-- > > 51 files changed, 342 insertions(+), 420 deletions(-) > > > > -- > > CC: adi-buildroot-devel@lists.sourceforge.net > > CC: Alessandro Zummo > > CC: Alexandre Belloni > > CC: Gregory Clement > > CC: Ingo Molnar > > CC: Jason Cooper > > CC: John Stultz > > CC: linux-arm-kernel@lists.infradead.org > > CC: linux-kernel@vger.kernel.org > > CC: Linus Walleij > > CC: Michael Chan > > CC: netdev@vger.kernel.org > > CC: rtc-linux@googlegroups.com > > CC: Sebastian Hesselbarth > > CC: Support Opensource > > CC: Thomas Gleixner > > CC: x86@kernel.org > > CC: Baruch Siach > > CC: Hans Ulli Kroll > > CC: Vladimir Zapolskiy > > CC: Sylvain Lemieux > > CC: Barry Song > > CC: Maxime Ripard > > CC: Chen-Yu Tsai > > CC: Thierry Reding > > CC: Jonathan Hunter > > CC: linux-tegra@vger.kernel.org > > CC: patches@opensource.wolfsonmicro.com > > CC: "Rafael J. Wysocki" > > CC: Pavel Machek > > CC: Len Brown > > CC: linux-pm@vger.kernel.org > > > > 1.9.1 > > > > -- > Alexandre Belloni, Free Electrons > Embedded Linux and Kernel engineering > http://free-electrons.com -- Alexandre Belloni, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Sender: rtc-linux@googlegroups.com Received: from mail.free-electrons.com (mail.free-electrons.com. [62.4.15.54]) by gmr-mx.google.com with ESMTP id p191si222174wmg.3.2017.06.20.03.07.59 for ; Tue, 20 Jun 2017 03:07:59 -0700 (PDT) Date: Tue, 20 Jun 2017 12:07:57 +0200 From: Alexandre Belloni To: Benjamin Gaignard Cc: linaro-kernel@lists.linaro.org, adi-buildroot-devel@lists.sourceforge.net, Alessandro Zummo , Gregory Clement , Ingo Molnar , Jason Cooper , John Stultz , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Linus Walleij , Michael Chan , netdev@vger.kernel.org, rtc-linux@googlegroups.com, Sebastian Hesselbarth , Support Opensource , Thomas Gleixner , x86@kernel.org, Baruch Siach , Hans Ulli Kroll , Vladimir Zapolskiy , Sylvain Lemieux , Barry Song , Maxime Ripard , Chen-Yu Tsai , Thierry Reding , Jonathan Hunter , linux-tegra@vger.kernel.org, patches@opensource.wolfsonmicro.com, "Rafael J. Wysocki" , Pavel Machek , Len Brown , linux-pm@vger.kernel.org Subject: [rtc-linux] Re: [PATCH 00/51] rtc: stop using rtc deprecated functions Message-ID: <20170620100757.d7dulehry67qknip@piout.net> References: <1497951359-13334-1-git-send-email-benjamin.gaignard@linaro.org> <20170620100348.zh4ygvjjgnhxvmvl@piout.net> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" In-Reply-To: <20170620100348.zh4ygvjjgnhxvmvl@piout.net> Reply-To: rtc-linux@googlegroups.com List-ID: List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , On 20/06/2017 at 12:03:48 +0200, Alexandre Belloni wrote: > On 20/06/2017 at 11:35:08 +0200, Benjamin Gaignard wrote: > > rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they > > rely on 32bits variables and that will make rtc break in y2038/2016. > > Please don't, because this hide the fact that the hardware will not > handle dates in y2038 anyway and as pointed by Russell a few month ago, > rtc_time_to_tm will be able to catch it but the 64 bit version will > silently ignore it. > Just to be clear, it is fine on your ST hardware because it uses a 64bit counter. Most of the one you patched are using 32 bit counters and so will break anyway. > > > The goal of this series of patches is ti stop using those two functions > > and use instead to safer 64bits ones. > > > > It also remove change .set_mmss to set_mmss64 callback for the same reasons. > > > > Those 51 patches almost clean all the drivers except the few that I haven't > > been able to compile because of cross-toolchains issues (au1xxx, mpc5121, ps3, > > puv3, sun4v, tx4939, starfire, ls1x ...) > > > > Obviously I don't have all those hardwares in my hands so I have only check > > that the patches compile without warnings but it up to each maintainer to > > valid them on real hardware. > > > > Benjamin Gaignard (51): > > x86: rtc: stop using rtc deprecated functions > > x86: intel-mid: vrtc: stop using rtc deprecated functions > > net: broadcom: stop using rtc deprecated functions > > rtc: 88pm80x: stop using rtc deprecated functions > > rtc: 88pm860x: stop using rtc deprecated functions > > rtc: ab-b5ze-s3: stop using rtc deprecated functions > > rtc: ab8500: stop using rtc deprecated functions > > rtc: armada38x: stop using rtc deprecated functions > > rtc: at32ap700x: stop using rtc deprecated functions > > rtc: at91sam9: stop using rtc deprecated functions > > rtc: bfin: stop using rtc deprecated functions > > rtc: coh901331: stop using rtc deprecated functions > > rtc: cpcap: stop using rtc deprecated functions > > rtc: da9063: stop using rtc deprecated functions > > rtc: da9063: stop using rtc deprecated functions > > rtc: davinci: stop using rtc deprecated functions > > rtc: digicolor: stop using rtc deprecated functions > > rtc: dm355evm: stop using rtc deprecated functions > > rtc: ds1305: stop using rtc deprecated functions > > rtc: ds1374: stop using rtc deprecated functions > > rtc: ds1511: stop using rtc deprecated functions > > rtc: ds1553: stop using rtc deprecated functions > > rtc: ds1672: stop using rtc deprecated functions > > rtc: ds2404: stop using rtc deprecated functions > > rtc: ep93xx: stop using rtc deprecated functions > > rtc: gemini: stop using rtc deprecated functions > > rtc: imxdi: stop using rtc deprecated functions > > rtc: jz4740: stop using rtc deprecated functions > > rtc: lpc32xx: stop using rtc deprecated functions > > rtc: mv: stop using rtc deprecated functions > > rtc: omap: stop using rtc deprecated functions > > rtc: pcap: stop using rtc deprecated functions > > rtc: pl030: stop using rtc deprecated functions > > rtc: pl031: stop using rtc deprecated functions > > rtc: pm8xxx: stop using rtc deprecated functions > > rtc: rs5c348: stop using rtc deprecated functions > > rtc: sa1100: stop using rtc deprecated functions > > rtc: sh: stop using rtc deprecated functions > > rtc: sirfsoc: stop using rtc deprecated functions > > rtc: snvs: stop using rtc deprecated functions > > rtc: stk17ta8: stop using rtc deprecated functions > > rtc: stmp3xxx: stop using rtc deprecated functions > > rtc: sun6i: stop using rtc deprecated functions > > rtc: sysfs: stop using rtc deprecated functions > > rtc: tegra stop using rtc deprecated functions > > rtc: test: stop using rtc deprecated functions > > rtc: tps6586: stop using rtc deprecated functions > > rtc: vr41xx: stop using rtc deprecated functions > > rtc: wm831x: stop using rtc deprecated functions > > rtc: xgene stop using rtc deprecated functions > > power: suspend test: stop using rtc deprecated functions > > > > arch/x86/kernel/rtc.c | 6 ++-- > > arch/x86/platform/intel-mid/intel_mid_vrtc.c | 2 +- > > drivers/net/ethernet/broadcom/bnxt/bnxt.c | 2 +- > > drivers/rtc/rtc-88pm80x.c | 44 +++++++++++++-------------- > > drivers/rtc/rtc-88pm860x.c | 40 ++++++++++++------------- > > drivers/rtc/rtc-ab-b5ze-s3.c | 45 ++++++++-------------------- > > drivers/rtc/rtc-ab8500.c | 26 ++++++++-------- > > drivers/rtc/rtc-armada38x.c | 34 +++++++++------------ > > drivers/rtc/rtc-at32ap700x.c | 29 ++++++++---------- > > drivers/rtc/rtc-at91sam9.c | 18 ++++------- > > drivers/rtc/rtc-bfin.c | 24 +++++++-------- > > drivers/rtc/rtc-coh901331.c | 14 +++++---- > > drivers/rtc/rtc-cpcap.c | 8 ++--- > > drivers/rtc/rtc-da9052.c | 8 ++--- > > drivers/rtc/rtc-da9063.c | 8 ++--- > > drivers/rtc/rtc-davinci.c | 8 ++--- > > drivers/rtc/rtc-digicolor.c | 4 +-- > > drivers/rtc/rtc-dm355evm.c | 6 ++-- > > drivers/rtc/rtc-ds1305.c | 11 +++---- > > drivers/rtc/rtc-ds1374.c | 6 ++-- > > drivers/rtc/rtc-ds1511.c | 2 +- > > drivers/rtc/rtc-ds1553.c | 2 +- > > drivers/rtc/rtc-ds1672.c | 8 ++--- > > drivers/rtc/rtc-ds2404.c | 8 ++--- > > drivers/rtc/rtc-ep93xx.c | 10 +++---- > > drivers/rtc/rtc-gemini.c | 8 ++--- > > drivers/rtc/rtc-imxdi.c | 16 +++++----- > > drivers/rtc/rtc-jz4740.c | 12 ++++---- > > drivers/rtc/rtc-lpc32xx.c | 19 +++++------- > > drivers/rtc/rtc-mv.c | 2 +- > > drivers/rtc/rtc-omap.c | 6 ++-- > > drivers/rtc/rtc-pcap.c | 16 +++++----- > > drivers/rtc/rtc-pl030.c | 24 +++++++-------- > > drivers/rtc/rtc-pl031.c | 31 ++++++++----------- > > drivers/rtc/rtc-pm8xxx.c | 22 +++++++------- > > drivers/rtc/rtc-rs5c348.c | 4 +-- > > drivers/rtc/rtc-sa1100.c | 25 +++++++--------- > > drivers/rtc/rtc-sh.c | 2 +- > > drivers/rtc/rtc-sirfsoc.c | 18 +++++------ > > drivers/rtc/rtc-snvs.c | 14 ++++----- > > drivers/rtc/rtc-stk17ta8.c | 2 +- > > drivers/rtc/rtc-stmp3xxx.c | 12 ++++---- > > drivers/rtc/rtc-sun6i.c | 14 ++++----- > > drivers/rtc/rtc-sysfs.c | 25 ++++++++-------- > > drivers/rtc/rtc-tegra.c | 22 +++++++------- > > drivers/rtc/rtc-test.c | 17 +---------- > > drivers/rtc/rtc-tps6586x.c | 26 ++++++++-------- > > drivers/rtc/rtc-vr41xx.c | 6 ++-- > > drivers/rtc/rtc-wm831x.c | 28 +++++++---------- > > drivers/rtc/rtc-xgene.c | 12 ++++---- > > kernel/power/suspend_test.c | 6 ++-- > > 51 files changed, 342 insertions(+), 420 deletions(-) > > > > -- > > CC: adi-buildroot-devel@lists.sourceforge.net > > CC: Alessandro Zummo > > CC: Alexandre Belloni > > CC: Gregory Clement > > CC: Ingo Molnar > > CC: Jason Cooper > > CC: John Stultz > > CC: linux-arm-kernel@lists.infradead.org > > CC: linux-kernel@vger.kernel.org > > CC: Linus Walleij > > CC: Michael Chan > > CC: netdev@vger.kernel.org > > CC: rtc-linux@googlegroups.com > > CC: Sebastian Hesselbarth > > CC: Support Opensource > > CC: Thomas Gleixner > > CC: x86@kernel.org > > CC: Baruch Siach > > CC: Hans Ulli Kroll > > CC: Vladimir Zapolskiy > > CC: Sylvain Lemieux > > CC: Barry Song > > CC: Maxime Ripard > > CC: Chen-Yu Tsai > > CC: Thierry Reding > > CC: Jonathan Hunter > > CC: linux-tegra@vger.kernel.org > > CC: patches@opensource.wolfsonmicro.com > > CC: "Rafael J. Wysocki" > > CC: Pavel Machek > > CC: Len Brown > > CC: linux-pm@vger.kernel.org > > > > 1.9.1 > > > > -- > Alexandre Belloni, Free Electrons > Embedded Linux and Kernel engineering > http://free-electrons.com -- Alexandre Belloni, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -- 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: Alexandre Belloni Subject: Re: [PATCH 00/51] rtc: stop using rtc deprecated functions Date: Tue, 20 Jun 2017 12:07:57 +0200 Message-ID: <20170620100757.d7dulehry67qknip@piout.net> References: <1497951359-13334-1-git-send-email-benjamin.gaignard@linaro.org> <20170620100348.zh4ygvjjgnhxvmvl@piout.net> Reply-To: rtc-linux-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Cc: linaro-kernel-cunTk1MwBs8s++Sfvej+rw@public.gmane.org, adi-buildroot-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, Alessandro Zummo , Gregory Clement , Ingo Molnar , Jason Cooper , John Stultz , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Linus Walleij , Michael Chan , netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, rtc-linux-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org, Sebastian Hesselbarth , Support Opensource , Thomas Gleixner , x86-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, Baruch Siach , Hans Ulli Kroll , Vladimir Zapolskiy , Sylvain Lemieux , Barry Song , Maxime Ripard Return-path: Sender: rtc-linux-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Content-Disposition: inline In-Reply-To: <20170620100348.zh4ygvjjgnhxvmvl-m++hUPXGwpdeoWH0uzbU5w@public.gmane.org> List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , List-Id: netdev.vger.kernel.org On 20/06/2017 at 12:03:48 +0200, Alexandre Belloni wrote: > On 20/06/2017 at 11:35:08 +0200, Benjamin Gaignard wrote: > > rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they > > rely on 32bits variables and that will make rtc break in y2038/2016. > > Please don't, because this hide the fact that the hardware will not > handle dates in y2038 anyway and as pointed by Russell a few month ago, > rtc_time_to_tm will be able to catch it but the 64 bit version will > silently ignore it. > Just to be clear, it is fine on your ST hardware because it uses a 64bit counter. Most of the one you patched are using 32 bit counters and so will break anyway. > > > The goal of this series of patches is ti stop using those two functions > > and use instead to safer 64bits ones. > > > > It also remove change .set_mmss to set_mmss64 callback for the same reasons. > > > > Those 51 patches almost clean all the drivers except the few that I haven't > > been able to compile because of cross-toolchains issues (au1xxx, mpc5121, ps3, > > puv3, sun4v, tx4939, starfire, ls1x ...) > > > > Obviously I don't have all those hardwares in my hands so I have only check > > that the patches compile without warnings but it up to each maintainer to > > valid them on real hardware. > > > > Benjamin Gaignard (51): > > x86: rtc: stop using rtc deprecated functions > > x86: intel-mid: vrtc: stop using rtc deprecated functions > > net: broadcom: stop using rtc deprecated functions > > rtc: 88pm80x: stop using rtc deprecated functions > > rtc: 88pm860x: stop using rtc deprecated functions > > rtc: ab-b5ze-s3: stop using rtc deprecated functions > > rtc: ab8500: stop using rtc deprecated functions > > rtc: armada38x: stop using rtc deprecated functions > > rtc: at32ap700x: stop using rtc deprecated functions > > rtc: at91sam9: stop using rtc deprecated functions > > rtc: bfin: stop using rtc deprecated functions > > rtc: coh901331: stop using rtc deprecated functions > > rtc: cpcap: stop using rtc deprecated functions > > rtc: da9063: stop using rtc deprecated functions > > rtc: da9063: stop using rtc deprecated functions > > rtc: davinci: stop using rtc deprecated functions > > rtc: digicolor: stop using rtc deprecated functions > > rtc: dm355evm: stop using rtc deprecated functions > > rtc: ds1305: stop using rtc deprecated functions > > rtc: ds1374: stop using rtc deprecated functions > > rtc: ds1511: stop using rtc deprecated functions > > rtc: ds1553: stop using rtc deprecated functions > > rtc: ds1672: stop using rtc deprecated functions > > rtc: ds2404: stop using rtc deprecated functions > > rtc: ep93xx: stop using rtc deprecated functions > > rtc: gemini: stop using rtc deprecated functions > > rtc: imxdi: stop using rtc deprecated functions > > rtc: jz4740: stop using rtc deprecated functions > > rtc: lpc32xx: stop using rtc deprecated functions > > rtc: mv: stop using rtc deprecated functions > > rtc: omap: stop using rtc deprecated functions > > rtc: pcap: stop using rtc deprecated functions > > rtc: pl030: stop using rtc deprecated functions > > rtc: pl031: stop using rtc deprecated functions > > rtc: pm8xxx: stop using rtc deprecated functions > > rtc: rs5c348: stop using rtc deprecated functions > > rtc: sa1100: stop using rtc deprecated functions > > rtc: sh: stop using rtc deprecated functions > > rtc: sirfsoc: stop using rtc deprecated functions > > rtc: snvs: stop using rtc deprecated functions > > rtc: stk17ta8: stop using rtc deprecated functions > > rtc: stmp3xxx: stop using rtc deprecated functions > > rtc: sun6i: stop using rtc deprecated functions > > rtc: sysfs: stop using rtc deprecated functions > > rtc: tegra stop using rtc deprecated functions > > rtc: test: stop using rtc deprecated functions > > rtc: tps6586: stop using rtc deprecated functions > > rtc: vr41xx: stop using rtc deprecated functions > > rtc: wm831x: stop using rtc deprecated functions > > rtc: xgene stop using rtc deprecated functions > > power: suspend test: stop using rtc deprecated functions > > > > arch/x86/kernel/rtc.c | 6 ++-- > > arch/x86/platform/intel-mid/intel_mid_vrtc.c | 2 +- > > drivers/net/ethernet/broadcom/bnxt/bnxt.c | 2 +- > > drivers/rtc/rtc-88pm80x.c | 44 +++++++++++++-------------- > > drivers/rtc/rtc-88pm860x.c | 40 ++++++++++++------------- > > drivers/rtc/rtc-ab-b5ze-s3.c | 45 ++++++++-------------------- > > drivers/rtc/rtc-ab8500.c | 26 ++++++++-------- > > drivers/rtc/rtc-armada38x.c | 34 +++++++++------------ > > drivers/rtc/rtc-at32ap700x.c | 29 ++++++++---------- > > drivers/rtc/rtc-at91sam9.c | 18 ++++------- > > drivers/rtc/rtc-bfin.c | 24 +++++++-------- > > drivers/rtc/rtc-coh901331.c | 14 +++++---- > > drivers/rtc/rtc-cpcap.c | 8 ++--- > > drivers/rtc/rtc-da9052.c | 8 ++--- > > drivers/rtc/rtc-da9063.c | 8 ++--- > > drivers/rtc/rtc-davinci.c | 8 ++--- > > drivers/rtc/rtc-digicolor.c | 4 +-- > > drivers/rtc/rtc-dm355evm.c | 6 ++-- > > drivers/rtc/rtc-ds1305.c | 11 +++---- > > drivers/rtc/rtc-ds1374.c | 6 ++-- > > drivers/rtc/rtc-ds1511.c | 2 +- > > drivers/rtc/rtc-ds1553.c | 2 +- > > drivers/rtc/rtc-ds1672.c | 8 ++--- > > drivers/rtc/rtc-ds2404.c | 8 ++--- > > drivers/rtc/rtc-ep93xx.c | 10 +++---- > > drivers/rtc/rtc-gemini.c | 8 ++--- > > drivers/rtc/rtc-imxdi.c | 16 +++++----- > > drivers/rtc/rtc-jz4740.c | 12 ++++---- > > drivers/rtc/rtc-lpc32xx.c | 19 +++++------- > > drivers/rtc/rtc-mv.c | 2 +- > > drivers/rtc/rtc-omap.c | 6 ++-- > > drivers/rtc/rtc-pcap.c | 16 +++++----- > > drivers/rtc/rtc-pl030.c | 24 +++++++-------- > > drivers/rtc/rtc-pl031.c | 31 ++++++++----------- > > drivers/rtc/rtc-pm8xxx.c | 22 +++++++------- > > drivers/rtc/rtc-rs5c348.c | 4 +-- > > drivers/rtc/rtc-sa1100.c | 25 +++++++--------- > > drivers/rtc/rtc-sh.c | 2 +- > > drivers/rtc/rtc-sirfsoc.c | 18 +++++------ > > drivers/rtc/rtc-snvs.c | 14 ++++----- > > drivers/rtc/rtc-stk17ta8.c | 2 +- > > drivers/rtc/rtc-stmp3xxx.c | 12 ++++---- > > drivers/rtc/rtc-sun6i.c | 14 ++++----- > > drivers/rtc/rtc-sysfs.c | 25 ++++++++-------- > > drivers/rtc/rtc-tegra.c | 22 +++++++------- > > drivers/rtc/rtc-test.c | 17 +---------- > > drivers/rtc/rtc-tps6586x.c | 26 ++++++++-------- > > drivers/rtc/rtc-vr41xx.c | 6 ++-- > > drivers/rtc/rtc-wm831x.c | 28 +++++++---------- > > drivers/rtc/rtc-xgene.c | 12 ++++---- > > kernel/power/suspend_test.c | 6 ++-- > > 51 files changed, 342 insertions(+), 420 deletions(-) > > > > -- > > CC: adi-buildroot-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > > CC: Alessandro Zummo > > CC: Alexandre Belloni > > CC: Gregory Clement > > CC: Ingo Molnar > > CC: Jason Cooper > > CC: John Stultz > > CC: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org > > CC: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > > CC: Linus Walleij > > CC: Michael Chan > > CC: netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > > CC: rtc-linux-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > CC: Sebastian Hesselbarth > > CC: Support Opensource > > CC: Thomas Gleixner > > CC: x86-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org > > CC: Baruch Siach > > CC: Hans Ulli Kroll > > CC: Vladimir Zapolskiy > > CC: Sylvain Lemieux > > CC: Barry Song > > CC: Maxime Ripard > > CC: Chen-Yu Tsai > > CC: Thierry Reding > > CC: Jonathan Hunter > > CC: linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > > CC: patches-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org > > CC: "Rafael J. Wysocki" > > CC: Pavel Machek > > CC: Len Brown > > CC: linux-pm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > > > > 1.9.1 > > > > -- > Alexandre Belloni, Free Electrons > Embedded Linux and Kernel engineering > http://free-electrons.com -- Alexandre Belloni, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/d/optout. From mboxrd@z Thu Jan 1 00:00:00 1970 From: alexandre.belloni@free-electrons.com (Alexandre Belloni) Date: Tue, 20 Jun 2017 12:07:57 +0200 Subject: [PATCH 00/51] rtc: stop using rtc deprecated functions In-Reply-To: <20170620100348.zh4ygvjjgnhxvmvl@piout.net> References: <1497951359-13334-1-git-send-email-benjamin.gaignard@linaro.org> <20170620100348.zh4ygvjjgnhxvmvl@piout.net> Message-ID: <20170620100757.d7dulehry67qknip@piout.net> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 20/06/2017 at 12:03:48 +0200, Alexandre Belloni wrote: > On 20/06/2017 at 11:35:08 +0200, Benjamin Gaignard wrote: > > rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they > > rely on 32bits variables and that will make rtc break in y2038/2016. > > Please don't, because this hide the fact that the hardware will not > handle dates in y2038 anyway and as pointed by Russell a few month ago, > rtc_time_to_tm will be able to catch it but the 64 bit version will > silently ignore it. > Just to be clear, it is fine on your ST hardware because it uses a 64bit counter. Most of the one you patched are using 32 bit counters and so will break anyway. > > > The goal of this series of patches is ti stop using those two functions > > and use instead to safer 64bits ones. > > > > It also remove change .set_mmss to set_mmss64 callback for the same reasons. > > > > Those 51 patches almost clean all the drivers except the few that I haven't > > been able to compile because of cross-toolchains issues (au1xxx, mpc5121, ps3, > > puv3, sun4v, tx4939, starfire, ls1x ...) > > > > Obviously I don't have all those hardwares in my hands so I have only check > > that the patches compile without warnings but it up to each maintainer to > > valid them on real hardware. > > > > Benjamin Gaignard (51): > > x86: rtc: stop using rtc deprecated functions > > x86: intel-mid: vrtc: stop using rtc deprecated functions > > net: broadcom: stop using rtc deprecated functions > > rtc: 88pm80x: stop using rtc deprecated functions > > rtc: 88pm860x: stop using rtc deprecated functions > > rtc: ab-b5ze-s3: stop using rtc deprecated functions > > rtc: ab8500: stop using rtc deprecated functions > > rtc: armada38x: stop using rtc deprecated functions > > rtc: at32ap700x: stop using rtc deprecated functions > > rtc: at91sam9: stop using rtc deprecated functions > > rtc: bfin: stop using rtc deprecated functions > > rtc: coh901331: stop using rtc deprecated functions > > rtc: cpcap: stop using rtc deprecated functions > > rtc: da9063: stop using rtc deprecated functions > > rtc: da9063: stop using rtc deprecated functions > > rtc: davinci: stop using rtc deprecated functions > > rtc: digicolor: stop using rtc deprecated functions > > rtc: dm355evm: stop using rtc deprecated functions > > rtc: ds1305: stop using rtc deprecated functions > > rtc: ds1374: stop using rtc deprecated functions > > rtc: ds1511: stop using rtc deprecated functions > > rtc: ds1553: stop using rtc deprecated functions > > rtc: ds1672: stop using rtc deprecated functions > > rtc: ds2404: stop using rtc deprecated functions > > rtc: ep93xx: stop using rtc deprecated functions > > rtc: gemini: stop using rtc deprecated functions > > rtc: imxdi: stop using rtc deprecated functions > > rtc: jz4740: stop using rtc deprecated functions > > rtc: lpc32xx: stop using rtc deprecated functions > > rtc: mv: stop using rtc deprecated functions > > rtc: omap: stop using rtc deprecated functions > > rtc: pcap: stop using rtc deprecated functions > > rtc: pl030: stop using rtc deprecated functions > > rtc: pl031: stop using rtc deprecated functions > > rtc: pm8xxx: stop using rtc deprecated functions > > rtc: rs5c348: stop using rtc deprecated functions > > rtc: sa1100: stop using rtc deprecated functions > > rtc: sh: stop using rtc deprecated functions > > rtc: sirfsoc: stop using rtc deprecated functions > > rtc: snvs: stop using rtc deprecated functions > > rtc: stk17ta8: stop using rtc deprecated functions > > rtc: stmp3xxx: stop using rtc deprecated functions > > rtc: sun6i: stop using rtc deprecated functions > > rtc: sysfs: stop using rtc deprecated functions > > rtc: tegra stop using rtc deprecated functions > > rtc: test: stop using rtc deprecated functions > > rtc: tps6586: stop using rtc deprecated functions > > rtc: vr41xx: stop using rtc deprecated functions > > rtc: wm831x: stop using rtc deprecated functions > > rtc: xgene stop using rtc deprecated functions > > power: suspend test: stop using rtc deprecated functions > > > > arch/x86/kernel/rtc.c | 6 ++-- > > arch/x86/platform/intel-mid/intel_mid_vrtc.c | 2 +- > > drivers/net/ethernet/broadcom/bnxt/bnxt.c | 2 +- > > drivers/rtc/rtc-88pm80x.c | 44 +++++++++++++-------------- > > drivers/rtc/rtc-88pm860x.c | 40 ++++++++++++------------- > > drivers/rtc/rtc-ab-b5ze-s3.c | 45 ++++++++-------------------- > > drivers/rtc/rtc-ab8500.c | 26 ++++++++-------- > > drivers/rtc/rtc-armada38x.c | 34 +++++++++------------ > > drivers/rtc/rtc-at32ap700x.c | 29 ++++++++---------- > > drivers/rtc/rtc-at91sam9.c | 18 ++++------- > > drivers/rtc/rtc-bfin.c | 24 +++++++-------- > > drivers/rtc/rtc-coh901331.c | 14 +++++---- > > drivers/rtc/rtc-cpcap.c | 8 ++--- > > drivers/rtc/rtc-da9052.c | 8 ++--- > > drivers/rtc/rtc-da9063.c | 8 ++--- > > drivers/rtc/rtc-davinci.c | 8 ++--- > > drivers/rtc/rtc-digicolor.c | 4 +-- > > drivers/rtc/rtc-dm355evm.c | 6 ++-- > > drivers/rtc/rtc-ds1305.c | 11 +++---- > > drivers/rtc/rtc-ds1374.c | 6 ++-- > > drivers/rtc/rtc-ds1511.c | 2 +- > > drivers/rtc/rtc-ds1553.c | 2 +- > > drivers/rtc/rtc-ds1672.c | 8 ++--- > > drivers/rtc/rtc-ds2404.c | 8 ++--- > > drivers/rtc/rtc-ep93xx.c | 10 +++---- > > drivers/rtc/rtc-gemini.c | 8 ++--- > > drivers/rtc/rtc-imxdi.c | 16 +++++----- > > drivers/rtc/rtc-jz4740.c | 12 ++++---- > > drivers/rtc/rtc-lpc32xx.c | 19 +++++------- > > drivers/rtc/rtc-mv.c | 2 +- > > drivers/rtc/rtc-omap.c | 6 ++-- > > drivers/rtc/rtc-pcap.c | 16 +++++----- > > drivers/rtc/rtc-pl030.c | 24 +++++++-------- > > drivers/rtc/rtc-pl031.c | 31 ++++++++----------- > > drivers/rtc/rtc-pm8xxx.c | 22 +++++++------- > > drivers/rtc/rtc-rs5c348.c | 4 +-- > > drivers/rtc/rtc-sa1100.c | 25 +++++++--------- > > drivers/rtc/rtc-sh.c | 2 +- > > drivers/rtc/rtc-sirfsoc.c | 18 +++++------ > > drivers/rtc/rtc-snvs.c | 14 ++++----- > > drivers/rtc/rtc-stk17ta8.c | 2 +- > > drivers/rtc/rtc-stmp3xxx.c | 12 ++++---- > > drivers/rtc/rtc-sun6i.c | 14 ++++----- > > drivers/rtc/rtc-sysfs.c | 25 ++++++++-------- > > drivers/rtc/rtc-tegra.c | 22 +++++++------- > > drivers/rtc/rtc-test.c | 17 +---------- > > drivers/rtc/rtc-tps6586x.c | 26 ++++++++-------- > > drivers/rtc/rtc-vr41xx.c | 6 ++-- > > drivers/rtc/rtc-wm831x.c | 28 +++++++---------- > > drivers/rtc/rtc-xgene.c | 12 ++++---- > > kernel/power/suspend_test.c | 6 ++-- > > 51 files changed, 342 insertions(+), 420 deletions(-) > > > > -- > > CC: adi-buildroot-devel at lists.sourceforge.net > > CC: Alessandro Zummo > > CC: Alexandre Belloni > > CC: Gregory Clement > > CC: Ingo Molnar > > CC: Jason Cooper > > CC: John Stultz > > CC: linux-arm-kernel at lists.infradead.org > > CC: linux-kernel at vger.kernel.org > > CC: Linus Walleij > > CC: Michael Chan > > CC: netdev at vger.kernel.org > > CC: rtc-linux at googlegroups.com > > CC: Sebastian Hesselbarth > > CC: Support Opensource > > CC: Thomas Gleixner > > CC: x86 at kernel.org > > CC: Baruch Siach > > CC: Hans Ulli Kroll > > CC: Vladimir Zapolskiy > > CC: Sylvain Lemieux > > CC: Barry Song > > CC: Maxime Ripard > > CC: Chen-Yu Tsai > > CC: Thierry Reding > > CC: Jonathan Hunter > > CC: linux-tegra at vger.kernel.org > > CC: patches at opensource.wolfsonmicro.com > > CC: "Rafael J. Wysocki" > > CC: Pavel Machek > > CC: Len Brown > > CC: linux-pm at vger.kernel.org > > > > 1.9.1 > > > > -- > Alexandre Belloni, Free Electrons > Embedded Linux and Kernel engineering > http://free-electrons.com -- Alexandre Belloni, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com