linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] ARM: dts: imx53-ppd: Enable secure-reg-access
@ 2018-07-12 13:02 Fabio Estevam
  2018-07-12 13:02 ` [PATCH 2/3] ARM: dts: imx51-babbage: " Fabio Estevam
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Fabio Estevam @ 2018-07-12 13:02 UTC (permalink / raw)
  To: linux-arm-kernel

From: Sebastian Reichel <sebastian.reichel@collabora.co.uk>

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

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
[fabio: kept the change only in imx53-ppd context]
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
---
 arch/arm/boot/dts/imx53-ppd.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/imx53-ppd.dts b/arch/arm/boot/dts/imx53-ppd.dts
index 444ec84..cdb90be 100644
--- a/arch/arm/boot/dts/imx53-ppd.dts
+++ b/arch/arm/boot/dts/imx53-ppd.dts
@@ -594,6 +594,10 @@
 	};
 };
 
+&pmu {
+	secure-reg-access;
+};
+
 &pwm1 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_pwm1>;
-- 
2.7.4

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

end of thread, other threads:[~2018-07-17 14:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-12 13:02 [PATCH 1/3] ARM: dts: imx53-ppd: Enable secure-reg-access Fabio Estevam
2018-07-12 13:02 ` [PATCH 2/3] ARM: dts: imx51-babbage: " Fabio Estevam
2018-07-12 13:02 ` [PATCH 3/3] ARM: dts: imx51-zii-rdu1: " Fabio Estevam
2018-07-17  5:51 ` [PATCH 1/3] ARM: dts: imx53-ppd: " Shawn Guo
2018-07-17 14:53   ` Sebastian Reichel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).