Re: [PATCH v2] powerpc/xmon: Support dumping software pagetables

2017-10-15 Thread Balbir Singh
On Mon, Oct 16, 2017 at 2:33 PM, Balbir Singh wrote: > It would be nice to be able to dump page tables in a particular > context. > Should be v4 and not v2.. resending Balbir

[PATCH v2] powerpc/xmon: Support dumping software pagetables

2017-10-15 Thread Balbir Singh
It would be nice to be able to dump page tables in a particular context. eg: dumping vmalloc space: 0:mon> dv 0xd00037f0 pgd @ 0xc17c pgdp @ 0xc17c00d8 = 0xf10b1000 pudp @ 0xc000f10b13f8 = 0xf10d pmdp @ 0xc000f10d1ff8 = 0x

[PATCH v2] powerpc/xmon: support dumping software pagetables

2017-07-24 Thread Balbir Singh
It would be nice to be able to dump page tables in a particular context. Example use cases Dumping PTE contents to see the keys (useful for debugging) 0:mon> dv 0x77f7 c0003b585080 PGD@0xc0003ab651f8->0x3a255800 PUD@0xc0003a255bf8->0x3aa84000 PMD@0xc0003aa