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] [bug] 'VT-d 1G super page' feature is blocked

To: Tim Deegan <tim@xxxxxxx>
Subject: RE: [Xen-devel] [bug] 'VT-d 1G super page' feature is blocked
From: "Kay, Allen M" <allen.m.kay@xxxxxxxxx>
Date: Wed, 17 Aug 2011 17:07:43 -0700
Accept-language: en-US
Acceptlanguage: en-US
Cc: "Ren, Yongjie" <yongjie.ren@xxxxxxxxx>, Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Hao, Xudong" <xudong.hao@xxxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxxxx>, "Li, Xin" <xin.li@xxxxxxxxx>, "Zhang, Yang Z" <yang.z.zhang@xxxxxxxxx>
Delivery-date: Wed, 17 Aug 2011 17:08:50 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110816091320.GL11708@xxxxxxxxxxxxxxxxxxxxx>
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: <CE59C043D0EC3349B2BF41C0EC72229B12D21111FB@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <CE59C043D0EC3349B2BF41C0EC72229B12D216E382@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20110803171239.GA71832@xxxxxxxxxxxxxxxxxxxxx> <987664A83D2D224EAE907B061CE93D5301EA1F3274@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <4E3FAF0F0200007800050178@xxxxxxxxxxxxxxxxxxxx> <20110808151150.GB5845@xxxxxxxxxxxxxxxxxxxxx> <20110810162534.GB11708@xxxxxxxxxxxxxxxxxxxxx> <20110815101159.GG11708@xxxxxxxxxxxxxxxxxxxxx> <20110815104059.GH11708@xxxxxxxxxxxxxxxxxxxxx> <987664A83D2D224EAE907B061CE93D5301EA3F8905@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20110816091320.GL11708@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acxb9MMNv95ASdLoRJOMKGGHF5iBIQBRWaag
Thread-topic: [Xen-devel] [bug] 'VT-d 1G super page' feature is blocked
Tim,

This patch at least fixed the dom0 boot issue on my jaketown system when 
sharept is used.  I'm still having some issue in the guest which might not be 
sharept related.  I need to verify it further tomorrow as I need to leave early 
today.

When you get a chance, can you also make a similar patch for xen-4.1-testing?  
Jan need it for backporting to SLES11.

Allen

-----Original Message-----
From: Tim Deegan [mailto:tim@xxxxxxx] 
Sent: Tuesday, August 16, 2011 2:13 AM
To: Kay, Allen M
Cc: Ren, Yongjie; Xen Devel; Jan Beulich; Li, Xin
Subject: Re: [Xen-devel] [bug] 'VT-d 1G super page' feature is blocked

At 15:37 -0700 on 15 Aug (1313422621), Kay, Allen M wrote:
> > #define iommu_use_hap_pt(d) (paging_mode_translate(d) && 
> > iommu_hap_pt_share)
> 
> Tim, should the code be checking for paging_mode_hap(d) instead to 
> make sure HAP page table is used?

Ah, yes it should; thanks for spotting that.  For AMD _external() is sufficient 
but not for VtD.  Updated version attached. 

Cheers,

Tim

--
Tim Deegan <tim@xxxxxxx>
Principal Software Engineer, Xen Platform Team Citrix Systems UK Ltd.  (Company 
#02937203, SL9 0BG)

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

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