diff options
author | Gautham R. Shenoy <ego@linux.vnet.ibm.com> | 2017-05-16 14:19:45 +0530 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-05-30 14:59:51 +1000 |
commit | cb0be7ec03077a31712183bfbe7801061e2966b8 (patch) | |
tree | 23e399db290487939376f944a29a844aaa421203 /Documentation/vm | |
parent | ec4867355244755fb5c06037ad2fff760701b465 (diff) |
powerpc/powernv/idle: Restore LPCR on wakeup from deep-stop
On wakeup from a deep stop state which is supposed to lose the
hypervisor state, we don't restore the LPCR to the old value but set
it to a "sane" value via cur_cpu_spec->cpu_restore().
The problem is that the "sane" value doesn't include UPRT and the HR
bits which are required to run correctly in Radix mode.
Fix this on POWER9 onwards by restoring the LPCR value whatever it was
before executing the stop instruction.
Signed-off-by: Gautham R. Shenoy <ego@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'Documentation/vm')
0 files changed, 0 insertions, 0 deletions