AMD IOMMU: add event handling code