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:	Mon, 14 Mar 2011 21:10:31 +0000
From:	Mark Brown <broonie@...nsource.wolfsonmicro.com>
To:	Greg KH <greg@...ah.com>
Cc:	andy.green@...aro.org, "Rafael J. Wysocki" <rjw@...k.pl>,
	linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
	patches@...aro.org
Subject: Re: [RFC PATCH 3/4] PLATFORM: Introduce async platform_data attach
	api

On Mon, Mar 14, 2011 at 01:54:32PM -0700, Greg KH wrote:
> On Mon, Mar 14, 2011 at 08:38:53AM +0000, Andy Green wrote:

> > For sure, in any other bus, we will never have this discussion about
> > if the device driver should use relevant platform_data to be guided
> > about what to do, that is what platform_data is for and it is very
> > widely used indeed.

> Are you sure?  Try me on one of the other "real" busses out there like
> PCI and see how all of these same arguments are identical :)

You were asking for concrete examples up thread, and this brings one to
mind - I used to work on a system where we had to modify the PCI ethernet
controller driver to tell it that while it did have two PHYs attached to
the MDIO bus they were nothing to do with the data interface of the
ethernet controller which was instead directly wired to a fixed
configuration device.  This sort of thing could be handled by the device
tree but...

> The abuse of platform_data today does not give you the right to persist
> in it.  Look at the work of the device tree developers to fix this
> problem as proof of this.

...the problem with device tree is that it's only available on a limited
subset of architectures at the minute, with progress towards deploying
it more widely being somewhat slow.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ