Commit 4ecccd9edd5eb4dd185486e6e593c671484691bc
Committed by
Ingo Molnar
1 parent
576cfb404c
Exists in
master
and in
20 other branches
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 <zhen-hual@hp.com>
Cc: Joerg Roedel <joro@8bytes.org>
Cc: Donald Dutile <ddutile@redhat.com>
Cc: Suresh Siddha <suresh.b.siddha@intel.com>
Cc: Hannes Reinecke <hare@suse.de>
Link: http://lkml.kernel.org/r/1362537797-6034-1-git-send-email-zhen-hual@hp.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff
drivers/iommu/dmar.c
| ... | ... | @@ -1083,6 +1083,7 @@ |
| 1083 | 1083 | "non-zero reserved fields in RTP", |
| 1084 | 1084 | "non-zero reserved fields in CTP", |
| 1085 | 1085 | "non-zero reserved fields in PTE", |
| 1086 | + "PCE for translation request specifies blocking", | |
| 1086 | 1087 | }; |
| 1087 | 1088 | |
| 1088 | 1089 | static const char *irq_remap_fault_reasons[] = |