1. 27 3月, 2012 2 次提交
  2. 22 3月, 2012 1 次提交
  3. 21 1月, 2012 1 次提交
  4. 07 12月, 2011 1 次提交
  5. 05 11月, 2011 1 次提交
  6. 22 10月, 2011 1 次提交
  7. 17 10月, 2011 2 次提交
  8. 30 7月, 2011 1 次提交
  9. 15 3月, 2011 1 次提交
  10. 25 2月, 2011 6 次提交
  11. 18 2月, 2011 1 次提交
  12. 21 1月, 2011 1 次提交
  13. 07 1月, 2011 2 次提交
  14. 14 12月, 2010 1 次提交
  15. 11 12月, 2010 1 次提交
  16. 16 11月, 2010 2 次提交
  17. 26 10月, 2010 1 次提交
  18. 20 10月, 2010 1 次提交
  19. 16 10月, 2010 1 次提交
  20. 25 9月, 2010 1 次提交
  21. 25 7月, 2010 1 次提交
  22. 07 7月, 2010 6 次提交
  23. 10 6月, 2010 2 次提交
  24. 29 5月, 2010 2 次提交
    • R
      ACPI / EC / PM: Fix names of functions that block/unblock EC transactions · fe955682
      Rafael J. Wysocki 提交于
      The names of the functions used for blocking/unblocking EC
      transactions during suspend/hibernation suggest that the transactions
      are suspended and resumed by them, while in fact they are disabled
      and enabled.  Rename the functions (and the flag used by them) to
      better reflect what they really do.
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      fe955682
    • R
      ACPI / EC / PM: Fix race between EC transactions and system suspend · d5a64513
      Rafael J. Wysocki 提交于
      There still is a race that may result in suspending the system in
      the middle of an EC transaction in progress, which leads to problems
      (like the kernel thinking that the ACPI global lock is held during
      resume while in fact it's not).
      
      To remove the race condition, modify the ACPI platform suspend and
      hibernate callbacks so that EC transactions are blocked right after
      executing the _PTS global control method and are allowed to happen
      again right after the low-level wakeup.
      
      Introduce acpi_pm_freeze() that will disable GPEs, wait until the
      event queues are empty and block EC transactions.  Use it wherever
      GPEs are disabled in preparation for switching local interrupts off.
      Introduce acpi_pm_thaw() that will allow EC transactions to happen
      again and enable runtime GPEs.  Use it to balance acpi_pm_freeze()
      wherever necessary.
      
      In addition to that use acpi_ec_resume_transactions_early() to
      unblock EC transactions as early as reasonably possible during
      resume.  Also unblock EC transactions in acpi_hibernation_finish()
      and in the analogous suspend routine to make sure that the EC
      transactions are enabled in all error paths.
      
      Fixes https://bugzilla.kernel.org/show_bug.cgi?id=14668Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      Reported-and-tested-by: NMaxim Levitsky <maximlevitsky@gmail.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      d5a64513