aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dma-debug.c
diff options
context:
space:
mode:
authorJoerg Roedel <[email protected]>2012-06-01 13:20:23 +0000
committerJoerg Roedel <[email protected]>2012-06-04 10:47:44 +0000
commiteee53537c476c947bf7faa1c916d2f5a0ae8ec93 (patch)
tree0ca87099455da1cd0bf48affee27516a4bd1fa38 /lib/dma-debug.c
parentiommu/amd: Cache pdev pointer to root-bridge (diff)
downloadkernel-eee53537c476c947bf7faa1c916d2f5a0ae8ec93.tar.gz
kernel-eee53537c476c947bf7faa1c916d2f5a0ae8ec93.zip
iommu/amd: Fix deadlock in ppr-handling error path
In the error path of the ppr_notifer it can happen that the iommu->lock is taken recursivly. This patch fixes the problem by releasing the iommu->lock before any notifier is invoked. This also requires to move the erratum workaround for the ppr-log (interrupt may be faster than data in the log) one function up. Cc: [email protected] # v3.3, v3.4 Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions