powerpc/mm: Check secondary hash page table
PATCH 1/1 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...
Fixes 1515ab932156 powerpc/mm: Dump hash table
Signed-off-by Rashmica Gupta <[email protected]>
---
Thanks Paul for spotting this :)
arch/powerpc/mm/dump_hashpagetable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/mm/dump_hashpagetable.c +1 -1
@@ -342,7 +342,7 @@ static unsigned long hpte_find(struct pg_state *st, unsigned long ea, int psize)/* Look in secondary table */ if (slot ==-1 ) - slot =base_hpte_find (ea, psize, true, &v, &r); + slot =base_hpte_find (ea, psize, false, &v, &r);/* No entry found */ if (slot ==-1 )
Signature · 1 line
2.17.2
Michael Ellerman
AppliedQuoted 6 lines · Rashmica Gupta
We were always calling
base_hpte_find()with primary = true, even when we wanted to check the secondary table...Fixes 1515ab932156 powerpc/mm: Dump hash tableSigned-off-by Rashmica Gupta <[email protected]>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/790845e2f12709d273d08ea7a2af7c25
cheers