powerpc/qspinlock: add compile-time tuning adjustments
authorNicholas Piggin <npiggin@gmail.com>
Sat, 26 Nov 2022 09:59:32 +0000 (19:59 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 2 Dec 2022 06:48:50 +0000 (17:48 +1100)
commit0b2199841a7952d01a717b465df028b40b2cf3e9
tree89910f64b8928a0ab062d1674124bbe4cb3c4270
parent12b459a5ebf3308e718bc1dd48acb7c4cf7f1a75
powerpc/qspinlock: add compile-time tuning adjustments

This adds compile-time options that allow the EH lock hint bit to be
enabled or disabled, and adds some new options that may or may not
help matters. To help with experimentation and tuning.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20221126095932.1234527-18-npiggin@gmail.com
arch/powerpc/include/asm/qspinlock.h
arch/powerpc/lib/qspinlock.c