diff mbox series

coresight: cpu-debug: Support for CA73 CPUs

Message ID 1543540924-16321-1-git-send-email-leo.yan@linaro.org
State Accepted
Commit a0f890aba2be33377f4eb24e13633c4a76a68f38
Headers show
Series coresight: cpu-debug: Support for CA73 CPUs | expand

Commit Message

Leo Yan Nov. 30, 2018, 1:22 a.m. UTC
This patch is to add the AMBA device ID for CA73 CPU, so that CPU debug
module can be initialized successfully when a SoC contain CA73 CPUs.

This patch has been verified on 96boards Hikey960.

Signed-off-by: Leo Yan <leo.yan@linaro.org>

---
 drivers/hwtracing/coresight/coresight-cpu-debug.c | 4 ++++
 1 file changed, 4 insertions(+)

-- 
2.7.4

Comments

Mathieu Poirier Dec. 3, 2018, 5:34 p.m. UTC | #1
On Thu, 29 Nov 2018 at 18:22, Leo Yan <leo.yan@linaro.org> wrote:
>

> This patch is to add the AMBA device ID for CA73 CPU, so that CPU debug

> module can be initialized successfully when a SoC contain CA73 CPUs.

>

> This patch has been verified on 96boards Hikey960.

>

> Signed-off-by: Leo Yan <leo.yan@linaro.org>

> ---

>  drivers/hwtracing/coresight/coresight-cpu-debug.c | 4 ++++

>  1 file changed, 4 insertions(+)

>

> diff --git a/drivers/hwtracing/coresight/coresight-cpu-debug.c b/drivers/hwtracing/coresight/coresight-cpu-debug.c

> index 45b2460..e8819d7 100644

> --- a/drivers/hwtracing/coresight/coresight-cpu-debug.c

> +++ b/drivers/hwtracing/coresight/coresight-cpu-debug.c

> @@ -668,6 +668,10 @@ static const struct amba_id debug_ids[] = {

>                 .id     = 0x000bbd08,

>                 .mask   = 0x000fffff,

>         },

> +       {       /* Debug for Cortex-A73 */

> +               .id     = 0x000bbd09,

> +               .mask   = 0x000fffff,

> +       },

>         { 0, 0 },

>  };

>


I have picked this up - thanks.

Mathieu

> --

> 2.7.4

>
Leo Yan Dec. 4, 2018, 12:31 a.m. UTC | #2
On Mon, Dec 03, 2018 at 10:34:07AM -0700, Mathieu Poirier wrote:
> On Thu, 29 Nov 2018 at 18:22, Leo Yan <leo.yan@linaro.org> wrote:

> >

> > This patch is to add the AMBA device ID for CA73 CPU, so that CPU debug

> > module can be initialized successfully when a SoC contain CA73 CPUs.

> >

> > This patch has been verified on 96boards Hikey960.

> >

> > Signed-off-by: Leo Yan <leo.yan@linaro.org>

> > ---

> >  drivers/hwtracing/coresight/coresight-cpu-debug.c | 4 ++++

> >  1 file changed, 4 insertions(+)

> >

> > diff --git a/drivers/hwtracing/coresight/coresight-cpu-debug.c b/drivers/hwtracing/coresight/coresight-cpu-debug.c

> > index 45b2460..e8819d7 100644

> > --- a/drivers/hwtracing/coresight/coresight-cpu-debug.c

> > +++ b/drivers/hwtracing/coresight/coresight-cpu-debug.c

> > @@ -668,6 +668,10 @@ static const struct amba_id debug_ids[] = {

> >                 .id     = 0x000bbd08,

> >                 .mask   = 0x000fffff,

> >         },

> > +       {       /* Debug for Cortex-A73 */

> > +               .id     = 0x000bbd09,

> > +               .mask   = 0x000fffff,

> > +       },

> >         { 0, 0 },

> >  };

> >

> 

> I have picked this up - thanks.


Thanks, Mathieu.
diff mbox series

Patch

diff --git a/drivers/hwtracing/coresight/coresight-cpu-debug.c b/drivers/hwtracing/coresight/coresight-cpu-debug.c
index 45b2460..e8819d7 100644
--- a/drivers/hwtracing/coresight/coresight-cpu-debug.c
+++ b/drivers/hwtracing/coresight/coresight-cpu-debug.c
@@ -668,6 +668,10 @@  static const struct amba_id debug_ids[] = {
 		.id	= 0x000bbd08,
 		.mask	= 0x000fffff,
 	},
+	{       /* Debug for Cortex-A73 */
+		.id	= 0x000bbd09,
+		.mask	= 0x000fffff,
+	},
 	{ 0, 0 },
 };