From mboxrd@z Thu Jan 1 00:00:00 1970 From: mathieu.poirier@linaro.org (Mathieu Poirier) Date: Thu, 21 May 2015 08:10:54 -0600 Subject: [PATCH] coresight-etm3x: Add Qualcomm PFT v1.1 peripheral ID In-Reply-To: <1432134145-28298-1-git-send-email-ivan.ivanov@linaro.org> References: <1432134145-28298-1-git-send-email-ivan.ivanov@linaro.org> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 20 May 2015 at 09:02, Ivan T. Ivanov wrote: > Add Qualcomm's PFT 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 > --- > 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..e13520f 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", > }, > + { /* PFT 1.1 Qualcomm */ > + .id = 0x0003006f, > + .mask = 0x0003ffff, > + .data = "PFT 1.1", > + }, > { 0, 0}, > }; I'm essentially good with that. On the flip side "PFT" is the format of the output generated by the tracer. What is important to identify is the type of tracer fitted to the SoC, either "ETM" or "PTM". > > -- > 1.9.1 >