Skip to content

Commit 324d7a6

Browse files
committed
ARM: pmuv3: Add missing write_pmuacr()
JIRA: https://issues.redhat.com/browse/RHEL-77935 upstream ======== commit bdc9a64 Author: Rob Herring (Arm) <robh@kernel.org> Date: Tue Oct 29 07:06:02 2024 -0500 description =========== Fix compilation on Arm by adding missing static inline write_pmuacr() declaration. Fixes: 0bbff9e ("perf/arm_pmuv3: Add PMUv3.9 per counter EL0 access control") Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202410291954.NiHLIwSC-lkp@intel.com/ Signed-off-by: Rob Herring (Arm) <robh@kernel.org> Link: https://lore.kernel.org/r/20241029120602.4061566-2-robh@kernel.org Signed-off-by: Will Deacon <will@kernel.org> Signed-off-by: Michael Petlan <mpetlan@redhat.com>
1 parent 65beb57 commit 324d7a6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/arm/include/asm/arm_pmuv3.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,8 @@ static inline void write_pmuserenr(u32 val)
212212
write_sysreg(val, PMUSERENR);
213213
}
214214

215+
static inline void write_pmuacr(u64 val) {}
216+
215217
static inline void kvm_set_pmu_events(u32 set, struct perf_event_attr *attr) {}
216218
static inline void kvm_clr_pmu_events(u32 clr) {}
217219
static inline bool kvm_pmu_counter_deferred(struct perf_event_attr *attr)

0 commit comments

Comments
 (0)