08 Dec, 2011

1 commit

  • This patch refactors MIPS branch emulation code so as to allow skipping
    delay slot instruction in case of branch likely instructions when branch is
    not taken. This is useful for keeping the code common for use cases like
    kprobes where one would like to handle the branch instructions keeping the
    delay slot instuction also in picture for branch likely instructions. Also
    allow emulation when instruction to be decoded is not at pt_regs->cp0_epc
    as in case of kprobes where pt_regs->cp0_epc points to the breakpoint
    instruction.

    The patch also exports the function for modules.

    Signed-off-by: Maneesh Soni
    Signed-off-by: Victor Kamensky
    Cc: David Daney
    Cc: ananth@in.ibm.com
    Cc: linux-kernel@vger.kernel.org
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/2913/
    Signed-off-by: Ralf Baechle

    Maneesh Soni
     

18 Oct, 2010

1 commit

  • Put the original syscall number into ->regs[0] when we leave syscall
    with error. Use it in restart logics. Everything else will have
    it 0 since we pass through SAVE_SOME on all the ways in. Note that
    in places like bad_stack and inllegal_syscall we leave it 0 - it's not
    restartable.

    Signed-off-by: Al Viro
    Cc: linux-kernel@vger.kernel.org
    Cc: linux-arch@vger.kernel.org
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/1698/
    Signed-off-by: Ralf Baechle

    Al Viro
     

11 Jan, 2009

1 commit


14 Jul, 2007

1 commit


20 Jun, 2006

1 commit


27 Apr, 2006

1 commit

  • In the branch emulation for floating-point exceptions, __compute_return_epc
    must determine for bc1f et al which condition code bit to test. This is
    based on bits of the rt field. The switch statement to distinguish
    bc1f et al needs to use only the two low bits of rt, but the old code tests
    on the whole rt field. This patch masks off the proper bits.

    Signed-off-by: Win Treese
    Signed-off-by: Ralf Baechle

    Ralf Baechle
     

30 Oct, 2005

2 commits


17 Apr, 2005

1 commit

  • 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!

    Linus Torvalds