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

[Xen-devel] [VTD][PATCH] a time out mechanism for the shared interrupt issue for vtd


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Xin, Xiaohui" <xiaohui.xin@xxxxxxxxx>
  • Date: Sun, 30 Sep 2007 15:29:34 +0800
  • Delivery-date: Sun, 30 Sep 2007 00:30:19 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcgDM6YXZtsocIrGTGOzXvN/jWZJjA==
  • Thread-topic: [Xen-devel] [VTD][PATCH] a time out mechanism for the shared interrupt issue for vtd

Attached is a patch for shared interrupt between dom0 and HVM domain for vtd.

Most of problem is caused by that we should inject interrupt to both domains and the

physical interrupt deassertion then may be delayed by the device assigned to the HVM.

 

The patch adds a timer, and the time out value is sufficient large to tolerant

the delaying used to wait for the physical interrupt deassertion.

 

The patch works well with the situation that SATA disk shares interrupt with PCIe NIC.

And for vtd=1, the ioapic_ack=new method also works well.

 

Signed-off-by: Xin, Xiaohui<xiaohui.xin@xxxxxxxxx

Signed-off-by: Kevin Tian <kevin.tian@xxxxxxxxx>

 

 

 

Attachment: timeout.patch
Description: timeout.patch

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

 


Rackspace

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