aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi, Zhen-Hua <[email protected]>2013-03-06 10:43:17 +0800
committerIngo Molnar <[email protected]>2013-03-06 09:41:51 +0100
commit4ecccd9edd5eb4dd185486e6e593c671484691bc (patch)
tree2226b57b328e4a8bede6167665e6eab1121c343f
parent576cfb404c9cab728e9462ea713f3422679d5cf7 (diff)
iommu, x86: Add DMA remap fault reason
The number of DMA fault reasons in intel's document are from 1 to 0xD, but in dmar.c fault reason 0xD is not printed out. In this document: "Intel Virtualization Technology for Directed I/O Architecture Specification" http://download.intel.com/technology/computing/vptech/Intel(r)_VT_for_Direct_IO.pdf Chapter 4. Support For Device-IOTLBs Table 6. Unsuccessful Translated Requests There is fault reason for 0xD not listed in kernel: Present context-entry used to process translation request specifies blocking of Translation Requests (Translation Type (T) field value not equal to 01b). This patch adds reason 0xD as well. Signed-off-by: Li, Zhen-Hua <[email protected]> Cc: Joerg Roedel <[email protected]> Cc: Donald Dutile <[email protected]> Cc: Suresh Siddha <[email protected]> Cc: Hannes Reinecke <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
-rw-r--r--drivers/iommu/dmar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iommu/dmar.c b/drivers/iommu/dmar.c
index dc7e478b7e5f..e5cdaf87822c 100644
--- a/drivers/iommu/dmar.c
+++ b/drivers/iommu/dmar.c
@@ -1083,6 +1083,7 @@ static const char *dma_remap_fault_reasons[] =
"non-zero reserved fields in RTP",
"non-zero reserved fields in CTP",
"non-zero reserved fields in PTE",
+ "PCE for translation request specifies blocking",
};
static const char *irq_remap_fault_reasons[] =