diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2008-09-11 10:51:41 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-09-19 06:59:15 -0400 |
commit | a80dc3e0e0dc8393158de317d66ae0f345dc58f9 (patch) | |
tree | d7e18a5d25a6dc1101fe699966a9b59b9b88a2f2 /arch/x86/kernel/amd_iommu.c | |
parent | 3eaf28a1cd2686aaa185b54d5a5e18e91b41f7f2 (diff) |
AMD IOMMU: add MSI interrupt support
The AMD IOMMU can generate interrupts for various reasons. This patch
adds the basic interrupt enabling infrastructure to the driver.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/amd_iommu.c')
-rw-r--r-- | arch/x86/kernel/amd_iommu.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/x86/kernel/amd_iommu.c b/arch/x86/kernel/amd_iommu.c index 15792ed082e..0e494b9d5f2 100644 --- a/arch/x86/kernel/amd_iommu.c +++ b/arch/x86/kernel/amd_iommu.c | |||
@@ -51,6 +51,17 @@ static int iommu_has_npcache(struct amd_iommu *iommu) | |||
51 | 51 | ||
52 | /**************************************************************************** | 52 | /**************************************************************************** |
53 | * | 53 | * |
54 | * Interrupt handling functions | ||
55 | * | ||
56 | ****************************************************************************/ | ||
57 | |||
58 | irqreturn_t amd_iommu_int_handler(int irq, void *data) | ||
59 | { | ||
60 | return IRQ_NONE; | ||
61 | } | ||
62 | |||
63 | /**************************************************************************** | ||
64 | * | ||
54 | * IOMMU command queuing functions | 65 | * IOMMU command queuing functions |
55 | * | 66 | * |
56 | ****************************************************************************/ | 67 | ****************************************************************************/ |