|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] vtd: Print originating iommu on faults
commit 7a091bd8b04a56afbf8b2a3e7f9a807fc2ba7ce4
Author: Teddy Astie <teddy.astie@xxxxxxxxxx>
AuthorDate: Wed Aug 5 11:59:31 2026 +0200
Commit: Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Wed Aug 5 11:59:31 2026 +0200
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@xxxxxxxxxx>
Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
---
xen/drivers/passthrough/vtd/iommu.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/xen/drivers/passthrough/vtd/iommu.c
b/xen/drivers/passthrough/vtd/iommu.c
index 3d6f787b3c..b41a1d41c8 100644
--- a/xen/drivers/passthrough/vtd/iommu.c
+++ b/xen/drivers/passthrough/vtd/iommu.c
@@ -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),
--
generated by git-patchbot for /home/xen/git/xen.git#master
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |