[Crash-utility] crash-4.0.2.12 PPC64 changes to make it understand64k pagesize

Dave Anderson anderson at redhat.com
Thu Nov 17 20:56:01 UTC 2005


Badari Pulavarty wrote:

> Hi Dave & Haren,
>
> Here are the changes I made to "crash" to function with PPC64
> 64k pagesize. Instead of adding whole set of indexs, shifts,
> masks, macros and new vtop() routines - I generalized 4-level
> pagetable support and set & compute indexes, shift and masks
> correctly for 4K and 64K.
>
> Tested with 4K pagesize and 64K pagesize kernels on PPC64.
> Please review.

The proof is in the pudding, so I trust that it all works and is
backwards-compatible -- but to cover my own ass, I need you
to positively confirm that it still works on RHEL3 and RHEL4 kernels.

One minor thing I can suggest, but I'll leave it up to you
whether you want to add it.  On all of the other architectures,
their xxx_dump_machdep_table() functions will display the
contents of the generic machdep_table structure followed
by the contents of their attached machine_specific structure.
The ppc64_dump_machdep_table() function just has the
machspec pointer.  When everything "just works", it's usually
never needed, but I've found it invaluable when debugging new
machine-specific stuff that comes along.

But it's your call... so when you and Haren are happy, just let
me know.

Thanks,
  Dave






More information about the Crash-utility mailing list