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/
Home Products Support Community News


Re: [Xen-devel] IGD passthrough

To: "Kay, Allen M" <allen.m.kay@xxxxxxxxx>
Subject: Re: [Xen-devel] IGD passthrough
From: Sergey Tovpeko <tsv.devel@xxxxxxxxx>
Date: Fri, 04 Mar 2011 15:22:28 +0300
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 04 Mar 2011 04:30:15 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=l7/iUSVSMc5F2Bdna8Hh1baApAo1y+WKVEb1GMoRY9s=; b=Qg2unwHr7s17oI3LdQiDAVwpLK+CPPpiDc93Zk4HN72ppYMi2+AhZtYU1i/nsV6Oay cmd/lbSx91JYvn4dBDfGpTkBgfSxkH50pXF/SbSy6ZxyTjGbX+PcqpFZ1lC/JdgpMtmx RBARnI1DSOFGukQFbjdNh72HaqeJcTJPPKUL4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=FXYeDNoo2aChuF431pgefq8ux5Ei8hX1+SjqGg/XOcPDafsyDh2gOclrS4/De1OqK4 9dfiyfkKb9Jr7hJzh4aSiHV6fFtk0qTvhFcehDn854J+CbHyKWkazTB+rqh2jPL27zap 8qIEpeXG0arlGuwLuVCz8ZSfPIetZzXzIDOmA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <987664A83D2D224EAE907B061CE93D53019D948615@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <4D6CE195.9020801@xxxxxxxxx> <987664A83D2D224EAE907B061CE93D53019D8F4ECA@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <AANLkTikqpfJRf+tV6163Ma4kNxDeUk-j=ewwbzdVOnNT@xxxxxxxxxxxxxx> <AANLkTiksspQ1KmEWSunSuRMLk+Kw0_JPuqRfs4bTcXcE@xxxxxxxxxxxxxx> <987664A83D2D224EAE907B061CE93D53019D948615@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla-Thunderbird (X11/20090103)

I'm concerning about the init value
u32 val = -1;

in pt_pci_host_read

u32 pt_pci_host_read(int bus, int dev, int fn, u32 addr, int len)

struct pci_dev *pci_dev;
u32 val = -1;

pci_dev = pci_get_dev(dpci_infos.pci_access, 0, bus, dev, fn);
if ( !pci_dev )
return 0;

pci_read_block(pci_dev, addr, (u8 *) &val, len);
return val;

Initing with (-1) will fail when reading less then 4 bytes in pci_read_block. I run into this in register_vga_regions function when it returned vendor_id 0xffff8086 for igd, which left me without opregion at all.

It seems to me zero-value in pt_pci_host_read would be more correct.


That’s good to hear. I assume both systems are using the same Win7-64 IGD driver. I know the IGD drivers for XP and Win7 are different. I have not tried XP environment so there might be problems.

*From:* Sergey Tovpeko [mailto:tsv.devel@xxxxxxxxx]
*Sent:* Wednesday, March 02, 2011 11:58 AM
*To:* Kay, Allen M
*Cc:* xen-devel@xxxxxxxxxxxxxxxxxxx
*Subject:* Re: [Xen-devel] IGD passthrough

I checked IGD passthrough with native driver on other notebook i5-540 cpu. Win7 64 driver works and which make me happy and confuse. I don't know the name of second notebook, it was provided us by our partners.At least both notebooks have the same CPUs.

Thank you for your advice.


On Wed, Mar 2, 2011 at 7:30 AM, Sergey Tovpeko <tsv.devel@xxxxxxxxx <mailto:tsv.devel@xxxxxxxxx>> wrote:

Thank you, Allen for your replay.

I'll try to check this on other hardware.

As for Win7-64. It looks differently how IGD works. I mean when driver starts, I could recognize the windows' greeting and login. But the point is that the display is not normal, not usual. It looks like the brightness is so low, that I could hardly recognize what is output on the screen.

Attached qemu's log for win7.


On Tue, Mar 1, 2011 at 8:46 PM, Kay, Allen M <allen.m.kay@xxxxxxxxx <mailto:allen.m.kay@xxxxxxxxx>> wrote:


I noticed you are using WinXP guest. Have you tried Win7-64 guest? Do you have another Calpella laptop (i.e. Thinkpad T41) to try on?

It would be interesting to know if this problem is WinXP specific or HP 8440p specific. I know there are there are quite a bit of difference between XP and Win7 IGD driver.

I have ready access to ThinkPad and Dell Calepella laptop.


-----Original Message-----
From: Sergey Tovpeko [mailto:tsv.devel@xxxxxxxxx <mailto:tsv.devel@xxxxxxxxx>]
Sent: Tuesday, March 01, 2011 4:08 AM
To: xen-devel@xxxxxxxxxxxxxxxxxxx <mailto:xen-devel@xxxxxxxxxxxxxxxxxxx>

Cc: Kay, Allen M; weidong.han@xxxxxxxxx <mailto:weidong.han@xxxxxxxxx>
Subject: [Xen-devel] IGD passthrough

Hello, everybody!

I've got an issue concerning IGD passthrough on calpella/sandybridge platform. The IGD have passthrough-ed well on Win7 and WinXp until I setup native driver for GPU.

After installing drivers and rebooting domain the display got black when driver starts.

I found the similar issue

Could you provide any advice to make graphic works?

My system:
Hardware : EliteBook 8440p
Xen - xen-4.1.0-rc6


Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>