Skip to content

Commit f44a4d7

Browse files
committed
iommu/amd: Call domain_flush_complete() in update_domain()
The update_domain() function is expected to also inform the hardware about domain changes. This needs a COMPLETION_WAIT command to be sent to all IOMMUs which use the domain. Signed-off-by: Joerg Roedel <[email protected]> Tested-by: Qian Cai <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
1 parent 5b8a9a0 commit f44a4d7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/iommu/amd_iommu.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2321,6 +2321,7 @@ static void update_domain(struct protection_domain *domain)
23212321

23222322
domain_flush_devices(domain);
23232323
domain_flush_tlb_pde(domain);
2324+
domain_flush_complete(domain);
23242325
}
23252326

23262327
int __init amd_iommu_init_api(void)

0 commit comments

Comments
 (0)