Skip to content

VDSO consolidation

Thomas Gleixner linux-arm-kernel lkml 1 version Applied

Status from this message: The following commit has been merged into the timers/core branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest17 patches 21 repliesApplied

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/17x86/vdso: Mark the TSC clocksource path likelyarch/x86/include/asm/vdso/gettimeofday.h+1 -11 reply
2/17ARM: vdso: Remove unused functionarch/arm/include/asm/vdso/vsyscall.h+0 -71 reply
3/17lib/vdso: Allow the high resolution parts to be compiled outlib/vdso/gettimeofday.c+11 -01 reply
4/17ARM: vdso: Compile high resolution parts conditionallyarch/arm/include/asm/vdso/gettimeofday.h+6 -01 reply
5/17MIPS: vdso: Compile high resolution parts conditionallyarch/mips/include/asm/vdso/gettimeofday.h+7 -01 reply
6/17clocksource: Cleanup struct clocksource and documentationinclude/linux/clocksource.h+47 -401 reply
7/17x86/vdso: Move VDSO clocksource state tracking to callbackarch/x86/entry/vdso/vma.c arch/x86/include/asm/clocksource.h arch/x86/include/asm/mshyperv.h +6 more+65 -321 reply
8/17clocksource: Add common vdso clock mode storageinclude/linux/clocksource.h kernel/time/clocksource.c kernel/time/vsyscall.c +2 more+42 -51 reply
9/17x86/vdso: Use generic VDSO clock mode storagearch/x86/Kconfig arch/x86/entry/vdso/vma.c arch/x86/include/asm/clocksource.h +10 more+46 -632 replies
10/17mips: vdso: Use generic VDSO clock mode storagearch/mips/Kconfig arch/mips/include/asm/clocksource.h arch/mips/include/asm/vdso/gettimeofday.h +3 more+15 -481 reply
11/17ARM/arm64: vdso: Use common vdso clock mode storagearch/arm/Kconfig arch/arm/include/asm/clocksource.h arch/arm/include/asm/vdso/vsyscall.h +5 more+10 -424 replies
12/17lib/vdso: Cleanup clock mode storage leftoversarch/arm/mm/Kconfig arch/arm64/Kconfig arch/mips/Kconfig +6 more+7 -321 reply
13/17lib/vdso: Avoid highres update if clocksource is not VDSO capablearch/arm/include/asm/vdso/vsyscall.h include/asm-generic/vdso/vsyscall.h kernel/time/vsyscall.c+3 -171 reply
14/17lib/vdso: Move VCLOCK_TIMENS to vdso_clock_modesinclude/linux/clocksource.h include/vdso/datapage.h kernel/time/namespace.c +1 more+17 -131 reply
15/17lib/vdso: Allow fixed clock modelib/vdso/gettimeofday.c+9 -21 reply
16/17lib/vdso: Allow architectures to override the ns shift operationlib/vdso/gettimeofday.c+9 -21 reply
17/17lib/vdso: Allow architectures to provide the vdso data pointerlib/vdso/gettimeofday.c+56 -161 reply

Reviews trailers per patch

All 17 patches have a Reviewed-by or Acked-by.

PatchMichael KelleyJuergen GrossVincenzo FrascinoPaolo Bonzini
1/17R-b
2/17R-b T-b
3/17R-b T-b
4/17R-b T-b
5/17R-b
6/17R-b
7/17R-b A-b R-b
8/17R-b T-b
9/17A-b R-b A-b
10/17R-b
11/17R-b T-b
12/17R-b T-b
13/17R-b T-b
14/17R-b
15/17R-b T-b
16/17R-b T-b
17/17R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v2 thread

Cover letter [patch V2 00/17] VDSO consolidation

This is the second version of the VDSO consolidation series. The first version can be found here:

https://lore.kernel.org/lkml/r/[email protected]

The changes since V1:

- Tiny optimization of x86/TSC (new)

- Address review comments from V1 (bisectability, spelling ...)

- Include the preparatory patches from Christophe which allow powerpc to be switched over.

This conflicts slightly with the ARM64 time namespace patch series, but that's trivial to fix up.

Thanks,

tglx

----

 arch/arm/Kconfig                            |    1 
 arch/arm/include/asm/clocksource.h          |    5 -
 arch/arm/include/asm/vdso/gettimeofday.h    |    6 +
 arch/arm/include/asm/vdso/vsyscall.h        |   35 -------
 arch/arm64/Kconfig                          |    1 
 arch/arm64/include/asm/clocksource.h        |    5 -
 arch/arm64/include/asm/vdso/vsyscall.h      |    9 -
 arch/mips/Kconfig                           |    1 
 arch/mips/include/asm/clocksource.h         |   18 ---
 arch/mips/include/asm/vdso/vsyscall.h       |    9 -
 arch/mips/kernel/csrc-r4k.c                 |    2 
 arch/x86/Kconfig                            |    1 
 arch/x86/entry/vdso/vma.c                   |    8 +
 arch/x86/include/asm/clocksource.h          |   23 +++-
 arch/x86/include/asm/mshyperv.h             |    4 
 arch/x86/include/asm/vdso/gettimeofday.h    |    6 -
 arch/x86/include/asm/vdso/vsyscall.h        |   15 ---
 arch/x86/include/asm/vgtod.h                |    6 -
 arch/x86/kernel/kvmclock.c                  |    9 +
 arch/x86/kernel/pvclock.c                   |    2 
 arch/x86/kernel/time.c                      |   12 --
 arch/x86/kernel/tsc.c                       |   32 ++++--
 arch/x86/kvm/trace.h                        |    4 
 arch/x86/kvm/x86.c                          |   22 ++--
 arch/x86/xen/time.c                         |   36 ++++---
 b/arch/mips/include/asm/vdso/gettimeofday.h |   29 ++----
 drivers/clocksource/arm_arch_timer.c        |    8 -
 drivers/clocksource/hyperv_timer.c          |    7 +
 drivers/clocksource/mips-gic-timer.c        |    8 -
 include/asm-generic/vdso/vsyscall.h         |   14 --
 include/linux/clocksource.h                 |  102 ++++++++++++---------
 include/vdso/datapage.h                     |    2 
 kernel/time/clocksource.c                   |    9 +
 kernel/time/namespace.c                     |    7 -
 kernel/time/vsyscall.c                      |   12 +-
 lib/vdso/gettimeofday.c                     |  133 +++++++++++++++++++++-------
 36 files changed, 317 insertions(+), 286 deletions(-)