mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 04:42:12 +00:00
d4e58e5928
This patch enables POWER8 doorbell IPIs on powernv. Since doorbells can only IPI within a core, we test to see when we can use doorbells and if not we fall back to XICS. This also enables hypervisor doorbells to wakeup us up from nap/sleep via the LPCR PECEDH bit. Based on tests by Anton, the best case IPI latency between two threads dropped from 894ns to 512ns. Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
29 lines
690 B
Plaintext
29 lines
690 B
Plaintext
config PPC_POWERNV
|
|
depends on PPC64 && PPC_BOOK3S
|
|
bool "IBM PowerNV (Non-Virtualized) platform support"
|
|
select PPC_NATIVE
|
|
select PPC_XICS
|
|
select PPC_ICP_NATIVE
|
|
select PPC_P7_NAP
|
|
select PPC_PCI_CHOICE if EMBEDDED
|
|
select EPAPR_BOOT
|
|
select PPC_INDIRECT_PIO
|
|
select PPC_UDBG_16550
|
|
select PPC_SCOM
|
|
select ARCH_RANDOM
|
|
select CPU_FREQ
|
|
select CPU_FREQ_GOV_PERFORMANCE
|
|
select CPU_FREQ_GOV_POWERSAVE
|
|
select CPU_FREQ_GOV_USERSPACE
|
|
select CPU_FREQ_GOV_ONDEMAND
|
|
select CPU_FREQ_GOV_CONSERVATIVE
|
|
select PPC_DOORBELL
|
|
default y
|
|
|
|
config PPC_POWERNV_RTAS
|
|
depends on PPC_POWERNV
|
|
bool "Support for RTAS based PowerNV platforms such as BML"
|
|
default y
|
|
select PPC_ICS_RTAS
|
|
select PPC_RTAS
|