Bug 11884 - _REG and _INI

Lin Ming
2008-12-15T03:52:20Z

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