1. 03 4月, 2009 1 次提交
    • J
      xtensa: use correct stack pointer for stack traces · 28a0ce7f
      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: NJohannes Weiner <jw@emlix.com>
      Signed-off-by: NChris Zankel <chris@zankel.net>
      28a0ce7f
  2. 11 3月, 2009 1 次提交
  3. 14 2月, 2008 2 次提交
    • C
      [XTENSA] Add support for configurable registers and coprocessors · c658eac6
      Chris Zankel 提交于
      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: NChris Zankel <chris@zankel.net>
      c658eac6
    • C
      [XTENSA] Clean up elf-gregset. · 8d7e8240
      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: NChris Zankel <chris@zankel.net>
      8d7e8240
  4. 20 10月, 2007 1 次提交
  5. 28 8月, 2007 1 次提交
  6. 18 7月, 2007 1 次提交
  7. 11 12月, 2006 1 次提交
  8. 15 8月, 2006 1 次提交
    • H
      [PATCH] Change panic_on_oops message to "Fatal exception" · 012c437d
      Horms 提交于
      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: NSimon Horman <horms@verge.net.au>
      Cc: Paul Mackerras <paulus@samba.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      012c437d
  9. 01 8月, 2006 1 次提交
    • H
      [PATCH] panic_on_oops: remove ssleep() · cea6a4ba
      Horms 提交于
      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: NHorms <horms@verge.net.au>
      Acked-by: NPaul Mackerras <paulus@samba.org>
      Cc: Russell King <rmk@arm.linux.org.uk>
      Cc: "Luck, Tony" <tony.luck@intel.com>
      Cc: Andi Kleen <ak@muc.de>
      Cc: Chris Zankel <chris@zankel.net>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      cea6a4ba
  10. 28 6月, 2006 1 次提交
  11. 13 7月, 2005 1 次提交
  12. 24 6月, 2005 1 次提交