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>
Wed, 20 Nov 2019 17:46:58 +0000 (18:46 +0100)
commit0ab2545aa4041357d7300b7ebc402313671c7a1c
tree137dec2a7ddd579da107b6355a33bbc70fadf9f6
parenta3581509e890192fa12eb0a56accd26eae7cb61e
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