powerpc: Add NAP mode support on Power7 in HV mode
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 24 Jan 2011 07:42:41 +0000 (18:42 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 20 Apr 2011 01:03:24 +0000 (11:03 +1000)
commit948cf67c4726cca2fc57533dccadfb54d890689d
treee763f1b49f66cf2c73b5a902063e2cb828e5d06c
parent9d07bc841c9779b4d7902e417f4e509996ce805d
powerpc: Add NAP mode support on Power7 in HV mode

Wakeup comes from the system reset handler with a potential loss of
the non-hypervisor CPU state. We save the non-volatile state on the
stack and a pointer to it in the PACA, which the system reset handler
uses to restore things

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/machdep.h
arch/powerpc/include/asm/paca.h
arch/powerpc/include/asm/ppc-opcode.h
arch/powerpc/kernel/Makefile
arch/powerpc/kernel/exceptions-64s.S
arch/powerpc/kernel/idle_power7.S [new file with mode: 0644]
arch/powerpc/platforms/Kconfig