WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Re: [PATCH] xen: events: do not unmask polled ipis on re

To: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: [PATCH] xen: events: do not unmask polled ipis on restore.
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Fri, 29 Oct 2010 10:42:33 -0700
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 29 Oct 2010 10:43:29 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1288373709.8069.23.camel@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1288341238-3059-1-git-send-email-ian.campbell@xxxxxxxxxx> <4CCAF9E1.70902@xxxxxxxx> <1288373709.8069.23.camel@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100921 Fedora/3.1.4-1.fc13 Lightning/1.0b3pre Thunderbird/3.1.4
 On 10/29/2010 10:35 AM, Ian Campbell wrote:
> On Fri, 2010-10-29 at 17:44 +0100, Jeremy Fitzhardinge wrote:
>> On 10/29/2010 01:33 AM, Ian Campbell wrote:
>>> The Xen PV spinlock backend attempts to setup an IPI to IRQ binding
>>> which is only to be used via xen_poll_irq rather received directly.
>>>
>>> Unfortunately restore_cpu_ipis unconditionally unmasks each IPI
>>> leading to:
>> Gosh I wonder why we hadn't seen this before?
> I must admit I don't normally enable CONFIG_PARAVIRT_SPINLOCKS I
> happened to be running someone else's config when I noticed this.
>
> Possibly relates to switching to the edge triggered handler and the
> related mask/unmask vs clear etc frobbing?

Possibly.  Did you see my comment further down?

    J

>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
>


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel