Skip to contentSkip to conversation

ARM: dts: imx53-ppd: Enable secure-reg-access

PATCH New Fabio Estevam 3 participants 5 messages Jul 12, 2018 – Jul 17, 2018

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

PATCH 1/3 ARM: dts: imx53-ppd: Enable secure-reg-access

From: Sebastian Reichel <[email protected]>

Add 'secure-reg-access' property to enable PMU and hardware counters so that they can be properly used with the 'perf' tool.

[fabio: kept the change only in imx53-ppd context]
---
 arch/arm/boot/dts/imx53-ppd.dts | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/boot/dts/imx53-ppd.dts +4 -0
index 444ec84..cdb90be 100644
@@ -594,6 +594,10 @@
 	};
 };
 
+&pmu {
+	secure-reg-access;
+};
+
 &pwm1 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_pwm1>;
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/3 ARM: dts: imx51-babbage: Enable secure-reg-access

Add 'secure-reg-access' property to enable PMU and hardware counters so that they can be properly used with the 'perf' tool.

---
 arch/arm/boot/dts/imx51-babbage.dts | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/boot/dts/imx51-babbage.dts +4 -0
index a4a6d4a..ba60b0c 100644
@@ -396,6 +396,10 @@
 	status = "okay";
 };
 
+&pmu {
+	secure-reg-access;
+};
+
 &ssi2 {
 	status = "okay";
 };
Signature · 1 line
2.7.4
#2 lore raw

PATCH 3/3 ARM: dts: imx51-zii-rdu1: Enable secure-reg-access

In reply to Fabio Estevam

Add 'secure-reg-access' property to enable PMU and hardware counters so that they can be properly used with the 'perf' tool.

---
 arch/arm/boot/dts/imx51-zii-rdu1.dts | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/boot/dts/imx51-zii-rdu1.dts +4 -0
index 257c918..3310a2e 100644
@@ -565,6 +565,10 @@
 	remote-endpoint = <&display_in>;
 };
 
+&pmu {
+	secure-reg-access;
+};
+
 &ssi2 {
 	status = "okay";
 };
Signature · 1 line
2.7.4
Applied
#3 lore raw

PATCH 1/3 ARM: dts: imx53-ppd: Enable secure-reg-access

In reply to Fabio Estevam
Quoted 8 lines · Fabio Estevam

From: Sebastian Reichel <[email protected]>

Add 'secure-reg-access' property to enable PMU and hardware counters so that they can be properly used with the 'perf' tool.

[fabio: kept the change only in imx53-ppd context]

Applied all, thanks.

#4 lore raw

PATCH 1/3 ARM: dts: imx53-ppd: Enable secure-reg-access

Hi,

Quoted 11 lines · Shawn Guo
Quoted 8 lines · Fabio Estevam

From: Sebastian Reichel <[email protected]>

Add 'secure-reg-access' property to enable PMU and hardware counters so that they can be properly used with the 'perf' tool.

[fabio: kept the change only in imx53-ppd context]

Applied all, thanks.

Thanks,

-- Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20180717/15c12c30/attachment.sig>