Don't trap kernel to read the counter register, do this in userspace to improve performance.
Yang Yingliang (2): arm64: arch_timer: Disable CNTVCT_EL0 trap if workaround is enabled vdso: do cntvct workaround in the VDSO
arch/arm64/include/asm/vdso/gettimeofday.h | 30 ++++++++++++++++++++++ drivers/clocksource/arm_arch_timer.c | 20 ++++++++++++--- include/linux/clocksource.h | 2 ++ include/vdso/datapage.h | 6 +++-- kernel/time/vsyscall.c | 8 ++++++ 5 files changed, 61 insertions(+), 5 deletions(-)