Bug 14351
Summary: | AML Sleep() in EC _REG causes boot delay | ||
---|---|---|---|
Product: | ACPI | Reporter: | Len Brown (lenb) |
Component: | EC | Assignee: | Zhang Rui (rui.zhang) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | acpi-bugzilla, ming.m.lin, rui.zhang |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.31 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Len Brown
2009-10-08 22:18:46 UTC
(In reply to comment #0) > So I think we should look into why EC _REG is serialized, > and see if we can un-serialize it. I don't think we can execute _REG in parallel. Because we can not access EC address space before _REG being finished, i.e. a lot of ACPI stuff may depend on this. IMO, we should root cause why the problem doesn't exist in windows first. Ming, can you please verify how windows handles "Sleep(0x2710)"? Ming, what's the status of this problem? I think we have root caused/fixed the problem already, right? We have below patch since v2.6.35-rc4 commit 9cbfa18e8a7b34a32eddbd914a07f085962f50a8 Author: Bob Moore <robert.moore@intel.com> Date: Wed May 26 11:22:41 2010 +0800 ACPICA: Limit maximum time for Sleep() operator To prevent accidental deep sleeps, limit the maximum time that Sleep() will sleep. Configurable, default maximum is two seconds. ACPICA bugzilla 854. http://www.acpica.org/bugzilla/show_bug.cgi?id=854 Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Len Brown <len.brown@intel.com> |