Skip to contentSkip to conversation

arm64: dts: berlin4ct: switch to Cortex-A53 specific pmu nodes

PATCH Applied Jisheng Zhang 2 participants 3 messages Dec 15, 2015 – Jul 6, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 arm64: dts: berlin4ct: switch to Cortex-A53 specific pmu nodes

Commit ac82d1277215 ("arm64: perf: add Cortex-A53 support") adds the cortex A53 PMU support, thus instead of using the generic armv8-pmuv3 compatibility use the more specific Cortex A53 compatibility.

---
Since v1:
- keep "arm,armv8-pmuv3" as a fallback in the compatible list. Thank Arnd and Mark.

 arch/arm64/boot/dts/marvell/berlin4ct.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/marvell/berlin4ct.dtsi +1 -1
index 099ad93..f926256 100644
@@ -115,7 +115,7 @@
 	};
 
 	pmu {
-		compatible = "arm,armv8-pmuv3";
+		compatible = "arm,cortex-a53-pmu", "arm,armv8-pmuv3";
 		interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>,
 			     <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>,
 			     <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>,
Signature · 1 line
2.6.4
maintainer Applied
#1 lore raw
Quoted 9 lines · Jisheng Zhang

Commit ac82d1277215 ("arm64: perf: add Cortex-A53 support") adds the cortex A53 PMU support, thus instead of using the generic armv8-pmuv3 compatibility use the more specific Cortex A53 compatibility.

---
Since v1:
- keep "arm,armv8-pmuv3" as a fallback in the compatible list. Thank Arnd and Mark.

Applied to berlin64/dt with an updated commit message that reflects v2 changes.

Sebastian

Quoted 17 lines
 arch/arm64/boot/dts/marvell/berlin4ct.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/marvell/berlin4ct.dtsi +1 -1
index 099ad93..f926256 100644
@@ -115,7 +115,7 @@
 	};
 
 	pmu {
-		compatible = "arm,armv8-pmuv3";
+		compatible = "arm,cortex-a53-pmu", "arm,armv8-pmuv3";
 		interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>,
 			     <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>,
 			     <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>,
#2 lore raw
Quoted 5 lines · Sebastian Hesselbarth
Quoted 4 lines · Jisheng Zhang

Commit ac82d1277215 ("arm64: perf: add Cortex-A53 support") adds the cortex A53 PMU support, thus instead of using the generic armv8-pmuv3 compatibility use the more specific Cortex A53 compatibility.

Quoted 8 lines
Quoted 5 lines

---
Since v1:
- keep "arm,armv8-pmuv3" as a fallback in the compatible list. Thank Arnd and Mark.

Applied to berlin64/dt with an updated commit message that reflects v2 changes.

Unfortunately, I was too busy to get this upstream earlier. I re-applied this to the current berlin64/dt.

Sebastian

Quoted 18 lines
Quoted 17 lines
 arch/arm64/boot/dts/marvell/berlin4ct.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/marvell/berlin4ct.dtsi +1 -1
index 099ad93..f926256 100644
@@ -115,7 +115,7 @@
 	};
 
 	pmu {
-		compatible = "arm,armv8-pmuv3";
+		compatible = "arm,cortex-a53-pmu", "arm,armv8-pmuv3";
 		interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>,
 			     <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>,
 			     <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>,