From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796335481; b=haLm27FHHVQs/j/ydr6QjXg0kYIuCZu0qmJXVSG1MDyjzd1x9gxGxmDxsaaYQc/Uxjkl asDOtrIsWXNqad4WU8juZqbPGoABqIyb17hAL8h6aXt0oIo3XCLA5wnWH+RVSTppTmdMc nSvhYBQmvR6+exQ/WENdmqkd/wE5LDbh+dfK8TmqjJitCqt2lC4DieYeaO+rLFiGPs4/t GeEefA9lgfvwE85LJgBahI1zN3wu27KVwufqAI7F9UAtTHJvf8hYwd5p6d8ipgla5Pw15 lPQ+1P6B9T3FjnZbvnAsiLZgMJoriwXWgc21a+nal5DnmCUX9Y64Iv2Bphjn/ra1i8w== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796335481; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=9Zl2cXYEiVHhG7QqeRj9TE5lFkBQNa/KvKVQHJ8aUzE=; b=XMK8QLERJbaAD8hZslUeKLXappmYy72SEJLu8pbmSi+kEpsPI15syzCYE4OU7tMljMtF CIGWQcgglmstS7URu+DJlsVT/Q5rWgc8YmlXWyhIKIMx7BpJbg8KXz0sEIZV3uNT8Aa+G Pkcv2TLpJ8O49ZDt46egZe9MYNqLHGGAaJJ9mGwYnTcZ0tHBGTSxJnDE2EjgzpLa9FzAI XA2p60YJg7pT/uEzUakqt0YyQ0Z8L2+I1SqWJr7AeoVxZTDSPz/hYmPfQ/YcIVCRvipM9 /FrfTdFhtf4Cw9avP8X/qP1O+bqx+qyD8dNHBxzNwlrIVib1KSY/69xGfScV70LwMUg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Tf0HwfIZ; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 885F1606A322; Thu, 3 Dec 2026 22:04:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Tf0HwfIZ 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-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261203145832.GA2762559-robh@kernel.org> 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