1. 28 1月, 2008 2 次提交
  2. 20 10月, 2007 1 次提交
  3. 28 9月, 2007 2 次提交
  4. 31 7月, 2007 1 次提交
  5. 26 7月, 2007 1 次提交
  6. 11 6月, 2007 1 次提交
  7. 08 6月, 2007 2 次提交
  8. 21 5月, 2007 1 次提交
    • P
      sh: sr.bl toggling around idle sleep. · f3a9022f
      Paul Mundt 提交于
      As pointed out by Saito-san, without the sr.bl manipulation we can
      occasionally hit delays in the idle loop due to interrupt handling, so
      ensure that interrupts are blocked before going to sleep.
      
      At the same time, we throw in TIF_POLLING_NRFLAG for the !hlt_counter
      case (primarily used by the ST-40 parts).
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      f3a9022f
  9. 09 5月, 2007 5 次提交
    • P
      sh: clockevent/clocksource/hrtimers/nohz TMU support. · 57be2b48
      Paul Mundt 提交于
      This adds basic support for clockevents and clocksources,
      presently only implemented for TMU-based systems (which
      are the majority of SH-3 and SH-4 systems).
      
      The old NO_IDLE_HZ implementation is also dropped completely,
      the only users of this were on TMU-based systems anyways.
      
      More work needs to be done to generalize the TMU handling,
      in that the current implementation is rather tied to the
      notion of TMU0 and TMU1 utilization.
      
      Additionally, as more SH timers switch over to this scheme,
      we'll be able to gut most of the remaining system timer
      infrastructure that existed before.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      57be2b48
    • P
      sh: Convert to common die chain. · b118ca57
      Paul Mundt 提交于
      This went in immediately after SH added the die chain notifiers,
      so move over to that instead..
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      b118ca57
    • P
      sh: Fix PC adjustments for varying opcode length. · 53f983a9
      Paul Mundt 提交于
      There are a few different cases for figuring out how to
      size the instruction. We read in the instruction located
      at regs->pc - 4 when rewinding the opcode to figure out if
      there's a 32-bit opcode before the faulting instruction, with
      a default of a - 2 adjustment on a mismatch. In practice this
      works for the cases where pc - 4 is just another 16-bit opcode,
      or we happen to have a 32-bit and a 16-bit immediately
      preceeding the pc value.
      
      In the cases where we aren't rewinding, this is much less ugly..
      
      We also don't bother fixing up the places where we're explicitly
      dealing with 16-bit instructions, since this might lead to
      confusion regarding the encoding size possibilities on other
      CPU variants.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      53f983a9
    • P
      sh: Support for SH-2A 32-bit opcodes. · bd079997
      Paul Mundt 提交于
      SH-2A supports both 16 and 32-bit instructions, add a simple helper
      for figuring out the instruction size in the places where there are
      hardcoded 16-bit assumptions.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      bd079997
    • P
      sh: generic quicklist support. · 5f8c9908
      Paul Mundt 提交于
      This moves SH over to the generic quicklists. As per x86_64,
      we have special mappings for the PGDs, so these go on their
      own list..
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      5f8c9908
  10. 07 5月, 2007 2 次提交
  11. 05 3月, 2007 1 次提交
  12. 13 2月, 2007 3 次提交
    • P
      sh: Fixup cpu_data references for the non-boot CPUs. · 11c19656
      Paul Mundt 提交于
      There are a lot of bogus cpu_data-> references that only end up working
      for the boot CPU, convert these to current_cpu_data to fixup SMP.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      11c19656
    • P
      sh: Use a per-cpu ASID cache. · aec5e0e1
      Paul Mundt 提交于
      Previously this was implemented using a global cache, cache
      this per-CPU instead and bump up the number of context IDs to
      match NR_CPUS.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      aec5e0e1
    • P
      sh: Use a jump call table for debug trap handlers. · f413d0d9
      Paul Mundt 提交于
      This rips out most of the needlessly complicated sh_bios and kgdb
      trap handling, and forces it all through a common fast dispatch path.
      As more debug traps are inserted, it's important to keep them in sync
      for all of the parts, not just SH-3/4.
      
      As the SH-2 parts are unable to do traps in the >= 0x40 range, we
      restrict the debug traps to the 0x30-0x3f range on all parts, and
      also bump the kgdb breakpoint trap down in to this range (from 0xff
      to 0x3c) so it's possible to use for nommu.
      
      Optionally, this table can be padded out to catch spurious traps for
      SH-3/4, but we don't do that yet..
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      f413d0d9
  13. 12 12月, 2006 2 次提交
    • P
      sh: Fix get_wchan(). · b652c23c
      Paul Mundt 提交于
      Some time ago the schedule frame size changed and we failed to reflect
      this in get_wchan() at the time. This first popped up as a problem on
      SH7751R where schedule_frame ended up being unaligned and generating
      an unaligned trap. This fixes it up again..
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      b652c23c
    • P
      sh: BUG() handling through trapa vector. · dc34d312
      Paul Mundt 提交于
      Previously we haven't been doing anything with verbose BUG() reporting,
      and we've been relying on the oops path for handling BUG()'s, which is
      rather sub-optimal.
      
      This switches BUG handling to use a fixed trapa vector (#0x3e) where we
      construct a small bug frame post trapa instruction to get the context
      right. This also makes it trivial to wire up a DIE_BUG for the atomic
      die chain, which we couldn't really do before.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      dc34d312
  14. 06 12月, 2006 1 次提交
  15. 19 10月, 2006 1 次提交
    • P
      sh: Proper show_stack/show_trace() implementation. · 6b002230
      Paul Mundt 提交于
      This splits out some of the previous show_stack() implementation which
      was mostly doing the show_trace() work without actually dumping any of
      the stack contents. This now gets split in to two sections, where we
      do the fetching of the stack pointer and subsequent stack dumping in
      show_stack(), while moving the call trace in to show_trace().
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      6b002230
  16. 12 10月, 2006 1 次提交
  17. 27 9月, 2006 5 次提交
  18. 21 9月, 2006 1 次提交
  19. 24 3月, 2006 1 次提交
  20. 02 2月, 2006 1 次提交
  21. 17 1月, 2006 1 次提交
  22. 13 1月, 2006 3 次提交
  23. 11 1月, 2006 1 次提交