mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: fvp: Add SPE to Foundation FVP
@ 2022-11-17 10:25 James Clark
  2022-11-25 17:05 ` Sudeep Holla
  0 siblings, 1 reply; 2+ messages in thread
From: James Clark @ 2022-11-17 10:25 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: linux-kernel, James Clark, Liviu Dudau, Sudeep Holla,
	Lorenzo Pieralisi, Rob Herring, Krzysztof Kozlowski, devicetree

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.

Signed-off-by: James Clark <james.clark@arm.com>
---
 arch/arm64/boot/dts/arm/foundation-v8.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm64/boot/dts/arm/foundation-v8.dtsi b/arch/arm64/boot/dts/arm/foundation-v8.dtsi
index 83e3e7e3984f..b8c1a674fb43 100644
--- a/arch/arm64/boot/dts/arm/foundation-v8.dtsi
+++ b/arch/arm64/boot/dts/arm/foundation-v8.dtsi
@@ -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>,
-- 
2.25.1


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

* Re: [PATCH] arm64: dts: fvp: Add SPE to Foundation FVP
  2022-11-17 10:25 [PATCH] arm64: dts: fvp: Add SPE to Foundation FVP James Clark
@ 2022-11-25 17:05 ` Sudeep Holla
  0 siblings, 0 replies; 2+ messages in thread
From: Sudeep Holla @ 2022-11-25 17:05 UTC (permalink / raw)
  To: linux-arm-kernel, James Clark
  Cc: Sudeep Holla, devicetree, Lorenzo Pieralisi, Rob Herring,
	Krzysztof Kozlowski, linux-kernel, Liviu Dudau

On Thu, 17 Nov 2022 10:25:36 +0000, James Clark wrote:
> 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


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

end of thread, other threads:[~2022-11-25 17:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-17 10:25 [PATCH] arm64: dts: fvp: Add SPE to Foundation FVP James Clark
2022-11-25 17:05 ` Sudeep Holla

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

all inboxes | Powered by JetHome®