]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit45736a72fb79b204c1fbdb08a1e1a2aa52c7281a
treef5d754d6d02135ec024e9253fbf51d759c202edf
parente0013aed489e7ebbba59d7ada2ff5551ac4b61c6
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