Re : Re : Re : [HELP] Power management for embedded system

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Russell King wrote:
> We have some folk who want a method to trigger emergency suspends when
> batteries got low, or if you move the battery cover, etc.  These are
> events which require fast reactions from the system, and coding up some
> additional interface to pass such events to userland, have some daemon
> running to monitor for those events, and issue a PM event is completely
> overkill and, actually, unreliable.
> 

I'm not sure to understand why a daemon is needed. Could you explain ?

>> Could you point out where it is handled ?
> 
> It's both machine class and CPU specific.  I couldn't point you at
> anything specific, except to say that different machines and ARM CPUs
> handle it differently.
> 
> Some CPUs have "wait for interrupt" instructions, some don't.  Some
> need special cache handling around this instruction, some don't.  Some
> machines have a CPU capable of "wait for interrupt" but must not use it.
> 
> It's all handled by the CPU abstraction, and the machine class abstraction.
> 
> See arch_idle in include/asm-arm/arch-*/system.h as the starting point
> for the "default" (== always used) idle implementations.
> 

thanks for that.

Francis



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux