Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Jan Glauber <[email protected]> Signed-off-by: Will Deacon <[email protected]>
- Loading branch information