perf: arm_cspmu: Split 64-bit write to 32-bit writes
authorIlkka Koskinen <ilkka@os.amperecomputing.com>
Wed, 13 Sep 2023 23:39:38 +0000 (16:39 -0700)
committerWill Deacon <will@kernel.org>
Thu, 5 Oct 2023 13:19:24 +0000 (14:19 +0100)
commit8c282414ca6209977cb6d6cc66470ca2d1e56bf6
tree144fc9e86a27e2dc1b690b681cd2fa7dc5f5259b
parentbfc653aa89cb05796d7b4e046600accb442c9b7a
perf: arm_cspmu: Split 64-bit write to 32-bit writes

Split the 64-bit register accesses if 64-bit access is not supported
by the PMU.

Signed-off-by: Ilkka Koskinen <ilkka@os.amperecomputing.com>
Reviewed-by: Besar Wicaksono <bwicaksono@nvidia.com>
Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20230913233941.9814-2-ilkka@os.amperecomputing.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/arm_cspmu/arm_cspmu.c