diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2017-05-16 20:42:53 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-05-17 11:56:33 +1000 |
commit | bfb9956ab4d8242f4594b5f4bee534b935384fd9 (patch) | |
tree | 9c51d8a21e963362e7705049d2a61acab84d6159 /kernel | |
parent | d04c02f8aa96d82e4cbe783f85a820aae820e746 (diff) | |
download | talos-obmc-linux-bfb9956ab4d8242f4594b5f4bee534b935384fd9.tar.gz talos-obmc-linux-bfb9956ab4d8242f4594b5f4bee534b935384fd9.zip |
powerpc/mm: Fix crash in page table dump with huge pages
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>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions