iommu/amd: Workaround for ERBT1312
authorJoerg Roedel <joro@8bytes.org>
Thu, 18 Apr 2013 15:55:04 +0000 (17:55 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Jun 2013 19:49:48 +0000 (12:49 -0700)
commit52462d2f5a520ce96c3ea028d80594375adca04b
tree721e31a4275ab027dd8e821527f995a4e6a9005d
parenta5d3e60fa23aa401a2f14ed58af32405c9915351
iommu/amd: Workaround for ERBT1312

commit d3263bc29706e42f74d8800807c2dedf320d77f1 upstream.

Work around an IOMMU  hardware bug where clearing the
EVT_INT or PPR_INT bit in the status register may race with
the hardware trying to set it again. When not handled the
bit might not be cleared and we lose all future event or ppr
interrupts.

Reported-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/iommu/amd_iommu.c