2015-05-25 08:15:26

by Ivan T. Ivanov

[permalink] [raw]
Subject: [PATCH v2] coresight-etm3x: Add Qualcomm PTM v1.1 peripheral ID

Add Qualcomm's PTM v1.1 peripheral ID to supported devices.
This device could be found at least in MSM8974 and APQ8064
chipsets.

Signed-off-by: Ivan T. Ivanov <[email protected]>
---

Changes since v1:

- s/PFT/PTM/ to describe device and not protocol implementation

drivers/hwtracing/coresight/coresight-etm3x.c | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/drivers/hwtracing/coresight/coresight-etm3x.c b/drivers/hwtracing/coresight/coresight-etm3x.c
index 018a00f..cca98a8 100644
--- a/drivers/hwtracing/coresight/coresight-etm3x.c
+++ b/drivers/hwtracing/coresight/coresight-etm3x.c
@@ -1912,6 +1912,11 @@ static struct amba_id etm_ids[] = {
.mask = 0x0003ffff,
.data = "PTM 1.1",
},
+ { /* PTM 1.1 Qualcomm */
+ .id = 0x0003006f,
+ .mask = 0x0003ffff,
+ .data = "PTM 1.1",
+ },
{ 0, 0},
};

--
1.9.1


2015-05-25 18:21:15

by Mathieu Poirier

[permalink] [raw]
Subject: Re: [PATCH v2] coresight-etm3x: Add Qualcomm PTM v1.1 peripheral ID

On 25 May 2015 at 02:15, Ivan T. Ivanov <[email protected]> wrote:
> Add Qualcomm's PTM v1.1 peripheral ID to supported devices.
> This device could be found at least in MSM8974 and APQ8064
> chipsets.
>
> Signed-off-by: Ivan T. Ivanov <[email protected]>
> ---
>
> Changes since v1:
>
> - s/PFT/PTM/ to describe device and not protocol implementation
>
> drivers/hwtracing/coresight/coresight-etm3x.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/drivers/hwtracing/coresight/coresight-etm3x.c b/drivers/hwtracing/coresight/coresight-etm3x.c
> index 018a00f..cca98a8 100644
> --- a/drivers/hwtracing/coresight/coresight-etm3x.c
> +++ b/drivers/hwtracing/coresight/coresight-etm3x.c
> @@ -1912,6 +1912,11 @@ static struct amba_id etm_ids[] = {
> .mask = 0x0003ffff,
> .data = "PTM 1.1",
> },
> + { /* PTM 1.1 Qualcomm */
> + .id = 0x0003006f,
> + .mask = 0x0003ffff,
> + .data = "PTM 1.1",
> + },
> { 0, 0},
> };
>
> --
> 1.9.1
>

Applied - thanks.