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
| ||
|
Date: Tue, 22 Feb 2022 18:53:28 +0100 From: Pali Rohár <pali@...nel.org> To: Marek Behún <kabel@...nel.org> Cc: Lorenzo Pieralisi <lorenzo.pieralisi@....com>, Bjorn Helgaas <bhelgaas@...gle.com>, Rob Herring <robh+dt@...nel.org>, Andrew Lunn <andrew@...n.ch>, Thomas Petazzoni <thomas.petazzoni@...tlin.com>, Krzysztof Wilczyński <kw@...ux.com>, Russell King <rmk+kernel@...linux.org.uk>, Gregory Clement <gregory.clement@...tlin.com>, linux-pci@...r.kernel.org, linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org Subject: Re: [PATCH 3/6] dt-bindings: Add 'slot-power-limit-milliwatt' PCIe port property On Tuesday 22 February 2022 18:24:15 Marek Behún wrote: > On Tue, 22 Feb 2022 17:31:55 +0100 > Pali Rohár <pali@...nel.org> wrote: > > > This property specifies slot power limit in mW unit. It is a form-factor > > and board specific value and must be initialized by hardware. > > > > Some PCIe controllers delegate this work to software to allow hardware > > flexibility and therefore this property basically specifies what should > > host bridge program into PCIe Slot Capabilities registers. > > > > The property needs to be specified in mW unit instead of the special format > > defined by Slot Capabilities (which encodes scaling factor or different > > unit). Host drivers should convert the value from mW to needed format. > > > > Signed-off-by: Pali Rohár <pali@...nel.org> > > Signed-off-by: Marek Behún <kabel@...nel.org> > > This patch is not needed, the property already is described in > dtschema. But dtschema with this property is not included in kernel and this file is the only in-kernel documentation. So updating it makes sense.
Powered by blists - more mailing lists