1
0
Fork 0
alistair23-linux/drivers/net/xen-netback
Juergen Gross e6ea898e56 xen/netback: use lateeoi irq binding
commit 23025393db upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-11-05 11:43:11 +01:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
common.h xen/netback: use lateeoi irq binding 2020-11-05 11:43:11 +01:00
hash.c xen-netback: don't populate the hash cache on XenBus disconnect 2019-02-28 12:50:37 -08:00
interface.c xen/netback: use lateeoi irq binding 2020-11-05 11:43:11 +01:00
netback.c xen/netback: use lateeoi irq binding 2020-11-05 11:43:11 +01:00
rx.c xen/netback: use lateeoi irq binding 2020-11-05 11:43:11 +01:00
xenbus.c xen-netback: no need to check return value of debugfs_create functions 2019-08-11 21:30:06 -07:00