projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff6d0cc
)
iommu/amd: Don't call mmu_notifer_unregister in __unbind_pasid
author
Joerg Roedel
<jroedel@suse.de>
Tue, 8 Jul 2014 10:53:32 +0000
(12:53 +0200)
committer
Joerg Roedel
<jroedel@suse.de>
Thu, 10 Jul 2014 13:36:22 +0000
(15:36 +0200)
This function is called only in the mn_release() path, so
there is no need to unregister the mmu_notifer here.
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Tested-by: Oded Gabbay <Oded.Gabbay@amd.com>
drivers/iommu/amd_iommu_v2.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iommu/amd_iommu_v2.c
b/drivers/iommu/amd_iommu_v2.c
index 0e29f6f66e834d8e50d661e4c02cc383d2ba0f24..1fdd22c3bc0481c35e07376f26c45e77c17d418f 100644
(file)
--- a/
drivers/iommu/amd_iommu_v2.c
+++ b/
drivers/iommu/amd_iommu_v2.c
@@
-313,8
+313,6
@@
static void __unbind_pasid(struct pasid_state *pasid_state)
/* Make sure no more pending faults are in the queue */
flush_workqueue(iommu_wq);
- mmu_notifier_unregister(&pasid_state->mn, pasid_state->mm);
-
put_pasid_state(pasid_state); /* Reference taken in bind() function */
}