[PATCH 3/4] kexec-tools: mips: Use proper page_offset for OCTEON CPUs.

Simon Horman horms at verge.net.au
Sun Oct 15 23:56:36 PDT 2017


On Thu, Oct 12, 2017 at 02:02:27PM -0700, David Daney wrote:
> The OCTEON family of MIPS64 CPUs uses a PAGE_OFFSET of
> 0x8000000000000000ULL, which is differs from other CPUs.
> 
> Scan /proc/cpuinfo to see if the current system is "Octeon", if so,
> patch the page_offset so that usable kdump core files are produced.
> 
> Signed-off-by: David Daney <david.daney at cavium.com>

Is it possible to read this offset from the system rather than
checking for an Octeon CPU? It seems that such an approach, if possible,
would be somewhat more general.



More information about the kexec mailing list