arm: perf: Use GENMASK for PMMIR fields
authorJames Clark <james.clark@arm.com>
Mon, 11 Dec 2023 16:13:15 +0000 (16:13 +0000)
committerWill Deacon <will@kernel.org>
Tue, 12 Dec 2023 09:46:22 +0000 (09:46 +0000)
commit2f6a00f30600417ee2737f2b1229c75663f1e3c9
tree213294bd01d9b4f8315abc72035298529305bb11
parent62e1f212e5fe7624249212813ee96202e0c31430
arm: perf: Use GENMASK for PMMIR fields

This is so that FIELD_GET and FIELD_PREP can be used and that the fields
are in a consistent format to arm64/tools/sysreg

Signed-off-by: James Clark <james.clark@arm.com>
Link: https://lore.kernel.org/r/20231211161331.1277825-4-james.clark@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/arm_pmuv3.c
include/linux/perf/arm_pmuv3.h