From mboxrd@z Thu Jan 1 00:00:00 1970 From: Akio Takebe Subject: [Patch] avoid to re-initialize pci in rombios. Date: Tue, 06 Jan 2009 17:13:17 +0900 Message-ID: <4963129D.9080101@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------000504030804040102060603" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------000504030804040102060603 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit 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 Best Regards, Akio Takebe --------------000504030804040102060603 Content-Type: text/x-diff; name="avoid_reinitialization_pci.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="avoid_reinitialization_pci.patch" 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 --------------000504030804040102060603 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------000504030804040102060603--