powerpc/64s: Add lockdep for HPTE lock
authorNicholas Piggin <npiggin@gmail.com>
Thu, 13 Oct 2022 23:07:08 +0000 (09:07 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 18 Oct 2022 11:46:18 +0000 (22:46 +1100)
commitbe83d5485da549d934ec65463ea831709f2827b1
tree2d4a9081a37ff78e95ddebc47ed1316cec6e17dd
parent2147783d6bf0b7ca14c72a25527dc5135bd17f65
powerpc/64s: Add lockdep for HPTE lock

Add lockdep annotation for the HPTE bit-spinlock. Modern systems don't
take the tlbie lock, so this shows up some of the same lockdep warnings
that were being reported by the ppc970. And they're not taken in exactly
the same places so this is nice to have in its own right.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20221013230710.1987253-1-npiggin@gmail.com
arch/powerpc/mm/book3s64/hash_native.c