From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 27DEFCA0EC5 for ; Mon, 11 Sep 2023 21:30:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345879AbjIKVWf (ORCPT ); Mon, 11 Sep 2023 17:22:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235695AbjIKJVY (ORCPT ); Mon, 11 Sep 2023 05:21:24 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 17724CD3 for ; Mon, 11 Sep 2023 02:21:20 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E38A6D75; Mon, 11 Sep 2023 02:21:56 -0700 (PDT) Received: from [10.1.197.1] (ewhatever.cambridge.arm.com [10.1.197.1]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id B31243F5A1; Mon, 11 Sep 2023 02:21:18 -0700 (PDT) Message-ID: <3c326e7c-4f82-2f40-d92d-8928d8cf773b@arm.com> Date: Mon, 11 Sep 2023 10:21:17 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH] coresight: etm4x: Add ACPI id for THEAD YiTian SOC Content-Language: en-US To: Ruidong Tian , linux-kernel@vger.kernel.org Cc: james.clark@arm.com, coresight@lists.linaro.org, mike.leach@linaro.org, alexander.shishkin@linux.intel.com, linux-arm-kernel@lists.infradead.org, Jay Chen References: <20230911072509.126063-1-tianruidong@linux.alibaba.com> From: Suzuki K Poulose In-Reply-To: <20230911072509.126063-1-tianruidong@linux.alibaba.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/09/2023 08:25, Ruidong Tian wrote: > From: Jay Chen > > Add support for detcting ETE device of THEAD YiTian SOC. > > Signed-off-by: Jay Chen > Signed-off-by: Ruidong Tian > --- > 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);