From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753270AbbKPRvZ (ORCPT ); Mon, 16 Nov 2015 12:51:25 -0500 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:34631 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752454AbbKPRvT (ORCPT ); Mon, 16 Nov 2015 12:51:19 -0500 Date: Mon, 16 Nov 2015 17:51:12 +0000 From: Mark Brown To: Javier Martinez Canillas Cc: Brian Norris , Heiner Kallweit , linux-mtd@lists.infradead.org, Dmitry Torokhov , linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org Message-ID: <20151116175112.GH31303@sirena.org.uk> References: <56104E88.3040807@gmail.com> <20151112185926.GC8456@google.com> <20151113194031.GI8456@google.com> <20151113221228.GT12392@sirena.org.uk> <20151113225113.GJ8456@google.com> <20151113231410.GV12392@sirena.org.uk> <20151113234857.GK8456@google.com> <20151116135342.GD31303@sirena.org.uk> <564A11D9.80109@osg.samsung.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="/Gk0KcsbyUMelFU1" Content-Disposition: inline In-Reply-To: <564A11D9.80109@osg.samsung.com> X-Cookie: Does the name Pavlov ring a bell? User-Agent: Mutt/1.5.24 (2015-08-30) X-SA-Exim-Connect-IP: 94.175.94.161 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: spi: OF module autoloading is still broken 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 --/Gk0KcsbyUMelFU1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Nov 16, 2015 at 02:26:49PM -0300, Javier Martinez Canillas wrote: > On 11/16/2015 10:53 AM, Mark Brown wrote: > > What I don't really understand here is why we've decided to push all > > this stuff into the subsystems, it seems like if we're managing to do > > the matching based on the compatible we really ought to be able to have > > the core figure out the uevents for us too. I need to go have a look at > > that... > There is already a set of generic OF uevents that are reported by the core > but IIUC those are not used by udev. Please take a look to of_device_uevent() > in drivers/of/device.c and dev_uevent() that calls it in drivers/base/core.c. I know what the current situation is, my point is that I don't understand why we would choose to do that ("What I don't really understand here..."). --/Gk0KcsbyUMelFU1 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJWShePAAoJECTWi3JdVIfQbwcH/RmG3l7Uiejndi/d+ERkmgeb rUF+Bm5IgbBKjhLqPK4J0qbAYGf+bKgNCXTm2Nmw9PFkdnWOcQO7DPODeszWdKR8 YyH87j5Pgbvjlcp254flVfJRKwJ+mybSxD7Q6/WRNYNACVMVMLz99JldcB5rSJPp q6jxtahYSb0WDbcAMs/7CMWXgzAp+sqS4Am4NKl9ftKVvsxsEvLetAswmV69pBLD VyWaJnQTMgowxVtHvalfEQKXXMCjifab4a+0E9Ab6huOdMdvXtgjP66GTNPveJkv DTbqGxQ+iGYDjeiHqt0G3MJOgAmOcUCMg2ELe908uzy+hDG0pgESrJL/q+AtX3s= =QBjS -----END PGP SIGNATURE----- --/Gk0KcsbyUMelFU1--