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 X-Spam-Level: X-Spam-Status: No, score=-14.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B0578C433DB for ; Mon, 4 Jan 2021 18:17:27 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 62CB5216C4 for ; Mon, 4 Jan 2021 18:17:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 62CB5216C4 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=fpG/bMdlIwxkeQBnNE/e8oSWFIgWGhwqwMXbaEY3qKw=; b=B7h3QjOJdxN4MSnUrcGzn48Rr CE/VQwOICd4VctEeyyfcE5RkhYVUce1YvcI+sNJ+kZ/WMM/+GRX2gC6woaSTipqcfs32ztxNDk0lq Ew3EoIJBRGzm66NkXrBudzoXhjIzoB8hJUO9rGOG5c5a7u3QuQS1iXLcvOg8ginf9WYNvtUJRR/aA Vegtc0/WCizdjLvdFO3NBxllGOJ4Z/eexqFdTXKVHMXDIHVWQ+p/dKaE2KSyVVw5paqWKJrbvvNm3 79C7N1nacdBSXZk22/GaHA81uRdJVQEh5alIroyALs1TwTH1MiymYp7Kw57331bl41HFsUTGFxYGM 1biMuNADw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kwUOd-0002wl-48; Mon, 04 Jan 2021 18:15:59 +0000 Received: from mail-pj1-x1031.google.com ([2607:f8b0:4864:20::1031]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kwUOa-0002wN-0L for linux-arm-kernel@lists.infradead.org; Mon, 04 Jan 2021 18:15:57 +0000 Received: by mail-pj1-x1031.google.com with SMTP id b5so80905pjk.2 for ; Mon, 04 Jan 2021 10:15:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=qlJz3MPXf5B/lkmLqteh5JmtegRMOP7WB6D/3515x34=; b=uuoXjZHVb0uXZDct2hESQkXhwHbA9dpI/XSWZ858Igyd525ZYlmwjDPQ7k0SaYlV7Z feUcuFH+G9i78m8rWHHhfY2FEBNSM8TcEu4CxKw5MKqd6yhQ9RaY+R+h+4fuhORoy7D4 m5++eqpEmMXymIgT0bSKacUhOrogPhNPCveS8LrnQN2f6OmKapIWAWzsGe6hQIDL6Ix8 UKfzJLQHgUH48dBNbG9d+8DK+FnBECsG24Y+fmRSsAjm7Lkk29ENprni5nOyGcRURZ/E u9tVzcrNEBKDYP9lf2PBZ0eBNKBG98DB3ZhAq8RPD/hCaepCvAMXRz/90cgQXe+wr9gr ef5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=qlJz3MPXf5B/lkmLqteh5JmtegRMOP7WB6D/3515x34=; b=qsdLaS2yR0N+x2xNJkLXOYFZWOqNRZjkk1sYvz51o+OKqlmPRbxNRMkiJqgg5DYdnY qgU+ic/IOYXE4z77DTZ9N6iMUrf+MeKaq/JyAoac/fNcqsmvWoDy0qQ+l0R6KAK8kRe2 51WpbvUbhPmEKEclZSDopj/n19ICM7ZojhpMD5el/papEKIV4mw+Cy2GSHGSMxt1kqGU fhxGVxo41hpnNAONu0skTBJ4hs1YWDVG1xL/aR2nNKa2QZeIa1+p1973B+Wh9tj89yTe NFcUICYlV5jKt9biG7ORaG93dsXg3pcTpPZq20GQ/xCCkEbYcz5mqPpSgnJ7tGLc17aB e+aw== X-Gm-Message-State: AOAM532YMUjfYtf9lvu1XsEZJfjD9aCKGqvVm1nlv4uVb2wobumgXwJT ca3fVxECvtsyuTyGhI776ZjIeQ== X-Google-Smtp-Source: ABdhPJyl8A5Klo+A2Isr0dqOyZo3PSp4vR5pTue9lpMDm07o40T1XqxFtPt7Erj2uXAaggWb+FXsUA== X-Received: by 2002:a17:90a:638a:: with SMTP id f10mr91675pjj.191.1609784152689; Mon, 04 Jan 2021 10:15:52 -0800 (PST) Received: from xps15 (S0106889e681aac74.cg.shawcable.net. [68.147.0.187]) by smtp.gmail.com with ESMTPSA id cq15sm55902pjb.27.2021.01.04.10.15.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Jan 2021 10:15:51 -0800 (PST) Date: Mon, 4 Jan 2021 11:15:49 -0700 From: Mathieu Poirier To: Suzuki K Poulose Subject: Re: [PATCH 06/11] dts: bindings: Document device tree bindings for ETE Message-ID: <20210104181549.GB2702940@xps15> References: <1608717823-18387-1-git-send-email-anshuman.khandual@arm.com> <1608717823-18387-7-git-send-email-anshuman.khandual@arm.com> <20210103170216.GA4048658@robh.at.kernel.org> <9d19b169-b037-20b1-7c00-b2ba2194addd@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <9d19b169-b037-20b1-7c00-b2ba2194addd@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210104_131556_369178_875FB862 X-CRM114-Status: GOOD ( 29.94 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Anshuman Khandual , coresight@lists.linaro.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Linu Cherian , linux-arm-kernel@lists.infradead.org, Mike Leach Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Jan 04, 2021 at 02:42:08PM +0000, Suzuki K Poulose wrote: > Hi Rob, > > On 1/3/21 5:02 PM, Rob Herring wrote: > > On Wed, Dec 23, 2020 at 03:33:38PM +0530, Anshuman Khandual wrote: > > > From: Suzuki K Poulose > > > > > > Document the device tree bindings for Embedded Trace Extensions. > > > ETE can be connected to legacy coresight components and thus > > > could optionally contain a connection graph as described by > > > the CoreSight bindings. > > > > > > Cc: devicetree@vger.kernel.org > > > Cc: Mathieu Poirier > > > Cc: Mike Leach > > > Cc: Rob Herring > > > Signed-off-by: Suzuki K Poulose > > > Signed-off-by: Anshuman Khandual > > > --- > > > Documentation/devicetree/bindings/arm/ete.txt | 41 +++++++++++++++++++++++++++ > > > 1 file changed, 41 insertions(+) > > > create mode 100644 Documentation/devicetree/bindings/arm/ete.txt > > > > Bindings are in schema format now, please convert this. > > > > Sure, will do that. > > > > > > > diff --git a/Documentation/devicetree/bindings/arm/ete.txt b/Documentation/devicetree/bindings/arm/ete.txt > > > new file mode 100644 > > > index 0000000..b52b507 > > > --- /dev/null > > > +++ b/Documentation/devicetree/bindings/arm/ete.txt > > > @@ -0,0 +1,41 @@ > > > +Arm Embedded Trace Extensions > > > + > > > +Arm Embedded Trace Extensions (ETE) is a per CPU trace component that > > > +allows tracing the CPU execution. It overlaps with the CoreSight ETMv4 > > > +architecture and has extended support for future architecture changes. > > > +The trace generated by the ETE could be stored via legacy CoreSight > > > +components (e.g, TMC-ETR) or other means (e.g, using a per CPU buffer > > > +Arm Trace Buffer Extension (TRBE)). Since the ETE can be connected to > > > +legacy CoreSight components, a node must be listed per instance, along > > > +with any optional connection graph as per the coresight bindings. > > > +See bindings/arm/coresight.txt. > > > + > > > +** ETE Required properties: > > > + > > > +- compatible : should be one of: > > > + "arm,embedded-trace-extensions" > > > + > > > +- cpu : the CPU phandle this ETE belongs to. > > > > If this is 1:1 with CPUs, then perhaps it should be a child node of the > > CPU nodes. > > Yes, it is 1:1 with the CPUs. I have tried to keep this aligned with that of > "coresight-etm4x". The same driver handles both. The only reason why this > was separated from the "coresight.txt" is to describe the new configurations > possible (read, TRBE). Would it be possible to keep the CPU handle rather than moving things under the CPU nodes? ETMv3.x and ETMv4.x are using a handle and as Suzuki points out ETE and ETMv4.x are sharing the same driver. Proceeding differently for the ETE would be terribly confusing. > > That said, I am happy to move this under the CPU, if Mathieu is happy with > the diversion. > > Thanks for the review. > > Suzuki _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel