]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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)
commita40d4c67d7dec4e9b04e2fe1105072a843fda5a9
tree1a1d7a9cc86058fb85eaa865d3032116a69e11b0
parent741669c765c45cace9bd630f7c8c8047c8b33567
iommu/amd: Implement mmu_notifier_release call-back

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