summaryrefslogtreecommitdiffstats
path: root/arch/arm64/Makefile
diff options
context:
space:
mode:
authorJan Glauber <jglauber@cavium.com>2016-02-18 17:50:13 +0100
committerWill Deacon <will.deacon@arm.com>2016-02-18 18:23:41 +0100
commit7175f0591eb9714fa71d499c59c35bcbd030931a (patch)
tree62d06287f091fde8572c5c7cbfaeea867676762c /arch/arm64/Makefile
parentarm64/perf: Add Cavium ThunderX PMU support (diff)
downloadlinux-7175f0591eb9714fa71d499c59c35bcbd030931a.tar.xz
linux-7175f0591eb9714fa71d499c59c35bcbd030931a.zip
arm64: perf: Enable PMCR long cycle counter bit
With the long cycle counter bit (LC) disabled the cycle counter is not working on ThunderX SOC (ThunderX only implements Aarch64). Also, according to documentation LC == 0 is deprecated. To keep the code simple the patch does not introduce 64 bit wide counter functions. Instead writing the cycle counter always sets the upper 32 bits so overflow interrupts are generated as before. Original patch from Andrew Pinksi <Andrew.Pinksi@caviumnetworks.com> Signed-off-by: Jan Glauber <jglauber@cavium.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/Makefile')
0 files changed, 0 insertions, 0 deletions