From: Michael Ellerman <patch-notifications@ellerman.id.au>
To: Michael Ellerman <mpe@ellerman.id.au>, linuxppc-dev@ozlabs.org
Cc: rashmicy@gmail.com
Subject: Re: powerpc/mm: Fix crash in page table dump with huge pages
Date: Wed, 17 May 2017 19:34:38 +1000 (AEST) [thread overview]
Message-ID: <3wSTg26tsyz9s8D@ozlabs.org> (raw)
In-Reply-To: <1494931835-3813-1-git-send-email-mpe@ellerman.id.au>
On Tue, 2017-05-16 at 10:50:35 UTC, Michael Ellerman wrote:
> The page table dump code doesn't know about huge pages, so currently
> it crashes (or walks random memory, usually leading to a crash), if it
> finds a huge page. On Book3S we only see huge pages in the Linux page
> tables when we're using the P9 Radix MMU.
>
> Teaching the code to properly handle huge pages is a bit more involved,
> so for now just prevent the crash.
>
> Cc: stable@vger.kernel.org # v4.10+
> Fixes: 8eb07b187000 ("powerpc/mm: Dump linux pagetables")
> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Applied to powerpc fixes.
https://git.kernel.org/powerpc/c/bfb9956ab4d8242f4594b5f4bee534
cheers
prev parent reply other threads:[~2017-05-17 9:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-16 10:50 [PATCH] powerpc/mm: Fix crash in page table dump with huge pages Michael Ellerman
2017-05-17 9:34 ` 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=3wSTg26tsyz9s8D@ozlabs.org \
--to=patch-notifications@ellerman.id.au \
--cc=linuxppc-dev@ozlabs.org \
--cc=mpe@ellerman.id.au \
--cc=rashmicy@gmail.com \
/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).