]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/perf: arm_pmu: add ACPI framework
authorMark Rutland <mark.rutland@arm.com>
Tue, 11 Apr 2017 08:39:55 +0000 (09:39 +0100)
committerWill Deacon <will.deacon@arm.com>
Tue, 11 Apr 2017 15:29:54 +0000 (16:29 +0100)
commit7d3355818e22fbcec5f2dd7035cfb831a13f90bd
treef5d754d6d02135ec024e9253fbf51d759c202edf
parent862590952acee33f7e156c02a3d1b3680db515fc
drivers/perf: arm_pmu: add ACPI framework

This patch adds framework code to handle parsing PMU data out of the
MADT, sanity checking this, and managing the association of CPUs (and
their interrupts) with appropriate logical PMUs.

For the time being, we expect that only one PMU driver (PMUv3) will make
use of this, and we simply pass in a single probe function.

This is based on an earlier patch from Jeremy Linton.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Tested-by: Jeremy Linton <jeremy.linton@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/perf/Kconfig
drivers/perf/Makefile
drivers/perf/arm_pmu.c
drivers/perf/arm_pmu_acpi.c [new file with mode: 0644]
include/linux/cpuhotplug.h
include/linux/perf/arm_pmu.h