diff options
author | Keshavamurthy, Anil S <anil.s.keshavamurthy@intel.com> | 2007-10-21 19:41:54 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-22 11:13:19 -0400 |
commit | 3460a6d9cef9ac2aa997da7eff7ff1c8291b361c (patch) | |
tree | 3cf7eb916456d781d2edb135f9069f7c94d10085 /Documentation/Intel-IOMMU.txt | |
parent | 7d3b03ce7bff9d39ebaee1bb8de1968c4434b883 (diff) |
Intel IOMMU: DMAR fault handling support
MSI interrupt handler registrations and fault handling support for Intel-IOMMU
hadrware.
This patch enables the MSI interrupts for the DMA remapping units and in the
interrupt handler read the fault cause and outputs the same on to the console.
Signed-off-by: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
Cc: Andi Kleen <ak@suse.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Muli Ben-Yehuda <muli@il.ibm.com>
Cc: "Siddha, Suresh B" <suresh.b.siddha@intel.com>
Cc: Arjan van de Ven <arjan@infradead.org>
Cc: Ashok Raj <ashok.raj@intel.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Christoph Lameter <clameter@sgi.com>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/Intel-IOMMU.txt')
-rw-r--r-- | Documentation/Intel-IOMMU.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Documentation/Intel-IOMMU.txt b/Documentation/Intel-IOMMU.txt index cbb4dbaef761..aba7722c2935 100644 --- a/Documentation/Intel-IOMMU.txt +++ b/Documentation/Intel-IOMMU.txt | |||
@@ -63,6 +63,15 @@ Interrupt ranges are not address translated, (0xfee00000 - 0xfeefffff). | |||
63 | The same is true for peer to peer transactions. Hence we reserve the | 63 | The same is true for peer to peer transactions. Hence we reserve the |
64 | address from PCI MMIO ranges so they are not allocated for IOVA addresses. | 64 | address from PCI MMIO ranges so they are not allocated for IOVA addresses. |
65 | 65 | ||
66 | |||
67 | Fault reporting | ||
68 | --------------- | ||
69 | When errors are reported, the DMA engine signals via an interrupt. The fault | ||
70 | reason and device that caused it with fault reason is printed on console. | ||
71 | |||
72 | See below for sample. | ||
73 | |||
74 | |||
66 | Boot Message Sample | 75 | Boot Message Sample |
67 | ------------------- | 76 | ------------------- |
68 | 77 | ||
@@ -85,6 +94,14 @@ When DMAR is enabled for use, you will notice.. | |||
85 | 94 | ||
86 | PCI-DMA: Using DMAR IOMMU | 95 | PCI-DMA: Using DMAR IOMMU |
87 | 96 | ||
97 | Fault reporting | ||
98 | --------------- | ||
99 | |||
100 | DMAR:[DMA Write] Request device [00:02.0] fault addr 6df084000 | ||
101 | DMAR:[fault reason 05] PTE Write access is not set | ||
102 | DMAR:[DMA Write] Request device [00:02.0] fault addr 6df084000 | ||
103 | DMAR:[fault reason 05] PTE Write access is not set | ||
104 | |||
88 | TBD | 105 | TBD |
89 | ---- | 106 | ---- |
90 | 107 | ||