All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Grant Likely <grant.likely@linaro.org>
Cc: NeilBrown <neilb@suse.de>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Rob Herring <rob.herring@calxeda.com>,
	devicetree@vger.kernel.org, lkml <linux-kernel@vger.kernel.org>
Subject: Re: Strange location and name for platform  devices when device-tree is used.
Date: Sat, 02 Nov 2013 07:33:21 +1100	[thread overview]
Message-ID: <1383338001.28909.42.camel@pasglop> (raw)
In-Reply-To: <20131101180459.81793C40A28@trevor.secretlab.ca>

On Fri, 2013-11-01 at 11:04 -0700, Grant Likely wrote:

> There are two problems here. First, making the change moves all the DT
> populated devices under the /sys/devices/platform tree, not just
> platform devices.

All DT populated *platform* devices. There are others that have their
own locations.

> Second, I expect there is going to be userspace breakage to move them.
> I've considered moving them before, but so far have felt that being
> tidier hasn't been worth the potential breakage. Userspace /shouldn't/
> be relying on the node name, but we all know that userspace always does
> what it should, right?
> 
> That said, I'm mostly concerned about breakage on Power machines, not on
> the ARM devices in this regard. If you are convinced that I'm worrying about
> nothing, then I'm fine with making the change. If anyone complains
> however then it will need to be reverted.

I don't see an issue with power.

Cheers,
Ben.

  reply	other threads:[~2013-11-01 20:33 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-01  3:59 Strange location and name for platform devices when device-tree is used NeilBrown
2013-11-01  3:59 ` NeilBrown
2013-11-01  4:22 ` Benjamin Herrenschmidt
2013-11-01  4:27   ` Benjamin Herrenschmidt
2013-11-01  5:03     ` NeilBrown
2013-11-01  5:08       ` Benjamin Herrenschmidt
2013-11-01 18:04         ` Grant Likely
2013-11-01 18:04           ` Grant Likely
2013-11-01 20:33           ` Benjamin Herrenschmidt [this message]
2013-11-15  7:37             ` Grant Likely
2013-11-15  7:37               ` Grant Likely
     [not found]           ` <20131101180459.81793C40A28-WNowdnHR2B42iJbIjFUEsiwD8/FfD2ys@public.gmane.org>
2013-11-01 20:48             ` Greg Kroah-Hartman
2013-11-01 20:48               ` Greg Kroah-Hartman
2013-11-01 20:47         ` Greg Kroah-Hartman
2013-11-01 20:47           ` Greg Kroah-Hartman
     [not found]           ` <20131101204749.GA19662-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2013-11-01 23:09             ` Benjamin Herrenschmidt
2013-11-01 23:09               ` Benjamin Herrenschmidt
2013-11-02 15:58               ` Greg Kroah-Hartman
2013-11-02 15:58                 ` Greg Kroah-Hartman
     [not found]                 ` <20131102155824.GG23938-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2013-11-02 20:22                   ` Benjamin Herrenschmidt
2013-11-02 20:22                     ` Benjamin Herrenschmidt
2013-11-02 20:40                     ` Greg Kroah-Hartman
2013-11-02 20:40                       ` Greg Kroah-Hartman
     [not found]                       ` <20131102204021.GA13994-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2013-11-03 21:12                         ` Benjamin Herrenschmidt
2013-11-03 21:12                           ` Benjamin Herrenschmidt
2013-11-03 21:09                 ` NeilBrown
2013-11-01 23:10             ` Benjamin Herrenschmidt
2013-11-01 23:10               ` Benjamin Herrenschmidt
2013-11-01 23:45               ` NeilBrown
2013-11-01 23:45                 ` NeilBrown
     [not found]                 ` <20131102104505.34105cbb-wvvUuzkyo1EYVZTmpyfIwg@public.gmane.org>
2013-11-04  8:56                   ` Thierry Reding
2013-11-04  8:56                     ` Thierry Reding
2013-11-15  7:44                 ` Grant Likely

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1383338001.28909.42.camel@pasglop \
    --to=benh@kernel.crashing.org \
    --cc=devicetree@vger.kernel.org \
    --cc=grant.likely@linaro.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=neilb@suse.de \
    --cc=rob.herring@calxeda.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.