Skip to content

ARM: pmu: provide a registration mechanism for IRQs [v3]

Russell King - ARM Linux linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 6 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 6 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] ARM: pmu: provide a registration mechanism for IRQs [v3]
Quoted 34 lines · Will Deacon

Hi Russell,

Quoted 4 lines

Please can we have an ordered set which doesn't break compilation. What I think should happen is the first patch should introduce the new definitions required for the platform data, and the rest of the first patch should come at the very end.

Sorry about this. I've split up the first patch so that the first half is now:

ARM: pmu: add enum describing PMU types

This patch adds an enum describing the potential PMU device types in preparation for PMU device registration via platform devices.

arch/arm/include/asm/pmu.h +5 -0
index 2829b9f..44bec1f 100644
@@ -12,6 +12,11 @@
 #ifndef __ARM_PMU_H__
 #define __ARM_PMU_H__
 
+enum arm_pmu_type {
+       ARM_PMU_DEVICE_CPU      = 0,
+       ARM_NUM_PMU_DEVICES,
+};
+
 #ifdef CONFIG_CPU_HAS_PMU
 
 struct pmu_irqs {
Quoted 3 lines

which gets rid of the compilation failures. I can either supersede the existing patch with two more or resubmit the whole series. Which would you prefer?

Can you just deal with the single patch to be superseded; the rest are fine.