From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 882EB3515CF; Sat, 3 Oct 2026 23:05:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791068742; cv=none; b=pX8quyo+IprWef4YG5a3I0LpwFrapRw1/w56AmYn8pv4A80YjTlsAjPZrGC56RF9wr/w5zT2Vndv4xNie4e7cK1//SqiwgSUnRxB/VL9kK93BGeYOkP7Zd11uIW6XrH3JAHepCPfOt1hlkqctZc2an+3EsHvO4zr9hE/S6YjZ1w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791068742; c=relaxed/simple; bh=2gsRRtMv2Z4FqxHe/61bLUyhh3qkJGX/eKsWJFWpMFA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=HZrhHPSC78l0iI4QN0BxJFsmyv02eBlcq1lY2Di0OtmxXk/slsaeJmw3olYRftEUoHKykDUr9mVeVbaU8BWYWlTz2Z3u5PWboJEf7z0HkNPS8E4/u7qCh0KQ+oWvJAdak5hw5hHsAveDGI/QtzgmRY+nW+ngn8fEJx6uMarp/e4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=MwRAgnL8; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="MwRAgnL8" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C3F381F0089B; Sat, 3 Oct 2026 23:05:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1791068741; bh=qao+pMIXUl/3i+MsEDsveP1/Me4CRSfOmI5CYiqCK+A=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=MwRAgnL8lAyCUXMe36JHwaAodmcSouJYauA3IM8z14WIPK+DfnG/cELmPbQvl67sS qapc24g8S7xAsl7wCQNvqZ+k4sqdAgB2j7noay3+L2KFERFhTmz0Ngp1yX8yA7F04a W4bKCzAh87bwZ7GwILqRTPTeBQ3ecoj5I/RYOZui62pJVySnNsQKRBCH2EC9uepham DSZ1SaOrONw1vEBn3fdIpGS9RTVQ1saYWm5YWdYV1R9mfvmGIhGvuH0sovCbEEpbB4 x84xGRl4fnXz0W9L+7abCaL+YAMrRAEFN/hXbXWR6ctRbLAKvjGmqinRDLm9qAlXv6 9FUOXDzN8iJOw== Date: Sun, 4 Oct 2026 00:05:31 +0100 From: Conor Dooley To: Drew Fustini 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 , Rob Herring , Samuel Holland , Sebastian Andrzej Siewior , Clark Williams , Steven Rostedt , Tony Luck , Vasudevan Srinivasan , Ved Shanbhogue , Weiwei Li , yunhui cui , Zhanpeng Zhang , linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, x86@kernel.org, devicetree@vger.kernel.org, linux-rt-devel@lists.linux.dev, linux-doc@vger.kernel.org Subject: Re: [PATCH v9 4/5] dt-bindings: riscv: Add binding for CBQRI controllers Message-ID: <20261004-fender-oink-1646de550f3b@spud> References: <20261003-dfustini-atl-sc-cbqri-dt-v9-0-52fd8be98dcf@kernel.org> <20261003-dfustini-atl-sc-cbqri-dt-v9-4-52fd8be98dcf@kernel.org> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="9U6MfxL1eoZMWu+O" Content-Disposition: inline In-Reply-To: <20261003-dfustini-atl-sc-cbqri-dt-v9-4-52fd8be98dcf@kernel.org> --9U6MfxL1eoZMWu+O Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Oct 03, 2026 at 12:12:29AM -0700, 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 > optional riscv,cbqri-cache phandle that links a capacity controller to > the cache whose capacity it allocates. >=20 > Assisted-by: LLM > Reviewed-by: Conor Dooley > Co-developed-by: Adrien Ricciardi > Signed-off-by: Adrien Ricciardi > Signed-off-by: Drew Fustini > --- > .../devicetree/bindings/riscv/riscv,cbqri.yaml | 97 ++++++++++++++++= ++++++ > MAINTAINERS | 1 + > 2 files changed, 98 insertions(+) >=20 > diff --git a/Documentation/devicetree/bindings/riscv/riscv,cbqri.yaml b/D= ocumentation/devicetree/bindings/riscv/riscv,cbqri.yaml > new file mode 100644 > index 000000000000..0924758ebdde > --- /dev/null > +++ b/Documentation/devicetree/bindings/riscv/riscv,cbqri.yaml > @@ -0,0 +1,97 @@ > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/riscv/riscv,cbqri.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: RISC-V Capacity and Bandwidth QoS Register Interface (CBQRI) cont= roller > + > +description: | > + The RISC-V CBQRI specification defines capacity-controller and > + bandwidth-controller register blocks that allocate cache capacity and = memory > + bandwidth to resource-control IDs (RCIDs) and monitor usage per > + monitoring-counter ID (MCID): > + https://github.com/riscv-non-isa/riscv-cbqri/blob/main/riscv-cbqri.pdf > + > + Allocation and monitoring share one register block, and a controller m= ay > + implement either or both. A driver discovers which at runtime from the > + capabilities register, so the compatible names only the controller typ= e. It > + does not distinguish allocation-only, monitoring-only or combined > + controllers, and no property declares monitoring support. > + > +maintainers: > + - Drew Fustini > + > +properties: > + compatible: > + oneOf: > + - items: > + - enum: > + - tenstorrent,ascalon-shared-cache-controller > + - const: riscv,cbqri-capacity-controller > + - items: > + - {} > + - const: riscv,cbqri-bandwidth-controller I think I lead you up the garden path here actually, it needs to be "- not: {}", "- {}" permits anything. --9U6MfxL1eoZMWu+O Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCasGKOwAKCRB4tDGHoIJi 0rh3AQC9sn2b3xtbezq/LLuqtE017LIOfCkf9Vkinzo7mFnwOwD7Bl1MMdeB57Aj 9puacBsqArtCXFVPNVGPEdBW+bcqtgE= =Hv6j -----END PGP SIGNATURE----- --9U6MfxL1eoZMWu+O--