From: Michael Ellerman <patch-notifications@ellerman.id.au>
To: Balbir Singh <bsingharora@gmail.com>
Cc: linuxppc-dev@lists.ozlabs.org
Subject: Re: [v5] powerpc/xmon: Support dumping software pagetables
Date: Tue, 14 Nov 2017 22:12:11 +1100 (AEDT) [thread overview]
Message-ID: <3yblG366Vqz9t16@ozlabs.org> (raw)
In-Reply-To: <20171030110112.17634-1-bsingharora@gmail.com>
On Mon, 2017-10-30 at 11:01:12 UTC, Balbir Singh wrote:
> It would be nice to be able to dump page tables in a particular
> context.
>
> eg: dumping vmalloc space:
>
> 0:mon> dv 0xd00037fffff00000
> pgd @ 0xc0000000017c0000
> pgdp @ 0xc0000000017c00d8 = 0x00000000f10b1000
> pudp @ 0xc0000000f10b13f8 = 0x00000000f10d0000
> pmdp @ 0xc0000000f10d1ff8 = 0x00000000f1102000
> ptep @ 0xc0000000f1102780 = 0xc0000000f1ba018e
> Maps physical address = 0x00000000f1ba0000
> Flags = Accessed Dirty Read Write
>
> This patch does not replicate the complex code of dump_pagetable and
> has no support for bolted linear mapping, thats why I've it's called
> dump virtual page table support. The format of the PTE can be expanded
> even further to add more useful information about the flags in the PTE
> if required.
>
> Signed-off-by: Balbir Singh <bsingharora@gmail.com>
> [mpe: Bike shed the output format, show the pgdir]
> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/80eff6c484799722736471d15ff9cc
cheers
prev parent reply other threads:[~2017-11-14 11:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-30 11:01 [PATCH v5] powerpc/xmon: Support dumping software pagetables Balbir Singh
2017-11-02 10:44 ` kbuild test robot
2017-11-14 11:12 ` Michael Ellerman [this message]
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=3yblG366Vqz9t16@ozlabs.org \
--to=patch-notifications@ellerman.id.au \
--cc=bsingharora@gmail.com \
--cc=linuxppc-dev@lists.ozlabs.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).