Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp27851297rwd; Tue, 4 Jul 2023 08:43:24 -0700 (PDT) X-Google-Smtp-Source: APBJJlGVuvVExRmLb8+hB/nfYp2X2G71wHVjbZxIw+WmQWqUvNt0sfb9ModVtX9BQY6/Ot/0mV4p X-Received: by 2002:a17:902:e84a:b0:1b8:33d4:77f8 with SMTP id t10-20020a170902e84a00b001b833d477f8mr17279718plg.23.1688485404266; Tue, 04 Jul 2023 08:43:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688485404; cv=none; d=google.com; s=arc-20160816; b=nCZ/ObN/H3OtEMs9xXd5FZaL23nlLP/PPzOh29trZuuwsdlq38oes/m0p8FJB9JjuZ EF9deq5bXthPInLttZDr409CwrDXcsm+xj/QQn0CG1rpc9DfiEw2NfS7IGZTpj+6/Il+ vnQZUw9qyASzPP0CsZGFq2dMHEVomN6SDpOmbYdlFh6SZGGCFWb7l7MNu91xsfAlB1i3 sxnIBhnyzrDYTNDjq3PgfYjdb0OZ7gtBd4ZSHtfKfLRkIkir1XC/NRmzH69ClGAkijRb fSSVU6A9SjctA9d85XAdJ/G9CgTgCYZfyGNFxGIjD4RzV3NsM5nUE1fObrYZV70NOl5H 3v/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id; bh=Jled65DDWTQYbSF0vCYykQVtA/nJTlsNRqsjBd5g1lQ=; fh=jGtEN9mAS7mEtl/xoDkh9lD/MMDrOJ45LKhSwG257vA=; b=B/1GaMivwjQb5iVg4ozn7871U8L0yj2WFdEq43V5J4r5PbcEyo2KidaKmyjwBYqCgx vH8N/UXUJpWjcOai531omq/BH9M6C9BZjzYFiorxBUxC1FAGv9egZJBZplmu+5C/pmFv OtdwashtYSir1mD6MNYll1culT6OXEyhKU2szQZCp1xe/+3JZOfm2zAblYtnp1U1dgqK zV8VIJirRvy20a+xOIsqIoT3VRdx7Ituu9CWPTW9X+D5eAHvpwzgUeL/JkZe+KgbIVAT FZ+M59YmrHf76V0bGL4aen5aa6jWOhuFhCDqMScozuU0B3t7iv2heBUDcOCP4rDxudW/ 4PQg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o3-20020a170902d4c300b001b8a54f99d2si2075390plg.427.2023.07.04.08.43.09; Tue, 04 Jul 2023 08:43:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231230AbjGDPUY (ORCPT + 99 others); Tue, 4 Jul 2023 11:20:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229539AbjGDPUX (ORCPT ); Tue, 4 Jul 2023 11:20:23 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E69FDBD; Tue, 4 Jul 2023 08:20:21 -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 25D831576; Tue, 4 Jul 2023 08:21:04 -0700 (PDT) Received: from [10.57.34.139] (unknown [10.57.34.139]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E0DCF3F73F; Tue, 4 Jul 2023 08:20:19 -0700 (PDT) Message-ID: <33362029-3d5b-b16a-27e7-578df34f0ede@arm.com> Date: Tue, 4 Jul 2023 16:20:18 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH 1/1] arm64: dts: imx8mp: Add coresight trace components To: Frank Li , imx@lists.linux.dev, Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , open list Cc: coresight@lists.linaro.org References: <20230505195151.1874071-1-Frank.Li@nxp.com> From: Suzuki K Poulose In-Reply-To: <20230505195151.1874071-1-Frank.Li@nxp.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/05/2023 20:51, Frank Li wrote: > Add coresight trace components (ETM, ETF, ETB and Funnel). > > ┌───────┐ ┌───────┐ ┌───────┐ > │ CPU0 ├─►│ ETM0 ├─►│ │ > └───────┘ └───────┘ │ │ > │ │ > ┌───────┐ ┌───────┐ │ ATP │ > │ CPU1 ├─►│ ETM1 ├─►│ │ > └───────┘ └───────┘ │ │ > │ FUNNEL│ > ┌───────┐ ┌───────┐ │ │ > │ CPU2 ├─►│ ETM2 ├─►│ │ > └───────┘ └───────┘ │ │ ┌─────┐ ┌─────┐ > │ │ │ │ │ │ > ┌───────┐ ┌───────┐ │ │ │ M7 │ │ DSP │ > │ CPU3 ├─►│ ETM3 ├─►│ │ │ │ │ │ > └───────┘ └───────┘ └───┬───┘ └──┬──┘ └──┬──┘ AXI > │ │ │ ▲ > ▼ ▼ ▼ │ > ┌───────────────────────────┐ ┌─────┐ ┌─┴──┐ > │ ATP FUNNEL ├──►│ETF ├─► │ETR │ > └───────────────────────────┘ └─────┘ └────┘ > > Signed-off-by: Frank Li > --- > arch/arm64/boot/dts/freescale/imx8mp.dtsi | 179 ++++++++++++++++++++++ > 1 file changed, 179 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi > index a19224fe1a6a..0fa74477b9e1 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi > @@ -304,6 +304,185 @@ soc: soc@0 { > nvmem-cells = <&imx8mp_uid>; > nvmem-cell-names = "soc_unique_id"; > > + etm0: etm@28440000 { > + compatible = "arm,coresight-etm4x", "arm,primecell"; > + reg = <0x28440000 0x10000>; > + arm,primecell-periphid = <0xbb95d>; Why is this needed (and for all the ETMs) ? Suzuki