mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
iommu/x86: print RMRR/IVMD ranges using full addresses
It's easier to correlate with the physical memory map if the addresses are fully printed, instead of using frame numbers. Requested-by: Andrew Cooper <andrew.cooper3@citrix.com> Signed-off-by: Roger Pau Monné <roger.pau@citrix.com> Reviewed-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
1 parent
3a3111d018
commit
212cb5effa
1 file changed
+2
-2
@@ -801,8 +801,8 @@ bool __init iommu_unity_region_ok(const char *prefix, mfn_t start, mfn_t end)
|
||||
return true;
|
||||
|
||||
printk(XENLOG_WARNING
|
||||
"%s: [%#" PRI_mfn " ,%#" PRI_mfn "] is not (entirely) in reserved memory\n",
|
||||
prefix, mfn_x(start), mfn_x(end));
|
||||
"%s: [%#lx, %#lx] is not (entirely) in reserved memory\n",
|
||||
prefix, mfn_to_maddr(start), mfn_to_maddr(end));
|
||||
|
||||
for ( addr = start; mfn_x(addr) <= mfn_x(end); addr = mfn_add(addr, 1) )
|
||||
{
|
||||
|
||||