]> 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)
commitdea2f7725319745079ad91cf991f7586ac17b1a3
treeead420a195ac826635be9b9dd92f19f4be61c3cd
parent1dd479896a4b173f3d44fb4fd5d718ed918a3552
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