From: Jesse Barnes <jbarnes@virtuousgeek.org>
To: <Narendra_K@Dell.com>
Cc: <Matt_Domsch@Dell.com>, <linux-pci@vger.kernel.org>,
<linux-hotplug@vger.kernel.org>, <netdev@vger.kernel.org>,
<Jordan_Hargrave@Dell.com>, <Charles_Rose@Dell.com>,
<Vijay_Nijhawan@Dell.com>
Subject: Re: [PATCH] Export ACPI _DSM provided firmware instance number and string name to sysfs
Date: Fri, 7 Jan 2011 14:27:50 -0800 [thread overview]
Message-ID: <20110107142750.21ea39f0@jbarnes-desktop> (raw)
In-Reply-To: <20101223194927.GA2717@fedora14-r610.oslab.blr.amer.dell.com>
On Thu, 23 Dec 2010 11:24:36 -0800
<Narendra_K@Dell.com> wrote:
> On Thu, Dec 23, 2010 at 08:02:03PM +0530, Domsch, Matt wrote:
> > On Wed, Dec 22, 2010 at 08:42:39AM -0800, Narendra_K@Dell.com wrote:
> > > Hello,
> > >
> > > This patch exports ACPI _DSM provided firmware instance number and
> > > string name to sysfs.
> > >
> > > Please review -
> >
> > There are now two different meanings for the 'index' file:
> >
> > 1) SMBIOS-provided "type instance" value, which I've only seen in
> > range [1..N] for N devices, monotonically stepwise increasing.
> >
> > 2) ACPI-provided "index" value, which per spec only needs to be a
> > "sort key", not starting at 0 or 1, and while monotonically
> > increasing, not necessarily stepwise. It's perfectly valid for the
> > values to be (12, 16, 27, 29) if that's convenient for BIOS to
> > generate.
> >
> > Therefore, a consumer of this value (such as biosdevname) must know
> > which of the two it's dealing with, and either accept the value as-is,
> > or sort the value list. While I suppose it could sort the value list
> > in either case, I'd prefer the ACPI value to be exposed in its own
> > file, perhaps 'acpi_index', to make this explicit rather than
> > implicit.
> >
> > 'label' is fine for either case, with ACPI taking priority over
> > SMBIOS if both happen to be present.
> >
Applied, thanks.
--
Jesse Barnes, Intel Open Source Technology Center
next prev parent reply other threads:[~2011-01-07 22:27 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-22 16:42 [PATCH] Export ACPI _DSM provided firmware instance number and string name to sysfs Narendra_K
2010-12-23 14:32 ` Matt Domsch
2010-12-23 19:24 ` Narendra_K
2011-01-05 22:44 ` Matt Domsch
2011-01-05 22:46 ` Jesse Barnes
2011-01-07 22:27 ` Jesse Barnes [this message]
2011-01-10 18:48 ` Narendra_K
2011-01-10 19:13 ` Jesse Barnes
2011-01-10 19:35 ` Narendra_K
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=20110107142750.21ea39f0@jbarnes-desktop \
--to=jbarnes@virtuousgeek.org \
--cc=Charles_Rose@Dell.com \
--cc=Jordan_Hargrave@Dell.com \
--cc=Matt_Domsch@Dell.com \
--cc=Narendra_K@Dell.com \
--cc=Vijay_Nijhawan@Dell.com \
--cc=linux-hotplug@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/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).