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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260120-ingenious-auk-of-enrichment-eae4f9@quoll>
Date: Tue, 20 Jan 2026 08:55:37 +0100
From: Krzysztof Kozlowski <krzk@...nel.org>
To: "Rob Herring (Arm)" <robh@...nel.org>
Cc: Miquel Raynal <miquel.raynal@...tlin.com>, 
	Richard Weinberger <richard@....at>, Vignesh Raghavendra <vigneshr@...com>, 
	Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley <conor+dt@...nel.org>, 
	Brian Norris <computersforpeace@...il.com>, Kamal Dasu <kdasu.kdev@...il.com>, 
	William Zhang <william.zhang@...adcom.com>, Nick Terrell <terrelln@...com>, David Sterba <dsterba@...e.com>, 
	Rafał Miłecki <rafal@...ecki.pl>, Simon Glass <sjg@...omium.org>, 
	Linus Walleij <linusw@...nel.org>, Ulf Hansson <ulf.hansson@...aro.org>, 
	Marcus Folkesson <marcus.folkesson@...il.com>, Tony Lindgren <tony@...mide.com>, 
	Roger Quadros <rogerq@...nel.org>, Hauke Mehrtens <hauke@...ke-m.de>, linux-mtd@...ts.infradead.org, 
	devicetree@...r.kernel.org, linux-kernel@...r.kernel.org, linux-mmc@...r.kernel.org
Subject: Re: [PATCH v2 06/10] dt-bindings: mtd: partitions: Drop
 partitions.yaml

On Mon, Jan 19, 2026 at 07:48:27PM -0600, Rob Herring (Arm) wrote:
> The partitions.yaml schema is an unusual structure in that it includes
> all possible partition types, and it disables the normal matching by
> compatible strings. As partitions.yaml has nothing to match on, it is
> only applied when explicitly referenced. The use of "oneOf" also results
> in misleading warnings which are difficult to understand. Drop
> partitions.yaml and rely on the standard compatible matching instead.
> 
> The "mmc-card" case previously allowed any partition type, but now only
> allows "fixed-partitions". There aren't any users and the original
> intent appeared to be only for "fixed-partitions".
> 
> Signed-off-by: Rob Herring (Arm) <robh@...nel.org>
> ---
>  .../devicetree/bindings/mmc/mmc-card.yaml          | 20 ++++--------
>  Documentation/devicetree/bindings/mtd/mtd.yaml     |  2 +-
>  .../mtd/partitions/arm,arm-firmware-suite.yaml     |  2 --
>  .../mtd/partitions/brcm,bcm4908-partitions.yaml    |  2 --
>  .../partitions/brcm,bcm947xx-cfe-partitions.yaml   |  2 --
>  .../mtd/partitions/linksys,ns-partitions.yaml      |  2 --
>  .../bindings/mtd/partitions/partitions.yaml        | 36 ----------------------
>  .../devicetree/bindings/mtd/ti,davinci-nand.yaml   |  4 ++-
>  8 files changed, 10 insertions(+), 60 deletions(-)

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

Best regards,
Krzysztof


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ