arm64: dump: Make ptdump debugfs a separate option
authorLaura Abbott <labbott@redhat.com>
Thu, 27 Oct 2016 16:27:31 +0000 (09:27 -0700)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 7 Nov 2016 18:15:04 +0000 (18:15 +0000)
commit4ddb9bf83349b4f4f8178e58c3654ac7ec7edbc6
tree6d5ee3eb03f7afda1a006bda20bfa094c57df037
parent0bfc445dec9dd8130d22c9f4476eed7598524129
arm64: dump: Make ptdump debugfs a separate option

ptdump_register currently initializes a set of page table information and
registers debugfs. There are uses for the ptdump option without wanting the
debugfs options. Split this out to make it a separate option.

Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Tested-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/Kconfig.debug
arch/arm64/include/asm/ptdump.h
arch/arm64/mm/Makefile
arch/arm64/mm/dump.c
arch/arm64/mm/ptdump_debugfs.c [new file with mode: 0644]
drivers/firmware/efi/arm-runtime.c