[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1156414325.5555.11.camel@localhost.localdomain>
Date: Thu, 24 Aug 2006 11:12:05 +0100
From: Richard Purdie <rpurdie@...ys.net>
To: moreau francis <francis_moreau2000@...oo.fr>
Cc: Russell King <rmk+lkml@....linux.org.uk>, linux-pm@...ts.osdl.org,
linux-kernel@...r.kernel.org
Subject: Re: Re : [HELP] Power management for embedded system
On Thu, 2006-08-24 at 09:37 +0000, moreau francis wrote:
> Is there something specific to ARM in this implementation ? I don't think
> so and it's surely the reason why MIPS did copy it with almost no changes.
> I understand that ARM implementation has been the first one but maybe now
> why not making it the common power management for embedded system that
> could be used by all arches which need it ?
>
> BTW, why has apm_cpu_idle() logic been removed from ARM implementation ?
>
> > The power management really comes from the Linux drivers themselves,
> > which are written to peripherals off when they're not in use. The other
> > power saving comes from things like cpufreq - again, nothing to do with
> > the magical "APM" or "ACPI" terms.
>
> BTW why is it still called "APM" on ARM ?
It provides an apm_bios device which behaves the same way as a "real"
APM bios on x86. The same apmd used on x86 can be used on ARM.
Its main purpose is to be to run suspend/resume events past userspace
before acting on them (and allow suspend/resume events to be triggered
from userspace). It also allows exporting of battery status information
to userspace in a rather broken way.
It would be nice to move that to some arch independent generic
implementation of these things and to leave the APM emulation behind.
The battery information should be a sysfs class (see the backlight/led
classes as examples of sysfs classes). The suspend/resume event handling
would be something new as far as I know and ideally should support
suspending/resuming individual sections of device hardware as well as
the whole system. The linux-pm mailing list might have more of an idea
of whether these things are being worked on and their current status.
Regards,
Richard
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists