iommu/amd: Add workaround for event log erratum
authorJoerg Roedel <joerg.roedel@amd.com>
Thu, 12 Apr 2012 12:12:00 +0000 (14:12 +0200)
committerJoerg Roedel <joerg.roedel@amd.com>
Thu, 12 Apr 2012 12:16:14 +0000 (14:16 +0200)
commit3d06fca8d2aa3543030e40b95f1d62f9f5a03540
treefcef864e872b18c00991cc1805c279f977e61fca
parenta3b93121430c7b46c2895a7744261be107ccdf7f
iommu/amd: Add workaround for event log erratum

Due to a recent erratum it can happen that the head pointer
of the event-log is updated before the actual event-log
entry is written. This patch implements the recommended
workaround.

Cc: stable@vger.kernel.org # all stable kernels
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/amd_iommu.c