Re: [Xen-devel] [PATCH] ARM: new VGIC: evtchn: fix potential race in vcpu_mark_events_pending()

2018-04-04 Thread Stefano Stabellini
On Wed, 4 Apr 2018, Andre Przywara wrote: > Hi, > > On 04/04/18 01:04, Stefano Stabellini wrote: > > On Tue, 3 Apr 2018, Julien Grall wrote: > >> On 29/03/18 18:35, Stefano Stabellini wrote: > >>> On Thu, 29 Mar 2018, Andre Przywara wrote: > Stefano pointed out the following situation: >

Re: [Xen-devel] [PATCH] ARM: new VGIC: evtchn: fix potential race in vcpu_mark_events_pending()

2018-04-04 Thread Andre Przywara
Hi, On 04/04/18 01:04, Stefano Stabellini wrote: > On Tue, 3 Apr 2018, Julien Grall wrote: >> On 29/03/18 18:35, Stefano Stabellini wrote: >>> On Thu, 29 Mar 2018, Andre Przywara wrote: Stefano pointed out the following situation: -- 1) vcpuA/cpuA is running, it

Re: [Xen-devel] [PATCH] ARM: new VGIC: evtchn: fix potential race in vcpu_mark_events_pending()

2018-04-03 Thread Julien Grall
On 29/03/18 18:35, Stefano Stabellini wrote: On Thu, 29 Mar 2018, Andre Przywara wrote: Stefano pointed out the following situation: -- 1) vcpuA/cpuA is running, it has already handled the event, cleared evtchn_upcall_pending and EOIed the event_irq but hasn't trapped into

Re: [Xen-devel] [PATCH] ARM: new VGIC: evtchn: fix potential race in vcpu_mark_events_pending()

2018-03-29 Thread Stefano Stabellini
On Thu, 29 Mar 2018, Andre Przywara wrote: > Stefano pointed out the following situation: > -- > 1) vcpuA/cpuA is running, it has already handled the event, cleared > evtchn_upcall_pending and EOIed the event_irq but hasn't trapped into > Xen yet. It is still in guest mode. >