Re: [PATCH v1 1/2] coresight: Add support for device names

2021-04-16 Thread taozha
On 2021-04-16 19:19, Alexander Shishkin wrote: Tao Zhang writes: diff --git a/drivers/hwtracing/coresight/coresight-core.c b/drivers/hwtracing/coresight/coresight-core.c index 4ba801d..b79c726 100644 --- a/drivers/hwtracing/coresight/coresight-core.c +++

Re: [PATCH v1 1/2] coresight: Add support for device names

2021-04-16 Thread Alexander Shishkin
Tao Zhang writes: > diff --git a/drivers/hwtracing/coresight/coresight-core.c > b/drivers/hwtracing/coresight/coresight-core.c > index 4ba801d..b79c726 100644 > --- a/drivers/hwtracing/coresight/coresight-core.c > +++ b/drivers/hwtracing/coresight/coresight-core.c > @@ -1640,6 +1640,12 @@ char

[PATCH v1 1/2] coresight: Add support for device names

2021-04-16 Thread Tao Zhang
Add support to read device names from device tree entries. Before the previous process of allocating coresight device name, try to read the coresight device name from device tree entries. If it is read, the device name will be returned directly. If it is not read, the original allocation name

[PATCH v1 1/2] coresight: Add support for device names

2021-04-16 Thread Tao Zhang
Add support to read device names from device tree entries. Before the previous process of allocating coresight device name, try to read the coresight device name from device tree entries. If it is read, the device name will be returned directly. If it is not read, the original allocation name