mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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 <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Muli Ben-Yehuda <[email protected]> Cc: "Siddha, Suresh B" <[email protected]> Cc: Arjan van de Ven <[email protected]> Cc: Ashok Raj <[email protected]> Cc: "David S. Miller" <[email protected]> Cc: Christoph Lameter <[email protected]> Cc: Greg KH <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
7d3b03ce7b
commit
3460a6d9ce
4 changed files with 281 additions and 1 deletions
|
|
@ -63,6 +63,15 @@ Interrupt ranges are not address translated, (0xfee00000 - 0xfeefffff).
|
|||
The same is true for peer to peer transactions. Hence we reserve the
|
||||
address from PCI MMIO ranges so they are not allocated for IOVA addresses.
|
||||
|
||||
|
||||
Fault reporting
|
||||
---------------
|
||||
When errors are reported, the DMA engine signals via an interrupt. The fault
|
||||
reason and device that caused it with fault reason is printed on console.
|
||||
|
||||
See below for sample.
|
||||
|
||||
|
||||
Boot Message Sample
|
||||
-------------------
|
||||
|
||||
|
|
@ -85,6 +94,14 @@ When DMAR is enabled for use, you will notice..
|
|||
|
||||
PCI-DMA: Using DMAR IOMMU
|
||||
|
||||
Fault reporting
|
||||
---------------
|
||||
|
||||
DMAR:[DMA Write] Request device [00:02.0] fault addr 6df084000
|
||||
DMAR:[fault reason 05] PTE Write access is not set
|
||||
DMAR:[DMA Write] Request device [00:02.0] fault addr 6df084000
|
||||
DMAR:[fault reason 05] PTE Write access is not set
|
||||
|
||||
TBD
|
||||
----
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue