From: Greg KH <gregkh@suse.de>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Kay Sievers <kay.sievers@vrfy.org>
Cc: PowerPC dev list <Linuxppc-dev@ozlabs.org>,
Markus Rechberger <markus.rechberger@amd.com>,
Timur Tabi <timur@freescale.com>
Subject: Re: Fix Firmware class name collision
Date: Fri, 14 Dec 2007 22:39:17 -0800 [thread overview]
Message-ID: <20071215063917.GA14942@suse.de> (raw)
In-Reply-To: <1197699269.6696.41.camel@pasglop>
On Sat, Dec 15, 2007 at 05:14:29PM +1100, Benjamin Herrenschmidt wrote:
>
> On Fri, 2007-12-14 at 14:40 -0800, Greg KH wrote:
> > On Tue, Dec 04, 2007 at 07:28:00PM -0600, Timur Tabi wrote:
> > > Scott Wood wrote:
> > >
> > >> The physical address certainly is useful when you have more than one
> > >> device of the same name.
> > >
> > > What I meant was that the physical address isn't helpful by itself.
> > >
> > >> So then you'd get "firmware-ucc.e01024". What if there's another ucc at
> > >> e0102480? For devices with longer names, you'd have even less precision
> > >> in the address.
> > >
> > > Maybe we need to consider a more sophisticated algorithm, one that
> > > guarantees that the device name in its entirety is preserved? Either that,
> > > or replace the physical address with something shorter, like the offset to
> > > the root node only? That way, ucc.e0102400 because just ucc.2400.
> >
> > You should do something :)
> >
> > In the near future (2.6.26) there will not be a limit on the size of the
> > file name, so we should not have this problem anymore.
>
> Not even .25 ? damn ! Any way that fix can be fastracked ? This
> limitation has been a major PITA for some time now (this is just -one-
> example where it gets in the way).
I'll let Kay answer that, last he said, it involves a _lot_ of changes
throughout the kernel :(
thanks,
greg k-h
next prev parent reply other threads:[~2007-12-15 6:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-04 23:45 Fix Firmware class name collision Timur Tabi
2007-12-04 23:52 ` Scott Wood
2007-12-05 1:28 ` Timur Tabi
2007-12-14 22:40 ` Greg KH
2007-12-14 22:46 ` Timur Tabi
2007-12-15 6:14 ` Benjamin Herrenschmidt
2007-12-15 6:39 ` Greg KH [this message]
2007-12-15 15:46 ` Kay Sievers
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=20071215063917.GA14942@suse.de \
--to=gregkh@suse.de \
--cc=Linuxppc-dev@ozlabs.org \
--cc=benh@kernel.crashing.org \
--cc=kay.sievers@vrfy.org \
--cc=markus.rechberger@amd.com \
--cc=timur@freescale.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).