summaryrefslogtreecommitdiffstats
path: root/fs/ecryptfs/kthread.c
diff options
context:
space:
mode:
authorGautham R. Shenoy <ego@linux.vnet.ibm.com>2017-01-25 14:06:25 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2017-01-31 08:32:12 +1100
commit823b7bd5156a93872d9561b3f033dfe5cb80204e (patch)
tree1ce3ae29c54e70eab6ef786044fd313e4712c636 /fs/ecryptfs/kthread.c
parent616badd2fb499320d3ac3b54462f55dededd0e0f (diff)
downloadblackbird-op-linux-823b7bd5156a93872d9561b3f033dfe5cb80204e.tar.gz
blackbird-op-linux-823b7bd5156a93872d9561b3f033dfe5cb80204e.zip
powernv:idle: Add IDLE_STATE_ENTER_SEQ_NORET macro
Currently all the low-power idle states are expected to wake up at reset vector 0x100. Which is why the macro IDLE_STATE_ENTER_SEQ that puts the CPU to an idle state and never returns. On ISA v3.0, when the ESL and EC bits in the PSSCR are zero, the CPU is expected to wake up at the next instruction of the idle instruction. This patch adds a new macro named IDLE_STATE_ENTER_SEQ_NORET for the no-return variant and reuses the name IDLE_STATE_ENTER_SEQ for a variant that allows resuming operation at the instruction next to the idle-instruction. Acked-by: Balbir Singh <bsingharora@gmail.com> Signed-off-by: Gautham R. Shenoy <ego@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'fs/ecryptfs/kthread.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud