public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: pmuv3: Add missing write_pmuacr()
@ 2024-10-29 12:06 Rob Herring (Arm)
  2024-10-29 16:15 ` Will Deacon
  0 siblings, 1 reply; 2+ messages in thread
From: Rob Herring (Arm) @ 2024-10-29 12:06 UTC (permalink / raw)
  To: Russell King, Will Deacon; +Cc: linux-arm-kernel, linux-kernel

Fix compilation on Arm by adding missing static inline write_pmuacr()
declaration.

Fixes: 0bbff9ed8165 ("perf/arm_pmuv3: Add PMUv3.9 per counter EL0 access control")
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
---
Sorry about this. Feel free to squash this with the mentioned commit.

 arch/arm/include/asm/arm_pmuv3.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/include/asm/arm_pmuv3.h b/arch/arm/include/asm/arm_pmuv3.h
index d242b5e1ca0d..2ec0e5e83fc9 100644
--- a/arch/arm/include/asm/arm_pmuv3.h
+++ b/arch/arm/include/asm/arm_pmuv3.h
@@ -212,6 +212,8 @@ static inline void write_pmuserenr(u32 val)
 	write_sysreg(val, PMUSERENR);
 }
 
+static inline void write_pmuacr(u64 val) {}
+
 static inline void kvm_set_pmu_events(u32 set, struct perf_event_attr *attr) {}
 static inline void kvm_clr_pmu_events(u32 clr) {}
 static inline bool kvm_pmu_counter_deferred(struct perf_event_attr *attr)
-- 
2.45.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: pmuv3: Add missing write_pmuacr()
  2024-10-29 12:06 [PATCH] ARM: pmuv3: Add missing write_pmuacr() Rob Herring (Arm)
@ 2024-10-29 16:15 ` Will Deacon
  0 siblings, 0 replies; 2+ messages in thread
From: Will Deacon @ 2024-10-29 16:15 UTC (permalink / raw)
  To: Russell King, Rob Herring (Arm)
  Cc: catalin.marinas, kernel-team, Will Deacon, linux-arm-kernel,
	linux-kernel

On Tue, 29 Oct 2024 07:06:02 -0500, Rob Herring (Arm) wrote:
> Fix compilation on Arm by adding missing static inline write_pmuacr()
> declaration.
> 
> 

Applied to will (for-next/perf), thanks!

[1/1] ARM: pmuv3: Add missing write_pmuacr()
      https://git.kernel.org/will/c/bdc9a64c8b20

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-10-29 16:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-29 12:06 [PATCH] ARM: pmuv3: Add missing write_pmuacr() Rob Herring (Arm)
2024-10-29 16:15 ` Will Deacon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox