iommu/amd: Implement mmu_notifier_release call-back
authorJoerg Roedel <jroedel@suse.de>
Tue, 20 May 2014 21:18:24 +0000 (23:18 +0200)
committerJoerg Roedel <jroedel@suse.de>
Mon, 26 May 2014 09:28:13 +0000 (11:28 +0200)
Since mmu_notifier call-backs can sleep (because they use
SRCU now) we can use them to tear down PASID mappings. This
allows us to finally remove the hack to use the task_exit
notifier from oprofile to get notified when a process dies.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
Tested-by: Jay Cornwall <Jay.Cornwall@amd.com>
drivers/iommu/amd_iommu_v2.c

Simple merge