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

[Xen-changelog] [xen-unstable] [IA64] workaround NaT consumption fault when hiding a PCI function from dom0



# HG changeset patch
# User awilliam@xxxxxxxxxxxx
# Node ID 968caf47b548be3fa3d15b92fa74dfca3a9e24a0
# Parent  21267b552cc91e1106a02c0fc4cb7265c4682a99
[IA64] workaround NaT consumption fault when hiding a PCI function from dom0

The free_irq() path seems to have trouble with devices hidden from
dom0 for driver domains.  The result is a NaT consumption fault in
the reboot notifier_call_chain() when dom0 reboots.  This workaround
prevents the problem until it can be further investigated.

Signed-off-by: Alex Williamson <alex.williamson@xxxxxx>
---
 xen/arch/ia64/xen/hypercall.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletion(-)

diff -r 21267b552cc9 -r 968caf47b548 xen/arch/ia64/xen/hypercall.c
--- a/xen/arch/ia64/xen/hypercall.c     Thu Dec 07 05:43:04 2006 -0700
+++ b/xen/arch/ia64/xen/hypercall.c     Thu Dec 07 16:18:55 2006 -0700
@@ -472,7 +472,12 @@ static long do_physdev_op(int cmd, XEN_G
             vector > IA64_LAST_DEVICE_VECTOR)
             break;
         
-        free_irq_vector(vector);
+        /* XXX This should be called, but causes a NAT consumption via the
+        * reboot notifier_call_chain in dom0 if a device is hidden for
+        * a driver domain using pciback.hide= (specifically, hiding function
+        * 1 of a 2 port e1000 card).
+        * free_irq_vector(vector);
+        */
         ret = 0;
         break;
     }

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


 


Rackspace

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