]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit81b156451793858588f2169672296ce981f85524
treee763f1b49f66cf2c73b5a902063e2cb828e5d06c
parent5558a324dd92487764cd040a464de862ff5e5350
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