[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [PATCH] Allow xen to share device with domain (RE: [PATCH] RE:[Xen-ia64-devel] xencons interrupt problem)


  • To: "Alex Williamson" <alex.williamson@xxxxxx>
  • 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
  • List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
  • 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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.