WARNING - OLD ARCHIVES

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

xen-devel

RE: [Xen-devel] Problem: Pattern with vertical colored lines on the dom0

To: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>, Dietmar Hahn <dietmar.hahn@xxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Problem: Pattern with vertical colored lines on the dom0 screen
From: "Kay, Allen M" <allen.m.kay@xxxxxxxxx>
Date: Wed, 29 Sep 2010 16:14:06 -0700
Accept-language: en-US
Acceptlanguage: en-US
Cc: Keir Fraser <keir@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Han, Weidong" <weidong.han@xxxxxxxxx>, Jean Guyader <jean.guyader@xxxxxxxxx>
Delivery-date: Wed, 29 Sep 2010 16:15:06 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100927164706.GC4741@xxxxxxxxxxxx>
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: <201009171520.11903.dietmar.hahn@xxxxxxxxxxxxxx> <201009241310.19462.dietmar.hahn@xxxxxxxxxxxxxx> <AANLkTin5bZdZch9y1kqUxoJHW8K4LMU5PUcuTpQLmZ0h@xxxxxxxxxxxxxx> <201009271406.26670.dietmar.hahn@xxxxxxxxxxxxxx> <20100927164706.GC4741@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: ActeZGVsUdi7bdSGRN60jJK9WWaN5ABxgXCg
Thread-topic: [Xen-devel] Problem: Pattern with vertical colored lines on the dom0 screen
Attached patch fixes dom0 graphics problem on Levnovo T410 when VT-d is 
enabled.  The patch is derived from a similar quirk in Linux kernel by David 
Woodhouse and Adam Jackson.  It checks for VT enabling bit in IGD GGC register. 
 If VT is not enabled correctly in the IGD, Xen does not enable VT-d 
translation for IGD VT-d engine.  In case where iommu boot parameter is set to 
force, Xen calls panic().

Signed-off-by: Allen Kay allen.m.kay@xxxxxxxxx

-----Original Message-----
From: Konrad Rzeszutek Wilk [mailto:konrad.wilk@xxxxxxxxxx] 
Sent: Monday, September 27, 2010 9:47 AM
To: Dietmar Hahn; Han, Weidong; Kay, Allen M
Cc: Jean Guyader; xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Problem: Pattern with vertical colored lines on the 
dom0 screen

On Mon, Sep 27, 2010 at 02:06:26PM +0200, Dietmar Hahn wrote:
> Hi Jean,
> 
> many thanks for this hint! This saved me a lot of time searching through
> the specs.
> 
> Am 24.09.2010 schrieb Jean Guyader:
> > The problem we saw with that the bit 10 of the GCC (offset 0x52 on the
> > PCH config space)
> > wasn't set after the bios. This bit probably enable the shadow GTT
> > (created with the GTT + vt-d).
> 
> Yes, the same problem here!
> I found the following patch, maybe something similar would help here too?
> https://patchwork.kernel.org/patch/132771

There looks to be another in the upstream kernels:

check_tylersburg_isoch
> 
> So I have to hit the bios development :-(

Well, we should probably provide a quirk check in the Xen code.

Copying the Intel folks to see if they any ideas on adding this in the Intel 
VT-d
code paths. Or they might have already a patch ready for this?
> 
> > The vertical stripes means GTT fault.
> > 
> > Jean
> 
> Many thanks!
> Dietmar.
> 
> -- 
> Company details: http://ts.fujitsu.com/imprint.html
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel

Attachment: igd-vtd.patch
Description: igd-vtd.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel