powerpc/pseries: Always enable CONFIG_HOTPLUG_CPU on PSERIES SMP
Srivatsa S. Bhat authored
commit f274ef87 upstream.

Adam Lackorzynski reported the following build failure on
!CONFIG_HOTPLUG_CPU configuration:

  CC      arch/powerpc/kernel/rtas.o
arch/powerpc/kernel/rtas.c: In function ‘rtas_cpu_state_change_mask’:
arch/powerpc/kernel/rtas.c:843:4: error: implicit declaration of function ‘cpu_down’ [-Werror=implicit-function-declaration]
cc1: all warnings being treated as errors
make[1]: *** [arch/powerpc/kernel/rtas.o] Error 1
make: *** [arch/powerpc/kernel] Error 2

The build fails because cpu_down() is defined only under CONFIG_HOTPLUG_CPU.

Looking further, the mobility code in pseries is one of the call-sites which
uses rtas_ibm_suspend_me(), which in turn calls rtas_cpu_state_change_mask().
And the mobility code is unconditionally compiled-in (it does not fall under
any Kconfig option). And commit 120496ac (powerpc: Bring all threads online
prior to migration/hibernation) which intro...
638d5173
Name Last commit Last update
..
alpha alpha: irq: remove deprecated use of IRQF_DISABLED
arc ARC: copy_(to|from)_user() to honor usermode-access permissions
arm ARM: SAMSUNG: Export MIPI CSIS/DSIM PHY control functions
arm64 arm64: don't kill the kernel on a bad esr from el0
avr32 avr32: fix relocation check for signed 18-bit offset
blackfin Select VIRT_TO_BUS directly where needed
c6x add memory barrier to arch_local_irq_restore
cris Select VIRT_TO_BUS directly where needed
frv Select VIRT_TO_BUS directly where needed
h8300 Select VIRT_TO_BUS directly where needed
hexagon Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
ia64 Wrong asm register contraints in the kvm implementation
m32r UAPI: fix endianness conditionals in M32R's asm/stat.h
m68k m68k/mac: Fix unexpected interrupt with CONFIG_EARLY_PRINTK
metag metag: Inhibit NUMA balancing.
microblaze Select VIRT_TO_BUS directly where needed
mips Revert "MIPS: page.h: Provide more readable definition for PAGE_MASK."
mn10300 Select VIRT_TO_BUS directly where needed
openrisc openrisc: remove HAVE_VIRT_TO_BUS
parisc parisc: make default cross compiler search more robust (v3)
powerpc powerpc/pseries: Always enable CONFIG_HOTPLUG_CPU on PSERIES SMP
s390 s390/pgtable: Fix check for pgste/storage key handling
score Select VIRT_TO_BUS directly where needed
sh hlist: drop the node parameter from iterators
sparc sparc64: Fix missing put_cpu_var() in tlb_batch_add_one() when not batching.
tile tile: support new Tilera hypervisor
um um: Use tty_port in SIGWINCH handler
unicore32 Select VIRT_TO_BUS directly where needed
x86 KVM: fix sil/dil/bpl/spl in the mod/rm fields
xtensa Select VIRT_TO_BUS directly where needed
.gitignore arch: Ignore arch/i386 and arch/x86_64
Kconfig Select VIRT_TO_BUS directly where needed