1. 01 9月, 2009 6 次提交
    • P
      sh: Fix up UP deadlock with SMP-aware cache ops. · 6f379578
      Paul Mundt 提交于
      This builds on top of the previous reversion and implements a special
      on_each_cpu() variant that simple disables preemption across the call
      while leaving the interrupt state to the function itself. There were some
      unintended consequences with IRQ disabling in some of these paths on UP
      that ran in to a deadlock scenario with IRQs being missed.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      6f379578
    • P
      Revert "sh: Kill off now redundant local irq disabling." · 983f4c51
      Paul Mundt 提交于
      This reverts commit 64a6d722.
      
      Unfortunately we can't use on_each_cpu() for all of the cache ops, as
      some of them only require preempt disabling. This seems to be the same
      issue that impacts the mips r4k caches, where this code was based on.
      This fixes up a deadlock that showed up in some IRQ context cases.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      983f4c51
    • P
      sh: Kill off kgdb's magical NMI debouncing. · ade315d8
      Paul Mundt 提交于
      The kgdb stub has traditionally tied in to the NMI slot, and manually
      handled debounce. Now that we have a generic way to do this instead, all
      of the stub-specific debounce silliness can be killed off.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      ade315d8
    • P
      sh: nmi_debug support. · 1e1030dc
      Paul Mundt 提交于
      This implements support for NMI debugging that was shamelessly copied
      from the avr32 port. A bit of special magic is needed in the interrupt
      exception path given that the NMI exception handler is stubbed in to the
      regular exception handling table despite being reported in INTEVT. So we
      mangle the lookup and kick off an EXPEVT-style exception dispatch from
      the INTEVT path for exceptions that do_IRQ() has no chance of handling.
      As a result, we also drop the evt2irq() conversion from the do_IRQ() path
      and just do it in assembly.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      1e1030dc
    • P
      Merge branch 'master' into sh/smp · ac6a0cf6
      Paul Mundt 提交于
      Conflicts:
      	arch/sh/mm/cache-sh4.c
      ac6a0cf6
    • M
      sh: Fix dcache flushing for N-way write-through caches. · ce3f7cb9
      Matt Fleming 提交于
      This adopts the special-cased 2-way write-through dcache flusher for
      N-ways and moves it in to the generic path. Assignment is done at runtime
      via the check for the CCR_CACHE_WT bit in the same path as the per-way
      writeback flushers.
      Signed-off-by: NMatt Fleming <matt@console-pimps.org>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      ce3f7cb9
  2. 31 8月, 2009 2 次提交
  3. 29 8月, 2009 1 次提交
  4. 28 8月, 2009 2 次提交
  5. 27 8月, 2009 8 次提交
  6. 25 8月, 2009 1 次提交
  7. 24 8月, 2009 20 次提交