]> git.baikalelectronics.ru Git - kernel.git/commit
arm_pmu: acpi: spe: Add initial MADT/SPE probing
authorJeremy Linton <jeremy.linton@arm.com>
Wed, 26 Jun 2019 21:37:17 +0000 (16:37 -0500)
committerWill Deacon <will@kernel.org>
Thu, 27 Jun 2019 15:53:42 +0000 (16:53 +0100)
commitf5ac68401a40aaf930673c85e0ab575126c91243
tree457f98ff0662d5de5fb64df10b5bc1bdf1f062a4
parentd0e6456ee8eb9b6ad65557b4f2ee7f2a371cb241
arm_pmu: acpi: spe: Add initial MADT/SPE probing

ACPI 6.3 adds additional fields to the MADT GICC
structure to describe SPE PPI's. We pick these out
of the cached reference to the madt_gicc structure
similarly to the core PMU code. We then create a platform
device referring to the IRQ and let the user/module loader
decide whether to load the SPE driver.

Tested-by: Hanjun Guo <hanjun.guo@linaro.org>
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Reviewed-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/acpi.h
drivers/perf/arm_pmu_acpi.c
include/linux/perf/arm_pmu.h