1. 02 11月, 2009 1 次提交
  2. 25 6月, 2009 1 次提交
  3. 11 1月, 2009 1 次提交
    • M
      MIPS: make cp0 counter clocksource/event usable as fallback. · 779e7d41
      Manuel Lauss 提交于
      The current mips clock build infrastructure lets a system only use
      either the MIPS cp0 counter or a SoC specific timer as a clocksource /
      clockevent device.
      
      This patch renames the core cp0 counter clocksource / clockevent functions
      from mips_* to r4k_* and updates the wrappers in asm-mips/time.h to
      call these renamed functions instead.
      
      Chips which can detect whether it is safe to use a chip-specific timer
      can now fall back on the cp0 counter if necessary and possible
      (e.g. Alchemy with a follow-on patch).
      
      Existing behaviour is not changed in any way.
      Signed-off-by: NManuel Lauss <mano@roarinelk.homelinux.net>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      779e7d41
  4. 13 12月, 2008 1 次提交
  5. 04 10月, 2008 1 次提交
  6. 27 11月, 2007 2 次提交
    • R
      [MIPS] Handle R4000/R4400 mfc0 from count register. · 5aa85c9f
      Ralf Baechle 提交于
      The R4000 and R4400 have an errata where if the cp0 count register is read
      in the exact moment when it matches the compare register no interrupt will
      be generated.
      
      This bug may be triggered if the cp0 count register is being used as
      clocksource and the compare interrupt as clockevent.  So a simple
      workaround is to avoid using the compare for both facilities on the
      affected CPUs.
      
      This is different from the workaround suggested in the old errata documents;
      at some opportunity probably the official version should be implemented
      and tested.  Another thing to find out is which processor versions
      exactly are affected.  I only have errata documents upto R4400 V3.0
      available so for the moment the code treats all R4000 and R4400 as broken.
      
      This is potencially a problem for some machines that have no other decent
      clocksource available; this workaround will cause them to fall back to
      another clocksource, worst case the "jiffies" source.
      5aa85c9f
    • R
      aea68639
  7. 30 10月, 2007 4 次提交
  8. 23 10月, 2007 1 次提交
  9. 20 10月, 2007 1 次提交
  10. 19 10月, 2007 1 次提交