On Thu, Jun 09, 2016 at 05:23:26PM -0500, Jeremy Linton wrote: > From: Mark Salter <msalter@xxxxxxxxxx> > > 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 <msalter@xxxxxxxxxx> > Signed-off-by: Jeremy Linton <jeremy.linton@xxxxxxx> > --- > 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 -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html