diff options
author | Robin Murphy <robin.murphy@arm.com> | 2023-06-05 18:01:34 +0100 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2023-06-09 11:26:47 +0100 |
commit | d2e3bb51281875be23cb4726a59b03d0a53eb0d3 (patch) | |
tree | 2a4c021a0675f5b1b8d99632e38703bce8d297a1 /arch | |
parent | f9bd34e3753ea8f1433a3ba70f03a165a1416f98 (diff) | |
download | linux-stable-d2e3bb51281875be23cb4726a59b03d0a53eb0d3.tar.gz linux-stable-d2e3bb51281875be23cb4726a59b03d0a53eb0d3.tar.bz2 linux-stable-d2e3bb51281875be23cb4726a59b03d0a53eb0d3.zip |
perf/arm_cspmu: Decouple APMT dependency
The functional paths of the driver need not care about ACPI, so abstract
the property of atomic doubleword access as its own flag (repacking the
structure for a better fit). We also do not need to go poking directly
at the APMT for standard resources which the ACPI layer has already
dealt with, so deal with the optional MMIO page and interrupt in the
normal firmware-agnostic manner. The few remaining portions of probing
that *are* APMT-specific can still easily retrieve the APMT pointer as
needed without us having to carry a duplicate copy around everywhere.
Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Reviewed-and-tested-by: Ilkka Koskinen <ilkka@os.amperecomputing.com>
Link: https://lore.kernel.org/r/88f97268603e1aa6016d178982a1dc2861f6770d.1685983270.git.robin.murphy@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions