1. 27 3月, 2014 2 次提交
    • M
      MIPS: lib: csum_partial: Merge EXC and load/store macros · 2ab82e66
      Markos Chandras 提交于
      Each load/store macro always adds an entry to the __ex_table
      using the EXC macro. There are cases where a load instruction may
      never fail such as when we are sure the load happens in the kernel
      address space. Therefore, we merge these the EXC and LOADX/STOREX
      macros into a single one. We also expand the argument list in the EXC
      macro to make the macro more flexible. The extra 'type' argument is not
      used by this commit, but it will be used when EVA support is added to
      memcpy.
      Signed-off-by: NMarkos Chandras <markos.chandras@imgtec.com>
      2ab82e66
    • M
      MIPS: checksum: Split the 'copy_user' symbol · ac85227f
      Markos Chandras 提交于
      The 'copy_user' symbol can be used to copy from or to
      userland so we will use two different symbols for these
      operations. This makes no difference in the existing code,
      but when the core is operating in EVA mode, different instructions
      need to be used to read and write to userland address space.
      The old function has also been renamed to 'copy_kernel' to denote
      that it is suitable for copy data to and from kernel space.
      Signed-off-by: NMarkos Chandras <markos.chandras@imgtec.com>
      ac85227f
  2. 12 3月, 2013 1 次提交
  3. 01 2月, 2013 1 次提交
  4. 11 10月, 2008 3 次提交
  5. 21 9月, 2008 1 次提交
  6. 29 1月, 2008 2 次提交
    • R
      [MIPS] Eleminate local symbols from the symbol table. · c5ec1983
      Ralf Baechle 提交于
      These symbols appear in oprofile output, stacktraces and similar but only
      make the output harder to read.  Many identical symbol names such as
      "both_aligned" were also being used in multiple source files making it
      impossible to see which file actually was meant.  So let's get rid of them.
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      c5ec1983
    • M
      [MIPS] R4000/R4400 daddiu erratum workaround · 619b6e18
      Maciej W. Rozycki 提交于
       This complements the generic R4000/R4400 errata workaround code and adds 
      bits for the daddiu problem.  In most places it just modifies handwritten 
      assembly code so that the assembler is allowed to use a temporary register 
      as daddiu may now be treated as a macro that expands to a sequence of li 
      and daddu.  It is the AT register or, where AT is unavailable or used 
      explicitly for another purpose, an explicitly-named register is selected, 
      using the .set at=<reg> feature added recently to gas.  This feature is 
      only used if CONFIG_CPU_DADDI_WORKAROUNDS has been set, so if the 
      workaround remains disabled, the required version of binutils stays 
      unchanged.
      
       Similarly, daddiu instructions put in branch delay slots in noreorder 
      fragments are now taken out of them and the assembler is allowed to 
      reorder them itself as possible (which it does making the whole idea of 
      scheduling them into delay slots manually questionable).
      
       Also in the very few places where such a simple conversion was not 
      possible, a handcoded longer sequence is implemented.
      
       Other than that there are changes to code responsible for building the 
      TLB fault and page clear/copy handlers to avoid daddiu as appropriate.  
      These are only effective if the erratum is verified to be present at the 
      run time.
      
       Finally there is a trivial update to __delay(), because it uses daddiu in 
      a branch delay slot.
      Signed-off-by: NMaciej W. Rozycki <macro@linux-mips.org>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      619b6e18
  7. 09 1月, 2007 1 次提交
  8. 09 12月, 2006 3 次提交
  9. 05 12月, 2006 1 次提交