Skip to content

Time: Generic Timeofday Subsystem (v B15-mm)

john stultz lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10Time: Reduced NTP rework (part 1)kernel/timer.c+85 -380 replies
2/10Time: Reduced NTP Rework (part 2)include/linux/timex.h kernel/time.c kernel/timer.c+165 -100 replies
3/10Time: Clocksource InfrastructureDocumentation/kernel-parameters.txt include/linux/clocksource.h kernel/Makefile +3 more+704 -40 replies
4/10Time: Generic Timekeeping InfrastructureDocumentation/timekeeping.txt drivers/char/hangcheck-timer.c include/asm-generic/timeofday.h +11 more+1166 -110 replies
5/10Time: i386 Conversion - part 1: Move timer_pit.c to i8253.carch/i386/kernel/Makefile arch/i386/kernel/i8253.c arch/i386/kernel/time.c +1 more+33 -190 replies
6/10Time: i386 Conversion - part 2: Rework TSC Supportarch/i386/kernel/Makefile arch/i386/kernel/setup.c arch/i386/kernel/timers/timer_tsc.c +6 more+365 -2050 replies
7/10Time: i386 Conversion - part 3: Enable Generic Timekeepingarch/i386/Kconfig arch/i386/kernel/Makefile arch/i386/kernel/acpi/boot.c +6 more+105 -2530 replies
8/10Time: i386 Conversion - part 4: Remove Old timer_opts Codearch/i386/kernel/timers/Makefile arch/i386/kernel/timers/common.c arch/i386/kernel/timers/timer.c +6 more+0 -16330 replies
9/10Time: i386 Conversion - part 5: ACPI PM variable renaming and config change.arch/i386/kernel/acpi/boot.c drivers/acpi/Kconfig drivers/acpi/osl.c+10 -320 replies
10/10Time: i386 Clocksource Driversarch/i386/kernel/Makefile arch/i386/kernel/hpet.c arch/i386/kernel/i8253.c +5 more+460 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/10] Time: Generic Timeofday Subsystem (v B15-mm)

Andrew, All,

This patchset provides a generic timekeeping subsystem that is
independent of the timer interrupt. This allows for robust and correct behavior in cases of late or lost ticks, avoids interpolation errors, reduces duplication in arch specific code, and allows or assists future changes such as high-res timers, dynamic ticks, or realtime preemption. Additionally, it provides finer nanosecond resolution values to the clock_gettime functions.

The patch set provides the minimal NTP changes, the clocksource abstraction, the core timekeeping code as well as the code to convert i386. I have started on converting more arches, but for now I'm only submmiting code for i386.

As requested, I've reworked this patchset so it builds and boots every step of the way, resulting in one less patch in the patchset. This was done somewhat quickly and tested with my slow laptop, so it may be config dependent, but I think it should be ok. I've also tried to improve the patch descriptions as requested, but please let me know if they need more work.

Changes since the last release:
o Builds each step in the patchset
o Improved patch descriptions
o Reduced use of inline (might need more of this)
o Simplified timespec_add_ns()
o Removed unncessary additions (timer_pit sysfs bits)

The patchset applies against the 2.6.15-rc5-git + the hrtimer patch-set already in -mm (same as the last release).

It should replace the following patches currently in -mm:

time-reduced-ntp-rework-part-1.patch time-reduced-ntp-rework-part-2.patch time-clocksource-infrastructure.patch time-generic-timekeeping-infrastructure.patch time-i386-conversion-part-1-move-timer_pitc-to-i8253c.patch time-i386-conversion-part-2-move-timer_tscc-to-tscc.patch time-i386-conversion-part-3-rework-tsc-support.patch time-i386-conversion-part-4-acpi-pm-variable-renaming-and-config-change.patch time-i386-conversion-part-5-enable-generic-timekeeping.patch time-i386-conversion-part-6-remove-old-code.patch time-i386-clocksource-drivers.patch

Please note the slight re-ordering of the patches and that one patch has been removed from the set.

The complete patchset (including code for x86-64) can be found here:

	http://sr71.net/~jstultz/tod/

I'd like to thank the following people who have contributed ideas, criticism, testing and code that has helped shape this work:
George Anzinger, Nish Aravamudan, Max Asbock, Serge Belyshev,
Dominik Brodowski, Thomas Gleixner, Darren Hart, Christoph Lameter, Matt Mackal, Keith Mannthey, Ingo Molnar, Martin Schwidefsky, Frank Sorenson, Ulrich Windl, Jonathan Woithe, Darrick Wong, Roman Zippel and any others whom I've accidentally left off this list.

Andrew, please consider for inclusion into your tree.

thanks
-john