OSDN Git Service

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>
Fri, 22 Nov 2019 13:43:37 +0000 (14:43 +0100)
commitddc9ab4632841d861a645bcae6313c1d1657e676
tree708cef958fa22364db91f274abdeee5a683ccb73
parent3e3bf85c47a8be6961046f45457feca83b822127
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