Can anything from kernel-space defer a transition to S3 power state?
Clash Royale CLAN TAG#URR8PPP
up vote
3
down vote
favorite
I'm wondering if there's a way to defer transition to S3 power state, for instance due to pending results from some external module, e.g. crypto-engine
?
Picture example scenario: user-space client calls ioctl which is translated by my kernel module into call to external crypto-engine
. Halfway thru, my module gets PM_SUSPEND_PREPARE
notification. Can I defer the suspension somehow, not permanently, of course?
Regards,
Marek
linux kernel-modules power-management
add a comment |Â
up vote
3
down vote
favorite
I'm wondering if there's a way to defer transition to S3 power state, for instance due to pending results from some external module, e.g. crypto-engine
?
Picture example scenario: user-space client calls ioctl which is translated by my kernel module into call to external crypto-engine
. Halfway thru, my module gets PM_SUSPEND_PREPARE
notification. Can I defer the suspension somehow, not permanently, of course?
Regards,
Marek
linux kernel-modules power-management
add a comment |Â
up vote
3
down vote
favorite
up vote
3
down vote
favorite
I'm wondering if there's a way to defer transition to S3 power state, for instance due to pending results from some external module, e.g. crypto-engine
?
Picture example scenario: user-space client calls ioctl which is translated by my kernel module into call to external crypto-engine
. Halfway thru, my module gets PM_SUSPEND_PREPARE
notification. Can I defer the suspension somehow, not permanently, of course?
Regards,
Marek
linux kernel-modules power-management
I'm wondering if there's a way to defer transition to S3 power state, for instance due to pending results from some external module, e.g. crypto-engine
?
Picture example scenario: user-space client calls ioctl which is translated by my kernel module into call to external crypto-engine
. Halfway thru, my module gets PM_SUSPEND_PREPARE
notification. Can I defer the suspension somehow, not permanently, of course?
Regards,
Marek
linux kernel-modules power-management
linux kernel-modules power-management
edited Oct 11 '17 at 9:24
asked Oct 10 '17 at 14:08
Marek Niepieklo
164
164
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f397237%2fcan-anything-from-kernel-space-defer-a-transition-to-s3-power-state%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password