Stefani Seibold
d2312e3379
x86, vdso: Make vsyscall_gtod_data handling x86 generic
...
This patch move the vsyscall_gtod_data handling out of vsyscall_64.c
into an additonal file vsyscall_gtod.c to make the functionality
available for x86 32 bit kernel.
It also adds a new vsyscall_32.c which setup the VVAR page.
Reviewed-by: Andy Lutomirski <[email protected] >
Signed-off-by: Stefani Seibold <[email protected] >
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: H. Peter Anvin <[email protected] >
2014-03-18 12:51:52 -07:00
Marcelo Tosatti
71056ae22d
x86: pvclock: generic pvclock vsyscall initialization
...
Originally from Jeremy Fitzhardinge.
Introduce generic, non hypervisor specific, pvclock initialization
routines.
Signed-off-by: Marcelo Tosatti <[email protected] >
2012-11-27 23:29:09 -02:00
H. Peter Anvin
ae7bd11b47
clocksource: Change __ARCH_HAS_CLOCKSOURCE_DATA to a CONFIG option
...
The machinery for __ARCH_HAS_CLOCKSOURCE_DATA assumed a file in
asm-generic would be the default for architectures without their own
file in asm/, but that is not how it works.
Replace it with a Kconfig option instead.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: H. Peter Anvin <[email protected] >
Cc: Andy Lutomirski <[email protected] >
Cc: Arnd Bergmann <[email protected] >
Cc: Tony Luck <[email protected] >
2011-07-21 13:34:05 -07:00
Andy Lutomirski
98d0ac38ca
x86-64: Move vread_tsc and vread_hpet into the vDSO
...
The vsyscall page now consists entirely of trap instructions.
Cc: John Stultz <[email protected] >
Signed-off-by: Andy Lutomirski <[email protected] >
Link: http://lkml.kernel.org/r/637648f303f2ef93af93bae25186e9a1bea093f5.1310639973.git.luto@mit.edu
Signed-off-by: H. Peter Anvin <[email protected] >
2011-07-14 17:57:05 -07:00
Andy Lutomirski
433bd805e5
clocksource: Replace vread with generic arch data
...
The vread field was bloating struct clocksource everywhere except
x86_64, and I want to change the way this works on x86_64, so let's
split it out into per-arch data.
Cc: [email protected]
Cc: Clemens Ladisch <[email protected] >
Cc: [email protected]
Cc: Tony Luck <[email protected] >
Cc: Fenghua Yu <[email protected] >
Cc: John Stultz <[email protected] >
Cc: Thomas Gleixner <[email protected] >
Signed-off-by: Andy Lutomirski <[email protected] >
Link: http://lkml.kernel.org/r/3ae5ec76a168eaaae63f08a2a1060b91aa0b7759.1310563276.git.luto@mit.edu
Signed-off-by: H. Peter Anvin <[email protected] >
2011-07-13 11:23:12 -07:00