[PATCH] makedumpfile: s390x: Fix dump refiltering for s390x.
tachibana at mxm.nes.nec.co.jp
tachibana at mxm.nes.nec.co.jp
Mon May 30 01:12:22 EDT 2011
Hi Mahesh,
Thank you for the patch.
I will take it into a next makedumpfile.
Thanks
tachibana
On 2011/05/25 13:19:08 +0530, Mahesh J Salgaonkar <mahesh at linux.vnet.ibm.com> wrote:
> From: Mahesh Salgaonkar <mahesh at linux.vnet.ibm.com>
>
> On s390x, dump refiltering fails in get_machdep_info_s390x() function while
> reading vmlist kernel symbol data. It fails in vaddr_to_paddr_s390x()
> function while resolving vmlist kernel symbol address. Since the vmlist
> kernel symbol address is not a vmalloc address, the function returns failure.
>
> Fix the vaddr_to_paddr_s390x() function to translate non-vmalloc'ed
> address into physical adddress.
>
> Signed-off-by: Mahesh Salgaonkar <mahesh at linux.vnet.ibm.com>
> ---
> s390x.c | 4 +---
> 1 files changed, 1 insertions(+), 3 deletions(-)
>
> diff --git a/s390x.c b/s390x.c
> index 128e5f0..49658d0 100644
> --- a/s390x.c
> +++ b/s390x.c
> @@ -269,9 +269,7 @@ vaddr_to_paddr_s390x(unsigned long vaddr)
> paddr = vtop_s390x(vaddr);
> }
> else {
> - ERRMSG("Can't convert a virtual address(%lx) to " \
> - "physical address.\n", vaddr);
> - return NOT_PADDR;
> + paddr = vaddr - KVBASE;
> }
>
> return paddr;
>
>
> _______________________________________________
> kexec mailing list
> kexec at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/kexec
More information about the kexec
mailing list