* [PATCH] coresight: etm4x: Add ACPI id for THEAD YiTian SOC
@ 2023-09-11 7:25 Ruidong Tian
2023-09-11 9:21 ` Suzuki K Poulose
2023-09-11 9:39 ` Sudeep Holla
0 siblings, 2 replies; 3+ messages in thread
From: Ruidong Tian @ 2023-09-11 7:25 UTC (permalink / raw)
To: linux-kernel
Cc: james.clark, coresight, suzuki.poulose, mike.leach,
alexander.shishkin, linux-arm-kernel, Jay Chen, Ruidong Tian
From: Jay Chen <jkchen@linux.alibaba.com>
Add support for detcting ETE device of THEAD YiTian SOC.
Signed-off-by: Jay Chen <jkchen@linux.alibaba.com>
Signed-off-by: Ruidong Tian <tianruidong@linux.alibaba.com>
---
drivers/hwtracing/coresight/coresight-etm4x-core.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/hwtracing/coresight/coresight-etm4x-core.c b/drivers/hwtracing/coresight/coresight-etm4x-core.c
index 77b0271ce6eb..329bb554b168 100644
--- a/drivers/hwtracing/coresight/coresight-etm4x-core.c
+++ b/drivers/hwtracing/coresight/coresight-etm4x-core.c
@@ -2351,6 +2351,7 @@ static const struct of_device_id etm4_sysreg_match[] = {
#ifdef CONFIG_ACPI
static const struct acpi_device_id etm4x_acpi_ids[] = {
{"ARMHC500", 0}, /* ARM CoreSight ETM4x */
+ {"BABA6000", 0 }, /* THEAD CoreSight ETE */
{}
};
MODULE_DEVICE_TABLE(acpi, etm4x_acpi_ids);
--
2.33.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] coresight: etm4x: Add ACPI id for THEAD YiTian SOC
2023-09-11 7:25 [PATCH] coresight: etm4x: Add ACPI id for THEAD YiTian SOC Ruidong Tian
@ 2023-09-11 9:21 ` Suzuki K Poulose
2023-09-11 9:39 ` Sudeep Holla
1 sibling, 0 replies; 3+ messages in thread
From: Suzuki K Poulose @ 2023-09-11 9:21 UTC (permalink / raw)
To: Ruidong Tian, linux-kernel
Cc: james.clark, coresight, mike.leach, alexander.shishkin,
linux-arm-kernel, Jay Chen
On 11/09/2023 08:25, Ruidong Tian wrote:
> From: Jay Chen <jkchen@linux.alibaba.com>
>
> Add support for detcting ETE device of THEAD YiTian SOC.
>
> Signed-off-by: Jay Chen <jkchen@linux.alibaba.com>
> Signed-off-by: Ruidong Tian <tianruidong@linux.alibaba.com>
> ---
> drivers/hwtracing/coresight/coresight-etm4x-core.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/hwtracing/coresight/coresight-etm4x-core.c b/drivers/hwtracing/coresight/coresight-etm4x-core.c
> index 77b0271ce6eb..329bb554b168 100644
> --- a/drivers/hwtracing/coresight/coresight-etm4x-core.c
> +++ b/drivers/hwtracing/coresight/coresight-etm4x-core.c
> @@ -2351,6 +2351,7 @@ static const struct of_device_id etm4_sysreg_match[] = {
> #ifdef CONFIG_ACPI
> static const struct acpi_device_id etm4x_acpi_ids[] = {
> {"ARMHC500", 0}, /* ARM CoreSight ETM4x */
> + {"BABA6000", 0 }, /* THEAD CoreSight ETE */
Why don't we use ARMHC500 for the ETE ? See :
https://developer.arm.com/documentation/den0067/latest/
Suzuki
> {}
> };
> MODULE_DEVICE_TABLE(acpi, etm4x_acpi_ids);
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] coresight: etm4x: Add ACPI id for THEAD YiTian SOC
2023-09-11 7:25 [PATCH] coresight: etm4x: Add ACPI id for THEAD YiTian SOC Ruidong Tian
2023-09-11 9:21 ` Suzuki K Poulose
@ 2023-09-11 9:39 ` Sudeep Holla
1 sibling, 0 replies; 3+ messages in thread
From: Sudeep Holla @ 2023-09-11 9:39 UTC (permalink / raw)
To: Ruidong Tian
Cc: linux-kernel, james.clark, coresight, suzuki.poulose, mike.leach,
alexander.shishkin, linux-arm-kernel, Sudeep Holla, Jay Chen
On Mon, Sep 11, 2023 at 03:25:09PM +0800, Ruidong Tian wrote:
> From: Jay Chen <jkchen@linux.alibaba.com>
>
> Add support for detcting ETE device of THEAD YiTian SOC.
>
Are you trying to identify "THEAD YiTian" SoC here ? Or the standard
ARM Coresight ETMv4 ? Or does this THEAD YiTian SoC has a modified version
of ETMv4 which needs special handling in the driver ?
--
Regards,
Sudeep
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-09-11 22:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-11 7:25 [PATCH] coresight: etm4x: Add ACPI id for THEAD YiTian SOC Ruidong Tian
2023-09-11 9:21 ` Suzuki K Poulose
2023-09-11 9:39 ` Sudeep Holla
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®