1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/arch/powerpc/mm/ptdump
Ritesh Harjani (IBM) f318c8be79 powerpc/ptdump: Fix walk_vmemmap() to also print first vmemmap entry
Currently walk_vmemmap() skips the first vmemmap entry pointed to by
vmemmap_list pointer itself. Fix that.

With the fix applied the vmemmap entry at 0xc00c000000000000 for hash is
displayed:

  $ cat /sys/kernel/debug/kernel_hash_pagetable
  ...
  0xc00c000000010000:     AVPN:cd7bd4e0000          ssize: 1T ...
  0xc00c000000000000:     AVPN:cd7bd4e0000          ssize: 1T ...

Signed-off-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
[mpe: Tweak change log wording and add example output]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/a19ee3dc2b304d39da364a592d5cd167449f8c4a.1713365940.git.ritesh.list@gmail.com
2024-04-18 15:35:40 +10:00
..
8xx.c powerpc: Rely on address instead of pte_user() 2023-10-19 17:12:46 +11:00
bats.c powerpc/ptdump: Use DEFINE_SHOW_ATTRIBUTE() 2021-08-25 13:35:48 +10:00
book3s64.c powerpc/ptdump: Reduce level numbers by 1 in note_page() and add p4d level 2021-08-25 13:35:48 +10:00
hashpagetable.c powerpc/ptdump: Fix walk_vmemmap() to also print first vmemmap entry 2024-04-18 15:35:40 +10:00
Makefile powerpc: Remove CONFIG_PPC_BOOK3E_MMU 2022-09-26 23:00:14 +10:00
ptdump.c mm: ptdump: have ptdump_check_wx() return bool 2024-02-22 10:24:47 -08:00
ptdump.h powerpc/ptdump: Display size of BATs 2020-05-26 22:22:18 +10:00
segment_regs.c powerpc/ptdump: Use DEFINE_SHOW_ATTRIBUTE() 2021-08-25 13:35:48 +10:00
shared.c powerpc/ptdump: Display _PAGE_READ and _PAGE_WRITE 2023-10-19 17:12:47 +11:00