From: Laura Abbott Date: Sat, 6 Feb 2016 00:24:48 +0000 (-0800) Subject: arm64: ptdump: Indicate whether memory should be faulting X-Git-Tag: v4.14-rc1~3543^2~79 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d7e9d59494a9a5d83274f5af2148b82ca22dff3f;p=platform%2Fkernel%2Flinux-rpi.git arm64: ptdump: Indicate whether memory should be faulting With CONFIG_DEBUG_PAGEALLOC, pages do not have the valid bit set when free in the buddy allocator. Add an indiciation to the page table dumping code that the valid bit is not set, 'F' for fault, to make this easier to understand. Reviewed-by: Ard Biesheuvel Reviewed-by: Mark Rutland Tested-by: Mark Rutland Signed-off-by: Laura Abbott Signed-off-by: Catalin Marinas --- diff --git a/arch/arm64/mm/dump.c b/arch/arm64/mm/dump.c index 0adbebb..0841b2b 100644 --- a/arch/arm64/mm/dump.c +++ b/arch/arm64/mm/dump.c @@ -90,6 +90,11 @@ struct prot_bits { static const struct prot_bits pte_bits[] = { { + .mask = PTE_VALID, + .val = PTE_VALID, + .set = " ", + .clear = "F", + }, { .mask = PTE_USER, .val = PTE_USER, .set = "USR",