mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-11 04:26:38 +00:00
Ignore ACPI netlink events for GPEs which are configured as direct GPEs. Such GPEs are forwarded to the guest directly as physical GPEs using eventfd based forwarding of physical SCI interrupts (which ensures that the GPE handling in the guest is synchronized with SCI interrupt context in the host). Forwarding via netlink should be used for emulated GPEs only. With this change, we are still propagating all GPE events received by the host to the guest. In the future we may need to enhance this logic, since for some types of GPEs we may not want to inject them to the guest at all, e.g. for Thunderbolt hotplug GPE we want to receive it in crosvm and then inject a normal PCI hotplug interrupt instead. BUG=b:197247746, b:205072342 TEST=Make sure that GPE marked as direct are ignored Change-Id: Id5b05a99951455f52dcb375289cb10d040e8ff7f Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3492225 Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Tomasz Nowicki <tnowicki@google.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |