diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2012-06-26 16:46:04 +0200 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2012-09-28 17:43:52 +0200 |
commit | 6b474b8224cdb473f19e8c925171e608499cc45d (patch) | |
tree | d52191a42b4b9292b1908003245abcf852c6919b /drivers/iommu/amd_iommu_proto.h | |
parent | d976195c93bce4512e990d170858d20d71c95c45 (diff) | |
download | linux-6b474b8224cdb473f19e8c925171e608499cc45d.tar.gz linux-6b474b8224cdb473f19e8c925171e608499cc45d.tar.bz2 linux-6b474b8224cdb473f19e8c925171e608499cc45d.zip |
iommu/amd: Add initialization routines for AMD interrupt remapping
Add the six routines required to setup interrupt remapping
with the AMD IOMMU. Also put it all together into the AMD
specific irq_remap_ops.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'drivers/iommu/amd_iommu_proto.h')
-rw-r--r-- | drivers/iommu/amd_iommu_proto.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/iommu/amd_iommu_proto.h b/drivers/iommu/amd_iommu_proto.h index 1a7f41c6cc66..c294961bdd36 100644 --- a/drivers/iommu/amd_iommu_proto.h +++ b/drivers/iommu/amd_iommu_proto.h @@ -32,6 +32,14 @@ extern void amd_iommu_uninit_devices(void); extern void amd_iommu_init_notifier(void); extern void amd_iommu_init_api(void); +/* Needed for interrupt remapping */ +extern int amd_iommu_supported(void); +extern int amd_iommu_prepare(void); +extern int amd_iommu_enable(void); +extern void amd_iommu_disable(void); +extern int amd_iommu_reenable(int); +extern int amd_iommu_enable_faulting(void); + /* IOMMUv2 specific functions */ struct iommu_domain; |