Commit 55cfecda authored by Marc Zyngier's avatar Marc Zyngier Committed by Pierre Couillaud
Browse files

UPSTREAM: arm64: perf: Abstract system register accesses away



As we want to enable 32bit support, we need to distanciate the
PMUv3 driver from the AArch64 system register names.

This patch moves all system register accesses to an architecture
specific include file, allowing the 32bit counterpart to be
slotted in at a later time.

Change-Id: Ib5c22a45d2b0ed844ee7d03cb7a7fa855230fcca
Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
Co-developed-by: default avatarZaid Al-Bassam <zalbassam@google.com>
Signed-off-by: default avatarZaid Al-Bassam <zalbassam@google.com>
Tested-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20230317195027.3746949-3-zalbassam@google.com


Signed-off-by: default avatarWill Deacon <will@kernel.org>
(cherry picked from commit df29ddf4)
Signed-off-by: default avatarDanesh Petigara <danesh.petigara@broadcom.com>
parent 278e973f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment