Skip to content
Commit fe638401 authored by Will Deacon's avatar Will Deacon
Browse files

arm64: perf: Extend ARMV8_EVTYPE_MASK to include PMCR.LC

Commit 7175f059

 ("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: default avatarWill Deacon <will.deacon@arm.com>
parent 3b23d77b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment