https://bugzilla.kernel.org/show_bug.cgi?id=44161

--- Comment #134 from Kieran Clancy <codebeard+ker...@gmail.com> ---
For what it's worth, Windows seems to use the "stop EC from generating events"
approach rather than "clear events on wake". So it must be possible.

However, it seems prudent to do BOTH, as there are situations where just doing
one still leads to problems.

That is, if we only clear events on wake and don't stop them on sleep, then the
event buffer will still fill and potentially interfere with other operating
systems (e.g. if something wrong happens during suspend/resume or the battery
goes flat and next boot goes into Windows with a full event buffer, Windows
doesn't clear the events and has most of the same problems described here).

Alternatively, if we only stop the EC from generating events during sleep, we
won't clear the buffer if it has been filled by another operating system or by
other yet unforeseen triggers (for example, if the kernel is locked up or
indisposed the buffer could fill in the EC without ever going into sleep).

--

For the same reason, any function to clear the events on wake should also run
on normal system boot.

--

I think the ideal solution would be to stop the EC from generating events
during sleep in addition to clearing the events on wake and on boot (in case
the buffer is full from a previous operating system or kernel).

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to