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:00:10 +0000 (18:00 +0100)
commit87227faf46b25dc70ce50c9d05efa2157917c18a
treecf22445d5c2138d4335799ce88b2f963b0af8379
parentbe0255db201fab9550cd807a1293d4ec722b6cd5
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