Re: [PATCH] powerpc/ptdump: Fix walk_vmemmap to also print first vmemmap entry

2024-04-22 Thread Michael Ellerman
On Wed, 17 Apr 2024 20:37:40 +0530, Ritesh Harjani (IBM) wrote: > walk_vmemmap() was skipping the first vmemmap entry pointed by > vmemmap_list pointer itself. This patch fixes that. > > With this we should see the vmemmap entry at 0xc00c for hash > which wasn't getting printed on doin

[PATCH] powerpc/ptdump: Fix walk_vmemmap to also print first vmemmap entry

2024-04-17 Thread Ritesh Harjani (IBM)
walk_vmemmap() was skipping the first vmemmap entry pointed by vmemmap_list pointer itself. This patch fixes that. With this we should see the vmemmap entry at 0xc00c for hash which wasn't getting printed on doing "cat /sys/kernel/debug/kernel_hash_pagetable" Signed-off-by: Ritesh Ha