1. 21 9月, 2012 1 次提交
  2. 23 8月, 2012 1 次提交
  3. 22 8月, 2012 2 次提交
  4. 09 8月, 2012 1 次提交
    • N
      RTC: Avoid races between RTC alarm wakeup and suspend. · 7523ceed
      NeilBrown 提交于
      If an RTC alarm fires just as suspend is happening, it is possible for
      suspend to complete and the alarm to be missed.
      
      To avoid the race, we must register the event with the PM core.
      
      As the event is made visible to userspace through a thread which is
      only scheduled by the interrupt, we need a pm_stay_awake/pm_relax
      pair preventing suspend from the interrupt until the thread completes
      its work.
      
      This makes the pm_wakeup_event() call in cmos_interrupt unnecessary as
      it provides suspend protection for all RTCs that use rtc_update_irq.
      Signed-off-by: NNeilBrown <neilb@suse.de>
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      7523ceed
  5. 01 8月, 2012 2 次提交
  6. 31 7月, 2012 15 次提交
  7. 25 7月, 2012 1 次提交
  8. 19 7月, 2012 1 次提交
  9. 18 7月, 2012 1 次提交
  10. 12 7月, 2012 5 次提交
  11. 09 7月, 2012 2 次提交
  12. 04 7月, 2012 1 次提交
  13. 03 7月, 2012 1 次提交
  14. 30 5月, 2012 6 次提交