powerpc/64s/hash: Fix stab_rr off by one initialization
authorNicholas Piggin <npiggin@gmail.com>
Fri, 14 Sep 2018 15:30:45 +0000 (01:30 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Nov 2019 08:52:29 +0000 (09:52 +0100)
commit2fd5485d93edab99ccea2e9abba038dc3f15a145
tree974f5c109860804975b7cc3e64e2b2aeceaf550c
parent3faa1d3b2350239a6292fb8e7379f80b5af70ee4
powerpc/64s/hash: Fix stab_rr off by one initialization

[ Upstream commit 09b4438db13fa83b6219aee5993711a2aa2a0c64 ]

This causes SLB alloation to start 1 beyond the start of the SLB.
There is no real problem because after it wraps it stats behaving
properly, it's just surprisig to see when looking at SLB traces.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/powerpc/mm/slb.c