[Crash-utility] [PATCH 0/5] [ppc32] update vtop
Dave Anderson
anderson at redhat.com
Thu Mar 22 20:29:24 UTC 2012
Toshi,
Your updates for the PPC vtop command are queued for crash-6.0.5.
Thanks,
Dave
----- Original Message -----
>
>
> ----- Original Message -----
> > This patch update ppc32 vtop.
> > - Translate kvaddr for fsl-booke by using TLBCAM setting
> > - Remove PMD from display because virtual address bit is not assigned
> > - Fixup displayed PHYSICAL values of fsl-booke PTE format
> > - Fixup bug for page flags setup which I made previous patch
> >
> > Updated command images are below.
> >
> > - kvaddr can be translated by using TLBCAM
> >
> > crash> sym powerpc_base_platform
> > c0913024 (S) powerpc_base_platform
> > crash> vtop c0913024
> > VIRTUAL PHYSICAL
> > c0913024 913024
> >
> > PAGE DIRECTORY: c08d1000
> > PGD: c08d2810 => 0
> >
> > TLBCAM[0]: MAS0 MAS1 MAS2 MAS3 MAS7
> > 10000001 c0000900 c0000004 15 0
> > VIRTUAL RANGE : c0000000 - cfffffff
> > PHYSICAL RANGE: 0 - fffffff
> > => VIRTUAL PHYSICAL TLBCAM-OFFSET
> > c0913024 913024 9515044
> >
> > PAGE PHYSICAL MAPPING INDEX CNT FLAGS
> > d0012260 913000 0 0 1 400
> >
> > Next,
> > - vtop won't display PMD
> > - physical address is not equal to PTE
> > - FLAGS can be handled well
> >
> > crash> vtop -c 4145 10000000
> > VIRTUAL PHYSICAL
> > 10000000 ef448000
> >
> > PAGE DIRECTORY: e85c4000
> > PGD: e85c4200 => e873c000
> > PTE: e873c000 => ef44824020d
> > PAGE: ef448000
> >
> > PTE PHYSICAL FLAGS
> > ef44824020d ef448000 (PRESENT|USER|COHERENT|ACCESSED)
> >
> > VMA START END FLAGS FILE
> > ea1d3960 10000000 10af9000 8001875 /tmp/toshi/crash
More information about the Crash-utility
mailing list