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=1796292868; b=l8Srx9uCAR5JerEFp1IYIcrl+RqarkCJqFk9zcjJLt/SxemtaIXi2jyEp7N7vxNgUPL7 fjqKqVemQaAMVQstwEVoZrDB2u4ECNqgWCznyu8dgLEfKPmBxnzEXuJ+W6FkYF9valyyz CSCwLNOlnpDVDMzStvZA55ZX7CXwj2jGA3cCxfndlo9O56buoGS0d/ewd65VnDNwuaxzP tr1aXK4lgAEMjfuRNAhKNiK722Qhw/d+ncSSCo12YJRBJw/ypu3yxnnEGOmhnZ83wU/Ie Vrxe7uZLKllEb2VKmLNE5WOLYmNWIrkZGVZAvJXq7oV3m+f8+m6ZlSVnvrLJlkcLv/g== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796292868; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=TICohgbW6jqviIvc8U0d63fJKI6qbLIvYfz0+kdCE8M=; b=f+ZrgKm0wAZs7dRSXO4OhoHW8seAoNQpALF72+5BnjEtV0bwlaf5nK9IpaonhkqCDcFu GcNmNd9THHk/BDFKu95L7PLwdboEy8fuYKbHYsmG4HI9TL6ISp8/kA4CxS5zCx8Q1euCu 6xSTt/MVoIkZSauwl33WZGx3bBPMVqe9rpoAWT4iV16I6b5/Kzr1vg7AQpCU3j8xY8Rkf FhCPz1jHegtKcGn8mUhavlTQh4mpsVdlFpVrjTFaS8BfCkLreyB0s5vzRRIhZh7vEVdTo V5qlXcfTfbHfYxAxF8JyABYVj/dz0MPJseUEybhsod/rjzWVRWLoR2sr6EFDlSltaNw== 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=TW74LUig; 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 777E4606A681 for ; Thu, 3 Dec 2026 10:14:28 +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=TW74LUig Received: by smtp.kernel.org (Postfix) with ESMTPSA id DB6411F008A0; Thu, 3 Dec 2026 10:14:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796292868; bh=TICohgbW6jqviIvc8U0d63fJKI6qbLIvYfz0+kdCE8M=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=TW74LUigKRhX1HXhm03Q/jVSUKQW16bk1uUzvfVo7D/6R3GEc7GkFptGklWFgdYRa sjwZiA0NsVaCZOw+C1Nxq/sErY0le509r0kq074YSdSlEoOOZgeYEfblQkDnN0wDHs YLe1a5S9xa2VX/ehkMvgWPZKZ9zJfCqSWXvuueLhLRjlKyTzGLTyTu30cXGdvxIgeB teaB8QuPKVxY3s0CytdiGZKEmzJnXY/+LiPyQcNZOrgyWGj/iu0zqnWw137LERmAj/ xiGp1Fd2aznutgKcHvlUO/qzW92GhmpSiEZCLOHJG8BwDBUB4D5AsNlYDQZd9uXPRg DN/5QCJX7MbMg== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v13 4/5] dt-bindings: riscv: Add binding for CBQRI controllers Reply-To: sashiko-reviews@lists.linux.dev To: "Drew Fustini" Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org In-Reply-To: <20261203-dfustini-atl-sc-cbqri-dt-v13-4-eaa688b1624c@kernel.org> References: <20261203-dfustini-atl-sc-cbqri-dt-v13-0-eaa688b1624c@kernel.org> <20261203-dfustini-atl-sc-cbqri-dt-v13-4-eaa688b1624c@kernel.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Thu, 03 Dec 2026 10:14:27 +0000 X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found 3 potential issues to consider: - [Low] dt-bindings: riscv: redundant word binding in commit subject - [Low] dt-bindings: riscv: unrelated l2-cache node in binding examples - [Low] dt-bindings: riscv: riscv,cbqri omits else disallowing riscv,cbqri-cache -- commit 63d52e4c1ccf2d770236b537053128d71ffee89a Author: Drew Fustini dt-bindings: riscv: Add binding for CBQRI controllers This commit adds the Device Tree binding schema for RISC-V CBQRI capacity and bandwidth controllers and registers it in MAINTAINERS. > dt-bindings: riscv: Add binding for CBQRI controllers [Severity: Low] The dt-bindings: prefix already states that this patch adds a binding, so Documentation/devicetree/bindings/submitting-patches.rst recommends avoiding the redundant word "binding" in the subject (for example, "dt-bindings: riscv: Add CBQRI controllers"). > diff --git a/Documentation/devicetree/bindings/riscv/riscv,cbqri.yaml b/D= ocumentation/devicetree/bindings/riscv/riscv,cbqri.yaml > new file mode 100644 > index 0000000000000..160b0bc797b18 > --- /dev/null > +++ b/Documentation/devicetree/bindings/riscv/riscv,cbqri.yaml [ ... ] > + riscv,cbqri-cache: > + $ref: /schemas/types.yaml#/definitions/phandle > + description: > + Phandle to the cache node whose capacity this controller allocates. > + Applies to capacity controllers that back a CPU cache. The cache l= evel > + and the harts sharing it are taken from that node's cache topology. > + > +required: > + - compatible > + - reg > + > +allOf: > + - if: > + properties: > + compatible: > + contains: > + const: riscv,cbqri-capacity-controller > + then: > + required: > + - riscv,cbqri-rcid > + - riscv,cbqri-cache [Severity: Low] Should this allOf conditional include an else branch that sets riscv,cbqri-cache to false? Because riscv,cbqri-cache is declared at the top level and only applies to capacity controllers, a bandwidth-controller node carrying it would pass dtbs_check once a vendor compatible replaces the not: {} placeholder. [ ... ] > +examples: > + - | > + l2_cache: l2-cache { > + compatible =3D "cache"; > + cache-level =3D <2>; > + cache-unified; > + cache-size =3D <0xc00000>; > + cache-sets =3D <8192>; > + cache-block-size =3D <64>; > + }; > + > + qos-controller@a21a00c0 { > + compatible =3D "tenstorrent,ascalon-shared-cache-controller", > + "riscv,cbqri-capacity-controller"; > + reg =3D <0xa21a00c0 0xf40>; > + riscv,cbqri-rcid =3D <16>; > + riscv,cbqri-cache =3D <&l2_cache>; > + }; [Severity: Low] Should the l2-cache node be dropped from the example? Per Documentation/devicetree/bindings/writing-schema.rst, binding examples should not include unrelated nodes referenced only by phandles, as phandles in examples do not need to be resolvable. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261203-dfustini-a= tl-sc-cbqri-dt-v13-0-eaa688b1624c@kernel.org?part=3D4