This project is mirrored from https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git. Pull mirroring updated .
  1. 29 Nov, 2016 1 commit
  2. 24 Nov, 2016 1 commit
  3. 23 Nov, 2016 1 commit
    • Sudeep Holla's avatar
      cpuidle: dt: assign ->enter_freeze to same as ->enter callback function · a94e502c
      Sudeep Holla authored
      
      
      enter_freeze() callback is expected atleast to do the same as enter()
      but it has to guarantee that interrupts aren't enabled at any point
      in its execution, as the tick is frozen.
      
      CPUs execute ->enter_freeze with the local tick or entire timekeeping
      suspended, so it must not re-enable interrupts at any point (even
      temporarily) or attempt to change states of clock event devices.
      
      It will be called when the system goes to suspend-to-idle and will
      reduce power usage because CPUs won't be awaken for unnecessary IRQs
      (i.e. woken up only on IRQs from "wakeup sources")
      
      We can reuse the same code for both the enter() and enter_freeze()
      callbacks as along as they don't re-enable interrupts. Only "coupled"
      cpuidle mechanism enables interrupts and doing that with timekeeping
      suspended is generally not safe.
      
      Since this generic DT based idle driver doesn't support "coupled"
      states, it is safe to assume that the interrupts are not re-enabled.
      
      This patch assign enter_freeze to same as enter callback function which
      helps to save power without any intermittent spurious wakeups from
      suspend-to-idle.
      
      Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
      Tested-by: default avatarAndy Gross <andy.gross@linaro.org>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      a94e502c
  4. 21 Oct, 2016 1 commit
  5. 14 Oct, 2016 10 commits
  6. 13 Oct, 2016 18 commits
  7. 12 Oct, 2016 8 commits