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:
Roger Pau Monné authored and Jan Beulich committed 2024-05-23 10:03:33 +02:00
1 parent 3a3111d018
commit 212cb5effa
1 file changed
+2 -2
+2 -2
View File
@@ -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) )
{
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.