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

[Xen-changelog] [xen-unstable] [IA64] workaround NaT consumption fault w

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] workaround NaT consumption fault when hiding a PCI function from dom0
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 09 Dec 2006 15:45:10 +0000
Delivery-date: Sat, 09 Dec 2006 07:48:01 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [IA64] workaround NaT consumption fault when hiding a PCI function from dom0, Xen patchbot-unstable <=