Messages in this thread | | Henrique de Moraes Holschuh =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > On Sun, 31 Jan 2010, Maxim Levitsky wrote: >> Unfortunately, this patch even causes regressions on my notebook (it >> survive 63 hibernate cycles), but now I battery driver reports 'batt= ery >> absent', backlight driver reports 0 brightness, but reload helped. >=20 > ... >=20 >> I think that not only _PTS ans _WAK are problematic. What about othe= r >> ACPI drivers that start accessing the EC before it is resumed? >> I think that these cause the problems I observe. >=20 > ACPI drivers might access the EC (even indirectly, through the DSDT).= And > platform drivers do often access the EC both at suspend and resume ti= me. Actually, only SBS and thinkpad-acpi access EC directly. All others go = through DSDT for access. Still, stopping EC in .suspend is too early, IMHO... >=20 > This needs some sort of strong ordering, the EC must suspend last, an= d > resume first (as seen by any ACPI and ACPI-aware drivers such as liba= ta, > some platform drivers, etc). If EC interrupts are a problem, maybe i= t can > be kicked to poll mode for the suspend/resume transition? It's this way already for about a year now... The problem is that EC dr= iver might be=20 stopped in middle of the transaction, thus leaving EC in unknown state = for BIOS or=20 switch-over kernel.
-- To unsubscribe from this list: send the line "unsubscribe linux-kernel"= in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |