* [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
* [PATCH 2/3] ARM: dts: imx51-babbage: Enable secure-reg-access
2018-07-12 13:02 [PATCH 1/3] ARM: dts: imx53-ppd: Enable secure-reg-access Fabio Estevam
@ 2018-07-12 13:02 ` 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
2 siblings, 0 replies; 5+ messages in thread
From: Fabio Estevam @ 2018-07-12 13:02 UTC (permalink / raw)
To: linux-arm-kernel
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: Fabio Estevam <fabio.estevam@nxp.com>
---
arch/arm/boot/dts/imx51-babbage.dts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/imx51-babbage.dts b/arch/arm/boot/dts/imx51-babbage.dts
index a4a6d4a..ba60b0c 100644
--- a/arch/arm/boot/dts/imx51-babbage.dts
+++ b/arch/arm/boot/dts/imx51-babbage.dts
@@ -396,6 +396,10 @@
status = "okay";
};
+&pmu {
+ secure-reg-access;
+};
+
&ssi2 {
status = "okay";
};
--
2.7.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 3/3] ARM: dts: imx51-zii-rdu1: Enable secure-reg-access
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 ` Fabio Estevam
2018-07-17 5:51 ` [PATCH 1/3] ARM: dts: imx53-ppd: " Shawn Guo
2 siblings, 0 replies; 5+ messages in thread
From: Fabio Estevam @ 2018-07-12 13:02 UTC (permalink / raw)
To: linux-arm-kernel
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: Fabio Estevam <fabio.estevam@nxp.com>
---
arch/arm/boot/dts/imx51-zii-rdu1.dts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/imx51-zii-rdu1.dts b/arch/arm/boot/dts/imx51-zii-rdu1.dts
index 257c918..3310a2e 100644
--- a/arch/arm/boot/dts/imx51-zii-rdu1.dts
+++ b/arch/arm/boot/dts/imx51-zii-rdu1.dts
@@ -565,6 +565,10 @@
remote-endpoint = <&display_in>;
};
+&pmu {
+ secure-reg-access;
+};
+
&ssi2 {
status = "okay";
};
--
2.7.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 1/3] ARM: dts: imx53-ppd: Enable secure-reg-access
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 ` Shawn Guo
2018-07-17 14:53 ` Sebastian Reichel
2 siblings, 1 reply; 5+ messages in thread
From: Shawn Guo @ 2018-07-17 5:51 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, Jul 12, 2018 at 10:02:36AM -0300, Fabio Estevam wrote:
> 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>
Applied all, thanks.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/3] ARM: dts: imx53-ppd: Enable secure-reg-access
2018-07-17 5:51 ` [PATCH 1/3] ARM: dts: imx53-ppd: " Shawn Guo
@ 2018-07-17 14:53 ` Sebastian Reichel
0 siblings, 0 replies; 5+ messages in thread
From: Sebastian Reichel @ 2018-07-17 14:53 UTC (permalink / raw)
To: linux-arm-kernel
Hi,
On Tue, Jul 17, 2018 at 01:51:50PM +0800, Shawn Guo wrote:
> On Thu, Jul 12, 2018 at 10:02:36AM -0300, Fabio Estevam wrote:
> > 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>
>
> 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>
^ permalink raw reply [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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.