* [PATCH] coresight: etm4x: Add Support for HiSilicon ETM device
@ 2020-08-03 13:35 Qi Liu
2020-08-04 4:26 ` Sai Prakash Ranjan
2020-08-04 10:47 ` Suzuki K Poulose
0 siblings, 2 replies; 4+ messages in thread
From: Qi Liu @ 2020-08-03 13:35 UTC (permalink / raw)
To: gregkh, saiprakash.ranjan, suzuki.poulose
Cc: linux-arm-kernel, linux-kernel, linuxarm
Add ETMv4 periperhal ID for HiSilicon Hip08 and Hip09 platform. Hip08
contains ETMv4.2 device and Hip09 contains ETMv4.5 device.
Signed-off-by: Qi Liu <liuqi115@huawei.com>
---
drivers/hwtracing/coresight/coresight-etm4x.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/hwtracing/coresight/coresight-etm4x.c b/drivers/hwtracing/coresight/coresight-etm4x.c
index 0c35cd5e..4a4f0bd 100644
--- a/drivers/hwtracing/coresight/coresight-etm4x.c
+++ b/drivers/hwtracing/coresight/coresight-etm4x.c
@@ -1561,6 +1561,8 @@ static struct amba_cs_uci_id uci_id_etm4[] = {
};
static const struct amba_id etm4_ids[] = {
+ CS_AMBA_ID(0x000b6d02), /* HiSilicon-Hip09 */
+ CS_AMBA_ID(0x000b6d01), /* HiSilicon-Hip08 */
CS_AMBA_ID(0x000bb95d), /* Cortex-A53 */
CS_AMBA_ID(0x000bb95e), /* Cortex-A57 */
CS_AMBA_ID(0x000bb95a), /* Cortex-A72 */
--
2.8.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] coresight: etm4x: Add Support for HiSilicon ETM device
2020-08-03 13:35 [PATCH] coresight: etm4x: Add Support for HiSilicon ETM device Qi Liu
@ 2020-08-04 4:26 ` Sai Prakash Ranjan
2020-08-04 10:47 ` Suzuki K Poulose
1 sibling, 0 replies; 4+ messages in thread
From: Sai Prakash Ranjan @ 2020-08-04 4:26 UTC (permalink / raw)
To: Qi Liu
Cc: gregkh, suzuki.poulose, linux-arm-kernel, linux-kernel, linuxarm,
Mathieu Poirier, Mike Leach
Hi Qi Liu,
On 2020-08-03 19:05, Qi Liu wrote:
> Add ETMv4 periperhal ID for HiSilicon Hip08 and Hip09 platform. Hip08
> contains ETMv4.2 device and Hip09 contains ETMv4.5 device.
>
> Signed-off-by: Qi Liu <liuqi115@huawei.com>
> ---
> drivers/hwtracing/coresight/coresight-etm4x.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/hwtracing/coresight/coresight-etm4x.c
> b/drivers/hwtracing/coresight/coresight-etm4x.c
> index 0c35cd5e..4a4f0bd 100644
> --- a/drivers/hwtracing/coresight/coresight-etm4x.c
> +++ b/drivers/hwtracing/coresight/coresight-etm4x.c
> @@ -1561,6 +1561,8 @@ static struct amba_cs_uci_id uci_id_etm4[] = {
> };
>
> static const struct amba_id etm4_ids[] = {
> + CS_AMBA_ID(0x000b6d02), /* HiSilicon-Hip09 */
> + CS_AMBA_ID(0x000b6d01), /* HiSilicon-Hip08 */
> CS_AMBA_ID(0x000bb95d), /* Cortex-A53 */
> CS_AMBA_ID(0x000bb95e), /* Cortex-A57 */
> CS_AMBA_ID(0x000bb95a), /* Cortex-A72 */
> --
> 2.8.1
You have missed adding the maintainers/reviewers of coresight(Mathieu
and Mike),
you can use scripts/get_maintainer.pl on the drivers to get the
maintainers and
reviewers for the corresponding drivers, same on other patch as well.
Thanks,
Sai
--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a
member
of Code Aurora Forum, hosted by The Linux Foundation
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] coresight: etm4x: Add Support for HiSilicon ETM device
2020-08-03 13:35 [PATCH] coresight: etm4x: Add Support for HiSilicon ETM device Qi Liu
2020-08-04 4:26 ` Sai Prakash Ranjan
@ 2020-08-04 10:47 ` Suzuki K Poulose
2020-08-10 11:01 ` Qi Liu
1 sibling, 1 reply; 4+ messages in thread
From: Suzuki K Poulose @ 2020-08-04 10:47 UTC (permalink / raw)
To: liuqi115, gregkh, saiprakash.ranjan
Cc: linux-arm-kernel, linux-kernel, linuxarm
Hi Qi
On 08/03/2020 02:35 PM, Qi Liu wrote:
> Add ETMv4 periperhal ID for HiSilicon Hip08 and Hip09 platform. Hip08
> contains ETMv4.2 device and Hip09 contains ETMv4.5 device.
Does the ETMv4.5 on your system implement system instructions to access
the ETMs ? If so, please could you give the following series on your
board ?
http://lists.infradead.org/pipermail/linux-arm-kernel/2020-July/587745.html
>
> Signed-off-by: Qi Liu <liuqi115@huawei.com>
> ---
> drivers/hwtracing/coresight/coresight-etm4x.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/hwtracing/coresight/coresight-etm4x.c b/drivers/hwtracing/coresight/coresight-etm4x.c
> index 0c35cd5e..4a4f0bd 100644
> --- a/drivers/hwtracing/coresight/coresight-etm4x.c
> +++ b/drivers/hwtracing/coresight/coresight-etm4x.c
> @@ -1561,6 +1561,8 @@ static struct amba_cs_uci_id uci_id_etm4[] = {
> };
>
> static const struct amba_id etm4_ids[] = {
> + CS_AMBA_ID(0x000b6d02), /* HiSilicon-Hip09 */
> + CS_AMBA_ID(0x000b6d01), /* HiSilicon-Hip08 */
Please use CS_AMBA_UCI_ID() instead.
We should stop using the CS_AMBA_ID()
Suzuki
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] coresight: etm4x: Add Support for HiSilicon ETM device
2020-08-04 10:47 ` Suzuki K Poulose
@ 2020-08-10 11:01 ` Qi Liu
0 siblings, 0 replies; 4+ messages in thread
From: Qi Liu @ 2020-08-10 11:01 UTC (permalink / raw)
To: Suzuki K Poulose, gregkh, saiprakash.ranjan
Cc: linux-arm-kernel, linux-kernel, linuxarm
Hi Suzuki,
Thanks for your review.
On 2020/8/4 18:47, Suzuki K Poulose wrote:
> Hi Qi
>
> On 08/03/2020 02:35 PM, Qi Liu wrote:
>> Add ETMv4 periperhal ID for HiSilicon Hip08 and Hip09 platform. Hip08
>> contains ETMv4.2 device and Hip09 contains ETMv4.5 device.
>
> Does the ETMv4.5 on your system implement system instructions to access
> the ETMs ? If so, please could you give the following series on your
> board ?
>
> http://lists.infradead.org/pipermail/linux-arm-kernel/2020-July/587745.html
>
ETMv4.5 on Hip09 platform does not support system instructions.
>
>>
>> Signed-off-by: Qi Liu <liuqi115@huawei.com>
>> ---
>> drivers/hwtracing/coresight/coresight-etm4x.c | 2 ++
>> 1 file changed, 2 insertions(+)
>>
>> diff --git a/drivers/hwtracing/coresight/coresight-etm4x.c b/drivers/hwtracing/coresight/coresight-etm4x.c
>> index 0c35cd5e..4a4f0bd 100644
>> --- a/drivers/hwtracing/coresight/coresight-etm4x.c
>> +++ b/drivers/hwtracing/coresight/coresight-etm4x.c
>> @@ -1561,6 +1561,8 @@ static struct amba_cs_uci_id uci_id_etm4[] = {
>> };
>>
>> static const struct amba_id etm4_ids[] = {
>> + CS_AMBA_ID(0x000b6d02), /* HiSilicon-Hip09 */
>> + CS_AMBA_ID(0x000b6d01), /* HiSilicon-Hip08 */
>
> Please use CS_AMBA_UCI_ID() instead.
>
> We should stop using the CS_AMBA_ID()
>
ok, I'll fix this in next version.
Thanks,
Qi
>
> Suzuki
>
> .
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-08-10 11:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-03 13:35 [PATCH] coresight: etm4x: Add Support for HiSilicon ETM device Qi Liu
2020-08-04 4:26 ` Sai Prakash Ranjan
2020-08-04 10:47 ` Suzuki K Poulose
2020-08-10 11:01 ` Qi Liu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).