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-ia64-devel

RE: [PATCH] Allow xen to share device with domain (RE: [PATCH] RE:[Xen-i

To: "Alex Williamson" <alex.williamson@xxxxxx>
Subject: RE: [PATCH] Allow xen to share device with domain (RE: [PATCH] RE:[Xen-ia64-devel] xencons interrupt problem)
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Tue, 4 Jul 2006 09:49:08 +0800
Cc: xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 03 Jul 2006 18:49:32 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acae2s9ZSEoaYOwaTTiYQ3KPcwEVEQAMKWpA
Thread-topic: [PATCH] Allow xen to share device with domain (RE: [PATCH] RE:[Xen-ia64-devel] xencons interrupt problem)
>From: Alex Williamson [mailto:alex.williamson@xxxxxx]
>Sent: 2006年7月4日 3:57
>
>On Mon, 2006-07-03 at 16:23 +0800, Tian, Kevin wrote:
>> Hi, Alex,
>>      Attached is an updated patch on top of yours, to address issues
>> found by far. Please review and check whether working on your box,
>> and I only did simple validation on my box since adding logic doesn't
>> affect boxes out of such scenario.
>>
>>      A major change is to convert into a mutual mapping between xen
>> vector and guest vector, and thus to address injection and EOI issues.
>
>Hi Kevin,
>
>   Thanks for your comments, and thanks especially for this updated
>patch to address them.  I'm having a little bit of trouble with the
>guest calling end().  The only way I'm able to get it working reliably
>is for xen to call end() in __do_IRQ().  When the responsibility is left
>to the guest, the shared interrupt seems to get stuck.  I'm still trying
>to debug why this might be happening.  Thanks,
>
>       Alex
>

Hi, Alex,
        Could you try attached patch to see whether progressing a step 
for you? It's made on top of last patch, to address a bug that 
VEC_XEN_ALIAS is only meaningful when enable bit is on. This bug 
may result guest to think shared irq line edge-triggered and thus no 
EOI request is issued which may stuck the subsequent instances. :-)

Thanks,
Kevin

Attachment: xen_irq_redirect_2.patch
Description: xen_irq_redirect_2.patch

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
<Prev in Thread] Current Thread [Next in Thread>