Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752018AbbEZTzv (ORCPT ); Tue, 26 May 2015 15:55:51 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:57657 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751585AbbEZTzn (ORCPT ); Tue, 26 May 2015 15:55:43 -0400 Date: Tue, 26 May 2015 20:55:27 +0100 From: Mark Brown To: Tomeu Vizoso Cc: Mark Rutland , Dmitry Torokhov , Liam Girdwood , Rob Herring , "linux-kernel@vger.kernel.org" , =?iso-8859-1?Q?St=E9phane?= Marchesin , Thierry Reding , Grant Likely , Alexander Holler , "linux-arm-kernel@lists.infradead.org" Message-ID: <20150526195527.GZ21577@sirena.org.uk> References: <1432565608-26036-1-git-send-email-tomeu.vizoso@collabora.com> <1432565608-26036-11-git-send-email-tomeu.vizoso@collabora.com> <20150525173244.GE21577@sirena.org.uk> <20150526093601.GH21577@sirena.org.uk> <20150526165458.GV21577@sirena.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="0J9qSbGxnPCuzC2+" Content-Disposition: inline In-Reply-To: X-Cookie: Positively no smoking. User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: 94.175.94.161 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [PATCH 10/21] regulator: core: Probe regulators on demand X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2265 Lines: 55 --0J9qSbGxnPCuzC2+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 26, 2015 at 07:53:33PM +0200, Tomeu Vizoso wrote: > On 26 May 2015 at 18:54, Mark Brown wrote: > >> My understanding is that the problem I'm addressing is specific of > >> machines in which the kernel is in charge of pretty much everything > >> and that the information about what devices are present is given in an > >> arbitrary order. > > I don't think you've fully understood the problem space here. >=20 > Fair enough, what's your understanding of it? Basically what I said in the e-mail you quoted fully in your reply, especially this section: > > No, not in the least. Quite aside from anything else as soon as you > > allow things to be built as modules userspace is free to load things in > > whatever order amuses it. Think about what's going on here - it's not > > just registration of devices, it's also about the order in which > > subsystems and drivers register themselves. Probe ordering is fairly weakly related to the interface used to register devices, you're going to get dependencies more often the more detail is exposed to the kernel but it's not specific to that. It's definitely not something that we have a solution to for board files, they rely on deferred probing just as much as device tree does. --0J9qSbGxnPCuzC2+ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJVZM+uAAoJECTWi3JdVIfQnTMH/2Ni+dosD6TFaTU93qVPPLB2 9NrsgclSf7eT0vDYD5L8rHud8xcgKAfguLgVooQ4CVAoPF1gYYl4aoxnvhMeqeIu tRYe9MEvTe11OgkR3COn7VQaP5h7OF/rrM6kfSQhelJQc6uieksIVPZRM4pTKwq8 xIHK1nD8bAsDZ2is9iCGyYZEdQV5wtPyUr3Yk3M1LtyyqhfcSWlxjlZN6tfSuEVK Qqc+KK+Q8TFmZAocz9ChnJtSdqweeWTsrWH7YPj8qRDwHvvfRUPRxnQyyavfDSMY bBeH8+uz7pjP4S+4PpdfIRnAk/iJ18NNQX7ptcr7ainZbjmSxbZ5Vl+guOyTOu4= =rxmz -----END PGP SIGNATURE----- --0J9qSbGxnPCuzC2+-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/