[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 1/2] xen/arm: remove workaround to inject evtchn_irq on irq enable



On Wed, 2014-06-25 at 16:03 +0100, Julien Grall wrote:
> Hi Stefano,
> 
> On 06/24/2014 07:11 PM, Stefano Stabellini wrote:
> > evtchn_upcall_pending is already set by common code at vcpu creation,
> > therefore on ARM we also need to call vgic_vcpu_inject_irq for it.
> > Currently we do that from vgic_enable_irqs as a workaround.
> > 
> > Do this properly by calling vgic_vcpu_inject_irq in the appropriate
> > places at vcpu creation time, making sure to call it after the vcpu is
> > up (_VPF_down has been cleared).
> 
> While it's works perfectly on common case, as the toolstack is always
> setting VGCF_online.
> 
> It would be possible to call the hypercall DOMCTL_vcpusetcontext without
> this flags enable. If so, the new VCPU will never receive event channel
> interrupt.

I think the only other way to clear _VPF_down is the psci code, so I
suppose it needs a kick too.

The other option is VCPUOP_up whch we do not support (or wire up) on
ARM.



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.