LF-3434: arm64: dts: imx8m: add pmu node
Subsystems (2)
PATCH 1/1 LF-3434: arm64: dts: imx8m: add pmu node
From: Alice Guo <[email protected]>
Adding pmu node supports to use perf tool to monitor the CPU performance of the inmate cell when enabling Jailhouse and running dual Linux OS.
--- arch/arm64/boot/dts/freescale/imx8mm-evk-inmate.dts | 7 +++++++ arch/arm64/boot/dts/freescale/imx8mn-evk-inmate.dts | 8 ++++++++ arch/arm64/boot/dts/freescale/imx8mp-evk-inmate.dts | 8 ++++++++ arch/arm64/boot/dts/freescale/imx8mq-evk-inmate.dts | 7 +++++++ 4 files changed, 30 insertions(+)
arch/arm64/boot/dts/freescale/imx8mm-evk-inmate.dts +7 -0
@@ -48,6 +48,13 @@ }; }; + pmu { + compatible = "arm,armv8-pmuv3"; + interrupts = <GIC_PPI 7 + (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_HIGH)>; + interrupt-affinity = <&A53_2>, <&A53_3>; + }; + psci { compatible = "arm,psci-1.0"; method = "smc";
arch/arm64/boot/dts/freescale/imx8mn-evk-inmate.dts +8 -0
@@ -48,6 +48,14 @@ }; }; + pmu { + compatible = "arm,armv8-pmuv3"; + interrupt-parent = <&gic>; + interrupts = <GIC_PPI 7 + (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_HIGH)>; + interrupt-affinity = <&A53_2>, <&A53_3>; + }; + psci { compatible = "arm,psci-1.0"; method = "smc";
arch/arm64/boot/dts/freescale/imx8mp-evk-inmate.dts +8 -0
@@ -48,6 +48,14 @@ }; }; + pmu { + compatible = "arm,armv8-pmuv3"; + interrupt-parent = <&gic>; + interrupts = <GIC_PPI 7 + (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_HIGH)>; + interrupt-affinity = <&A53_2>, <&A53_3>; + }; + psci { compatible = "arm,psci-1.0"; method = "smc";
arch/arm64/boot/dts/freescale/imx8mq-evk-inmate.dts +7 -0
@@ -48,6 +48,13 @@ }; }; + pmu { + compatible = "arm,cortex-a53-pmu"; + interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>; + interrupt-parent = <&gic>; + interrupt-affinity = <&A53_2>, <&A53_3>; + }; + psci { compatible = "arm,psci-1.0"; method = "smc";
--
2.17.1
Ignore this patch.
Quoted 110 lines
-----Original Message-----
From: linux-arm-kernel <[email protected]> On Behalf Of Alice Guo (OSS)
Sent: 2021年2月23日 11:08
To: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; dl-linux-imx <[email protected]>
Cc: [email protected]; [email protected]; [email protected]
Subject: [PATCH v1] LF-3434: arm64: dts: imx8m: add pmu nodeFrom: Alice Guo <[email protected]>
Adding pmu node supports to use perf tool to monitor the CPU performance of the inmate cell when enabling Jailhouse and running dual Linux OS.
Signed-off-by Alice Guo <[email protected]>--- arch/arm64/boot/dts/freescale/imx8mm-evk-inmate.dts | 7 +++++++ arch/arm64/boot/dts/freescale/imx8mn-evk-inmate.dts | 8 ++++++++ arch/arm64/boot/dts/freescale/imx8mp-evk-inmate.dts | 8 ++++++++ arch/arm64/boot/dts/freescale/imx8mq-evk-inmate.dts | 7 +++++++ 4 files changed, 30 insertions(+)arch/arm64/boot/dts/freescale/imx8mm-evk-inmate.dts +7
-0@@ -48,6 +48,13 @@ }; }; + pmu { + compatible = "arm,armv8-pmuv3"; + interrupts = <GIC_PPI 7 + (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_HIGH)>; + interrupt-affinity = <&A53_2>, <&A53_3>; + }; + psci { compatible = "arm,psci-1.0"; method = "smc";arch/arm64/boot/dts/freescale/imx8mn-evk-inmate.dts +8
-0@@ -48,6 +48,14 @@ }; }; + pmu { + compatible = "arm,armv8-pmuv3"; + interrupt-parent = <&gic>; + interrupts = <GIC_PPI 7 + (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_HIGH)>; + interrupt-affinity = <&A53_2>, <&A53_3>; + }; + psci { compatible = "arm,psci-1.0"; method = "smc";arch/arm64/boot/dts/freescale/imx8mp-evk-inmate.dts +8
-0@@ -48,6 +48,14 @@ }; }; + pmu { + compatible = "arm,armv8-pmuv3"; + interrupt-parent = <&gic>; + interrupts = <GIC_PPI 7 + (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_HIGH)>; + interrupt-affinity = <&A53_2>, <&A53_3>; + }; + psci { compatible = "arm,psci-1.0"; method = "smc";arch/arm64/boot/dts/freescale/imx8mq-evk-inmate.dts +7
-1@@ -48,6 +48,13 @@ }; }; + pmu { + compatible = "arm,cortex-a53-pmu"; + interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>; + interrupt-parent = <&gic>; + interrupt-affinity = <&A53_2>, <&A53_3>; + }; + psci { compatible = "arm,psci-1.0"; method = "smc"; --2.17.1
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel