|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH 4/5] iommu/x86: print page type in IVMD/RMRR check in case of error
Provide more information in case the page can't be converted, and print the
original type(s).
Requested-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
---
xen/drivers/passthrough/x86/iommu.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/xen/drivers/passthrough/x86/iommu.c
b/xen/drivers/passthrough/x86/iommu.c
index e713cf803e8a..217409c29644 100644
--- a/xen/drivers/passthrough/x86/iommu.c
+++ b/xen/drivers/passthrough/x86/iommu.c
@@ -827,8 +827,8 @@ bool __init iommu_unity_region_ok(const char *prefix, mfn_t
start, mfn_t end)
RAM_TYPE_UNUSABLE) )
continue;
- printk(XENLOG_ERR "%s: page at %#lx can't be converted\n",
- prefix, paddr_to_pfn(addr));
+ printk(XENLOG_ERR "%s: page at %#lx can't be converted (type %#x)\n",
+ prefix, paddr_to_pfn(addr), type);
return false;
}
--
2.43.0
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |