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

xen-devel

[Top] [All Lists]

[Xen-devel] [Patch] avoid to re-initialize pci in rombios.

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [Patch] avoid to re-initialize pci in rombios.
From: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
Date: 2009年1月06日 17:13:17 +0900
Delivery-date: 2009年1月06日 00:13:56 -0800
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
User-agent: Thunderbird 2.0.0.18 (X11/20081119)
Hi,
When I use a pass-though device, I get the following error.
Overlapped to device[00:03.0][Region:0][Address:0000c000h][Size:00000100h]
pt_bar_mapping: ptdev[00:06.0][Region:0][Address:0000c000h][Size:00000100h] is 
overlapped.
It's caused by reinitializing pci resources.
rombios should not initialize pci because hvmloader already setup pci.
If pci devices are re-initialized, their configurations may corrupt.
Signed-off-by: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
Best Regards,
Akio Takebe
diff -r e2f36d066b7b tools/firmware/rombios/rombios.c
--- a/tools/firmware/rombios/rombios.c Mon Dec 22 13:48:40 2008 +0000
+++ b/tools/firmware/rombios/rombios.c Tue Jan 06 17:06:05 2009 +0900
@@ -10973,8 +10973,10 @@
 call rombios32_init
 #else
 #if BX_PCIBIOS
+#ifndef HVMASSIST
 call pcibios_init_iomem_bases
 call pcibios_init_irqs
+#endif //HVMASSIST
 #endif //BX_PCIBIOS
 #endif
 
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [Patch] avoid to re-initialize pci in rombios., Akio Takebe <=
Previous by Date: [Xen-devel] xen_phys_start for 32b , Cihula, Joseph
Next by Date: [Xen-devel] where does do_IRQ() be called , p z
Previous by Thread: [Xen-devel] xen_phys_start for 32b , Cihula, Joseph
Next by Thread: [Xen-devel] where does do_IRQ() be called , p z
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /