public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Corey Minyard <minyard@acm.org>
To: Len Brown <lenb@kernel.org>
Cc: minyard@mvista.com, linux-acpi@vger.kernel.org
Subject: Re: acpi_find_bmc() and acpi_get_table()
Date: Sat, 10 Feb 2007 22:53:43 -0600	[thread overview]
Message-ID: <45CEA157.8050207@acm.org> (raw)
In-Reply-To: <200702102327.28312.lenb@kernel.org>

Len Brown wrote:
> Cory,
> acpi_find_bmc() appears to be searching for 
> multiple SPMI tables in the RSDT and running
> try_init_acpi() on each of them
> until it doesn't find any more.
>
> Is that the intent?
>
> Are here systems with multiple SPMI tables?
>   
I'm not sure about ACPI, but I know there are system with multiple 
SMBIOS table entries for management controllers, and I know there are 
system with multiple multiple management controller interfaces (and 
multiple management controllers with interfaces).  The current table for 
SPMI can only support one interface, so I don't know how you could 
represent more than one..
> static __devinit void acpi_find_bmc(void)
> {
>         acpi_status      status;
>         struct SPMITable *spmi;
>         int              i;
>
>         if (acpi_disabled)
>                 return;
>
>         if (acpi_failure)
>                 return;
>
>         for (i = 0; ; i++) {
>                 status = acpi_get_table(ACPI_SIG_SPMI, i+1,
>                                         (struct acpi_table_header **)&spmi);
>                 if (status != AE_OK)
>                         return;
>
>                 try_init_acpi(spmi);
>         }
> }
>
> I speculated recently that the only table signature
> that is (supposed to be) repeated in the RSDT is an SSDT.
> Maybe that speculation is wrong if there can be multiple SPMI tables...
>   
I don't know ACPI that well, but the IPMI spec states that in the case 
of multiple interfaces, a unique SPMI table should be provided for each 
of those interfaces.  So the IPMI spec seems to require support more 
than one.

-Corey

  reply	other threads:[~2007-02-11  4:53 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-11  4:27 acpi_find_bmc() and acpi_get_table() Len Brown
2007-02-11  4:53 ` Corey Minyard [this message]
2007-02-11  5:28   ` Len Brown
2007-02-16  4:03 ` Bjorn Helgaas
2007-02-16  5:15   ` Corey Minyard
2007-02-20  4:31     ` Bjorn Helgaas
2007-02-20  6:46       ` Alexey Starikovskiy
2007-02-20 13:55         ` Corey Minyard
2007-02-25 21:59           ` Matt Domsch
2007-02-26 18:30             ` Jordan_Hargrave
2007-02-26 19:32               ` [Openipmi-developer] " Bjorn Helgaas
2007-02-26 20:06                 ` Jordan_Hargrave
2007-02-26 22:39                   ` Bjorn Helgaas
2007-02-28 21:42               ` Corey Minyard
2007-02-28 22:05                 ` Jordan_Hargrave
2007-02-28 22:35                   ` Bjorn Helgaas
2007-02-28 22:44                     ` Corey Minyard
2007-04-13 17:44               ` Bjorn Helgaas
2007-04-17 22:50                 ` Corey Minyard
2007-04-18 15:32                   ` [Openipmi-developer] " Bjorn Helgaas
2007-07-18 16:49               ` Jordan_Hargrave
2007-07-18 19:19                 ` Bjorn Helgaas
2007-07-19 16:32                   ` [Openipmi-developer] " Jordan_Hargrave
2007-07-19 18:50                     ` Bjorn Helgaas
2008-07-17 18:32                     ` [Openipmi-developer] " Bjorn Helgaas
2007-07-20 14:11                   ` Corey Minyard

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=45CEA157.8050207@acm.org \
    --to=minyard@acm.org \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=minyard@mvista.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