Thread (18 messages) flat view 18 messages, 4 authors, 2014-02-18

[PATCH v2 4/6] ARM: firmware: add prepare_idle() operation

From: Tomasz Figa <hidden>
Date: 2014-02-13 11:01:23
Also in: linux-tegra, lkml

Hi Alexandre,

On 07.02.2014 05:35, Alexandre Courbot wrote:
Some firmwares do not put the CPU into idle mode themselves, but still
need to be informed that the CPU is about to enter idle mode before this
happens. Add a prepare_idle() operation to the firmware_ops structure to
handle such cases.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
---
  arch/arm/include/asm/firmware.h | 4 ++++
  1 file changed, 4 insertions(+)
I wonder if .do_idle() couldn't simply return an appropriate error code 
to let the upper layer know that it should proceed with normal CPU idle 
activation, while still letting the firmware know that the CPU is going 
to idle.

Best regards,
Tomasz
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help