| 
         
xen-devel
RE: [Xen-devel] [bug] 'VT-d 1G super page' feature is blocked
 
| 
To:  | 
Tim Deegan <tim@xxxxxxx>, "Ren, Yongjie" <yongjie.ren@xxxxxxxxx>, Xen	Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxxxx>,	"Li, Xin" <xin.li@xxxxxxxxx> | 
 
| 
Subject:  | 
RE: [Xen-devel] [bug] 'VT-d 1G super page' feature is blocked | 
 
| 
From:  | 
"Kay, Allen M" <allen.m.kay@xxxxxxxxx> | 
 
| 
Date:  | 
Mon, 15 Aug 2011 15:37:01 -0700 | 
 
| 
Accept-language:  | 
en-US | 
 
| 
Acceptlanguage:  | 
en-US | 
 
| 
Cc:  | 
 | 
 
| 
Delivery-date:  | 
Mon, 15 Aug 2011 15:37:36 -0700 | 
 
| 
Envelope-to:  | 
www-data@xxxxxxxxxxxxxxxxxxx | 
 
| 
In-reply-to:  | 
<20110815104059.GH11708@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:  | 
<CE59C043D0EC3349B2BF41C0EC72229B12D21111F0@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>	<20110730081145.GA45723@xxxxxxxxxxxxxxxxxxxxx>	<CE59C043D0EC3349B2BF41C0EC72229B12D21111FB@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>	<CE59C043D0EC3349B2BF41C0EC72229B12D216E382@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>	<20110803171239.GA71832@xxxxxxxxxxxxxxxxxxxxx>	<987664A83D2D224EAE907B061CE93D5301EA1F3274@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>	<4E3FAF0F0200007800050178@xxxxxxxxxxxxxxxxxxxx>	<20110808151150.GB5845@xxxxxxxxxxxxxxxxxxxxx>	<20110810162534.GB11708@xxxxxxxxxxxxxxxxxxxxx>	<20110815101159.GG11708@xxxxxxxxxxxxxxxxxxxxx>	<20110815104059.GH11708@xxxxxxxxxxxxxxxxxxxxx> | 
 
| 
Sender:  | 
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx | 
 
| 
Thread-index:  | 
AcxbN9RbJsr5BHcMSHKqqsdk7OxJGgAY4QeA | 
 
| 
Thread-topic:  | 
[Xen-devel] [bug] 'VT-d 1G super page' feature is blocked | 
 
 
 
> #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?
-----Original Message-----
From: Tim Deegan [mailto:tim@xxxxxxx] 
Sent: Monday, August 15, 2011 3:41 AM
To: Ren, Yongjie; Xen Devel; Jan Beulich; Kay, Allen M; Li, Xin
Subject: Re: [Xen-devel] [bug] 'VT-d 1G super page' feature is blocked
Hi, 
At 11:11 +0100 on 15 Aug (1313406719), Tim Deegan wrote:
> So this breaks on dom0 boot, but that's a symptom of a deeper illness. 
> By chance, the old code (before 23247) only actually enabled 
> EPT-sharing when the first HVM domain tried to use it.  23247 pulled 
> that enabling up to boot time, and exposed the bug that PV guests 
> aren't properly supported.  AFAICS the code just tries to share the 
> P2M table without making sure there is one there to share. :(
Please try the attached patch, as well as the one earlier in the thread. 
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>
 |  
- RE: [Xen-devel] [bug] 'VT-d 1G super page' feature is blocked, Ren, Yongjie
- Re: [Xen-devel] [bug] 'VT-d 1G super page' feature is blocked, Tim Deegan
- RE: [Xen-devel] [bug] 'VT-d 1G super page' feature is blocked, Kay, Allen M
- RE: [Xen-devel] [bug] 'VT-d 1G super page' feature is blocked, Jan Beulich
 - Re: [Xen-devel] [bug] 'VT-d 1G super page' feature is blocked, Tim Deegan
 - Re: [Xen-devel] [bug] 'VT-d 1G super page' feature is blocked, Tim Deegan
 - Re: [Xen-devel] [bug] 'VT-d 1G super page' feature is blocked, Tim Deegan
 - Re: [Xen-devel] [bug] 'VT-d 1G super page' feature is blocked, Tim Deegan
 - RE: [Xen-devel] [bug] 'VT-d 1G super page' feature is blocked,
Kay, Allen M <=
 - Re: [Xen-devel] [bug] 'VT-d 1G super page' feature is blocked, Tim Deegan
 - RE: [Xen-devel] [bug] 'VT-d 1G super page' feature is blocked, Kay, Allen M
 
- [Xen-devel] [PATCH][VTD] fixing vt-d/ept page table sharing in	xen-4.1, Kay, Allen M
 - [Xen-devel] Re: [PATCH][VTD] fixing vt-d/ept page table sharing in	xen-4.1, Jan Beulich
 - [Xen-devel] RE: [PATCH][VTD] fixing vt-d/ept page table sharing in	xen-4.1, Kay, Allen M
 
  
- Re: [Xen-devel] [PATCH][VTD] fixing vt-d/ept page table sharing in	xen-4.1, Tim Deegan
 - RE: [Xen-devel] [PATCH][VTD] fixing vt-d/ept page table sharing in	xen-4.1, Kay, Allen M
 - Re: [Xen-devel] [PATCH][VTD] fixing vt-d/ept page table sharing in	xen-4.1, Tim Deegan
 - RE: [Xen-devel] [PATCH][VTD] fixing vt-d/ept page table sharing in	xen-4.1, Kay, Allen M
 
- RE: [Xen-devel] [PATCH][VTD] fixing vt-d/ept page table sharing in	xen-4.1, Kay, Allen M
 
  
  
 
 |  
  
 | 
    |