From patchwork Mon Sep 11 07:25:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ruidong Tian X-Patchwork-Id: 13378874 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 22399EE7FF4 for ; Mon, 11 Sep 2023 07:25:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=IJ+fVn2stwl2/5U1HuZsuwwqGZzcXy+LDw74cHesh40=; b=ZtRa3dtLZtiBIO zQSvbE51WYFcivZVPuzqU4YIdfQ4lTgtl/Ot/nhLnQyuEl1YjocWfXX2NpGOSdfC70bBdhKFwxsAv dQ1k6aonw/3YlDVNe4GoBuVnace9ovdy69KQjk5ziOC9EVMYb4//gL7J1KmhUrLQgb2hc8Sqe8vPI IBI+g04tWY5SkGPrOmJ+aKczD2vXx7POFKLcEe8jA7mmPnyRek6k5Xvq2dEdGs6WiNvKt4Rxn6vKr Pa+fZ+BwTFnznhBiJyI9oYBSTYY2jiTNTnk8DLZYGXRMYSuyUxna/EaFH6yqTp/SCzmue7mk71XAq ZVpAIORbJux3T2ObJDmA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qfbIP-00HPFW-2H; Mon, 11 Sep 2023 07:25:21 +0000 Received: from out30-101.freemail.mail.aliyun.com ([115.124.30.101]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qfbIM-00HPEu-20 for linux-arm-kernel@lists.infradead.org; Mon, 11 Sep 2023 07:25:19 +0000 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R601e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046056;MF=tianruidong@linux.alibaba.com;NM=1;PH=DS;RN=9;SR=0;TI=SMTPD_---0VrnkK5U_1694417111; Received: from localhost(mailfrom:tianruidong@linux.alibaba.com fp:SMTPD_---0VrnkK5U_1694417111) by smtp.aliyun-inc.com; Mon, 11 Sep 2023 15:25:13 +0800 From: Ruidong Tian To: linux-kernel@vger.kernel.org Cc: james.clark@arm.com, coresight@lists.linaro.org, suzuki.poulose@arm.com, mike.leach@linaro.org, alexander.shishkin@linux.intel.com, linux-arm-kernel@lists.infradead.org, Jay Chen , Ruidong Tian Subject: [PATCH] coresight: etm4x: Add ACPI id for THEAD YiTian SOC Date: Mon, 11 Sep 2023 15:25:09 +0800 Message-Id: <20230911072509.126063-1-tianruidong@linux.alibaba.com> X-Mailer: git-send-email 2.33.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230911_002518_842330_BEC7E7FF X-CRM114-Status: UNSURE ( 7.39 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 */ {} }; MODULE_DEVICE_TABLE(acpi, etm4x_acpi_ids);