powerpc/mm: Fix missing _PAGE_NON_IDEMPOTENT in pgtable dump
authorOliver O'Halloran <oohall@gmail.com>
Fri, 31 Mar 2017 01:37:48 +0000 (12:37 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 12 Apr 2017 12:47:27 +0000 (22:47 +1000)
commit70538eaa70c36340b4bb27206cad31839e916f40
tree1c5343f2f5d8035cf79da45194f5174282260a79
parent9c355917fcf006af47ffaa5ae43a1a804764a6f6
powerpc/mm: Fix missing _PAGE_NON_IDEMPOTENT in pgtable dump

On Book3s we have two PTE flags used to mark cache-inhibited mappings:
_PAGE_TOLERANT and _PAGE_NON_IDEMPOTENT. Currently the kernel page table dumper
only looks at the generic _PAGE_NO_CACHE which is defined to be _PAGE_TOLERANT.
This patch modifies the dumper so both flags are shown in the dump.

Fixes: 8eb07b187000 ("powerpc/mm: Dump linux pagetables")
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/dump_linuxpagetables.c