lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20251216-harrier-of-algebraic-diversity-83bb94@quoll>
Date: Tue, 16 Dec 2025 07:22:28 +0100
From: Krzysztof Kozlowski <krzk@...nel.org>
To: "Rob Herring (Arm)" <robh@...nel.org>
Cc: Krzysztof Kozlowski <krzk+dt@...nel.org>, 
	Conor Dooley <conor+dt@...nel.org>, Nathan Chancellor <nathan@...nel.org>, 
	Nicolas Schier <nsc@...nel.org>, devicetree@...r.kernel.org, linux-kernel@...r.kernel.org, 
	linux-kbuild@...r.kernel.org
Subject: Re: [PATCH] dt-bindings: kbuild: Support single binding targets

On Mon, Dec 08, 2025 at 04:43:03PM -0600, Rob Herring (Arm) wrote:
> Running the full 'make dt_binding_check' is slow. A shortcut is to set
> DT_SCHEMA_FILES env variable to a substring of DT schema files to test.
> It both limits which examples are validated and which schemas are used
> to validate the examples. This is a problem because errors from other
> schemas are missed. What makes validation slow is checking all examples,
> so we really just need a way to test a single example.
> 
> Add a %.yaml target to validate the schema and validate the example:
> 
> make example-schema.yaml
> 
> The behavior for 'make dt_binding_check DT_SCHEMA_FILES=example-schema'
> is unchanged. Really it should mirror dtbs_check and validate all the
> examples with a subset of schemas, but there are lots of users of
> expecting the existing behavior.
> 
> Signed-off-by: Rob Herring (Arm) <robh@...nel.org>
> ---
>  Documentation/devicetree/bindings/Makefile         |  5 ++++-
>  .../devicetree/bindings/writing-schema.rst         | 12 ++++++++----
>  Makefile                                           | 14 ++++++++++----
>  3 files changed, 22 insertions(+), 9 deletions(-)

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@....qualcomm.com>

Best regards,
Krzysztof


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ