xen/events: switch user event channels to lateeoi model
authorJuergen Gross <jgross@suse.com>
Tue, 3 Nov 2020 16:22:35 +0000 (17:22 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Nov 2020 17:25:03 +0000 (18:25 +0100)
commit957a6b5f628b9d5a481d95603f15cfdbb508f1d2
treee7ce6e7fe124b65a1ac36c88c395c6c1ac00c176
parentfc1f51b7ab4981de662a70d0c6f1691b0ff85752
xen/events: switch user event channels to lateeoi model

commit c44b849cee8c3ac587da3b0980e01f77500d158c upstream.

Instead of disabling the irq when an event is received and enabling
it again when handled by the user process use the lateeoi model.

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>
Tested-by: Stefano Stabellini <sstabellini@kernel.org>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Wei Liu <wl@xen.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/xen/evtchn.c