powerpc/fadump: print start of preserved area
Print preserved area start address in fadump_region_show() function. Signed-off-by: Hari Bathini <hbathini@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20220406093839.206608-4-hbathini@linux.ibm.com
This commit is contained in:
parent
9cf3b3a33a
commit
a3ceb5882e
|
@ -587,10 +587,10 @@ static void opal_fadump_region_show(struct fw_dump *fadump_conf,
|
|||
be64_to_cpu(fdm_ptr->rgn[i].size), dumped_bytes);
|
||||
}
|
||||
|
||||
/* Dump is active. Show reserved area start address. */
|
||||
/* Dump is active. Show preserved area start address. */
|
||||
if (fadump_conf->dump_active) {
|
||||
seq_printf(m, "\nMemory above %#016lx is reserved for saving crash dump\n",
|
||||
fadump_conf->reserve_dump_area_start);
|
||||
seq_printf(m, "\nMemory above %#016llx is reserved for saving crash dump\n",
|
||||
fadump_conf->boot_mem_top);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -468,10 +468,10 @@ static void rtas_fadump_region_show(struct fw_dump *fadump_conf,
|
|||
be64_to_cpu(fdm_ptr->rmr_region.source_len),
|
||||
be64_to_cpu(fdm_ptr->rmr_region.bytes_dumped));
|
||||
|
||||
/* Dump is active. Show reserved area start address. */
|
||||
/* Dump is active. Show preserved area start address. */
|
||||
if (fdm_active) {
|
||||
seq_printf(m, "\nMemory above %#016lx is reserved for saving crash dump\n",
|
||||
fadump_conf->reserve_dump_area_start);
|
||||
seq_printf(m, "\nMemory above %#016llx is reserved for saving crash dump\n",
|
||||
fadump_conf->boot_mem_top);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue