Skip to content

Commit e9863e6

Browse files
Wei Yangmpe
authored andcommitted
powerpc/powernv: Print the M64 range information in bootup log
The M64 range information is missed in dmesg, which would be helpful in debug. This patch prints the M64 range information in the same format as M32. Signed-off-by: Wei Yang <[email protected]> Reviewed-by: Gavin Shan <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
1 parent 62fa19d commit e9863e6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

arch/powerpc/platforms/powernv/pci-ioda.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,9 @@ static void __init pnv_ioda_parse_m64_window(struct pnv_phb *phb)
357357
phb->ioda.m64_segsize = phb->ioda.m64_size / phb->ioda.total_pe;
358358
phb->ioda.m64_base = pci_addr;
359359

360+
pr_info(" MEM64 0x%016llx..0x%016llx -> 0x%016llx\n",
361+
res->start, res->end, pci_addr);
362+
360363
/* Use last M64 BAR to cover M64 window */
361364
phb->ioda.m64_bar_idx = 15;
362365
phb->init_m64 = pnv_ioda2_init_m64;

0 commit comments

Comments
 (0)