[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] Re: [PATCH] VT-d: IOTLB flush fixups
> On map: only flush when old PTE was valid or invalid PTE may be cached. > On unmap: always flush old entry, but skip flush for unaffected IOMMUs. > > Signed-off-by: Espen Skoglund <espen.skoglund@xxxxxxxxxxxxx> > > -- > iommu.c | 17 +++++++++++------ > 1 file changed, 11 insertions(+), 6 deletions(-) > -- Seems my last mail sent to the xen-devel is lost and I have no local copy so I have to write again... Espen, Thanks for the patch! I also noticed context/iotlb flush need a cleanup. As flush of present/non-present entry are different, your change to iommu_intel_map_page are not that correct. So I made up anther patch. iommu_flush is also removed, as VTd table is not shared with p2m any more. Signed-off-by: Xiaowei Yang <xiaowei.yang@xxxxxxxxx> Thanks, Xiaowei Attachment:
flush.diff _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |