Browse files

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"

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 <>
Cc: Joerg Roedel <>
Cc: Donald Dutile <>
Cc: Suresh Siddha <>
Cc: Hannes Reinecke <>
Signed-off-by: Ingo Molnar <>
  • Loading branch information...
Li, Zhen-Hua Ingo Molnar
Li, Zhen-Hua authored and Ingo Molnar committed Mar 6, 2013
1 parent 576cfb4 commit 4ecccd9edd5eb4dd185486e6e593c671484691bc
Showing with 1 addition and 0 deletions.
  1. +1 −0 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[] =

0 comments on commit 4ecccd9

Please sign in to comment.