linux/drivers/net/xen-netback
Juergen Gross 23025393db xen/netback: use lateeoi irq binding
In order to reduce the chance for the system becoming unresponsive due
to event storms triggered by a misbehaving netfront use the lateeoi
irq binding for netback and unmask the event channel only just before
going to sleep waiting for new events.

Make sure not to issue an EOI when none is pending by introducing an
eoi_pending element to struct xenvif_queue.

When no request has been consumed set the spurious flag when sending
the EOI for an interrupt.

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: Wei Liu <wl@xen.org>
2020-10-20 10:22:03 +02:00
..
common.h xen/netback: use lateeoi irq binding 2020-10-20 10:22:03 +02:00
hash.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
interface.c xen/netback: use lateeoi irq binding 2020-10-20 10:22:03 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
netback.c xen/netback: use lateeoi irq binding 2020-10-20 10:22:03 +02:00
rx.c xen/netback: use lateeoi irq binding 2020-10-20 10:22:03 +02:00
xenbus.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00