From: "Jan Beulich" Subject: Re: [PATCH v9 07/10] xen: remove workaround to inject evtchn_irq on irq enable Date: Mon, 04 Aug 2014 08:15:06 +0100 Message-ID: <53DF4F1A0200007800028CC1@mail.emea.novell.com> References: <1406223192-26267-7-git-send-email-stefano.stabellini@eu.citrix.com> <53D22D750200007800025DC0@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XECUA-00062b-Mz for xen-devel@lists.xenproject.org; Mon, 04 Aug 2014 07:15:10 +0000 In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Stefano Stabellini Cc: julien.grall@citrix.com, xen-devel , Ian.Campbell@citrix.com List-Id: xen-devel@lists.xenproject.org >>> On 01.08.14 at 19:00, wrote: > On Fri, 25 Jul 2014, Jan Beulich wrote: >> but I still don't see why ARM needs what x86 (even for HVM) appears to >> get along fine without. > > Good question. > x86 PV guests have in xen_irq_enable: > > if (unlikely(vcpu->evtchn_upcall_pending)) > xen_force_evtchn_callback(); > > Also xen_irq_enable_direct calls check_events. > > I suspect that PV on HVM guests that get events via gsi interrupts get > away without it because they only call VCPUOP_register_vcpu_info on > secondary cpus. But my pointer was specifically to pure HVM guests (among all the other possible kinds)... Jan