Re: [Xen-devel] [PATCH 09/12] ARM: VGIC: rework events_need_delivery()

2017-10-25 Thread Stefano Stabellini
On Thu, 19 Oct 2017, Andre Przywara wrote: > In event.h we very deeply dive into the VGIC to learn if an event for > a guest is pending. > Rework that function to abstract the VGIC specific part out. Also > reorder the queries there, as we only actually need to check for the > event channel if ther

[Xen-devel] [PATCH 09/12] ARM: VGIC: rework events_need_delivery()

2017-10-19 Thread Andre Przywara
In event.h we very deeply dive into the VGIC to learn if an event for a guest is pending. Rework that function to abstract the VGIC specific part out. Also reorder the queries there, as we only actually need to check for the event channel if there are no other pending IRQs. Signed-off-by: Andre Pr