]> git.karo-electronics.de Git - karo-tx-linux.git/commit
iommu/amd: Adding GALOG interrupt handler
authorSuravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Tue, 23 Aug 2016 18:52:37 +0000 (13:52 -0500)
committerJoerg Roedel <jroedel@suse.de>
Mon, 5 Sep 2016 10:41:46 +0000 (12:41 +0200)
commitbd6fcefc66f6d038406e38edf96a95d9842f819d
tree46e42ae811db8d9944bcc8f96d1eb0e6a90906a8
parent8bda0cfbdc1a6278a1bbdba795139da682f296ff
iommu/amd: Adding GALOG interrupt handler

This patch adds AMD IOMMU guest virtual APIC log (GALOG) handler.
When IOMMU hardware receives an interrupt targeting a blocking vcpu,
it creates an entry in the GALOG, and generates an interrupt to notify
the AMD IOMMU driver.

At this point, the driver processes the log entry, and notify the SVM
driver via the registered iommu_ga_log_notifier function.

Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd_iommu.c
include/linux/amd-iommu.h