From: Akio Takebe <takebe_akio@jp.fujitsu.com>
To: xen-devel <xen-devel@lists.xensource.com>
Subject: [Patch] avoid to re-initialize pci in rombios.
Date: Tue, 06 Jan 2009 17:13:17 +0900 [thread overview]
Message-ID: <4963129D.9080101@jp.fujitsu.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 503 bytes --]
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@jp.fujitsu.com>
Best Regards,
Akio Takebe
[-- Attachment #2: avoid_reinitialization_pci.patch --]
[-- Type: text/x-diff, Size: 394 bytes --]
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
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
reply other threads:[~2009-01-06 8:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4963129D.9080101@jp.fujitsu.com \
--to=takebe_akio@jp.fujitsu.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.