diff options
author | Christoffer Dall <christoffer.dall@linaro.org> | 2017-10-18 13:06:25 +0200 |
---|---|---|
committer | Christoffer Dall <christoffer.dall@linaro.org> | 2017-11-06 16:23:08 +0100 |
commit | f2e600c149fda3453344f89c7e9353fe278ebd32 (patch) | |
tree | 8b1c93966597d6310b4c925bf37463fe4adc7b01 /arch/arm64/include/asm/timex.h | |
parent | Linux 4.14-rc4 (diff) | |
download | linux-f2e600c149fda3453344f89c7e9353fe278ebd32.tar.xz linux-f2e600c149fda3453344f89c7e9353fe278ebd32.zip |
arm64: Implement arch_counter_get_cntpct to read the physical counter
As we are about to use the physical counter on arm64 systems that have
KVM support, implement arch_counter_get_cntpct() and the associated
errata workaround functionality for stable timer reads.
Cc: Will Deacon <will.deacon@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'arch/arm64/include/asm/timex.h')
0 files changed, 0 insertions, 0 deletions