Skip to content
Commit eee53537 authored by Joerg Roedel's avatar Joerg Roedel
Browse files

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: stable@vger.kernel.org # v3.3, v3.4
Signed-off-by: default avatarJoerg Roedel <joerg.roedel@amd.com>
parent c1bf94ec
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment