]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: mm: dump: make page table dumping reusable
authorMark Rutland <mark.rutland@arm.com>
Tue, 31 May 2016 13:49:01 +0000 (14:49 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 21 Jun 2016 14:09:11 +0000 (15:09 +0100)
commit914b81295eecd2d6746b7e919176094fbdf95e7a
treeead420a195ac826635be9b9dd92f19f4be61c3cd
parent5a9e0749b29914a6d61d712ce879a3c1c5b8994f
arm64: mm: dump: make page table dumping reusable

For debugging purposes, it would be nice if we could export page tables
other than the swapper_pg_dir to userspace. To enable this, this patch
refactors the arm64 page table dumping code such that multiple tables
may be registered with the framework, and exported under debugfs.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Laura Abbott <labbott@fedoraproject.org>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/ptdump.h [new file with mode: 0644]
arch/arm64/mm/dump.c