]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdf4c5ae1c53a6a1c4d4afa24fdda405dfd1d0c32
tree5ab5b99b61c949704ddebfb40e37d9e8350c1e05
parent82fa8d2faca0e22ac0c5a1495fc9be0dca967b27
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.ef72f7f-3-npiggin@gmail.com
arch/powerpc/mm/book3s64/hash_utils.c