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

[Xen-devel] RE: [PATCH][VTD] fix ASSERT failure when build with debug=y

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] RE: [PATCH][VTD] fix ASSERT failure when build with debug=y
From: "Kay, Allen M" <allen.m.kay@xxxxxxxxx>
Date: Fri, 26 Jun 2009 14:08:32 -0700
Accept-language: en-US
Acceptlanguage: en-US
Cc: Keir Fraser <Keir.Fraser@xxxxxxxxxxxxx>
Delivery-date: Fri, 26 Jun 2009 14:09:14 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acn16ZtSEt+lqZBeT1iaxouTaYRXdAAt9jRw
Thread-topic: [PATCH][VTD] fix ASSERT failure when build with debug=y
Keir,

Please ignore this patch for now as it caused problem on certain systems.  We 
will submit a separate patch to clean up dev_lock and pci_devs_lock usage.

For people encounter the ASSERTION failure.  The workaround is to remove ASSERT 
in pci_get_pdev() and pci_get_pdev_by_domain().

Allen

-----Original Message-----
From: Kay, Allen M 
Sent: Thursday, June 25, 2009 4:07 PM
To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [PATCH][VTD] fix ASSERT failure when build with debug=y

Acquire dev_lock before calling pci_dev_get_pdev_by_domain() to fix an ASSERT 
failure when build with debug=y.

Signed-off-by: Allen Kay allen.m.kay@xxxxxxxxx

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] RE: [PATCH][VTD] fix ASSERT failure when build with debug=y, Kay, Allen M <=