Skip to content
Commit df29ddf4 authored by Marc Zyngier's avatar Marc Zyngier Committed by Will Deacon
Browse files

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.

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>
parent 7755cec6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment