Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp1538283rdg; Sat, 14 Oct 2023 06:26:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHYMS+/FDr99A3ydsUqR5ZUOH5GsaHN9wx+qOp7t/Z5UyqUKNlRFMgnzQo8WfZcmI4IhKzp X-Received: by 2002:a17:90b:94:b0:27c:f1f8:2628 with SMTP id bb20-20020a17090b009400b0027cf1f82628mr12354503pjb.47.1697289990100; Sat, 14 Oct 2023 06:26:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697289990; cv=none; d=google.com; s=arc-20160816; b=arXiB3GCTLmzGU+KcD9C3lNlhR/PAVCqpvRL8bPaHjFqdxS3MxZjyIm7PLeGaszbvG yeY14qFoqwxh4ldoyD7y2miaXDzaUNHYdPj01FRoQZumj2XRxRSKAvvJJZesNSsu6qTD TUVFfjYyVokVEvDrDqjZYxLONdmEvUFYMvE+r0krv/0B03WfeiM4hU7aT1WPhqy2du1s mzcM6fm+uquk/HXCd4a6j8G2xcrumd2x1aPOfQ2JszPwfpjSjjZ+ANQMxPxjyAcvju0C +8mFb4Cd9JHYR6FEFkRpDXeRPx4SmPIsP7S+GrlsbQdKy8ozg1jzIO//QZTGlSBYCT3M qCHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Fqcgssy5xlDsvY/3BvmYx7p+IE6QFRTyEtA8r1CtXn0=; fh=LY1zxoLYOalJ8jYdo6pG09ZlOBJADCG8uEWqxdhujoE=; b=be7u0+v6FeahxPZMnMgTGBCcg7vyiomgYoJ8Q0TnJy45JG3Fk1VNgpedLgN562MLXX 9/b/EnqNi7IyM0Q4TxFuWzeGKKXnbhhjydIxv1jSqEQY0AkaFpS6VStm+VL2Aim2XUNJ KeJzUPRpcT2p4g2DHaYFdLT9J9VbqCgFG2t8hyK4BIsffZaLvcl/89GZvisspRjF4p/U jCXevBuhkSbitEWJ84Z20RF5A9mVf2nDu/61G8HatbQs4Ji3XyqKDRUnqGFWWyhqY/yz Om64+br2ctkSGrJRFNzduyQkS9c4IObzTSCy9npjY40dqgHkU6+ST3P1PqXSfxIhF12y juIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OlLa0Ulc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id b9-20020a17090ae38900b00279202f4151si2183100pjz.45.2023.10.14.06.26.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Oct 2023 06:26:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OlLa0Ulc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id CC0A5809BBB5; Sat, 14 Oct 2023 06:26:22 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233060AbjJNNZ6 (ORCPT + 99 others); Sat, 14 Oct 2023 09:25:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233033AbjJNNZ5 (ORCPT ); Sat, 14 Oct 2023 09:25:57 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 15E3BC2 for ; Sat, 14 Oct 2023 06:25:55 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9506EC433C7; Sat, 14 Oct 2023 13:25:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697289955; bh=xyAHBtwF6qf+q9F9kmfhHuJJAP88d/S1vOjvN3+mXHw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OlLa0Ulc0DKDp2Ct10MC5Zsba52hUu+14ZbgGrlmTFVOb+MSAqT6NFF3knJbmDzqZ xXOuQvyOL/5JfqzX7hgYx3FHfjHw4KFxg3NaJpm3SH4+pnAxmNmWndifO5AapuoMuC W2aQSHZEA+Ut5u4ayVY3NM4r+7zfLMYrU89VOuRA74QbdcnNEYtofU6mAJPNUcx8xE ZrA3QUmfdCmFRLCcmGf3FotFK+dyRS6iYvapj4jIaX7Heh5xxjbT9zlMOuLcY/2/go V6iA8DtVFoHP14QMrfr27cj1Shnb8as0vDk2qKu/PONC/9R4WFQ3dFZ5YIM53l2DlT T9MYJd/YjQlQg== Date: Sat, 14 Oct 2023 14:25:50 +0100 From: Conor Dooley To: Linu Cherian Cc: Mike Leach , "suzuki.poulose@arm.com" , "james.clark@arm.com" , "leo.yan@linaro.org" , "linux-arm-kernel@lists.infradead.org" , "coresight@lists.linaro.org" , "linux-kernel@vger.kernel.org" , "robh+dt@kernel.org" , "krzysztof.kozlowski+dt@linaro.org" , "conor+dt@kernel.org" , "devicetree@vger.kernel.org" , Sunil Kovvuri Goutham , George Cherian Subject: Re: [EXT] Re: [PATCH 1/7] dt-bindings: arm: coresight-tmc: Add "memory-region" property Message-ID: <20231014-carbon-slept-9464499a4156@spud> References: <20230929133754.857678-1-lcherian@marvell.com> <20230929133754.857678-2-lcherian@marvell.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="xODWgUT9EMkdmFwT" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Sat, 14 Oct 2023 06:26:23 -0700 (PDT) --xODWgUT9EMkdmFwT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Oct 14, 2023 at 11:36:37AM +0000, Linu Cherian wrote: > > > + - description: Reserved meta data memory. Used for ETR and ETF= sinks. > > > + > > > + memory-region-names: > > > + items: > > > + - const: trace-mem > > > + - const: metadata-mem > > > + > >=20 > > Is there a constraint required here? If we are using the memory area for > > trace in a panic situation, then we must have the meta data memory area > > defined? > > Perhaps a set of names such as "etr-trace-mem", "panic-trace-mem" , > > "panic-metadata-mem", were the first is for general ETR trace in non-pa= nic > > situation and then constrain the "panic-" areas to appear together. > > The "etr-trace-mem", "panic-trace-mem" could easily point to the same > > area. > >=20 > As noted above, we do not have other generic use case for these reserved = regions now. > Hence two regions/names, panic-trace-mem and panic-metadata-mem with cons= traints kept as > minItems: 2 and maxItems: 2 would suffice ? Whatever you do, please delete the -mem suffix. --xODWgUT9EMkdmFwT Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZSqWzgAKCRB4tDGHoIJi 0qX6AP9zu1/zSvIKb+Or0bUn+DYlqMtR8PQFTUOPeVyvcHN8SwEA1kUb5kBtLo7/ /tHTuGBcFv3oHZR+As70GVeHsRHGtwA= =JnQT -----END PGP SIGNATURE----- --xODWgUT9EMkdmFwT--