“e96879c202263c16e3608d335e3745b8e1d846f2”上不存在“projects/paragonie/imports.yml”
  1. 03 4月, 2016 1 次提交
    • M
      MIPS: traps: Correct the SIGTRAP debug ABI in `do_watch' and `do_trap_or_bp' · 3b143cca
      Maciej W. Rozycki 提交于
      Follow our own rules set in <asm/siginfo.h> for SIGTRAP signals issued
      from `do_watch' and `do_trap_or_bp' by setting the signal code to
      TRAP_HWBKPT and TRAP_BRKPT respectively, for Watch exceptions and for
      those Breakpoint exceptions whose originating BREAK instruction's code
      does not have a special meaning.  Keep Trap exceptions unaffected as
      these are not debug events.
      
      No existing user software is expected to examine signal codes for these
      signals as SI_KERNEL has been always used here.  This change makes the
      MIPS port more like other Linux ports, which reduces the complexity and
      provides for performance improvement in GDB.
      Signed-off-by: NMaciej W. Rozycki <macro@imgtec.com>
      Cc: Pedro Alves <palves@redhat.com>
      Cc: Luis Machado <lgustavo@codesourcery.com>
      Cc: linux-mips@linux-mips.org
      Cc: gdb@sourceware.org
      Patchwork: https://patchwork.linux-mips.org/patch/12758/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      3b143cca
  2. 26 10月, 2015 1 次提交
    • P
      MIPS: Declare mips_debugfs_dir in a header · 75dcfc1d
      Paul Burton 提交于
      We have many extern declarations of mips_debugfs_dir through arch/mips/
      in various C files. Unify them by declaring mips_debugfs_dir in a
      header, including it in each affected C file & removing the duplicate
      declarations.
      Signed-off-by: NPaul Burton <paul.burton@imgtec.com>
      Cc: linux-mips@linux-mips.org
      Cc: Steven J. Hill <Steven.Hill@imgtec.com>
      Cc: Alexander Sverdlin <alexander.sverdlin@nokia.com>
      Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
      Cc: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>
      Cc: Maciej W. Rozycki <macro@linux-mips.org>
      Cc: linux-kernel@vger.kernel.org
      Cc: Joe Perches <joe@perches.com>
      Cc: Jaedon Shin <jaedon.shin@gmail.com>
      Cc: James Hogan <james.hogan@imgtec.com>
      Cc: David Daney <david.daney@cavium.com>
      Cc: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
      Cc: Markos Chandras <markos.chandras@imgtec.com>
      Cc: James Cowgill <James.Cowgill@imgtec.com>
      Patchwork: https://patchwork.linux-mips.org/patch/11181/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      75dcfc1d
  3. 08 4月, 2015 3 次提交
  4. 17 2月, 2015 1 次提交
    • L
      MIPS: kernel: mips-r2-to-r6-emul: Add R2 emulator for MIPS R6 · b0a668fb
      Leonid Yegoshin 提交于
      MIPS R6 removed quite a few R2 instructions. However, there
      is plenty of <R6 userland code so we add an in-kernel emulator
      so we can still be able to execute all R2 userland out there.
      
      The emulator comes with a handy debugfs under /mips/ directory
      (r2-emul-stats) to provide some basic statistics of the
      instructions that are being emulated.
      
      Below are some statistics from booting a minimal buildroot image:
      
      Instruction     Total   BDslot
      ------------------------------
      movs            236969  0
      hilo            56686   0
      muls            55279   0
      divs            10941   0
      dsps            0       0
      bops            1       0
      traps           0       0
      fpus            0       0
      loads           214981  17
      stores          103364  0
      llsc            56898   0
      dsemul          150418  0
      jr              370158
      bltzl           43
      bgezl           1594
      bltzll          0
      bgezll          0
      bltzal          39
      bgezal          39
      beql            14503
      bnel            138741
      blezl           0
      bgtzl           3988
      Signed-off-by: NLeonid Yegoshin <Leonid.Yegoshin@imgtec.com>
      Signed-off-by: NMarkos Chandras <markos.chandras@imgtec.com>
      b0a668fb