1. 13 5月, 2016 1 次提交
    • H
      MIPS: Loongson-3: Introduce CONFIG_LOONGSON3_ENHANCEMENT · 1e820da3
      Huacai Chen 提交于
      New Loongson 3 CPU (since Loongson-3A R2, as opposed to Loongson-3A R1,
      Loongson-3B R1 and Loongson-3B R2) has many enhancements, such as FTLB,
      L1-VCache, EI/DI/Wait/Prefetch instruction, DSP/DSPv2 ASE, User Local
      register, Read-Inhibit/Execute-Inhibit, SFB (Store Fill Buffer), Fast
      TLB refill support, etc.
      
      This patch introduce a config option, CONFIG_LOONGSON3_ENHANCEMENT, to
      enable those enhancements which are not probed at run time. If you want
      a generic kernel to run on all Loongson 3 machines, please say 'N'
      here. If you want a high-performance kernel to run on new Loongson 3
      machines only, please say 'Y' here.
      
      Some additional explanations:
      1) SFB locates between core and L1 cache, it causes memory access out
         of order, so writel/outl (and other similar functions) need a I/O
         reorder barrier.
      2) Loongson 3 has a bug that di instruction can not save the irqflag,
         so arch_local_irq_save() is modified. Since CPU_MIPSR2 is selected
         by CONFIG_LOONGSON3_ENHANCEMENT, generic kernel doesn't use ei/di
         at all.
      3) CPU_HAS_PREFETCH is selected by CONFIG_LOONGSON3_ENHANCEMENT, so
         MIPS_CPU_PREFETCH (used by uasm) probing is also put in this patch.
      Signed-off-by: NHuacai Chen <chenhc@lemote.com>
      Cc: Aurelien Jarno <aurelien@aurel32.net>
      Cc: Steven J . Hill <sjhill@realitydiluted.com>
      Cc: Fuxin Zhang <zhangfx@lemote.com>
      Cc: Zhangjin Wu <wuzhangjin@gmail.com>
      Cc: linux-mips@linux-mips.org
      Patchwork: https://patchwork.linux-mips.org/patch/12755/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      1e820da3
  2. 22 6月, 2015 1 次提交
    • J
      MIPS: hazards: Add hazard macros for tlb read · e50f0e31
      James Hogan 提交于
      Add hazard macros to <asm/hazards.h> for the following hazards around
      tlbr (TLB read) instructions, which are used in TLB dumping code and
      some KVM TLB management code:
      
      - mtc0_tlbr_hazard
        Between mtc0 (Index) and tlbr. This is copied from mtc0_tlbw_hazard in
        all cases on the assumption that tlbr always has similar data user
        timings to tlbw.
      
      - tlb_read_hazard
        Between tlbr and mfc0 (various TLB registers). This is copied from
        tlbw_use_hazard in all cases on the assumption that tlbr has similar
        data writer characteristics to tlbw, and mfc0 has similar data user
        characteristics to loads and stores.
      Signed-off-by: NJames Hogan <james.hogan@imgtec.com>
      Cc: linux-mips@linux-mips.org
      Patchwork: https://patchwork.linux-mips.org/patch/10078/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      e50f0e31
  3. 17 2月, 2015 1 次提交
  4. 11 4月, 2013 1 次提交
  5. 17 2月, 2013 1 次提交
  6. 01 2月, 2013 1 次提交
  7. 14 12月, 2012 1 次提交
  8. 08 12月, 2011 2 次提交
  9. 05 8月, 2010 1 次提交
  10. 14 5月, 2009 1 次提交
  11. 30 3月, 2009 1 次提交
  12. 12 3月, 2009 1 次提交
    • S
      MIPS: NEC VR5500 processor support fixup · a644b277
      Shinya Kuribayashi 提交于
      Current VR5500 processor support lacks of some functions which are
      expected to be configured/synthesized on arch initialization.
      
      Here're some VR5500A spec notes:
      
      * All execution hazards are handled in hardware.
      
      * Once VR5500A stops the operation of the pipeline by WAIT instruction,
        it could return from the standby mode only when either a reset, NMI
        request, or all enabled interrupts is/are detected.  In other words,
        if interrupts are disabled by Status.IE=0, it keeps in standby mode
        even when interrupts are internally asserted.
      
        Notes on WAIT: The operation of the processor is undefined if WAIT
        insn is in the branch delay slot.  The operation is also undefined
        if WAIT insn is executed when Status.EXL and Status.ERL are set to 1.
      
      * VR5500A core only implements the Load prefetch.
      
      With these changes, it boots fine.
      Signed-off-by: NShinya Kuribayashi <shinya.kuribayashi@necel.com>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      a644b277
  13. 11 1月, 2009 1 次提交
  14. 11 10月, 2008 1 次提交
  15. 12 10月, 2007 2 次提交
  16. 12 9月, 2007 1 次提交
  17. 11 9月, 2007 1 次提交
  18. 01 8月, 2007 1 次提交
  19. 11 5月, 2007 2 次提交
  20. 25 3月, 2007 1 次提交
    • R
      [MIPS] Fix pipeline hazard. · 7605b390
      Ralf Baechle 提交于
      In the the sequence:
              ei
              ..
              mfc0    $x, $status
      
      the mfc0 may not see the SR_IE bit set. This was a deliberate bug in the
      kernel code because we knew this was a safe thing to do on all R2 silicon
      so far but new silicon is changing this.
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      7605b390
  21. 25 1月, 2007 1 次提交
  22. 27 9月, 2006 2 次提交
  23. 30 6月, 2006 1 次提交
  24. 26 4月, 2006 1 次提交
  25. 19 4月, 2006 1 次提交
  26. 19 3月, 2006 1 次提交
  27. 07 2月, 2006 1 次提交
  28. 10 1月, 2006 1 次提交
  29. 30 10月, 2005 6 次提交
  30. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4