Skip to content

RFC Convert remaining arches to read/update_persistent_clock

john stultz linux-alpha linux-arm-kernel linux-ia64 linux-m68k linux-parisc linux-sh lkml sparclinux 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest14 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14Convert alpha to read/update_persistent_clockarch/alpha/Kconfig arch/alpha/kernel/time.c+50 -540 replies
2/14Convert arm to read/update_persistent_clockarch/arm/Kconfig arch/arm/include/asm/mach/time.h arch/arm/kernel/time.c +1 more+14 -341 reply
3/14Convert avr32 to read/update_persistent_clockarch/avr32/kernel/time.c+6 -60 replies
4/14Convert blackfin to read/update_persistent_clockarch/blackfin/kernel/time-ts.c arch/blackfin/kernel/time.c+13 -390 replies
5/14Convert cris to read/update_persistent_clockarch/cris/Kconfig arch/cris/arch-v10/kernel/time.c arch/cris/arch-v32/kernel/time.c +1 more+18 -820 replies
6/14Convert frv to read/update_persistent_clockarch/frv/kernel/time.c+7 -271 reply
7/14Convert h8300 to read/update_persistent_clockarch/h8300/kernel/time.c+7 -30 replies
8/14Convert ia64 to read/update_persistent_clockarch/ia64/kernel/time.c+5 -70 replies
9/14Convert m32r to read/update_persistent_clockarch/m32r/kernel/time.c+7 -400 replies
10/14Convert m68k to read/update_persistent_clockarch/m68k/kernel/time.c+7 -40 replies
11/14Convert mn10300 to read/update_persistent_clockarch/mn10300/Kconfig arch/mn10300/kernel/rtc.c arch/mn10300/kernel/time.c+8 -261 reply
12/14Convert parisc to read/update_persistent_clockarch/parisc/kernel/time.c+13 -160 replies
13/14Convert sh to read/update_persistent_clockarch/sh/kernel/time.c+1 -50 replies
14/14Convert sparc to read/update_persistent_clockarch/sparc/Kconfig arch/sparc/kernel/time_32.c+6 -112 replies

Reviews trailers per patch

2 of 14 patches have a Reviewed-by or Acked-by.

PatchDavid S. MillerDavid Howells
1/14
2/14
3/14
4/14
5/14
6/14A-b
7/14
8/14
9/14
10/14
11/14
12/14
13/14
14/14A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC][PATCH 0/14] Convert remaining arches to read/update_persistent_clock

So as the timekeeping system has become more and more generic, folks have been careful to allow a slow and steady evolution without breaking all the arches at once, allowing each arch maintainer to convert over to generic code when they're ready.

However, this slow conversion has forced us to keep multiple methods for various functionality around, cluttering up the code and making maintenance more difficult. Further, there's no central road-map or notification to maintainers on when these new generic functions appear, so its likely folks wouldn't notice until the old interfaces were removed.

In this case the generic read_persistent_clock() and update_persistent_clock() methods have been provided to allow the generic timekeeping code to initialize xtime and set the persistent clock when NTP is synced. However many arches haven't converted, so the generic code has to handle the case where the arch is doing this management itself.

This patch series tries to convert the following 14 architectures over to use read_persistent_clock() and update_persistent_clock() as applicable, killing off about 200 lines of arch specific code.

I'm posting this tonight in somewhat rough form (none of the code has been compiled or tested) so I can get feedback tomorrow before I'm off on vacation until the new year. I'd like to get these changes into 2.6.34 so further generic cleanups can be made.

Let me know what you think.

thanks
-john