]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4a5b971937c11e8a4f6ce81de0d3bded44adb448
tree2d4a9081a37ff78e95ddebc47ed1316cec6e17dd
parent573f6cd3555355591b0ef31dd6feae695a617ce8
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.ef72f7f-1-npiggin@gmail.com
arch/powerpc/mm/book3s64/hash_native.c