15 Mar, 2011

1 commit

  • GCC-4.6 can find more unused code than previous versions could.

    In the case of protected_restore_fp_context{,32}, the variable tmp is
    really used. Its use is tricky in that we really care about the side
    effects of the __put_user() calls. So we must mark tmp with
    __maybe_unused to quiet the warning.

    Signed-off-by: David Daney
    To: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/2035/
    Signed-off-by: Ralf Baechle

    David Daney
     

13 Apr, 2010

1 commit

  • This is a follow on to the vdso patch.

    Since all processes now have signal trampolines permanently mapped, we
    can use those instead of putting the trampoline on the stack and
    invalidating the corresponding icache across all CPUs. We also get rid
    of a bunch of ICACHE_REFILLS_WORKAROUND_WAR code.

    [Ralf: GDB 7.1 which has the necessary modifications to allow backtracing
    over signal frames will supposedly be released tomorrow. The old signal
    frame format obsoleted by this patch exists in two variations, for sane
    processors and for those requiring ICACHE_REFILLS_WORKAROUND_WAR. So
    there was never a GDB which did support backtracing over signal frames
    on all MIPS systems. This convinved me this series should be applied and
    pushed upstream as soon as possible.]

    Signed-off-by: David Daney
    To: linux-mips@linux-mips.org
    Patchwork: http://patchwork.linux-mips.org/patch/974/
    Signed-off-by: Ralf Baechle

    David Daney
     

17 Dec, 2009

1 commit


28 Feb, 2009

1 commit


11 Oct, 2008

1 commit


12 Oct, 2007

1 commit


01 Aug, 2007

1 commit


27 Jun, 2007

1 commit


09 May, 2007

1 commit


20 Apr, 2007

2 commits

  • The save_fp_context()/restore_fp_context() might sleep on accessing
    user stack and therefore might lose FPU ownership in middle of them.

    If these function failed due to "in_atomic" test in do_page_fault,
    touch the sigcontext area in non-atomic context and retry these
    save/restore operation.

    This is a replacement of a (broken) fix which was titled "Allow CpU
    exception in kernel partially".

    Signed-off-by: Atsushi Nemoto
    Signed-off-by: Ralf Baechle

    Atsushi Nemoto
     
  • The commit 4d40bff7110e9e1a97ff8c01bdd6350e9867cc10 ("Allow CpU
    exception in kernel partially") was broken. The commit was to fix
    theoretical problem but broke usual case. Revert it for now.

    Signed-off-by: Atsushi Nemoto
    Signed-off-by: Ralf Baechle

    Atsushi Nemoto
     

17 Mar, 2007

2 commits


21 Feb, 2007

1 commit


19 Feb, 2007

2 commits


14 Feb, 2007

3 commits


11 Feb, 2007

6 commits


27 Sep, 2006

3 commits


21 Mar, 2006

3 commits


22 Feb, 2006

3 commits


15 Feb, 2006

1 commit


09 Feb, 2006

1 commit


07 Feb, 2006

2 commits


10 Jan, 2006

1 commit


01 Dec, 2005

1 commit