arm64: perf: Support new DT compatibles
authorRobin Murphy <robin.murphy@arm.com>
Fri, 21 Feb 2020 19:35:32 +0000 (19:35 +0000)
committerWill Deacon <will@kernel.org>
Mon, 2 Mar 2020 11:54:18 +0000 (11:54 +0000)
commit29cc4ceeac1274ab8363a11b81ebd99f3b023985
treecbb36319cb3a27a557c4bcce07868f2ff5287b36
parente424b17985262359181cce1553a1ea2cdf263941
arm64: perf: Support new DT compatibles

Add support for matching the new PMUs. For now, this just wires them up
as generic PMUv3 such that people writing DTs for new SoCs can do the
right thing, and at least have architectural and raw events be usable.
We can come back and fill in event maps for sysfs and/or perf tools at
a later date.

Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/perf_event.c