xen-devel
[Xen-devel] [PATCH][VTD] fixing vt-d/ept page table sharing in xen-4.1
To: |
Tim Deegan <tim@xxxxxxx>, "keir@xxxxxxx" <keir@xxxxxxx> |
Subject: |
[Xen-devel] [PATCH][VTD] fixing vt-d/ept page table sharing in xen-4.1 |
From: |
"Kay, Allen M" <allen.m.kay@xxxxxxxxx> |
Date: |
Fri, 19 Aug 2011 18:47:50 -0700 |
Accept-language: |
en-US |
Acceptlanguage: |
en-US |
Cc: |
"Ren, Yongjie" <yongjie.ren@xxxxxxxxx>, Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Hao, Xudong" <xudong.hao@xxxxxxxxx>, "Li, Xin" <xin.li@xxxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxxxx> |
Delivery-date: |
Fri, 19 Aug 2011 18:49:10 -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: |
Acxb9MMNv95ASdLoRJOMKGGHF5iBIQC46T9g |
Thread-topic: |
[PATCH][VTD] fixing vt-d/ept page table sharing in xen-4.1 |
Tim/Keir,
Attached is a patch for fixing VT-d/EPT sharing issue in xen-4.1-testing. It
is base on Tim's patch with the following changes:
1) moving "d->arch.paging.mode = mode | PG_HAP_enable" before calling
p2m_alloc_table(). Otherwise, the call to iommu_use_hap_pt() in
iommu_set_pgd() will not return TRUE.
2) added following to passthrough/iommu.c so that now uses "iommu=sharept" to
turn on this feature. I have removed the old "sharpt=1" boot option.
+ else if ( !strcmp(s, "sharept") )
+ iommu_hap_pt_share = 1;
If there is no problem with change in (1), then this patch can be incorporated
into the xen 4.1.2 release.
Here is the sign off if needed:
Signed-off-by: Tim Deegan <tim@xxxxxxx>
Signed-off-by: Allen Kay <allen.m.kay@xxxxxxxxx>
share0819.patch
Description: share0819.patch
_______________________________________________
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, (continued)
- 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
- Re: [Xen-devel] [PATCH][VTD] fixing vt-d/ept page table sharing in xen-4.1, Tim Deegan
|
|
|