From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6BCF5606A32D for ; Thu, 3 Dec 2026 22:04:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=jfJJpWW2; dkim=fail reason="signature verification failed" (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Tf0HwfIZ 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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=xDkdVbx5P7qpMZOgeDtyTuuB027Er7hdnCWlcxb2nlo=; b=jfJJpWW2xJsFKiCFSx06EMWrq2 tVJ9LMmpukDobMDHE40vXL18LH0qf+ZE6XlZ9+WWwqTwWGMMJMRqoMXaDvAAMKeYJlq7ytj+UWntU EfiDVjO0V+OMRYidWigX+uyGLJfvvKEjhzDnpxgfzDO+HxLm2ZIPx9vi+Z/c3NNbCu7kRZSuiq7wJ dQm2wncFqQACAOVorHh0XEzJOOovy/tyBJy/BwPN2VAaEZjE5Ym1vOo5IVbUyspEm3mLiXMYyH4Zi fI7KqCJysQRY0kEx7dfiCAjLyU1v6vHBYDTZCZkUhqP+MsIi3ylllHExWqvou0Mjw0CZi/2iyt13z YlX0b6Pg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZEuz-0000000G5UY-0eWy; Thu, 03 Dec 2026 22:04:45 +0000 Received: from sea.source.kernel.org ([172.234.252.31]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZEuv-0000000G5UC-2aBX for linux-riscv@lists.infradead.org; Thu, 03 Dec 2026 22:04:43 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id 4368343CE3; Thu, 3 Dec 2026 22:04:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 926381F000C2; Thu, 3 Dec 2026 22:04:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796335481; bh=9Zl2cXYEiVHhG7QqeRj9TE5lFkBQNa/KvKVQHJ8aUzE=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=Tf0HwfIZGCN+fiKiuyTTTKW+Z0CVnNhqjGq0Ox8dTtqARqpfRsS5yr7EPRlNXGHAD WzMLrIxsl5KsWsxIlvuq5b05J09NI1TSmsVUTXs/iNtstTQ1J07Y39zb2wL+EzVyy9 iCS3Y2JGv0scjkGDt14mMVrxOt0/61f/3yHaKXdPpfgIY7JWIo4j8th4H7xniaviiW 1DZmKuiqePu2/3bO9yhhdzHLIMitL3ySBtWdS0f93YgwYo2h7KOtlrehlNQegZr25n WBjkxw0o9+13PJv81e1luoc1MB0IDP6nncM6YMAGKyBAFj45XO5xWu7VO+GHiHYPd0 CV7cj6CloaRuQ== Date: Thu, 3 Dec 2026 14:04:39 -0800 From: Drew Fustini To: Rob Herring Cc: Adrien Ricciardi , Alexandre Ghiti , Albert Ou , Atish Patra , Babu Moger , Ben Horgan , Borislav Petkov , Chen Pei , Conor Dooley , Conor Dooley , Dave Hansen , Dave Martin , Fenghua Yu , Gong Shuai , Gong Shuai , guo.wenjia23@zte.com.cn, James Morse , Kornel =?utf-8?Q?Dul=C4=99ba?= , Krzysztof Kozlowski , liu.qingtao2@zte.com.cn, Liu Zhiwei , Palmer Dabbelt , Paul Walmsley , Peter Newman , Radim =?utf-8?B?S3LEjW3DocWZ?= , Reinette Chatre , Samuel Holland , Sunil V L , Tony Luck , Weiwei Li , yunhui cui , Zhanpeng Zhang , Catalin Marinas , Jonathan Cameron , Shaopeng Tan , Zeng Heng , linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, x86@kernel.org, devicetree@vger.kernel.org, linux-doc@vger.kernel.org Subject: Re: [PATCH v13 4/5] dt-bindings: riscv: Add binding for CBQRI controllers Message-ID: References: <20261203-dfustini-atl-sc-cbqri-dt-v13-0-eaa688b1624c@kernel.org> <20261203-dfustini-atl-sc-cbqri-dt-v13-4-eaa688b1624c@kernel.org> <20261203145832.GA2762559-robh@kernel.org> X-Archived-By: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20261203145832.GA2762559-robh@kernel.org> X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" X-Spam-Status: No, score=-13.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On Thu, Dec 03, 2026 at 08:58:32AM -0600, Rob Herring wrote: > On Thu, Dec 03, 2026 at 01:57:05AM -0800, Drew Fustini wrote: > > Document the device tree binding for RISC-V CBQRI capacity and bandwidth > > controllers. Each controller is named by a device-specific compatible > > followed by the generic compatible. The binding also describes the > > common riscv,cbqri-rcid and riscv,cbqri-mcid properties, and the > > riscv,cbqri-cache phandle, required for capacity controllers, that > > links a capacity controller to the cache whose capacity it allocates. > > > > Reviewed-by: Conor Dooley > > Reviewed-by: Zeng Heng > > Co-developed-by: Adrien Ricciardi > > Signed-off-by: Adrien Ricciardi > > Signed-off-by: Drew Fustini > > --- > > .../devicetree/bindings/riscv/riscv,cbqri.yaml | 98 ++++++++++++++++++++++ > > MAINTAINERS | 1 + > > 2 files changed, 99 insertions(+) [..] > > +examples: > > + - | > > + l2_cache: l2-cache { > > + compatible = "cache"; > > + cache-level = <2>; > > + cache-unified; > > + cache-size = <0xc00000>; > > + cache-sets = <8192>; > > + cache-block-size = <64>; > > + }; > > + > > + qos-controller@a21a00c0 { > > + compatible = "tenstorrent,ascalon-shared-cache-controller", > > + "riscv,cbqri-capacity-controller"; > > + reg = <0xa21a00c0 0xf40>; > > + riscv,cbqri-rcid = <16>; > > + riscv,cbqri-cache = <&l2_cache>; > > Is there any reason why this node can't be the L2 cache? Is this really > a separate block? > > Rob After further discussion on irc, I am going to rework the schema for v14. I will have a separate binding for the Ascalon Shared Cache that describes the cache and include the CBQRI properties from a separate CBQRI binding. There are registers other than CBQRI in the Ascalon Shared Cache MMIO block, so I agree it makes sense to describe it like that. Linux would not touch any of the other SC registers but you made a good point that it is becoming more common for firmware to parse DT as well. Thanks, Drew _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv