OSDN Git Service

powerpc/mm: Check secondary hash page table
authorRashmica Gupta <rashmica.g@gmail.com>
Tue, 12 Feb 2019 23:29:49 +0000 (10:29 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Jan 2020 13:50:30 +0000 (14:50 +0100)
commit4eef49adea420b04c66a08e69093dc07aad8fb2c
treee7369ae75d1b2c17ed9c79b3208b8bf53f0889f1
parent329aba812a01e5e686e39177eff7a114bd0a5208
powerpc/mm: Check secondary hash page table

[ Upstream commit 790845e2f12709d273d08ea7a2af7c2593689519 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/powerpc/mm/dump_hashpagetable.c