[Crash-utility] s390x MAX_PHYSMEM_BITS

Dave Anderson anderson at redhat.com
Tue Dec 20 18:49:39 UTC 2011



Hi Mahesh and Michael,

Re: this post from the kexec mailing list:

> Subject: [PATCH] makedumpfile: s390x: Auto-detect the correct
>          MAX_PHYSMEM_BITS used in vmcore being analyzed.
> From: Mahesh Salgaonkar <mahesh at linux.vnet.ibm.com>
> 
> So far s390x kernel was using 42 bits for MAX_PHYSMEM_BITS that use to
> support maximum of 4TB of memory. In order to support bigger systems,
> the newer s390x kernel will now use 46 bits for MAX_PHYSMEM_BITS to support
> maximum of 64TB of memory.
> 
> This patch auto-detects the correct value to use for MAX_PHYSMEM_BITS by
> examining the mem_section array size from the vmcore being analyzed.
> 
> Signed-off-by: Mahesh Salgaonkar <mahesh at linux.vnet.ibm.com>
> ---

Can you guys post an s390x crash utility patch to properly select the
correct MAX_PHYSMEM_BITS value to store in machdep->max_physmem_bits?

Thanks,
  Dave






More information about the Crash-utility mailing list