]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5c02a01f79d460ca3b3fd93115e1b176053d878b
treecbb36319cb3a27a557c4bcce07868f2ff5287b36
parent952c8a06dd8cd611ef533f9d67c99652b3f971a1
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