]> git.baikalelectronics.ru Git - kernel.git/commit
xen/events: remove event handling recursion detection
authorJuergen Gross <jgross@suse.com>
Fri, 29 Nov 2019 12:39:41 +0000 (13:39 +0100)
committerJuergen Gross <jgross@suse.com>
Mon, 2 Dec 2019 06:04:30 +0000 (07:04 +0100)
commit5aa34cac860b71b1d470873854f1e1451b2bf9e2
treeabd7c154d7267ba012176c90eb4281d63242ac38
parent49ca8af6862404767fe48e3202ef9b3621c14720
xen/events: remove event handling recursion detection

__xen_evtchn_do_upcall() contains guards against being called
recursively. This mechanism was introduced in the early pvops times
(kernel 2.6.26) when there were all the Xen backend drivers missing
from the upstream kernel, and some of those out-of-tree drivers were
enabling interrupts in their event handlers (which was explicitly
allowed in the initial XenoLinux).

Nowadays we don't need to support those old drivers any more and the
capability to allow recursive calls of __xen_evtchn_do_upcall() can
be removed.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
drivers/xen/events/events_base.c