[PATCH] coresight: etm4x: Add ACPI id for THEAD YiTian SOC

Suzuki K Poulose suzuki.poulose at arm.com
Mon Sep 11 02:21:17 PDT 2023


On 11/09/2023 08:25, Ruidong Tian wrote:
> From: Jay Chen <jkchen at linux.alibaba.com>
> 
> Add support for detcting ETE device of THEAD YiTian SOC.
> 
> Signed-off-by: Jay Chen <jkchen at linux.alibaba.com>
> Signed-off-by: Ruidong Tian <tianruidong at 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);




More information about the linux-arm-kernel mailing list