30 Nov, 2007

1 commit

  • - fix lockup when switching from early console to real console
    - make sysrq reliable
    - fix panic, if sysrq is issued before console is opened

    Signed-off-by: Thomas Bogendoerfer
    Acked-by: Ralf Baechle
    Cc: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Thomas Bogendoerfer
     

27 Nov, 2007

1 commit

  • A new born thread starts execution not in schedule but rather in
    ret_from_fork which results in it bypassing the part of the code to
    load a new context written in C which are the DSP context and the
    userlocal register which Linux uses for the TLS pointer. Frequently
    we were just getting away with this bug for a number of reasons:

    o Real world application scenarios are very unlikely to use clone or fork
    in blocks of DSP code.
    o Linux by default runs the child process right after the fork, so the
    child by luck will find all the right context in the DSP and userlocal
    registers.
    o So far the rdhwr instruction was emulated on all hardware so userlocal
    wasn't getting referenced at all and the emulation wasn't suffering
    from the issue since it gets it's value straight from the thread's
    thread_info.

    Fixed by moving the code to load the context from switch_to() to
    finish_arch_switch which will be called by newborn and old threads.

    Signed-off-by: Ralf Baechle

    Ralf Baechle
     

12 Oct, 2007

2 commits


03 Oct, 2007

1 commit


01 Aug, 2007

1 commit


21 Jul, 2007

2 commits


20 Jul, 2007

1 commit


11 Jul, 2007

3 commits


11 May, 2007

1 commit


10 May, 2007

1 commit

  • Recently a few direct accesses to the thread_info in the task structure snuck
    back, so this wraps them with the appropriate wrapper.

    Signed-off-by: Roman Zippel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Roman Zippel
     

09 May, 2007

2 commits


17 Mar, 2007

1 commit


14 Feb, 2007

1 commit

  • Now that finally all supported versions of binutils have functioning
    support for .subsection use .subsection to tweak the branch prediction

    I did not modify the R10000 errata variants because it seems unclear if
    this will invalidate the workaround which actually relies on the cheesy
    prediction of branch likely to cause a misspredict if the sc was
    successful.

    Signed-off-by: Ralf Baechle

    Ralf Baechle
     

11 Dec, 2006

1 commit


05 Dec, 2006

1 commit


03 Nov, 2006

1 commit


15 Jul, 2006

1 commit

  • set_wmb should not be used in the kernel because it just confuses the
    code more and has no benefit. Since it is not currently used in the
    kernel this patch removes it so that new code does not include it.

    All archs define set_wmb(var, value) to do { var = value; wmb(); }
    while(0) except ia64 and sparc which use a mb() instead. But this is
    still moot since it is not used anyway.

    Hasn't been tested on any archs but x86 and x86_64 (and only compiled
    tested)

    Signed-off-by: Steven Rostedt
    Signed-off-by: Linus Torvalds

    Steven Rostedt
     

14 Jul, 2006

1 commit


26 Apr, 2006

1 commit


19 Apr, 2006

3 commits


21 Mar, 2006

1 commit


28 Feb, 2006

1 commit


13 Jan, 2006

2 commits


30 Oct, 2005

9 commits