Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc/ptdump: Add _PAGE_COHERENT flag

For platforms using shared.c (4xx, Book3e, Book3s/32), also handle the
_PAGE_COHERENT flag which corresponds to the M bit of the WIMG flags.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
[mpe: Make it more verbose, use "coherent" rather than "m"]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/324c3d860717e8e91fca3bb6c0f8b23e1644a404.1589866984.git.christophe.leroy@csgroup.eu

authored by

Christophe Leroy and committed by
Michael Ellerman
3af4786e ec97d022

+5
+5
arch/powerpc/mm/ptdump/shared.c
··· 31 31 .set = "present", 32 32 .clear = " ", 33 33 }, { 34 + .mask = _PAGE_COHERENT, 35 + .val = _PAGE_COHERENT, 36 + .set = "coherent", 37 + .clear = " ", 38 + }, { 34 39 .mask = _PAGE_GUARDED, 35 40 .val = _PAGE_GUARDED, 36 41 .set = "guarded",