1. 29 3月, 2010 1 次提交
    • P
      clocksource: Deprecate clock string across the SH drivers. · c2a25e81
      Paul Mundt 提交于
      We want to get rid of the clock string from platform data entirely,
      depending on the clkdev-based clock lookup to do the right thing for us
      instead.
      
      This converts all of the SH drivers to request their associated function
      clocks directly, and if there is no match for that then we fall back on
      the legacy lookup while warning about it. After all of the outstanding
      CPUs have been converted to clkdev lookups the clock string will be
      killed off completely.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      c2a25e81
  2. 10 3月, 2010 1 次提交
  3. 25 2月, 2010 1 次提交
    • P
      clocksource: Fix up a registration/IRQ race in the sh drivers. · da64c2a8
      Paul Mundt 提交于
      All of the SH clocksource drivers follow the scheme that the IRQ is setup
      prior to registering the clockevent. The interrupt handler in the
      clockevent cases looks to the event handler function pointer being filled
      in by the registration code, permitting us to get in to situations where
      asserted IRQs step in to the handler before registration has had a chance
      to complete and hitting a NULL pointer deref.
      
      In practice this is not an issue for most platforms, but some of them
      with fairly special loaders (or that are chain-loading from another
      kernel) may enter in to this situation. This fixes up the oops reported
      by Rafael on hp6xx.
      Reported-and-tested-by: NRafael Ignacio Zurita <rafaelignacio.zurita@gmail.com>
      Cc: stable@kernel.org
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      da64c2a8
  4. 05 2月, 2010 1 次提交
  5. 15 8月, 2009 1 次提交
  6. 17 6月, 2009 1 次提交
  7. 14 6月, 2009 1 次提交
  8. 03 5月, 2009 2 次提交
  9. 30 4月, 2009 1 次提交
  10. 28 4月, 2009 2 次提交
  11. 22 4月, 2009 1 次提交
  12. 19 4月, 2009 1 次提交
  13. 02 4月, 2009 1 次提交
  14. 29 1月, 2009 1 次提交
    • M
      sh: CMT clockevent platform driver · 3fb1b6ad
      Magnus Damm 提交于
      SuperH CMT clockevent driver.
      
      Both 16-bit and 32-bit CMT versions are supported, but only 32-bit
      is tested. This driver contains support for both clockevents and
      clocksources, but no unregistration is supported at this point.
      
      Works fine as clock source and/or event in periodic or oneshot mode.
      Tested on sh7722 and sh7723, but should work with any cpu/architecture.
      
      This version is lacking clocksource and early platform driver support
      for now - this to minimize the amount of dependencies.
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      3fb1b6ad