[PATCH v2 1/2] makedumpfile: Adapt code to get value of phys_base

Baoquan He bhe at redhat.com
Fri Nov 11 01:49:55 PST 2016


On 11/11/16 at 08:12am, Atsushi Kumagai wrote:
> >Kernel code only exports virtual address of phys_base now and it's helpless
> >for Crash and Makedumpfile. Below patch which changes code to export value
> >of phys_base has been posted to upstream. So adapt code to get it.
> >
> >kexec: Change to export the value of phys_base instead of symbol address
> >marc.info/?l=linux-kernel&m=147856863629624&w=2
> >
> >Signed-off-by: Baoquan He <bhe at redhat.com>
> >---
> >v1->v2:
> >    Patch v1 is not compatible with the old kernel. Change code in
> >    get_phys_base_x86_64 and vtop4_x86_64 to avoid that according to
> >    Atsushi's suggestion.
> 
> Looks good to me, I'll merge this patch into v1.6.1.
> For 2/2, I'll revert 56649f7b6bfe7 with your patch's comment.

Thanks!



More information about the kexec mailing list