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

UPSTREAM: ARM: perf: Allow the use of the PMUv3 driver on 32bit ARM



The only thing stopping the PMUv3 driver from compiling on 32bit
is the lack of defined system registers names and the handful of
required helpers.

This is easily solved by providing the sysreg accessors and updating
the Kconfig entry.

Change-Id: I3f7f46feaeac69bb7d20c86b013e4a3091fb4bce
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-8-zalbassam@google.com


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