OrangePi_CM5/arch/arm64/include/asm/vdso
Will Deacon 37cbd27ef4 arm64: vdso: Avoid ISB after reading from cntvct_el0
commit 77ec462536a13d4b428a1eead725c4818a49f0b1 upstream.

We can avoid the expensive ISB instruction after reading the counter in
the vDSO gettime functions by creating a fake address hazard against a
dummy stack read, just like we do inside the kernel.

Signed-off-by: Will Deacon <will@kernel.org>
Reviewed-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Link: https://lore.kernel.org/r/20210318170738.7756-5-will@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
2021-08-12 13:22:17 +02:00
..
clocksource.h arm64: Introduce a way to disable the 32bit vdso 2020-07-08 21:57:51 +01:00
compat_barrier.h
…
compat_gettimeofday.h vdso/treewide: Add vdso_data pointer argument to __arch_get_hw_counter() 2020-08-06 10:57:30 +02:00
gettimeofday.h arm64: vdso: Avoid ISB after reading from cntvct_el0 2021-08-12 13:22:17 +02:00
processor.h arm64: Introduce asm/vdso/processor.h 2020-03-21 15:24:01 +01:00
vsyscall.h ARM/arm64: vdso: Use common vdso clock mode storage 2020-02-17 20:12:16 +01:00