]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - arch/powerpc/kernel/exceptions-64s.S
powerpc/powernv: Add context management for Fast Sleep
authorVaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>
Wed, 26 Feb 2014 00:08:25 +0000 (05:38 +0530)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 5 Mar 2014 04:56:31 +0000 (15:56 +1100)
commitaca79d2b6ec2c0b955b22abb71c6dab90fa1d4d5
treed4eb7a475ad1c2163719924bc1886ff7b2dff3bf
parent1b7839559b3f1c7a09ff94904788a732063ce2de
powerpc/powernv: Add context management for Fast Sleep

Before adding Fast-Sleep into the cpuidle framework, some low level
support needs to be added to enable it. This includes saving and
restoring of certain registers at entry and exit time of this state
respectively just like we do in the NAP idle state.

Signed-off-by: Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>
[Changelog modified by Preeti U. Murthy <preeti@linux.vnet.ibm.com>]
Signed-off-by: Preeti U. Murthy <preeti@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/processor.h
arch/powerpc/kernel/exceptions-64s.S
arch/powerpc/kernel/idle_power7.S