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] Why call iommu_unmap_page() in set_p2m_entry()?

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Why call iommu_unmap_page() in set_p2m_entry()?
From: "Han, Weidong" <weidong.han@xxxxxxxxx>
Date: Thu, 13 Mar 2008 21:28:54 +0800
Cc: wei.wang2@xxxxxxx, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Thu, 13 Mar 2008 06:33:16 -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: AciFDi7GK2Xt4JCVQxynB6N3zSTv1w==
Thread-topic: [Xen-devel] Why call iommu_unmap_page() in set_p2m_entry()?
As my understanding, AMD IOMMU doesn't share its page tables with p2m
table. So it needs call iommu_unmap_page() to free pages when shut down
or destroy domain. Now iommu_unmap_page() is only called in
set_p2m_entry(), I think it won't be executed when shut down or destroy
domain. I'm not familiar with AMD IOMMU code, maybe I missed something.
Can you explain why do that? Thanks!

Randy (Weidong) 

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

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