Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1236424
| From | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFC/PATCH 00/11] arm: omap: counter32k rework |
| Date | 2015-09-30 17:00 +0200 |
| Message-ID | <qer1o-8aa-9@gated-at.bofh.it> (permalink) |
| References | <qea0x-Ak-3@gated-at.bofh.it> <qeqoI-7qA-63@gated-at.bofh.it> <qeqRH-7Z1-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wednesday 30 September 2015 16:42:21 Arnd Bergmann wrote: > > TEGRA folks: the tegra_read_persistent_clock() implementation apparently > predates the Tegra RTC driver and I wonder if they actually do the > right thing in combination. Could it be that the wall time forwards > twice as fast as it should during resume when the RTC driver is loaded? > Could it be that we can simply remove tegra_read_persistent_clock() > and the register_persistent_clock() infrastructure? > I found the 'sleeptime_injected' variable now, which takes care of forwarding the clock by the correct amount. I also found the CLOCK_SOURCE_SUSPEND_NONSTOP flag next to it, which should let us use the counter32k driver to provide the correct time during suspend without the omap_read_persistent_clock() function. We should be able to just delete that code. If we decide to also delete the tegra_read_persistent_clock() function, we can remove the registration too. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[RFC/PATCH 00/11] arm: omap: counter32k rework Felipe Balbi <balbi@ti.com> - 2015-09-29 22:50 +0200
Re: [RFC/PATCH 00/11] arm: omap: counter32k rework Arnd Bergmann <arnd@arndb.de> - 2015-09-30 10:30 +0200
Re: [RFC/PATCH 00/11] arm: omap: counter32k rework Felipe Balbi <balbi@ti.com> - 2015-09-30 16:20 +0200
Re: [RFC/PATCH 00/11] arm: omap: counter32k rework Arnd Bergmann <arnd@arndb.de> - 2015-09-30 16:50 +0200
Re: [RFC/PATCH 00/11] arm: omap: counter32k rework Felipe Balbi <balbi@ti.com> - 2015-09-30 17:00 +0200
Re: [RFC/PATCH 00/11] arm: omap: counter32k rework Arnd Bergmann <arnd@arndb.de> - 2015-09-30 17:00 +0200
Re: [RFC/PATCH 00/11] arm: omap: counter32k rework Thierry Reding <thierry.reding@gmail.com> - 2015-09-30 17:10 +0200
Re: [RFC/PATCH 00/11] arm: omap: counter32k rework Daniel Lezcano <daniel.lezcano@linaro.org> - 2015-10-02 00:20 +0200
Re: [RFC/PATCH 00/11] arm: omap: counter32k rework Tony Lindgren <tony@atomide.com> - 2015-10-05 13:00 +0200
Re: [RFC/PATCH 00/11] arm: omap: counter32k rework Arnd Bergmann <arnd@arndb.de> - 2015-10-05 13:10 +0200
Re: [RFC/PATCH 00/11] arm: omap: counter32k rework Tony Lindgren <tony@atomide.com> - 2015-10-05 13:20 +0200
Re: [RFC/PATCH 00/11] arm: omap: counter32k rework Arnd Bergmann <arnd@arndb.de> - 2015-10-05 14:30 +0200
csiph-web