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]
Date:	Tue, 4 Aug 2015 18:27:36 +0100
From:	Mark Brown <broonie@...nel.org>
To:	Rob Herring <robherring2@...il.com>
Cc:	Sagar Dharia <sdharia@...eaurora.org>,
	Greg Kroah-Hartman <gregkh@...uxfoundation.org>, bp@...e.de,
	poeschel@...onage.de, Thierry Reding <treding@...dia.com>,
	gong.chen@...ux.intel.com, andreas.noever@...il.com,
	Alan Cox <alan@...ux.intel.com>,
	Mathieu Poirier <mathieu.poirier@...aro.org>, daniel@...ll.ch,
	oded.gabbay@....com, jkosina@...e.cz, sharon.dvir1@...l.huji.ac.il,
	Joe Perches <joe@...ches.com>,
	David Miller <davem@...emloft.net>,
	James Hogan <james.hogan@...tec.com>,
	michael.opdenacker@...e-electrons.com,
	Daniel Thompson <daniel.thompson@...aro.org>,
	Rob Herring <robh+dt@...nel.org>,
	Pawel Moll <pawel.moll@....com>,
	Mark Rutland <mark.rutland@....com>,
	Ian Campbell <ijc+devicetree@...lion.org.uk>,
	Kumar Gala <galak@...eaurora.org>,
	"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	kheitke@...ience.com, mlocke@...eaurora.org,
	Andy Gross <agross@...eaurora.org>,
	linux-arm-msm <linux-arm-msm@...r.kernel.org>
Subject: Re: [PATCH V3 2/6] of/slimbus: OF helper for SLIMbus

On Mon, Aug 03, 2015 at 11:13:55AM -0500, Rob Herring wrote:
> On Mon, Aug 3, 2015 at 1:59 AM, Sagar Dharia <sdharia@...eaurora.org> wrote:

> > +Optional:
> > +- compatible   - Slave devices can use compatible field to have a name.
> > +               If this field is missing, name of the device will be
> > +               determined using slave's enumeration address.
> > +               (e.g. in the example below, slave's name will be:
> > +               0x217:0x60:0x1:0x0)

> Are devices discoverable and uniquely identifiable? This would be
> something like a VID/PID which can be read in a generic way. It looks
> like the address contains this info, but can you discover the
> addresses of devices on the bus? If not compatible should not be
> optional.

Yes, the bus is enumerable.  However in essentially all implementations
devices won't enumerate without some additional non-standard work being
done to power them on since applications tend to be extremely power
sensitive relative to the basic operating cost of the bus.  Which is
entertaining.

This probably means that the binding needs to say that the compatible is
optional but that for all practical purposes Linux requires it until
such time as someone decides it's worth supporting systems that can
usefully enumerate.

Download attachment "signature.asc" of type "application/pgp-signature" (474 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ