From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Vrabel Subject: Re: [PATCH v2 2/5] arm: implement vcpu_mark_events_pending Date: Fri, 24 Feb 2012 10:53:02 +0000 Message-ID: <4F476C0E.2010107@citrix.com> References: <1330021293-21554-2-git-send-email-stefano.stabellini@eu.citrix.com> <1330079609.8557.165.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1330079609.8557.165.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: "xen-devel@lists.xensource.com" , "Tim Deegan (3P)" , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On 24/02/12 10:33, Ian Campbell wrote: > On Thu, 2012-02-23 at 18:21 +0000, Stefano Stabellini wrote: >> Implement vcpu_mark_events_pending using the vgic to inject INT 63, that >> we reserve for Xen usage. > > Does this require a trap when the guest acks or EOIs this interrupt? > What about maintenance interrupts arising from injecting this? > > Might we want to instead inject this interrupt as an SGI, so that it > appears as a per-VCPU interrupt? I don't think it's possible to register a SGI handler in Linux currently. The mapping of IRQ numbers to GIC interrupts skips over the SGIs. This would be easy to fix I think. David