mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
x86/iommu: improve logging message
Switch to using pd and also print the pfn that failed. No functional change intended. Signed-off-by: Roger Pau Monné <roger.pau@citrix.com> Reviewed-by: Jan Beulich <jbeulich@suse.com> Release-acked-by: Juergen Gross <jgross@suse.com>
This commit is contained in:
1 parent
bda89ca205
commit
0aeacaa0c9
1 file changed
+2
-2
@@ -200,8 +200,8 @@ void __hwdom_init arch_iommu_hwdom_init(struct domain *d)
|
||||
IOMMUF_readable | IOMMUF_writable, &flush_flags);
|
||||
|
||||
if ( rc )
|
||||
printk(XENLOG_WARNING " d%d: IOMMU mapping failed: %d\n",
|
||||
d->domain_id, rc);
|
||||
printk(XENLOG_WARNING "%pd: identity %smapping of %lx failed: %d\n",
|
||||
d, !paging_mode_translate(d) ? "IOMMU " : "", pfn, rc);
|
||||
|
||||
if (!(i & 0xfffff))
|
||||
process_pending_softirqs();
|
||||
|
||||