mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-11 04:26:38 +00:00
In order to ensure proper emulation of PM1 and GPE events for the guest and prevent lost events, upon receiving SCI resample event we need to trigger SCI interrupt again if the status of some of the virtual PM1 or GPE events is still not cleared, i.e. if: a. the guest has received the last PM1 or GPE event but hasn't cleared it for some reason. or b. the guest hasn't received the last PM1 or GPE event because it was processing the previous SCI (i.e. SCI was masked in the guest). BUG=b:205072342 TEST=inject GPE or power button event from command line and inspect /sys/firmware/acpi/interrupts/ Change-Id: Iff9f9812328823b1876721fbb4be9d0e937f2737 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3492219 Reviewed-by: Dmitry Torokhov <dtor@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Tomasz Nowicki <tnowicki@google.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |