Can anything from kernel-space defer a transition to S3 power state?

The name of the pictureThe name of the pictureThe name of the pictureClash 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










share|improve this question



























    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










    share|improve this question

























      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










      share|improve this question















      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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Oct 11 '17 at 9:24

























      asked Oct 10 '17 at 14:08









      Marek Niepieklo

      164




      164

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          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



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          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













































































          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Displaying single band from multi-band raster using QGIS

          How many registers does an x86_64 CPU actually have?