aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iommu
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2011-12-22 06:18:45 -0500
committerJoerg Roedel <joerg.roedel@amd.com>2011-12-22 08:56:56 -0500
commit31342b58b72b2b8480f12ffee648c8ba3297dee1 (patch)
tree72216b2e25fde90006a33bc35f2b6acabfbca8df /drivers/iommu
parentbc21662f729cd17d2af93e149f4eccafc7b10181 (diff)
iommu/amd: Remove unnecessary cache flushes in amd_iommu_resume
The caches are already flushed in enable_iommus(), so this flush is not necessary. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'drivers/iommu')
-rw-r--r--drivers/iommu/amd_iommu_init.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/iommu/amd_iommu_init.c b/drivers/iommu/amd_iommu_init.c
index c7a5d7e14547..38784733cbb4 100644
--- a/drivers/iommu/amd_iommu_init.c
+++ b/drivers/iommu/amd_iommu_init.c
@@ -1396,13 +1396,6 @@ static void amd_iommu_resume(void)
1396 1396
1397 /* re-load the hardware */ 1397 /* re-load the hardware */
1398 enable_iommus(); 1398 enable_iommus();
1399
1400 /*
1401 * we have to flush after the IOMMUs are enabled because a
1402 * disabled IOMMU will never execute the commands we send
1403 */
1404 for_each_iommu(iommu)
1405 iommu_flush_all_caches(iommu);
1406} 1399}
1407 1400
1408static int amd_iommu_suspend(void) 1401static int amd_iommu_suspend(void)