iommu/amd: Re-enable IOMMU event log interrupt after handling.
authorSuravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Wed, 27 Mar 2013 23:51:52 +0000 (18:51 -0500)
committerJoerg Roedel <joro@8bytes.org>
Tue, 2 Apr 2013 14:48:20 +0000 (16:48 +0200)
commit925fe08bce38d1ff052fe2209b9e2b8d5fbb7f98
tree603e1fa952b9a839ec20a8aab04246c843a5bd5b
parent07961ac7c0ee8b546658717034fe692fd12eefa9
iommu/amd: Re-enable IOMMU event log interrupt after handling.

Current driver does not clear the IOMMU event log interrupt bit
in the IOMMU status register after processing an interrupt.
This causes the IOMMU hardware to generate event log interrupt only once.
This has been observed in both IOMMU v1 and V2 hardware.
This patch clears the bit by writing 1 to bit 1 of the IOMMU
status register (MMIO Offset 2020h)

Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
drivers/iommu/amd_iommu.c
drivers/iommu/amd_iommu_types.h