xen/events: don't unmask an event channel when an eoi is pending
An event channel should be kept masked when an eoi is pending for it. When being migrated to another cpu it might be unmasked, though. In order to avoid this keep three different flags for each event channel to be able to distinguish "normal" masking/unmasking from eoi related masking/unmasking and temporary masking. The event channel should only be able to generate an interrupt if all flags are cleared. Cc: stable@vger.kernel.org Fixes: 54c9de89 ("xen/events: add a new "late EOI" evtchn framework") Reported-by: Julien Grall <julien@xen.org> Signed-off-by: Juergen Gross <jgross@suse.com> Reviewed-by: Julien Grall <jgrall@amazon.com> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Tested-by: Ross Lagerwall <ross.lagerwall@citrix.com> Link: https://lore.kernel.org/r/20210306161833.4552-3-jgross@suse.com [boris -- corrected Fixed tag format] Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
parent
9e77d96b
-
mentioned in commit 0aa39010
-
mentioned in commit 3a19f808
-
mentioned in commit c1ee51cc
-
mentioned in commit a8103671
-
mentioned in commit 30cdb862
-
mentioned in commit 92aefc62
-
mentioned in commit df720c56
-
mentioned in commit c9697fab
-
mentioned in commit bea39f1e
-
mentioned in commit d9ab9011
-
mentioned in commit 77de34b9
-
mentioned in commit b6bf35aa
-
mentioned in commit af48f185
-
mentioned in commit 78471f5a
-
mentioned in commit ceee49ca
-
mentioned in commit 94371b6c
Please register or sign in to comment