1. 03 4月, 2009 1 次提交
  2. 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
  3. 31 8月, 2007 1 次提交
  4. 28 8月, 2007 1 次提交
  5. 09 5月, 2007 1 次提交
  6. 11 12月, 2006 2 次提交
  7. 01 7月, 2006 1 次提交
  8. 07 3月, 2006 1 次提交
  9. 13 1月, 2006 1 次提交
  10. 09 11月, 2005 1 次提交
    • N
      [PATCH] sched: disable preempt in idle tasks · 5bfb5d69
      Nick Piggin 提交于
      Run idle threads with preempt disabled.
      
      Also corrected a bugs in arm26's cpu_idle (make it actually call schedule()).
      How did it ever work before?
      
      Might fix the CPU hotplugging hang which Nigel Cunningham noted.
      
      We think the bug hits if the idle thread is preempted after checking
      need_resched() and before going to sleep, then the CPU offlined.
      
      After calling stop_machine_run, the CPU eventually returns from preemption and
      into the idle thread and goes to sleep.  The CPU will continue executing
      previous idle and have no chance to call play_dead.
      
      By disabling preemption until we are ready to explicitly schedule, this bug is
      fixed and the idle threads generally become more robust.
      
      From: alexs <ashepard@u.washington.edu>
      
        PPC build fix
      
      From: Yoichi Yuasa <yuasa@hh.iij4u.or.jp>
      
        MIPS build fix
      Signed-off-by: NNick Piggin <npiggin@suse.de>
      Signed-off-by: NYoichi Yuasa <yuasa@hh.iij4u.or.jp>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      5bfb5d69
  11. 23 9月, 2005 1 次提交
  12. 10 9月, 2005 1 次提交
  13. 24 6月, 2005 1 次提交