powerpc/64s: make linear_map_hash_lock a raw spinlock
authorNicholas Piggin <npiggin@gmail.com>
Thu, 13 Oct 2022 23:07:10 +0000 (09:07 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 18 Oct 2022 11:46:18 +0000 (22:46 +1100)
commitb12eb279ff552bd67c167b0fe701ae602aa7311e
tree5ab5b99b61c949704ddebfb40e37d9e8350c1e05
parent35159b5717fa9c6031fdd6a2193c7a3dc717ce33
powerpc/64s: make linear_map_hash_lock a raw spinlock

This lock is taken while the raw kfence_freelist_lock is held, so it
must also be a raw spinlock, as reported by lockdep when raw lock
nesting checking is enabled.

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-3-npiggin@gmail.com
arch/powerpc/mm/book3s64/hash_utils.c