From: Myron Stowe <myron.stowe@hp.com>
To: Corey Minyard <minyard@acm.org>
Cc: linux-acpi@vger.kernel.org,
openipmi-developer@lists.sourceforge.net, lenb@kernel.org
Subject: Re: [PATCH 0/4] ipmi: remove SPMI and update core driver with dev_printk
Date: Tue, 09 Mar 2010 16:16:22 -0700 [thread overview]
Message-ID: <1268176582.2462.1.camel@zim> (raw)
In-Reply-To: <4B8FBE8F.3030203@acm.org>
On Thu, 2010-03-04 at 08:07 -0600, Corey Minyard wrote:
> Myron Stowe wrote:
> > These patches remove the SPMI based IPMI device discovery mechanism and
> > update the driver's core to use dev_printk() and its constructs.
> >
snip
>
> > Ultimately, I would like to see if it is possible to also remove IPMI's
> > SMBIOS based device discovery mechanism.
> >
> Maybe in an ideal world, but I don't know where an ideal world is, so I
> have to live in the one I'm in. There's plenty of systems that only
> document this in SMBIOS tables, there's plenty of systems with broken
> ACPI, etc. So SMBIOS and SPMI are going to have to stay.
>
Discussions concerning this patch series seem to have ceased and I have
not heard back from anyone that can definitively state that the SPMI
table is actively being used in the field.
At this point, it seems that the most logical ways to proceed are:
* Take the patch series as it is with the possible risk that we
will encounter a system in the field that relies on SPMI.
* Or, I can rework the patch series, basically splitting it into
two. The first series would include
ipmi: Raise precedence of PNP based discovery mechanisms (ACPI, PCI),
ipmi: Convert tracking of the ACPI device pointer to a PNP device,
ipmi: Update driver to use 'dev_printk()' and its constructs,
with the second series including
ipmi: Remove SPMI table based device discovery method,
ipmi: Further 'dev_printk()' conversion that is dependent on SPMI removal.
The idea being that the more contentious second series, now isolated,
could be easily retracted if necessary.
I do understand that it is possible that we will encounter a system that
relies on SPMI. The most likely scenario would seem to be with respect
to embedded systems. However, I think it is unlikely for the following
reasons (as always, please respond to any and all concerns as it is this
community that are the subject matter experts) and would still like to
consider removing such:
The IPMI related SMBIOS and SPMI tables are static, the idea
being that such tables can be referenced by the OS very early in
its boot related processing; well before the OS has progressed
to the point of ACPI namespace based control method
availability. A couple of points concerning such are: they seem
relatively redundant with respect to each other, and, the
current IPMI driver is not truly capable of taking advantage of
such "static" capability[1].
IPMI's SPMI table discovery mechanism was championed by HP.
This was mainly for HP's proprietary HP-UX OS as it did want to
take advantage of the early reference capability that static
tables provide (I do not know if SMBIOS was considered, or if
so, why it was not considered viable - perhaps someone on this
list has that history). As such, we seriously question whether
other vendors have even included SPMI into their BIOS'.
Modern systems rely on ACPI namespace and/or PCI as preferred
enumeration techniques. Windows only looks at these, and not
SMBIOS or SPMI, which has bearing since x86 Linux typically runs
on platforms also capable of running Windows. Yes, embedded
systems are the biggest exception here.
Bjorn Helgaas also covered many of these points, and a few
others, in his reply to Bela Lubkin concerning [Patch 2/4] which
is worth re-reading.
I'm looking forward to any feedback or responses of any kind, even
rebuttals.
Thanks,
Myron
[1] I was not able to express this point as well as I would have liked.
The point I'm attempting to make is that the IPMI driver, as it
currently exists, is not capable of probing and attaching to a device
during early boot processing to really take advantage of "static"
tables. The fact that it is capable of being built and run/installed as
a module is a big hint towards such but is not, in itself, definitive.
However, its PCI and ACPI probing mechanisms are definitive in that they
rely on their respective subsystems having already been setup which is
well after early boot processing.
>
> -corey
>
--
Myron Stowe HP Open Source Linux Lab (OSLL)
next prev parent reply other threads:[~2010-03-09 23:16 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-04 3:44 [PATCH 0/4] ipmi: remove SPMI and update core driver with dev_printk Myron Stowe
2010-03-04 3:44 ` [PATCH 1/4] ipmi: Raise precedence of PNP based discovery mechanisms (ACPI, PCI) Myron Stowe
2010-03-04 3:44 ` [PATCH 2/4] ipmi: Remove SPMI table based device discovery method Myron Stowe
2010-03-04 7:56 ` [Openipmi-developer] " Bela Lubkin
2010-03-04 18:47 ` Myron Stowe
2010-03-05 12:58 ` Bela Lubkin
2010-03-05 16:06 ` Bjorn Helgaas
2010-03-05 17:13 ` [Openipmi-developer] " Myron Stowe
2010-03-04 3:44 ` [PATCH 3/4] ipmi: Convert tracking of the ACPI device pointer to a PNP device Myron Stowe
2010-03-04 9:20 ` ykzhao
2010-03-04 20:48 ` Myron Stowe
2010-03-05 1:46 ` ykzhao
2010-03-05 16:41 ` Myron Stowe
2010-03-05 19:34 ` Bjorn Helgaas
2010-03-04 3:44 ` [PATCH 4/4] ipmi: Update driver to use 'dev_printk()' and its constructs Myron Stowe
2010-03-04 14:07 ` [PATCH 0/4] ipmi: remove SPMI and update core driver with dev_printk Corey Minyard
2010-03-05 16:31 ` Myron Stowe
2010-03-09 23:16 ` Myron Stowe [this message]
2010-03-10 14:55 ` [SPAM] - Re: [PATCH 0/4] ipmi: remove SPMI and update core driver with dev_printk - Email found in subject Andy Cress
2010-03-10 15:20 ` Corey Minyard
2010-03-10 17:55 ` [Openipmi-developer] " Myron Stowe
2010-03-11 17:10 ` Bela Lubkin
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=1268176582.2462.1.camel@zim \
--to=myron.stowe@hp.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=minyard@acm.org \
--cc=openipmi-developer@lists.sourceforge.net \
/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