Re: [PATCHv4 1/2] ARM: imx53: add secure-reg-access support for PMU

2018-06-17 Thread Fabio Estevam
Hi Sebastian, [Adding Martin on Cc who also tried to enable DBGEN bit in a previous patch] On Mon, Feb 26, 2018 at 10:47 AM, Sebastian Reichel wrote: > Hi Shawn, > > On Sat, Feb 24, 2018 at 03:45:44PM +0800, Shawn Guo wrote: >> On Mon, Feb 12, 2018 at 01:39:44PM +0100, Sebastian Reichel wrote:

Re: [PATCHv4 1/2] ARM: imx53: add secure-reg-access support for PMU

2018-06-17 Thread Fabio Estevam
Hi Sebastian, [Adding Martin on Cc who also tried to enable DBGEN bit in a previous patch] On Mon, Feb 26, 2018 at 10:47 AM, Sebastian Reichel wrote: > Hi Shawn, > > On Sat, Feb 24, 2018 at 03:45:44PM +0800, Shawn Guo wrote: >> On Mon, Feb 12, 2018 at 01:39:44PM +0100, Sebastian Reichel wrote:

Re: [PATCHv4 1/2] ARM: imx53: add secure-reg-access support for PMU

2018-05-28 Thread Sebastian Reichel
Hi, On Mon, May 28, 2018 at 03:20:35PM +0800, Shawn Guo wrote: > On Mon, May 28, 2018 at 08:41:31AM +0200, Sebastian Reichel wrote: > > > Are you saying this is a very specific setup required by i.MX53 only? > > > > Yes, all other SoCs supported by Linux ARM PMU counters driver can > > just use

Re: [PATCHv4 1/2] ARM: imx53: add secure-reg-access support for PMU

2018-05-28 Thread Sebastian Reichel
Hi, On Mon, May 28, 2018 at 03:20:35PM +0800, Shawn Guo wrote: > On Mon, May 28, 2018 at 08:41:31AM +0200, Sebastian Reichel wrote: > > > Are you saying this is a very specific setup required by i.MX53 only? > > > > Yes, all other SoCs supported by Linux ARM PMU counters driver can > > just use

Re: [PATCHv4 1/2] ARM: imx53: add secure-reg-access support for PMU

2018-05-28 Thread Shawn Guo
On Mon, May 28, 2018 at 08:41:31AM +0200, Sebastian Reichel wrote: > > Are you saying this is a very specific setup required by i.MX53 only? > > Yes, all other SoCs supported by Linux ARM PMU counters driver can > just use the registers without having to enable platform specific > bits first. >

Re: [PATCHv4 1/2] ARM: imx53: add secure-reg-access support for PMU

2018-05-28 Thread Shawn Guo
On Mon, May 28, 2018 at 08:41:31AM +0200, Sebastian Reichel wrote: > > Are you saying this is a very specific setup required by i.MX53 only? > > Yes, all other SoCs supported by Linux ARM PMU counters driver can > just use the registers without having to enable platform specific > bits first. >

Re: [PATCHv4 1/2] ARM: imx53: add secure-reg-access support for PMU

2018-05-28 Thread Sebastian Reichel
Hi, On Mon, May 28, 2018 at 10:26:54AM +0800, Shawn Guo wrote: > On Tue, Feb 27, 2018 at 11:17:12AM +0100, Sebastian Reichel wrote: > > Hi, > > > > On Tue, Feb 27, 2018 at 09:10:34AM +0800, Shawn Guo wrote: > > > On Mon, Feb 26, 2018 at 02:47:41PM +0100, Sebastian Reichel wrote: > > > > On Sat,

Re: [PATCHv4 1/2] ARM: imx53: add secure-reg-access support for PMU

2018-05-28 Thread Sebastian Reichel
Hi, On Mon, May 28, 2018 at 10:26:54AM +0800, Shawn Guo wrote: > On Tue, Feb 27, 2018 at 11:17:12AM +0100, Sebastian Reichel wrote: > > Hi, > > > > On Tue, Feb 27, 2018 at 09:10:34AM +0800, Shawn Guo wrote: > > > On Mon, Feb 26, 2018 at 02:47:41PM +0100, Sebastian Reichel wrote: > > > > On Sat,

Re: [PATCHv4 1/2] ARM: imx53: add secure-reg-access support for PMU

2018-05-27 Thread Shawn Guo
On Tue, Feb 27, 2018 at 11:17:12AM +0100, Sebastian Reichel wrote: > Hi, > > On Tue, Feb 27, 2018 at 09:10:34AM +0800, Shawn Guo wrote: > > On Mon, Feb 26, 2018 at 02:47:41PM +0100, Sebastian Reichel wrote: > > > On Sat, Feb 24, 2018 at 03:45:44PM +0800, Shawn Guo wrote: > > > > On Mon, Feb 12,

Re: [PATCHv4 1/2] ARM: imx53: add secure-reg-access support for PMU

2018-05-27 Thread Shawn Guo
On Tue, Feb 27, 2018 at 11:17:12AM +0100, Sebastian Reichel wrote: > Hi, > > On Tue, Feb 27, 2018 at 09:10:34AM +0800, Shawn Guo wrote: > > On Mon, Feb 26, 2018 at 02:47:41PM +0100, Sebastian Reichel wrote: > > > On Sat, Feb 24, 2018 at 03:45:44PM +0800, Shawn Guo wrote: > > > > On Mon, Feb 12,

Re: [PATCHv4 1/2] ARM: imx53: add secure-reg-access support for PMU

2018-05-25 Thread Sebastian Reichel
Hi Shawn, On Tue, Feb 27, 2018 at 11:17:12AM +0100, Sebastian Reichel wrote: > Hi, > > On Tue, Feb 27, 2018 at 09:10:34AM +0800, Shawn Guo wrote: > > On Mon, Feb 26, 2018 at 02:47:41PM +0100, Sebastian Reichel wrote: > > > On Sat, Feb 24, 2018 at 03:45:44PM +0800, Shawn Guo wrote: > > > > On

Re: [PATCHv4 1/2] ARM: imx53: add secure-reg-access support for PMU

2018-05-25 Thread Sebastian Reichel
Hi Shawn, On Tue, Feb 27, 2018 at 11:17:12AM +0100, Sebastian Reichel wrote: > Hi, > > On Tue, Feb 27, 2018 at 09:10:34AM +0800, Shawn Guo wrote: > > On Mon, Feb 26, 2018 at 02:47:41PM +0100, Sebastian Reichel wrote: > > > On Sat, Feb 24, 2018 at 03:45:44PM +0800, Shawn Guo wrote: > > > > On

Re: [PATCHv4 1/2] ARM: imx53: add secure-reg-access support for PMU

2018-02-27 Thread Sebastian Reichel
Hi, On Tue, Feb 27, 2018 at 09:10:34AM +0800, Shawn Guo wrote: > On Mon, Feb 26, 2018 at 02:47:41PM +0100, Sebastian Reichel wrote: > > On Sat, Feb 24, 2018 at 03:45:44PM +0800, Shawn Guo wrote: > > > On Mon, Feb 12, 2018 at 01:39:44PM +0100, Sebastian Reichel wrote: > > > > On i.MX53 it is

Re: [PATCHv4 1/2] ARM: imx53: add secure-reg-access support for PMU

2018-02-27 Thread Sebastian Reichel
Hi, On Tue, Feb 27, 2018 at 09:10:34AM +0800, Shawn Guo wrote: > On Mon, Feb 26, 2018 at 02:47:41PM +0100, Sebastian Reichel wrote: > > On Sat, Feb 24, 2018 at 03:45:44PM +0800, Shawn Guo wrote: > > > On Mon, Feb 12, 2018 at 01:39:44PM +0100, Sebastian Reichel wrote: > > > > On i.MX53 it is

Re: [PATCHv4 1/2] ARM: imx53: add secure-reg-access support for PMU

2018-02-26 Thread Shawn Guo
On Mon, Feb 26, 2018 at 02:47:41PM +0100, Sebastian Reichel wrote: > Hi Shawn, > > On Sat, Feb 24, 2018 at 03:45:44PM +0800, Shawn Guo wrote: > > On Mon, Feb 12, 2018 at 01:39:44PM +0100, Sebastian Reichel wrote: > > > On i.MX53 it is necessary to set the DBG_EN bit in the > > > platform GPC

Re: [PATCHv4 1/2] ARM: imx53: add secure-reg-access support for PMU

2018-02-26 Thread Shawn Guo
On Mon, Feb 26, 2018 at 02:47:41PM +0100, Sebastian Reichel wrote: > Hi Shawn, > > On Sat, Feb 24, 2018 at 03:45:44PM +0800, Shawn Guo wrote: > > On Mon, Feb 12, 2018 at 01:39:44PM +0100, Sebastian Reichel wrote: > > > On i.MX53 it is necessary to set the DBG_EN bit in the > > > platform GPC

Re: [PATCHv4 1/2] ARM: imx53: add secure-reg-access support for PMU

2018-02-26 Thread Sebastian Reichel
Hi Shawn, On Sat, Feb 24, 2018 at 03:45:44PM +0800, Shawn Guo wrote: > On Mon, Feb 12, 2018 at 01:39:44PM +0100, Sebastian Reichel wrote: > > On i.MX53 it is necessary to set the DBG_EN bit in the > > platform GPC register to enable access to PMU counters > > other than the cycle counter. > > >

Re: [PATCHv4 1/2] ARM: imx53: add secure-reg-access support for PMU

2018-02-26 Thread Sebastian Reichel
Hi Shawn, On Sat, Feb 24, 2018 at 03:45:44PM +0800, Shawn Guo wrote: > On Mon, Feb 12, 2018 at 01:39:44PM +0100, Sebastian Reichel wrote: > > On i.MX53 it is necessary to set the DBG_EN bit in the > > platform GPC register to enable access to PMU counters > > other than the cycle counter. > > >

Re: [PATCHv4 1/2] ARM: imx53: add secure-reg-access support for PMU

2018-02-23 Thread Shawn Guo
On Mon, Feb 12, 2018 at 01:39:44PM +0100, Sebastian Reichel wrote: > On i.MX53 it is necessary to set the DBG_EN bit in the > platform GPC register to enable access to PMU counters > other than the cycle counter. > > Signed-off-by: Sebastian Reichel > --- >

Re: [PATCHv4 1/2] ARM: imx53: add secure-reg-access support for PMU

2018-02-23 Thread Shawn Guo
On Mon, Feb 12, 2018 at 01:39:44PM +0100, Sebastian Reichel wrote: > On i.MX53 it is necessary to set the DBG_EN bit in the > platform GPC register to enable access to PMU counters > other than the cycle counter. > > Signed-off-by: Sebastian Reichel > --- > arch/arm/mach-imx/mach-imx53.c | 39

Re: [PATCHv4 1/2] ARM: imx53: add secure-reg-access support for PMU

2018-02-12 Thread Fabio Estevam
On Mon, Feb 12, 2018 at 10:39 AM, Sebastian Reichel wrote: > On i.MX53 it is necessary to set the DBG_EN bit in the > platform GPC register to enable access to PMU counters > other than the cycle counter. > > Signed-off-by: Sebastian Reichel

Re: [PATCHv4 1/2] ARM: imx53: add secure-reg-access support for PMU

2018-02-12 Thread Fabio Estevam
On Mon, Feb 12, 2018 at 10:39 AM, Sebastian Reichel wrote: > On i.MX53 it is necessary to set the DBG_EN bit in the > platform GPC register to enable access to PMU counters > other than the cycle counter. > > Signed-off-by: Sebastian Reichel Reviewed-by: Fabio Estevam

[PATCHv4 1/2] ARM: imx53: add secure-reg-access support for PMU

2018-02-12 Thread Sebastian Reichel
On i.MX53 it is necessary to set the DBG_EN bit in the platform GPC register to enable access to PMU counters other than the cycle counter. Signed-off-by: Sebastian Reichel --- arch/arm/mach-imx/mach-imx53.c | 39 ++- 1 file

[PATCHv4 1/2] ARM: imx53: add secure-reg-access support for PMU

2018-02-12 Thread Sebastian Reichel
On i.MX53 it is necessary to set the DBG_EN bit in the platform GPC register to enable access to PMU counters other than the cycle counter. Signed-off-by: Sebastian Reichel --- arch/arm/mach-imx/mach-imx53.c | 39 ++- 1 file changed, 38 insertions(+), 1