mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
vtd: Print originating iommu on faults
When a fault occurs on an IOMMU, print the IOMMU the fault is coming from. Signed-off-by: Teddy Astie <teddy.astie@vates.tech> Acked-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
1 parent
0dc67f3aab
commit
7a091bd8b0
1 file changed
+2
-2
@@ -991,8 +991,8 @@ static int iommu_page_fault_do_one(struct vtd_iommu *iommu, int type,
|
||||
break;
|
||||
}
|
||||
|
||||
printk(XENLOG_G_WARNING VTDPREFIX "%s: reason %02x - %s\n",
|
||||
kind, fault_reason, reason);
|
||||
printk(XENLOG_G_WARNING VTDPREFIX "%s: reason %02x - %s on iommu:%u\n",
|
||||
kind, fault_reason, reason, iommu->index);
|
||||
|
||||
if ( iommu_verbose && fault_type == DMA_REMAP )
|
||||
print_vtd_entries(iommu, PCI_BUS(source_id), PCI_DEVFN(source_id),
|
||||
|
||||