#11384 NORM 12.1.0: x86 3.1 kernel: no wakeup reason support

Zarro Boogs per Child bugtracker at laptop.org
Tue Mar 20 12:00:41 EDT 2012


#11384: x86 3.1 kernel: no wakeup reason support
---------------------------------+------------------------------------------
           Reporter:  dsd        |       Owner:  dsd          
               Type:  defect     |      Status:  new          
           Priority:  normal     |   Milestone:  12.1.0       
          Component:  kernel     |     Version:  not specified
         Resolution:             |    Keywords:               
        Next_action:  never set  |    Verified:  0            
Deployment_affected:             |   Blockedby:               
           Blocking:             |  
---------------------------------+------------------------------------------
Changes (by pgf):

 * cc: dilinger (added)


Comment:

 yes.  the "no wakeup reason needed" approach has worked well (w/ one
 exception) on 1.75, so i think it's on my plate to instrument the XO-1/1.5
 drivers the same way.  powerd has all of the infrastructure present
 already.

 the exception is libertas -- it wasn't as clear to me where to place the
 pm_wakeup_event() call, since interrupts aren't one-to-one with wakeup
 events.  i think they are while we're asleep, but once we're awake,
 getting an interrupt may be for a reason that wouldn't have woken us when
 asleep, and hence shouldn't abort a suspend in progress.   so currently,
 libertas wakeups don't provide wakeup events.  powerd "recognizes" them
 because they're the only possible wakeup event that isn't instrumented, so
 unknown wakeups must be wlan.  but this ignores the issue that an arriving
 packet can't abort a suspend.

-- 
Ticket URL: <http://dev.laptop.org/ticket/11384#comment:2>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list