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-ia

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: Fri, 7 Jul 2006 10:08:34 +0800
Cc: xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 06 Jul 2006 19:09:09 -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: AcahSZExZt6TzBjhSya8+As8M2mL/wAHvzqA
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月7日 6:14
>
>On Tue, 2006-07-04 at 09:49 +0800, Tian, Kevin wrote:
>> 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. :-)
>
>Hi Kevin,
>
>   Good catch with this patch, but it still hangs.  Besides having xen
>call end() in __do_IRQ(), I can also prevent the hang by booting with
>sync_console.  If I INIT the system when it's hung, the only CPU that's
>not in the idle loop is sitting in do_console_io(), maybe into
>guest_console_write() (which appears to be getting inlined).  I'm
>wondering if the problem is actually Xen spinning there waiting for tx
>space and preventing the guest from calling end().  I added a loop
>counter for debug, but I haven't been able to make it pop out yet.
>Thanks,
>
>       Alex
>

That's the possible cause. Actually I seldom considered serial driver 
itself before:-). Does it spin tx buffer in irq handler or somewhere else 
with irq disabled? Which event may cause xen into infinite spin? If spin 
can exit, xenlinux can be resumed and then end() should be triggered... 

Thanks,
Kevin

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

<Prev in Thread] Current Thread [Next in Thread>
  • RE: [PATCH] Allow xen to share device with domain (RE: [PATCH]RE:[Xen-ia64-devel] xencons interrupt problem), Tian, Kevin <=