lkml.org 
[lkml]   [2023]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] coresight: etm4x: Add ACPI id for THEAD YiTian SOC
From
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);

\
 
 \ /
  Last update: 2023-09-11 23:56    [W:0.034 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site