1. 09 11月, 2012 2 次提交
    • S
      MIPS: Move processing of coherency kernel parameters earlier · b5b64f2b
      Shane McDonald 提交于
      Commit 97ce2c88 (jump-label: initialize
      jump-label subsystem much earlier) caused MIPS to break, so this was
      resolved with commit 6650df3c (MIPS:
      Move cache setup to setup_arch().).  Unfortunately, after this commit,
      the coherency kernel parameters, cca and coherentio, are no longer
      processed before their values are used.
      
      This patch fixes this problem by marking them as early_param, which
      results in them being processed before they are needed.
      Signed-off-by: NShane McDonald <mcdonald.shane@gmail.com>
      Acked-by: NDavid Daney <david.daney@cavium.com>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Patchwork: http://patchwork.linux-mips.org/patch/3961Signed-off-by: NJohn Crispin <blogic@openwrt.org>
      b5b64f2b
    • K
      MIPS: tlbex: Fix section mismatches · f151f3b9
      Kevin Cernekee 提交于
      The new functions introduced in commit 02a54177 (MIPS: tlbex: Deal with
      re-definition of label) should be marked __cpuinit, to eliminate a
      warning that can pop up when CONFIG_EXPORT_UASM is disabled:
      
            LD      arch/mips/mm/built-in.o
          WARNING: arch/mips/mm/built-in.o(.text+0x2a4c): Section mismatch in reference from the function uasm_bgezl_hazard() to the function .cpuinit.text:uasm_il_bgezl()
          The function uasm_bgezl_hazard() references
          the function __cpuinit uasm_il_bgezl().
          This is often because uasm_bgezl_hazard lacks a __cpuinit
          annotation or the annotation of uasm_il_bgezl is wrong.
      
          WARNING: arch/mips/mm/built-in.o(.text+0x2a68): Section mismatch in reference from the function uasm_bgezl_label() to the function .cpuinit.text:uasm_build_label()
          The function uasm_bgezl_label() references
          the function __cpuinit uasm_build_label().
          This is often because uasm_bgezl_label lacks a __cpuinit
          annotation or the annotation of uasm_build_label is wrong.
      
      (This warning might not occur if the function was inlined.)
      Signed-off-by: NKevin Cernekee <cernekee@gmail.com>
      Patchwork: http://patchwork.linux-mips.org/patch/4517Signed-off-by: NJohn Crispin <blogic@openwrt.org>
      f151f3b9
  2. 17 10月, 2012 3 次提交
    • R
      MIPS: hugetlbfs: Fix hazard between tlb write and pagemask restoration. · fb944c9b
      Ralf Baechle 提交于
      On some CPU the write to pagemask might complete before the TLB write
      instruction reads from the pagemask register.
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      fb944c9b
    • R
      MIPS: R5000: Fix TLB hazard handling. · 359187d6
      Ralf Baechle 提交于
      R5000 and the Nevada CPUs (RM5230, RM5231, RM5260, RM5261, RM5270 and
      RM5271) are basically the same CPU core and all are documented to require
      two instructions separating a write to c0_pagemask, c0_entryhi, c0_entrylo0,
      c0_entrylo1 or c0_index.
      
      So far we were only providing on cycle before / after a TLBR/TLBWI
      for R5000 but 3 cycles before and 1 cycles after for the Nevadas.
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      359187d6
    • R
      MIPS: tlbex: Deal with re-definition of label · 02a54177
      Ralf Baechle 提交于
      The microassembler used in tlbex.c does not notice if a label is redefined
      resulting in relocations against such labels silently missrelocated.
      The issues exists since commit add6eb04776db4189ea89f596cbcde31b899be9d
      [Synthesize TLB exception handlers at runtime.] in 2.6.10 and went unnoticed
      for so long because the relocations for the affected branches got computed
      to do something *almost* sensible.
      
      The issue affects R4000, R4400, QED/IDT RM5230, RM5231, RM5260, RM5261,
      RM5270 and RM5271 processors.
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      02a54177
  3. 11 10月, 2012 3 次提交
  4. 09 10月, 2012 1 次提交
  5. 14 9月, 2012 5 次提交
  6. 27 8月, 2012 1 次提交
  7. 23 8月, 2012 1 次提交
  8. 23 7月, 2012 1 次提交
  9. 19 7月, 2012 2 次提交
  10. 07 7月, 2012 1 次提交
  11. 17 5月, 2012 2 次提交
  12. 29 3月, 2012 2 次提交
    • R
      remove references to cpu_*_map in arch/ · 0b5f9c00
      Rusty Russell 提交于
      This has been obsolescent for a while; time for the final push.
      
      In adjacent context, replaced old cpus_* with cpumask_*.
      Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
      Acked-by: David S. Miller <davem@davemloft.net> (arch/sparc)
      Acked-by: Chris Metcalf <cmetcalf@tilera.com> (arch/tile)
      Cc: user-mode-linux-devel@lists.sourceforge.net
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: Richard Kuo <rkuo@codeaurora.org>
      Cc: linux-hexagon@vger.kernel.org
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: linux-mips@linux-mips.org
      Cc: Kyle McMartin <kyle@mcmartin.ca>
      Cc: Helge Deller <deller@gmx.de>
      Cc: sparclinux@vger.kernel.org
      0b5f9c00
    • D
      Disintegrate asm/system.h for MIPS · b81947c6
      David Howells 提交于
      Disintegrate asm/system.h for MIPS.
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      Acked-by: NRalf Baechle <ralf@linux-mips.org>
      cc: linux-mips@linux-mips.org
      b81947c6
  13. 28 3月, 2012 1 次提交
  14. 20 3月, 2012 2 次提交
  15. 21 2月, 2012 1 次提交
  16. 11 1月, 2012 2 次提交
  17. 08 12月, 2011 6 次提交
  18. 25 10月, 2011 1 次提交
  19. 20 10月, 2011 1 次提交
  20. 21 9月, 2011 2 次提交