Skip to content

Commit 1a99288

Browse files
binbinwu1wenlingz
authored andcommitted
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>
1 parent 2d55b49 commit 1a99288

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

hypervisor/arch/x86/vtd.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1289,9 +1289,6 @@ int32_t move_pt_device(const struct iommu_domain *from_domain, struct iommu_doma
12891289

12901290
void enable_iommu(void)
12911291
{
1292-
if (!iommu_page_walk_coherent) {
1293-
cache_flush_invalidate_all();
1294-
}
12951292
do_action_for_iommus(dmar_enable);
12961293
}
12971294

0 commit comments

Comments
 (0)