mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-19 20:22:46 +00:00
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:
parent
2d55b49ea1
commit
1a99288d64
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user