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

[Xen-devel] [PATCH] [VTD] Separate VT-d page table from P2M table

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] [VTD] Separate VT-d page table from P2M table
From: "Han, Weidong" <weidong.han@xxxxxxxxx>
Date: Tue, 22 Apr 2008 16:36:28 +0800
Cc: "Xu, Anthony" <anthony.xu@xxxxxxxxx>, "Kay, Allen M" <allen.m.kay@xxxxxxxxx>
Delivery-date: Tue, 22 Apr 2008 01:39:08 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcikU/U3pfCdxRGgQWKd/PxtMk6F9A==
Thread-topic: [Xen-devel] [PATCH] [VTD] Separate VT-d page table from P2M table
Currently VT-d page table shares with P2M table, this patch supports
separate VT-d page table. 
1) add an option (vtd_share) to control whether VT-d page table shares
with P2M table or not.
2) in p2m_set_entry(), map/unmap page in VT-d page table. And also add a
function to free VT-d page table when tear down. 
3) allocate extra memory for VT-d page table when allocate memory for
doamin. 

In addition, when VT-d page table shares with P2M table,  remove the if
conditional judgement for iommu_flush(). Or there is opential issue when
using balloon driver. 

Signed-off-by: Weidong Han <weidong.han@xxxxxxxxx>
Signed-off-by: Anthony Xu <anthony.xu@xxxxxxxxx>

Attachment: vtd-sep.patch
Description: vtd-sep.patch

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