Skip to contentSkip to conversation

arm64: dts: fvp: Add SPE to Foundation FVP

PATCH Applied James Clark 2 participants 2 messages Nov 17, 2022 – Nov 25, 2022

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

PATCH 1/1 arm64: dts: fvp: Add SPE to Foundation FVP

Add SPE DT node to FVP model. If the model doesn't support SPE (e.g., turned off via parameter), the driver will skip the initialisation accordingly and thus is safe.

---
 arch/arm64/boot/dts/arm/foundation-v8.dtsi | 5 +++++
 1 file changed, 5 insertions(+)
arch/arm64/boot/dts/arm/foundation-v8.dtsi +5 -0
index 83e3e7e3984f..b8c1a674fb43 100644
@@ -84,6 +84,11 @@ pmu {
 			     <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
 	};
 
+	spe-pmu {
+		compatible = "arm,statistical-profiling-extension-v1";
+		interrupts = <GIC_PPI 5 IRQ_TYPE_LEVEL_HIGH>;
+	};
+
 	watchdog@2a440000 {
 		compatible = "arm,sbsa-gwdt";
 		reg = <0x0 0x2a440000 0 0x1000>,
Signature · 1 line
2.25.1
Applied
#1 lore raw
Quoted 4 lines · James Clark

Add SPE DT node to FVP model. If the model doesn't support SPE (e.g., turned off via parameter), the driver will skip the initialisation accordingly and thus is safe.

Applied to sudeep.holla/linux (for-next/juno), thanks!

[1/1] arm64: dts: fvp: Add SPE to Foundation FVP

      https://git.kernel.org/sudeep.holla/c/3bd7a0219082

--
Regards,
Sudeep