1. 16 11月, 2007 1 次提交
    • R
      [MIPS] Fix shadow register support. · f6771dbb
      Ralf Baechle 提交于
      Shadow register support would not possibly have worked on multicore
      systems.  The support code for it was also depending not on MIPS R2 but
      VSMP or SMTC kernels even though it makes perfect sense with UP kernels.
      
      SR sets are a scarce resource and the expected usage pattern is that
      users actually hardcode the register set numbers in their code.  So fix
      the allocator by ditching it.  Move the remaining CPU probe bits into
      the generic CPU probe.
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      f6771dbb
  2. 12 10月, 2007 4 次提交
  3. 15 9月, 2007 1 次提交
  4. 21 7月, 2007 1 次提交
  5. 11 7月, 2007 3 次提交
  6. 06 7月, 2007 1 次提交
    • R
      [MIPS] Fix scheduling latency issue on 24K, 34K and 74K cores · 4b3e975e
      Ralf Baechle 提交于
      The idle loop goes to sleep using the WAIT instruction if !need_resched().
      This has is suffering from from a race condition that if if just after
      need_resched has returned 0 an interrupt might set TIF_NEED_RESCHED but
      we've just completed the test so go to sleep anyway.  This would be
      trivial to fix by just disabling interrupts during that sequence as in:
      
              local_irq_disable();
              if (!need_resched())
                      __asm__("wait");
              local_irq_enable();
      
      but the processor architecture leaves it undefined if a processor calling
      WAIT with interrupts disabled will ever restart its pipeline and indeed
      some processors have made use of the freedom provided by the architecture
      definition.  This has been resolved and the Config7.WII bit indicates that
      the use of WAIT is safe on 24K, 24KE and 34K cores.  It also is safe on
      74K starting revision 2.1.0 so enable the use of WAIT with interrupts
      disabled for 74K based on a c0_prid of at least that.
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      4b3e975e
  7. 27 6月, 2007 1 次提交
  8. 20 2月, 2007 1 次提交
  9. 19 2月, 2007 1 次提交
  10. 07 2月, 2007 1 次提交
  11. 30 11月, 2006 1 次提交
  12. 10 10月, 2006 1 次提交
  13. 27 9月, 2006 1 次提交
  14. 14 7月, 2006 2 次提交
  15. 01 7月, 2006 1 次提交
  16. 30 6月, 2006 1 次提交
  17. 06 6月, 2006 1 次提交
  18. 01 6月, 2006 2 次提交
  19. 21 3月, 2006 1 次提交
  20. 07 2月, 2006 1 次提交
  21. 10 1月, 2006 2 次提交
  22. 01 12月, 2005 1 次提交
  23. 30 10月, 2005 10 次提交