hv: vtd: remove global cache invalidation per vm

Cacheline is flushed on EPT entry change, no need to invalidate cache globally
when VM created per VM.

Tracked-On: #4120
Signed-off-by: Binbin Wu <binbin.wu@intel.com>
Reviewed-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
Binbin Wu 2019-08-18 14:00:08 +08:00 committed by wenlingz
parent 2d55b49ea1
commit 1a99288d64

View File

@ -1289,9 +1289,6 @@ int32_t move_pt_device(const struct iommu_domain *from_domain, struct iommu_doma
void enable_iommu(void)
{
if (!iommu_page_walk_coherent) {
cache_flush_invalidate_all();
}
do_action_for_iommus(dmar_enable);
}