]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf: arm_pmu: Move PMUv3-specific data
authorMark Rutland <mark.rutland@arm.com>
Tue, 18 Feb 2025 20:40:02 +0000 (14:40 -0600)
committerWill Deacon <will@kernel.org>
Sat, 1 Mar 2025 05:08:10 +0000 (05:08 +0000)
commitdc4d58a752ea6cb0821d889e8412c22d5289f3d3
treec8471a301dd3a017973753f83356f3676a5796cd
parentc2e793da59fc297b4844669e57208c66f45fce0e
perf: arm_pmu: Move PMUv3-specific data

A few fields in struct arm_pmu are only used with PMUv3, and soon we
will need to add more for BRBE. Group the fields together so that we
have a logical place to add more data in future.

At the same time, remove the comment for reg_pmmir as it doesn't convey
anything useful.

There should be no functional change as a result of this patch.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Tested-by: James Clark <james.clark@linaro.org>
Link: https://lore.kernel.org/r/20250218-arm-brbe-v19-v20-7-4e9922fc2e8e@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
include/linux/perf/arm_pmu.h