diff options
author | Will Deacon <will@kernel.org> | 2021-03-18 17:07:37 +0000 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2021-03-24 16:48:41 +0000 |
commit | 77ec462536a13d4b428a1eead725c4818a49f0b1 (patch) | |
tree | 85563cf866233aaa24c0ea0961da46c17362e724 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 7adbf10e29c2323f5eb6d6bdd13050c70900b993 (diff) |
arm64: vdso: Avoid ISB after reading from cntvct_el0
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>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions