mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 06:31:49 +00:00
54c9de8989
In order to avoid tight event channel related IRQ loops add a new framework of "late EOI" handling: the IRQ the event channel is bound to will be masked until the event has been handled and the related driver is capable to handle another event. The driver is responsible for unmasking the event channel via the new function xen_irq_lateeoi(). This is similar to binding an event channel to a threaded IRQ, but without having to structure the driver accordingly. In order to support a future special handling in case a rogue guest is sending lots of unsolicited events, add a flag to xen_irq_lateeoi() which can be set by the caller to indicate the event was a spurious one. This is part of XSA-332. Cc: stable@vger.kernel.org Reported-by: Julien Grall <julien@xen.org> Signed-off-by: Juergen Gross <jgross@suse.com> Reviewed-by: Jan Beulich <jbeulich@suse.com> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org> Reviewed-by: Wei Liu <wl@xen.org> |
||
---|---|---|
.. | ||
arm | ||
interface | ||
acpi.h | ||
balloon.h | ||
events.h | ||
features.h | ||
grant_table.h | ||
hvc-console.h | ||
hvm.h | ||
mem-reservation.h | ||
page.h | ||
platform_pci.h | ||
swiotlb-xen.h | ||
xen-front-pgdir-shbuf.h | ||
xen-ops.h | ||
xen.h | ||
xenbus_dev.h | ||
xenbus.h |