public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Lin Ming <ming.m.lin@intel.com>
To: Alexey Starikovskiy <astarikovskiy@suse.de>
Cc: linux-acpi <linux-acpi@vger.kernel.org>
Subject: Bug 11884 - _REG and _INI
Date: Mon, 15 Dec 2008 11:51:03 +0800	[thread overview]
Message-ID: <1229313063.19540.86.camel@minggr.sh.intel.com> (raw)

http://bugzilla.kernel.org/show_bug.cgi?id=11884 

Method(\_SB._INI)
{
	//initialize package CUZO
}

Method(\_SB_.PCI0.LPCB.EC0_._REG)
{
	//access package CUZO
}

For this machine, \_SB._INI must be run before \_SB_.PCI0.LPCB.EC0_._REG

But currently early EC _REG method is run before _INI as below acpi_bus_init shows.

void __init acpi_bus_init(void)
         .....
         status = acpi_ec_ecdt_probe();
         /* Ignore result. Not having an ECDT is not fatal. */

         status = acpi_initialize_objects(ACPI_FULL_INITIALIZATION);
         .....
}

acpi_ec_ecdt_probe will install ec handler although no ECDT found in this machine.

Alexey, 
How about that if there's no ECDT found, we do not install ec handler before acpi_initialize_objects?

Lin Ming



--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

             reply	other threads:[~2008-12-15  3:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-15  3:51 Lin Ming [this message]
2008-12-15  7:27 ` Bug 11884 - _REG and _INI Zhao Yakui
2008-12-15  9:26   ` Alexey Starikovskiy
2008-12-15 10:47     ` Alexey Starikovskiy
2008-12-16  1:07       ` Zhao Yakui
2008-12-16 10:17         ` Alexey Starikovskiy

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=1229313063.19540.86.camel@minggr.sh.intel.com \
    --to=ming.m.lin@intel.com \
    --cc=astarikovskiy@suse.de \
    --cc=linux-acpi@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