Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement cpu-keepalive plugin for mce
The cpu-keepalive plugin implementes dbus interface defined in mce-headers >= 1.12.3. Applications can query keepalive renew period via: MCE_CPU_KEEPALIVE_PERIOD_REQ And then block suspend via: MCE_CPU_KEEPALIVE_START_REQ x N MCE_CPU_KEEPALIVE_STOP_REQ The iphb plugin in dsme can signal wakeups via: MCE_CPU_KEEPALIVE_WAKEUP_REQ While there are clients with active keepalive periods, mce will block the device from entering late suspend. If client with active keepalive perdiod drops from system bus, it will be handled as if MCE_CPU_KEEPALIVE_STOP_REQ were made. If mce is compiled without wakelock support, longer renew period is reported by MCE_CPU_KEEPALIVE_PERIOD_REQ. After receiving MCE_CPU_KEEPALIVE_WAKEUP_REQ from dsme, mce blocks late suspend for a short while to allow clients using libiphb timers to register keepalive periods.
- Loading branch information
Showing
7 changed files
with
1,048 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.