From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0BB16C43458 for ; Wed, 1 Jul 2026 20:39:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: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-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=s8yl7grIYvRTEgKXwnjh2tEQmGmsjeflGZk5Qiz73Cc=; b=U7mv5rSpVxUh0NUHX8GkgJIPhl JUo/PoMOOSBV3WNLotqM63vyzvMWsBwZbWDL5FCowoWdmobnB3TsJdwoh3WkKXjAO9wgzCk85SKVn q2GYxAVIEAoSAlIIqmCM67fiSWurTI1AjSZWY3TJewm0OsqL27qCoIFR03/6VwQOeNIg7HuG5od5y mIM1OdySYSKKkMjZe5XdytWgoV8CUrQNLtEhiZcEPXI9Uula4+UvY1b3LezN0SkIty6CM7iKhNHXF CwzT9VtiqTpAhI8EIFLSMf/QgKW2cmu9WHCGEGBOGJtYZtz2pRuo741WNmu7bKdy3iZ8/JOcPY10/ MmNGS73A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wf1iS-00000002yU6-45cg; Wed, 01 Jul 2026 20:39:28 +0000 Received: from sea.source.kernel.org ([172.234.252.31]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wf1iR-00000002yTo-2Sqi; Wed, 01 Jul 2026 20:39:27 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id 184124004F; Wed, 1 Jul 2026 20:39:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5CC711F000E9; Wed, 1 Jul 2026 20:39:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1782938367; bh=f6QVBJJnOqTAmv9bGgn42fUJj2cY0FZxJ1ME1xdC+T8=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=RJRDi4cwA05SdSW+713uFlPiyHLZCwR49gpm/dBeCn1+LQodBzos5L0rNrOeB3byQ WYhZPYks9Se42SWieNvBWgUMjEsqBcwWOs4xOFFLRMbHi6ddQDqKg30NUNu0SRnybo Dxb53nC6CoI0/DRmyz5F3NPVghBQyDdplb73P47xUpH/v/YS8//CW0poBUhA6iC8QZ umZIFhJEUn1UA3tMpqYUH5xGl95l2jJ2JSaktuQKz/5/5/JCb3OwudfJXCtAean9jS MjQR6siiOHHeuqOsor+6mVOYZFjNM2kgMm41a5faaSghy28LcMtS8/BW+wK19MQomK Bdzqn1x2pljIA== Date: Wed, 1 Jul 2026 21:39:19 +0100 From: Conor Dooley To: Guodong Xu Cc: Jonathan Corbet , Shuah Khan , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Zong Li , Deepak Gupta , Anup Patel , Atish Patra , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Yixun Lan , Chen Wang , Inochi Amaoto , Chen Wang , linux-doc@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, kvm-riscv@lists.infradead.org, Paul Walmsley , Jesse Taube , Charlie Jenkins , Andrew Jones , devicetree@vger.kernel.org, spacemit@lists.linux.dev, sophgo@lists.linux.dev, linux-kselftest@vger.kernel.org, Conor Dooley Subject: Re: [PATCH v5 08/17] dt-bindings: riscv: Require block-size for Zicbom, Zicbop, and Zicboz Message-ID: <20260701-squiggle-aging-459cd99cb2dc@spud> References: <20260701-rva23u64-hwprobe-v2-v5-0-2c61f94a695a@gmail.com> <20260701-rva23u64-hwprobe-v2-v5-8-2c61f94a695a@gmail.com> MIME-Version: 1.0 In-Reply-To: <20260701-rva23u64-hwprobe-v2-v5-8-2c61f94a695a@gmail.com> X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============6012840628299154664==" Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org --===============6012840628299154664== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="dKXZ0SKTAmT4FGH2" Content-Disposition: inline --dKXZ0SKTAmT4FGH2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 01, 2026 at 08:52:21AM -0400, Guodong Xu wrote: > Zicbom, Zicbop, and Zicboz have no default cache block size, so a > devicetree that declares one must also provide the matching > riscv,cbom/cbop/cboz-block-size property. Make it required so a > missing block-size property can be caught by dtbs_check. >=20 > Suggested-by: Conor Dooley > Signed-off-by: Guodong Xu > --- > v5: New patch. > --- > .../devicetree/bindings/riscv/extensions.yaml | 26 ++++++++++++++++= ++++++ > 1 file changed, 26 insertions(+) >=20 > diff --git a/Documentation/devicetree/bindings/riscv/extensions.yaml b/Do= cumentation/devicetree/bindings/riscv/extensions.yaml > index 5ffc40d599c02..f4dd34d446c02 100644 > --- a/Documentation/devicetree/bindings/riscv/extensions.yaml > +++ b/Documentation/devicetree/bindings/riscv/extensions.yaml > @@ -1142,6 +1142,32 @@ allOf: > not: > contains: > const: zilsd > + # All three Zicbo* extensions require their block size property as the= re's no > + # default. > + - if: > + properties: > + riscv,isa-extensions: > + contains: > + const: zicbom I think the way to fix this is to add required: - riscv,isa-extensions to each of these if conditions (not got time to test it right now, sorry) > + then: > + required: > + - riscv,cbom-block-size > + - if: > + properties: > + riscv,isa-extensions: > + contains: > + const: zicbop > + then: > + required: > + - riscv,cbop-block-size > + - if: > + properties: > + riscv,isa-extensions: > + contains: > + const: zicboz > + then: > + required: > + - riscv,cboz-block-size > =20 > additionalProperties: true > ... >=20 > --=20 > 2.43.0 >=20 --dKXZ0SKTAmT4FGH2 Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCakV69wAKCRB4tDGHoIJi 0qZuAPsE7PpkS7Q9Q/QdOXMXVi0vMgDYbeEgMRtzf0lMlv6w6gEA1JDV5vGVvkwY e3dZ2Ec1Eq1CjjFHEnDtDfSSbocyhQw= =AQmB -----END PGP SIGNATURE----- --dKXZ0SKTAmT4FGH2-- --===============6012840628299154664== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv --===============6012840628299154664==--