Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1385597 > unrolled thread

[PATCH] coresight: etm4x: Add DT implementation.

Started bylipengcheng <lipengcheng8@huawei.com>
First post2016-04-23 10:50 +0200
Last post2016-04-26 01:10 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] coresight: etm4x: Add DT implementation. lipengcheng <lipengcheng8@huawei.com> - 2016-04-23 10:50 +0200
    Re: [PATCH] coresight: etm4x: Add DT implementation. Mathieu Poirier <mathieu.poirier@linaro.org> - 2016-04-26 01:10 +0200

#1385597 — [PATCH] coresight: etm4x: Add DT implementation.

Fromlipengcheng <lipengcheng8@huawei.com>
Date2016-04-23 10:50 +0200
Subject[PATCH] coresight: etm4x: Add DT implementation.
Message-ID<rr1qi-h0-5@gated-at.bofh.it>
Add DT implementation for A72 board.

Signed-off-by: Li Pengcheng <lipengcheng8@huawei.com>
Signed-off-by: Li Zhong <lizhong11@hisilicon.com>
---
 drivers/hwtracing/coresight/coresight-etm4x.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/hwtracing/coresight/coresight-etm4x.c b/drivers/hwtracing/coresight/coresight-etm4x.c
index 6396b28..462f0dc 100644
--- a/drivers/hwtracing/coresight/coresight-etm4x.c
+++ b/drivers/hwtracing/coresight/coresight-etm4x.c
@@ -825,6 +825,11 @@ static struct amba_id etm4_ids[] = {
 		.mask	= 0x000fffff,
 		.data	= "ETM 4.0",
 	},
+	{       /* ETM 4.0 - A72, Maia, HiSilicon */
+		.id = 0x000bb95a,
+		.mask = 0x000fffff,
+		.data = "ETM 4.0",
+	},
 	{ 0, 0},
 };
 
-- 
1.8.3.2

[toc] | [next] | [standalone]


#1386984

FromMathieu Poirier <mathieu.poirier@linaro.org>
Date2016-04-26 01:10 +0200
Message-ID<rrXNE-5JB-15@gated-at.bofh.it>
In reply to#1385597
On 23 April 2016 at 02:45, lipengcheng <lipengcheng8@huawei.com> wrote:
> Add DT implementation for A72 board.

This patch has nothing to do with the device tree...  You are adding
the a cell ID for the CS ETMv4 found on the Maia processor.

>
> Signed-off-by: Li Pengcheng <lipengcheng8@huawei.com>
> Signed-off-by: Li Zhong <lizhong11@hisilicon.com>
> ---
>  drivers/hwtracing/coresight/coresight-etm4x.c | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/drivers/hwtracing/coresight/coresight-etm4x.c b/drivers/hwtracing/coresight/coresight-etm4x.c
> index 6396b28..462f0dc 100644
> --- a/drivers/hwtracing/coresight/coresight-etm4x.c
> +++ b/drivers/hwtracing/coresight/coresight-etm4x.c
> @@ -825,6 +825,11 @@ static struct amba_id etm4_ids[] = {
>                 .mask   = 0x000fffff,
>                 .data   = "ETM 4.0",
>         },
> +       {       /* ETM 4.0 - A72, Maia, HiSilicon */
> +               .id = 0x000bb95a,
> +               .mask = 0x000fffff,
> +               .data = "ETM 4.0",
> +       },
>         { 0, 0},
>  };

Applied, with a modified subject and commit log description.

Thanks,
Mathieu
>
> --
> 1.8.3.2
>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web