From: Suravee Suthikulpanit <[email protected]>

Typically, IOMMU events are logged into the event log.  Current driver 
processes each event
in the log when the hardware generate an MSI interrupt. It reports event type, 
device ID, 
raw status flag, and etc. in the kernel log (dmesg)

1. The first patch improve event reporting by using the type of event and 
status flag to 
decode event information and provide more detail in the report. This should 
also be useful 
when debugging IOMMU issues.

2. The second patch provide interface for testing the event decoding logic 
using the debugfs.

3. Fix IOMMU event log interrupt handling which currently does not re-enable 
the event interrupt.

 drivers/iommu/Kconfig            |    9 ++
 drivers/iommu/Makefile           |    1 +
 drivers/iommu/amd_iommu.c        |  167 ++++++++++++++++++++++++++++++++------
 drivers/iommu/amd_iommu_inject.c |   99 ++++++++++++++++++++++
 drivers/iommu/amd_iommu_proto.h  |    9 ++
 drivers/iommu/amd_iommu_types.h  |    1 +
 6 files changed, 259 insertions(+), 27 deletions(-)
 create mode 100644 drivers/iommu/amd_iommu_inject.c

-- 
1.7.10.4


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to