powerpc/pseries: Set CPU_FTR_DBELL according to ibm,pi-features
authorNicholas Piggin <npiggin@gmail.com>
Wed, 7 Feb 2024 03:52:19 +0000 (13:52 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 21 Feb 2024 12:14:52 +0000 (23:14 +1100)
commit6e9de2054eb417d6e05561b19c825c29b424b475
treef402f26724d6e03695a83d753dfa656ab63de08b
parent8b338061065b1871fc9ec53bd772321c15363123
powerpc/pseries: Set CPU_FTR_DBELL according to ibm,pi-features

PAPR will define a new ibm,pi-features bit which says that doorbells
should not be used even on architectures where they exist. This could be
because they are emulated and slower than using the interrupt controller
directly for IPIs.

Wire this bit into the pi-features parser to clear CPU_FTR_DBELL, and
ensure CPU_FTR_DBELL is not in CPU_FTRS_ALWAYS.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Tested-by: Vaibhav Jain <vaibhav@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20240207035220.339726-2-npiggin@gmail.com
arch/powerpc/include/asm/cputable.h
arch/powerpc/kernel/prom.c