git: a4b9c406369f - stable/13 - iommu_gas: print entries flags and domains if an overlap detected
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 02 Jan 2024 00:42:40 UTC
The branch stable/13 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=a4b9c406369fabd2a6036904917234189f361fbc
commit a4b9c406369fabd2a6036904917234189f361fbc
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2023-12-23 23:34:16 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-01-02 00:42:13 +0000
iommu_gas: print entries flags and domains if an overlap detected
(cherry picked from commit 733da1eb947688210bc152656357ecafbd172bb7)
---
sys/dev/iommu/iommu_gas.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/sys/dev/iommu/iommu_gas.c b/sys/dev/iommu/iommu_gas.c
index 72db5ca871ec..25e13aad2291 100644
--- a/sys/dev/iommu/iommu_gas.c
+++ b/sys/dev/iommu/iommu_gas.c
@@ -125,9 +125,11 @@ iommu_gas_cmp_entries(struct iommu_map_entry *a, struct iommu_map_entry *b)
b, (uintmax_t)b->start, (uintmax_t)b->end));
KASSERT(a->end <= b->start || b->end <= a->start ||
a->end == a->start || b->end == b->start,
- ("overlapping entries %p (%jx, %jx) %p (%jx, %jx)",
- a, (uintmax_t)a->start, (uintmax_t)a->end,
- b, (uintmax_t)b->start, (uintmax_t)b->end));
+ ("overlapping entries %p (%jx, %jx) f %#x %p (%jx, %jx) f %#x"
+ " domain %p %p",
+ a, (uintmax_t)a->start, (uintmax_t)a->end, a->flags,
+ b, (uintmax_t)b->start, (uintmax_t)b->end, b->flags,
+ a->domain, b->domain));
if (a->end < b->end)
return (-1);