projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc21662
)
iommu/amd: Remove unnecessary cache flushes in amd_iommu_resume
author
Joerg Roedel
<joerg.roedel@amd.com>
Thu, 22 Dec 2011 11:18:45 +0000
(12:18 +0100)
committer
Joerg Roedel
<joerg.roedel@amd.com>
Thu, 22 Dec 2011 13:56:56 +0000
(14:56 +0100)
The caches are already flushed in enable_iommus(), so this
flush is not necessary.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/amd_iommu_init.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iommu/amd_iommu_init.c
b/drivers/iommu/amd_iommu_init.c
index c7a5d7e14547e2292ac70e81f1f4a1395f40c292..38784733cbb4c7dd73716b8c3aa533dda18bb400 100644
(file)
--- a/
drivers/iommu/amd_iommu_init.c
+++ b/
drivers/iommu/amd_iommu_init.c
@@
-1396,13
+1396,6
@@
static void amd_iommu_resume(void)
/* re-load the hardware */
enable_iommus();
-
- /*
- * we have to flush after the IOMMUs are enabled because a
- * disabled IOMMU will never execute the commands we send
- */
- for_each_iommu(iommu)
- iommu_flush_all_caches(iommu);
}
static int amd_iommu_suspend(void)