Thread (19 messages) 19 messages, 4 authors, 2016-05-31
DORMANTno replies
Revisions (4)
  1. v2 [diff vs current]
  2. v2 [diff vs current]
  3. v2 [diff vs current]
  4. v2 current

[PATCH v2 4/6] arm64: mm: dump: make page table dumping reusable

From: Will Deacon <hidden>
Date: 2016-05-31 13:25:08
Also in: linux-efi

On Fri, May 13, 2016 at 01:56:07PM +0100, Mark Rutland wrote:
On Mon, Apr 25, 2016 at 12:07:57PM +0100, Will Deacon wrote:
quoted
Hi Ard, Mark,

On Fri, Apr 22, 2016 at 06:48:06PM +0200, Ard Biesheuvel wrote:
quoted
From: Mark Rutland <mark.rutland@arm.com>

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 <redacted>
---
 arch/arm64/include/asm/ptdump.h | 44 ++++++++++++++++++++
 arch/arm64/mm/dump.c            | 32 ++++++++------
 2 files changed, 64 insertions(+), 12 deletions(-)
Could you reorder this with patch 3, please? I'm unsure about the benefit
of the very specific string literal changes, but the ptdump stuff here
certainly looks beneficial.
I'm sure this is far too late, but for posterity I've rebased patch 4
below atop of pathes 1 & 2 as queued in the arm64 for-next/core branch,
without patch 3. It builds cleanly, and I've given it a spin on
Juno.

Will, I guess I should rebase and resend this after we hit v4.7-rc1?
Yes, please.

Will
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help