]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: perf: Add support for Armv8.1 PMCEID register format
authorWill Deacon <will.deacon@arm.com>
Fri, 5 Oct 2018 12:28:07 +0000 (13:28 +0100)
committerWill Deacon <will.deacon@arm.com>
Wed, 21 Nov 2018 13:16:33 +0000 (13:16 +0000)
commitef4daa9345891ede114f18d43601a2463573c916
treeafafbc66fd14730b6713497135d23b2198dfc71f
parent6ac1e7ee3827d2cdf5fee5e8ada71920b0c54284
arm64: perf: Add support for Armv8.1 PMCEID register format

Armv8.1 allocated the upper 32-bits of the PMCEID registers to describe
the common architectural and microarchitecture events beginning at 0x4000.

Add support for these registers to our probing code, so that we can
advertise the SPE events when they are supported by the CPU.

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