09 Jul, 2009

1 commit

  • Commit 5fd29d6ccbc98884569d6f3105aeca70858b3e0f ("printk: clean up
    handling of log-levels and newlines") changed printk semantics. printk
    lines with multiple KERN_ prefixes are no longer emitted as
    before the patch.

    is now included in the output on each additional use.

    Remove all uses of multiple KERN_s in formats.

    Signed-off-by: Joe Perches
    Signed-off-by: Linus Torvalds

    Joe Perches
     

12 May, 2009

1 commit

  • Commit '28a0ce7 xtensa: use correct stack pointer for stack traces'
    changed the stack tracer from always reading the stack pointer
    register to always using the saved value in the task descriptor.

    The author was too dense to consider the fact that the saved stack
    value is stale for a running process und thus unusable for 'current'.

    What we do now is to use the stack pointer register (a1) for when the
    task is unknown - we can't help it then - or when the task is
    'current'. For everything else use the saved stack pointer value
    contained in the task descriptor.

    Signed-off-by: Johannes Weiner
    Signed-off-by: Chris Zankel

    Johannes Weiner
     

03 Apr, 2009

2 commits

  • Add support for !CONFIG_MMU setups.

    Signed-off-by: Johannes Weiner
    Signed-off-by: Chris Zankel

    Johannes Weiner
     
  • Right now, the xtensa stacktrace code reads the _current_ kernel stack
    pointer if nothing is supplied. With debugging facilities like sysrq
    this means that the backtrace of the sysrq-handler is printed instead
    of a trace of the given task's stack.

    When no stack pointer is specified in show_trace() and show_stack(),
    use the stack pointer that comes with the handed in task descriptor to
    make stack traces more useful.

    Signed-off-by: Johannes Weiner
    Signed-off-by: Chris Zankel

    Johannes Weiner
     

11 Mar, 2009

1 commit


14 Feb, 2008

2 commits

  • The Xtensa architecture allows to define custom instructions and
    registers. Registers that are bound to a coprocessor are only
    accessible if the corresponding enable bit is set, which allows
    to implement a 'lazy' context switch mechanism. Other registers
    needs to be saved and restore at the time of the context switch
    or during interrupt handling.

    This patch adds support for these additional states:

    - save and restore registers that are used by the compiler upon
    interrupt entry and exit.
    - context switch additional registers unbound to any coprocessor
    - 'lazy' context switch of registers bound to a coprocessor
    - ptrace interface to provide access to additional registers
    - update configuration files in include/asm-xtensa/variant-fsf

    Signed-off-by: Chris Zankel

    Chris Zankel
     
  • Remove additional registers from the ELF gregset structure that
    are only used by the kernel or are not required or invalid in
    user-space. The ar registers are always aligned to a windowbase
    value of 0, and the WB register is always assumed to be 0.
    Increase the size of the structure to 128 entries. This will
    provide enough space in future.

    Signed-off-by: Chris Zankel

    Chris Zankel
     

20 Oct, 2007

1 commit

  • One of the easiest things to isolate is the pid printed in kernel log.
    There was a patch, that made this for arch-independent code, this one makes
    so for arch/xxx files.

    It took some time to cross-compile it, but hopefully these are all the
    printks in arch code.

    Signed-off-by: Alexey Dobriyan
    Signed-off-by: Pavel Emelyanov
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alexey Dobriyan
     

28 Aug, 2007

1 commit


18 Jul, 2007

1 commit

  • If the kernel OOPSed or BUGed then it probably should be considered as
    tainted. Thus, all subsequent OOPSes and SysRq dumps will report the
    tainted kernel. This saves a lot of time explaining oddities in the
    calltraces.

    Signed-off-by: Pavel Emelianov
    Acked-by: Randy Dunlap
    Cc:
    Signed-off-by: Andrew Morton
    [ Added parisc patch from Matthew Wilson -Linus ]
    Signed-off-by: Linus Torvalds

    Pavel Emelianov
     

11 Dec, 2006

1 commit

  • The Xtensa port contained many header files that were never needed. This
    rather lengthy patch removes all those files. Unfortunately, there were
    many dependencies that needed to be updated, so this patch touches quite a
    few source files.

    Signed-off-by: Chris Zankel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Chris Zankel
     

15 Aug, 2006

1 commit

  • Previously the message was "Fatal exception: panic_on_oops", as introduced
    in a recent patch whith removed a somewhat dangerous call to ssleep() in
    the panic_on_oops path. However, Paul Mackerras suggested that this was
    somewhat confusing, leadind people to believe that it was panic_on_oops
    that was the root cause of the fatal exception. On his suggestion, this
    patch changes the message to simply "Fatal exception". A suitable oops
    message should already have been displayed.

    Signed-off-by: Simon Horman
    Cc: Paul Mackerras
    Signed-off-by: Andrew Morton
    Signed-off-by: Greg Kroah-Hartman

    Horms
     

01 Aug, 2006

1 commit

  • This patch is part of an effort to unify the panic_on_oops behaviour across
    all architectures that implement it.

    It was pointed out to me by Andi Kleen that if an oops has occured in
    interrupt context, then calling sleep() in the oops path will only cause a
    panic, and that it would be really better for it not to be in the path at
    all.

    This patch removes the ssleep() call and reworks the console message
    accordinly. I have a slght concern that the resulting console message is
    too long, feedback welcome.

    For powerpc it also unifies the 32bit and 64bit behaviour.

    Fror x86_64, this patch only updates the console message, as ssleep() is
    already not present.

    Signed-off-by: Horms
    Acked-by: Paul Mackerras
    Cc: Russell King
    Cc: "Luck, Tony"
    Cc: Andi Kleen
    Cc: Chris Zankel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Horms
     

28 Jun, 2006

1 commit

  • locking init cleanups:

    - convert " = SPIN_LOCK_UNLOCKED" to spin_lock_init() or DEFINE_SPINLOCK()
    - convert rwlocks in a similar manner

    this patch was generated automatically.

    Motivation:

    - cleanliness
    - lockdep needs control of lock initialization, which the open-coded
    variants do not give
    - it's also useful for -rt and for lock debugging in general

    Signed-off-by: Ingo Molnar
    Signed-off-by: Arjan van de Ven
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ingo Molnar
     

13 Jul, 2005

1 commit


24 Jun, 2005

1 commit