1. 16 6月, 2015 1 次提交
    • G
      PM / Domains: Skip timings during syscore suspend/resume · a4630c61
      Geert Uytterhoeven 提交于
      The PM Domain code uses ktime_get() to perform various latency
      measurements.  However, if ktime_get() is called while timekeeping is
      suspended, the following warning is printed:
      
          WARNING: CPU: 0 PID: 1340 at kernel/time/timekeeping.c:576 ktime_get+0x3
      
      This happens when resuming the PM Domain that contains the clock events
      source, which calls pm_genpd_syscore_poweron(). Chain of operations is:
      
          timekeeping_resume()
          {
      	clockevents_resume()
      	    sh_cmt_clock_event_resume()
      		pm_genpd_syscore_poweron()
      		    pm_genpd_sync_poweron()
      			genpd_syscore_switch()
      			    genpd_power_on()
      				ktime_get(), but timekeeping_suspended == 1
      	...
      	timekeeping_suspended = 0;
          }
      
      Fix this by adding a "timed" parameter to genpd_power_{on,off}() and
      pm_genpd_sync_power{off,on}(), to indicate whether latency measurements
      are allowed.  This parameter is passed as false in
      genpd_syscore_switch() (i.e. during syscore suspend/resume), and true in
      all other cases.
      Signed-off-by: NGeert Uytterhoeven <geert+renesas@glider.be>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      a4630c61
  2. 16 4月, 2015 1 次提交
  3. 24 3月, 2015 1 次提交
  4. 23 3月, 2015 3 次提交
  5. 18 3月, 2015 1 次提交
  6. 05 3月, 2015 1 次提交
  7. 04 3月, 2015 1 次提交
  8. 12 2月, 2015 1 次提交
  9. 04 2月, 2015 10 次提交
  10. 24 1月, 2015 6 次提交
  11. 18 12月, 2014 3 次提交
  12. 17 12月, 2014 1 次提交
  13. 11 12月, 2014 5 次提交
  14. 10 12月, 2014 2 次提交
  15. 04 12月, 2014 2 次提交
  16. 30 11月, 2014 1 次提交