From: Will Deacon <will.deacon-5wv7dgnIgG8@public.gmane.org>
To: Ard Biesheuvel <ard.biesheuvel-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
linux-efi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
mark.rutland-5wv7dgnIgG8@public.gmane.org,
catalin.marinas-5wv7dgnIgG8@public.gmane.org,
linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org,
keescook-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org
Subject: Re: [PATCH v2 4/6] arm64: mm: dump: make page table dumping reusable
Date: Mon, 25 Apr 2016 12:07:57 +0100 [thread overview]
Message-ID: <20160425110757.GI16065@arm.com> (raw)
In-Reply-To: <1461343688-8552-5-git-send-email-ard.biesheuvel-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
Hi Ard, Mark,
On Fri, Apr 22, 2016 at 06:48:06PM +0200, Ard Biesheuvel wrote:
> From: Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>
>
> 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-5wv7dgnIgG8@public.gmane.org>
> Signed-off-by: Ard Biesheuvel <ard.biesheuvel-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
> ---
> 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 can queue the first two patches as-is.
Thanks.
Will
WARNING: multiple messages have this Message-ID (diff)
From: will.deacon@arm.com (Will Deacon)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 4/6] arm64: mm: dump: make page table dumping reusable
Date: Mon, 25 Apr 2016 12:07:57 +0100 [thread overview]
Message-ID: <20160425110757.GI16065@arm.com> (raw)
In-Reply-To: <1461343688-8552-5-git-send-email-ard.biesheuvel@linaro.org>
Hi Ard, Mark,
On Fri, Apr 22, 2016 at 06:48:06PM +0200, Ard Biesheuvel wrote:
> 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 <ard.biesheuvel@linaro.org>
> ---
> 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 can queue the first two patches as-is.
Thanks.
Will
next prev parent reply other threads:[~2016-04-25 11:07 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-22 16:48 [PATCH v2 0/6] arm64/ARM pt dumper changes Ard Biesheuvel
2016-04-22 16:48 ` Ard Biesheuvel
[not found] ` <1461343688-8552-1-git-send-email-ard.biesheuvel-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2016-04-22 16:48 ` [PATCH v2 1/6] arm64: ptdump: use static initializers for vmemmap region boundaries Ard Biesheuvel
2016-04-22 16:48 ` Ard Biesheuvel
[not found] ` <1461343688-8552-2-git-send-email-ard.biesheuvel-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2016-04-22 17:07 ` Mark Rutland
2016-04-22 17:07 ` Mark Rutland
2016-04-22 16:48 ` [PATCH v2 2/6] arm64: ptdump: add region marker for kasan shadow region Ard Biesheuvel
2016-04-22 16:48 ` Ard Biesheuvel
[not found] ` <1461343688-8552-3-git-send-email-ard.biesheuvel-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2016-04-22 17:09 ` Mark Rutland
2016-04-22 17:09 ` Mark Rutland
2016-04-22 16:48 ` [PATCH v2 3/6] arm64: ptdump: fold string literals into address_markers[] and pte_bits[] Ard Biesheuvel
2016-04-22 16:48 ` Ard Biesheuvel
2016-04-22 16:48 ` [PATCH v2 4/6] arm64: mm: dump: make page table dumping reusable Ard Biesheuvel
2016-04-22 16:48 ` Ard Biesheuvel
[not found] ` <1461343688-8552-5-git-send-email-ard.biesheuvel-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2016-04-25 11:07 ` Will Deacon [this message]
2016-04-25 11:07 ` Will Deacon
[not found] ` <20160425110757.GI16065-5wv7dgnIgG8@public.gmane.org>
2016-05-13 12:56 ` Mark Rutland
2016-05-13 12:56 ` Mark Rutland
2016-05-31 13:25 ` Will Deacon
2016-05-31 13:25 ` Will Deacon
2016-04-22 16:48 ` [PATCH v2 5/6] arm: " Ard Biesheuvel
2016-04-22 16:48 ` Ard Biesheuvel
2016-04-22 16:48 ` [PATCH v2 6/6] efi/arm*: add support to dump the EFI page tables Ard Biesheuvel
2016-04-22 16:48 ` Ard Biesheuvel
[not found] ` <1461343688-8552-7-git-send-email-ard.biesheuvel-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2016-04-22 17:01 ` Mark Rutland
2016-04-22 17:01 ` Mark Rutland
2016-04-22 17:20 ` Ard Biesheuvel
2016-04-22 17:20 ` Ard Biesheuvel
[not found] ` <CAKv+Gu-abf2g5htQSHA=ETnSfzVExFLwsjs2Kbs8fn86MfFv3Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-04-22 17:25 ` Mark Rutland
2016-04-22 17:25 ` Mark Rutland
2016-04-25 11:26 ` Ard Biesheuvel
2016-04-25 11:26 ` Ard Biesheuvel
[not found] ` <CAKv+Gu9fOnKK66Ee7N_5UXbZh_cZbQ0AnnPLHQhm8qCb-r5gVg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-04-27 20:12 ` Russell King - ARM Linux
2016-04-27 20:12 ` Russell King - ARM Linux
2016-04-26 11:29 ` [PATCH v2 0/6] arm64/ARM pt dumper changes Will Deacon
2016-04-26 11:29 ` Will Deacon
[not found] ` <20160426112918.GK27312-5wv7dgnIgG8@public.gmane.org>
2016-04-26 11:34 ` Ard Biesheuvel
2016-04-26 11:34 ` Ard Biesheuvel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160425110757.GI16065@arm.com \
--to=will.deacon-5wv7dgnigg8@public.gmane.org \
--cc=ard.biesheuvel-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
--cc=catalin.marinas-5wv7dgnIgG8@public.gmane.org \
--cc=keescook-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-efi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org \
--cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.