powerpc/mm: Check secondary hash page table
authorRashmica Gupta <rashmica.g@gmail.com>
Tue, 12 Feb 2019 23:29:49 +0000 (10:29 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 2 Mar 2019 03:43:05 +0000 (14:43 +1100)
commit790845e2f12709d273d08ea7a2af7c2593689519
treef36adbe03cfe8409a4fdaa984cb5a523f9f25742
parent6b1200facc051a3e487a52cbabd745f7c8f4e9f8
powerpc/mm: Check secondary hash page table

We were always calling base_hpte_find() with primary = true,
even when we wanted to check the secondary table.

mpe: I broke this when refactoring Rashmica's original patch.

Fixes: 1515ab932156 ("powerpc/mm: Dump hash table")
Signed-off-by: Rashmica Gupta <rashmica.g@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/ptdump/hashpagetable.c