Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <weiyang@linux.vnet.ibm.com>
Reviewed-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>

authored by

Wei Yang and committed by
Michael Ellerman
e9863e68 62fa19d4

+3
+3
arch/powerpc/platforms/powernv/pci-ioda.c
··· 357 357 phb->ioda.m64_segsize = phb->ioda.m64_size / phb->ioda.total_pe; 358 358 phb->ioda.m64_base = pci_addr; 359 359 360 + pr_info(" MEM64 0x%016llx..0x%016llx -> 0x%016llx\n", 361 + res->start, res->end, pci_addr); 362 + 360 363 /* Use last M64 BAR to cover M64 window */ 361 364 phb->ioda.m64_bar_idx = 15; 362 365 phb->init_m64 = pnv_ioda2_init_m64;