Skip to content
Commit f6da8696 authored by James Clark's avatar James Clark Committed by Will Deacon
Browse files

arm: pmu: Share user ABI format mechanism with SPE



This mechanism makes it much easier to define and read new attributes
so move it to the arm_pmu.h header so that it can be shared. At the same
time update the existing format attributes to use it.

GENMASK has to be changed to GENMASK_ULL because the config fields are
64 bits even on arm32 where this will also be used now.

Signed-off-by: default avatarJames Clark <james.clark@arm.com>
Link: https://lore.kernel.org/r/20231211161331.1277825-7-james.clark@arm.com


Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent 3115ee02
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