On Thu, Jun 09, 2016 at 05:23:26PM -0500, Jeremy Linton wrote:
From: Mark Salter <redacted>
In preparation for ACPI support, add a pmu_probe_info table to
the arm_pmu_device_probe() call. This table gets used when
probing in the absence of a devicetree node for PMU.
Signed-off-by: Mark Salter <redacted>
Signed-off-by: Jeremy Linton <redacted>
---
arch/arm64/kernel/perf_event.c | 8 +++++++-
include/linux/perf/arm_pmu.h | 3 +++
2 files changed, 10 insertions(+), 1 deletion(-)
This is likely to do the wrong thing for big/little systems, so I'm not
keen on this for DT. We should mandate that the PMU is described there.
If you need this as a building block for ACPI, please ensure that the
code is only executed when booting via ACPI.
Will