]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: perf: Extend ARMV8_EVTYPE_MASK to include PMCR.LC
authorWill Deacon <will.deacon@arm.com>
Mon, 29 Feb 2016 23:15:44 +0000 (23:15 +0000)
committerWill Deacon <will.deacon@arm.com>
Mon, 29 Feb 2016 23:23:59 +0000 (23:23 +0000)
commit4e56a3a9346186244b216ecc8eeb9580fc80dedd
treedfb46b779a57a03f05a76423b6122b578a55e359
parent29475bb0ca01e752223aed8097f034137f77eb7c
arm64: perf: Extend ARMV8_EVTYPE_MASK to include PMCR.LC

Commit ecb5e784c207 ("arm64: perf: Enable PMCR long cycle counter bit")
added initial support for a 64-bit cycle counter enabled using PMCR.LC.

Unfortunately, that patch doesn't extend ARMV8_EVTYPE_MASK, so any
attempts to set the enable bit are ignored by armv8pmu_pmcr_write.

This patch extends the mask to include the new bit.

Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/perf_event.c