From: Qing He <qing.he@intel.com>
To: Simon Horman <horms@verge.net.au>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
Ian Jackson <ian.jackson@eu.citrix.com>
Subject: Re: Re: Possible regression in "passthough: add no_wb option for pci conf write"
Date: Mon, 7 Dec 2009 13:57:28 +0800 [thread overview]
Message-ID: <20091207055728.GA29638@ub-qhe2> (raw)
In-Reply-To: <20091207054622.GA14266@verge.net.au>
On Mon, 2009-12-07 at 13:46 +0800, Simon Horman wrote:
> > So you are obseversing that ioemu window
> > disappear at boot time?
>
> I'm not sure what you mean by "ioemu window".
>
Never mind, I meant vnc or sdl console of ioemu.
Can you try if the following patch fixes the problem?
---
diff --git a/hw/pass-through.c b/hw/pass-through.c
index b125d72..f28f6c7 100644
--- a/hw/pass-through.c
+++ b/hw/pass-through.c
@@ -1556,7 +1556,7 @@ static void pt_pci_write_config(PCIDevice *d, uint32_t address, uint32_t val,
val >>= ((address & 3) << 3);
out:
- if (!reg->no_wb) {
+ if (!(reg && reg->no_wb)) { /* unknown regs are passed through */
ret = pci_write_block(pci_dev, address, (uint8_t *)&val, len);
if (!ret)
next prev parent reply other threads:[~2009-12-07 5:57 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-06 5:55 Possible regression in "passthough: add no_wb option for pci conf write" Simon Horman
2009-12-07 2:16 ` Qing He
2009-12-07 2:55 ` Simon Horman
2009-12-07 2:57 ` Qing He
2009-12-07 3:43 ` Simon Horman
2009-12-07 5:29 ` Qing He
2009-12-07 5:46 ` Simon Horman
2009-12-07 5:57 ` Qing He [this message]
2009-12-07 12:22 ` Simon Horman
2009-12-07 12:45 ` Re: Possible regression in "passthough: add no_wb option for pci conf write" [and 1 more messages] Ian Jackson
2009-12-08 1:08 ` Qing He
2009-12-07 5:48 ` Re: Possible regression in "passthough: add no_wb option for pci conf write" Qing He
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=20091207055728.GA29638@ub-qhe2 \
--to=qing.he@intel.com \
--cc=horms@verge.net.au \
--cc=ian.jackson@eu.citrix.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.