From: "G.R." <firemeteor@users.sourceforge.net>
To: Ross Philipson <Ross.Philipson@citrix.com>,
Jean Guyader <Jean.guyader@gmail.com>,
Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: xen-devel <xen-devel@lists.xen.org>
Subject: Re: Need help to debug win7 BSOD on IGD passthrough
Date: Sat, 5 Jan 2013 00:30:21 +0800 [thread overview]
Message-ID: <CAKhsbWbeimYZLHAL5EU=WTgai0e4f2ApOPDWZi+SbOR8nFLe7w@mail.gmail.com> (raw)
In-Reply-To: <831D55AF5A11D64C9B4B43F59EEBF720A31F6B6C93@FTLPMAILBOX02.citrite.net>
>>
>> So here is the lspci -vvv -s 00:00.0 output from the dom0:
>> 00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core
>> processor DRAM Controller (rev 09)
>> Subsystem: ASRock Incorporation Device 0150
>> Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
>> Stepping- SERR- FastB2B- DisINTx-
>> Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort-
>> <TAbort- <MAbort+ >SERR- <PERR- INTx-
>> Latency: 0
>> Capabilities: [e0] Vendor Specific Information: Len=0c <?>
>>
>> And Linux domU:
>> 00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core
>> processor DRAM Controller (rev 09)
>> Subsystem: ASRock Incorporation Device 0150
>> Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
>> Stepping- SERR- FastB2B- DisINTx-
>> Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
>> <TAbort- <MAbort- >SERR- <PERR- INTx-
>> Latency: 0
>>
>> One notable difference is the 'Vendor Specific Information' line in
>> the host is missing in the domU.
>> Is it the fix you mention in your comment?
>
> Yes that is exactly what I am talking about. The igfx Windows driver
> reads those vendor caps and does a bunch of internal driver setup
> using them. We found crashes directly related to their absence.
> I am not sure how to account for the crashes w/o the igfx
> drivers - perhaps that is a different crash or perhaps the
> crash is unrelated to those capabilities.
>
> The original patch I made (>2yrs ago) is completely out of date with
> newer versions of qemu. But it basically followed the caps chain out
> of register 0x34 and if it the value requested was vendor types
> caps (type 0x09) on the host bridge it read them directly.
>
I did a quick grep in the list, it seems that Jean was trying to
submit the patch.
http://lists.xen.org/archives/html/xen-devel/2012-01/msg01129.html
http://lists.xen.org/archives/html/xen-devel/2012-01/msg01128.html
I guess this is lost accidentally? I don't see obvious negative
feedback on the thread.
Adding Jean, and Stefano who reviewed the patch.
Will try this out tomorrow. Hope the patch can work without big modification.
Jean, do you remember if there are other related patches to make gfx
passthrough working with windows?
I would like to check if there are more missed.
>>
>> But the fix you mention seems to be igfx driver specific.
>> But I also observe BSOD without it -- I guess the system run with
>> basic VGA driver in that case.
>> Is it the expected behavior?
>>
>> One more question: does the windows igfx passthrough rely on 1:1
>> mapping of MMIO bars?
>> According to tutorials, nvidia cards require such trick.
>> But it seems that igfx linux driver does not require this -- the lspci
>> output shows different memory region on dom0 vs domU.
>
> It sounds right that it doesn't need to be but I am not
> sure; maybe someone else can confirm.
>
Jean, do you happen to know if the igfx card rely on 1:1 MMIO bar
mapping to work on windows?
next prev parent reply other threads:[~2013-01-04 16:30 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-11 9:26 Need help to debug win7 BSOD on IGD passthrough G.R.
2013-01-04 13:49 ` G.R.
2013-01-04 15:53 ` Ross Philipson
2013-01-04 16:30 ` G.R. [this message]
2013-01-04 18:14 ` Jean Guyader
2013-01-05 5:08 ` G.R.
2013-01-06 14:16 ` G.R.
2013-01-06 15:32 ` Pasi Kärkkäinen
2013-01-07 10:38 ` Stefano Stabellini
2013-01-09 15:07 ` G.R.
2013-01-09 16:12 ` Stefano Stabellini
2013-01-09 16:21 ` Ian Jackson
2013-01-07 15:51 ` Ross Philipson
2013-01-09 16:37 ` Stefano Stabellini
2013-01-10 10:18 ` G.R.
2013-01-10 10:31 ` Stefano Stabellini
2013-01-10 15:51 ` G.R.
2013-01-11 12:56 ` Stefano Stabellini
2013-01-15 17:12 ` G.R.
2013-01-15 18:40 ` Stefano Stabellini
2013-01-20 16:26 ` G.R.
2013-01-21 10:35 ` Stefano Stabellini
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='CAKhsbWbeimYZLHAL5EU=WTgai0e4f2ApOPDWZi+SbOR8nFLe7w@mail.gmail.com' \
--to=firemeteor@users.sourceforge.net \
--cc=Jean.guyader@gmail.com \
--cc=Ross.Philipson@citrix.com \
--cc=stefano.stabellini@eu.citrix.com \
--cc=xen-devel@lists.xen.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).