Message ID | 1531400558-20700-1-git-send-email-fabio.estevam@nxp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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.
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
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>;