[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Xen-devel] Re: [RFC][PATCH][VTD] EPT/VT-d page table sharing
At 18:38 +0000 on 08 Dec (1291833518), Kay, Allen M wrote:
> Attached is EPT/VT-d page table sharing patch I mentioned earlier. Basic
> idea is to leverage 2MB and 1GB page size support in EPT by having VT-d using
> the same page tables as EPT. When EPT page table changes, flush VT-d IOTLB
> cache.
>
> We are still further testing this patch but would appreciate feedbacks.
Looks good! Two minor nits:
- the path through iommu_set_pgd where the feature gets turned on is a
bit confusing. It would be cleaner to have the global flag enabled
as part of the general machine init.
- while you're moving the p2m bits into avail2, could you rename the
avail2 field to p2mt or similar? It would make the rest of the code
clearer.
Cheers,
Tim.
> Signed-off-by: Weidong Han <weidong.han@xxxxxxxxx>
> Signed-off-by: Allen Kay <allen.m.kay@xxxxxxxxx>
--
Tim Deegan <Tim.Deegan@xxxxxxxxxx>
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