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
| ||
|
Message-ID: <trinity-68e1ed73-5a31-42d1-838e-0a837e686c4a-1646474868401@3c-app-gmx-bap19> Date: Sat, 5 Mar 2022 11:07:48 +0100 From: Frank Wunderlich <frank-w@...lic-files.de> To: Rob Herring <robh@...nel.org> Cc: Frank Wunderlich <linux@...web.de>, devicetree@...r.kernel.org, Damien Le Moal <damien.lemoal@...nsource.wdc.com>, Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>, Hans de Goede <hdegoede@...hat.com>, Jens Axboe <axboe@...nel.dk>, "open list:LIBATA SUBSYSTEM (Serial and Parallel ATA drivers)" <linux-ide@...r.kernel.org>, "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, Heiko Stuebner <heiko@...ech.de>, Peter Geis <pgwipeout@...il.com>, Michael Riesch <michael.riesch@...fvision.net>, linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>, "open list:ARM/Rockchip SoC..." <linux-rockchip@...ts.infradead.org>, Ray Jui <rjui@...adcom.com>, Scott Branden <sbranden@...adcom.com>, "maintainer:BROADCOM BCM7XXX ARM ARCHITECTURE" <bcm-kernel-feedback-list@...adcom.com> Subject: Aw: Re: Re: [PATCH v4 1/5] dt-bindings: Convert ahci-platform DT bindings to yaml Hi > Gesendet: Samstag, 05. März 2022 um 00:37 Uhr > Von: "Rob Herring" <robh@...nel.org> > > > > + ports-implemented: > > > > + $ref: '/schemas/types.yaml#/definitions/uint32' > > > > + description: > > > > + Mask that indicates which ports that the HBA supports > > > > + are available for software to use. Useful if PORTS_IMPL > > > > + is not programmed by the BIOS, which is true with > > > > + some embedded SoCs. > > > > + maxItems: 1 > > > > > > A uint32 is only ever 1 item. Drop. > > > > > > IIRC, isn't the max here 0xff? Add constraints. > > > > i've found it only set to 0x1 so i have currently set the maximum to 0x1, is this ok? > > If some higher value is needed binding needs to be touched... > > There's a spec for it, so no need to look at what's used. Calxeda AHCI > had 5 ports IIRC. as far as i understand code in libahci.c line 535+ [1] i guess i need to set lower 5 bits to 1 for 5 ports, right? resulting in max value 0x1f > > now i have only the marvell-errors about incomplete sata-port subnode (without phy/target-supply) like i mention in the patch...how to proceed with this? > > So the child nodes are incomplete? They should be disabled then > (status = "disabled") and that turns off required properties checks. thanks, have disable the nodes and reenable them where phys/target-supply was added [2]... now the dtbs_check is clean [1] https://elixir.bootlin.com/linux/v5.17-rc6/source/drivers/ata/libahci.c#L535 [2] https://github.com/frank-w/BPI-R2-4.14/commits/5.17-next-20220225 regards Frank
Powered by blists - more mailing lists