perf/arm_cspmu: Clean up ACPI dependency
authorRobin Murphy <robin.murphy@arm.com>
Mon, 5 Jun 2023 17:01:33 +0000 (18:01 +0100)
committerWill Deacon <will@kernel.org>
Fri, 9 Jun 2023 10:26:47 +0000 (11:26 +0100)
commitf9bd34e3753ea8f1433a3ba70f03a165a1416f98
treeb3b389a9abd84bf61997cdef0f26814aa4dc554b
parent87b3b6d53efccbb64396675b35839180ef14ef40
perf/arm_cspmu: Clean up ACPI dependency

Build-wise, the ACPI dependency consists of only a couple of things
which could probably stand being factored out into ACPI helpers anyway.
However for the immediate concern of working towards Devicetree support
here, it's easy enough to make a few tweaks to contain the affected code
locally, such that we can relax the Kconfig dependency.

Reviewed-and-Tested-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Reviewed-by: Ilkka Koskinen <ilkka@os.amperecomputing.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/9d126711c7498b199b3e6f5cf48ca60ffb9df54c.1685983270.git.robin.murphy@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/arm_cspmu/Kconfig
drivers/perf/arm_cspmu/arm_cspmu.c