1. 21 9月, 2007 6 次提交
    • P
      sh: Support explicit L1 cache disabling. · e7bd34a1
      Paul Mundt 提交于
      This reworks the cache mode configuration in Kconfig, and allows for
      explicit selection of write-back/write-through/off configurations.
      All of the cache flushing routines are optimized away for the off
      case.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      e7bd34a1
    • M
      sh: intc - avoid SH7710 specific vector on SH7712 · ac919986
      Magnus Damm 提交于
      This patch makes sure that the sh7710 specific ipsec vector is missing
      if building for a sh7712. All according to the datasheet.
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      ac919986
    • M
      sh: intc - add missing vectors for SH7707 · 1301e715
      Magnus Damm 提交于
      This patch adds a few missing vectors for sh7707. The only interrupt
      controller differences between sh7707 and sh7709 seem to be added
      vectors for one LCD controller and two PCMCIA slots.
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      1301e715
    • M
      sh: intc - add support for SH7706, SH7707, SH7708, SH7709 · ec58f1f3
      Magnus Damm 提交于
      This patch unifies the cpu specific interrupt setup code for
      sh7706, sh7707, sh7708 and sh7709 and moves the code into a new
      file called setup-sh770x.c.  It makes sense to share the setup code
      between these processors because most hardware blocks are identical
      from a software point of view. With this patch the sh770x processors
      now have a complete set of vectors that match with the information
      provided by the data sheets. This is a big improvement for sh7708.
      
      Vectors for IRQ4 and IRQ5 are enabled by default. Use
      plat_irq_setup_pins() if pins IRQ0-3 should be used in IRQ mode.
      
      This patch also unifies the platform device setup code which means
      that the rtc driver now has platform data for all sh770x processors.
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      ec58f1f3
    • M
      sh: intc - add support for SH7710 · 28b146c8
      Magnus Damm 提交于
      This patch converts the cpu specific interrupt setup code
      for sh7710 from ipr to intc. While at it new vectors are added
      to match the information provided by the datasheet. Version two
      simplifies the Kconfig part.
      
      Vectors for IRQ4 and IRQ5 are enabled by default. Use
      plat_irq_setup_pins() if pins IRQ0-3 should be used in IRQ mode.
      
      This patch also adds sh7710 specific platform data for the rtc
      driver. The base address of SCIF1 is adjusted to match the
      datasheet.
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      28b146c8
    • M
      sh: intc - add support for SH7705 · 70e8be0a
      Magnus Damm 提交于
      This patch converts the cpu specific interrupt setup code for
      sh7705 from ipr to intc. While at it new vectors are added to
      match the information provided by the datasheet.
      
      Vectors for IRQ4 and IRQ5 are enabled by default.
      
      Use plat_irq_setup_pins() if pins IRQ0-3 should be used in IRQ mode.
      
      This patch also adds sh7705 specific platform data for the rtc driver.
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      70e8be0a
  2. 22 8月, 2007 1 次提交
  3. 17 8月, 2007 1 次提交
  4. 07 8月, 2007 1 次提交
  5. 04 8月, 2007 1 次提交
  6. 01 8月, 2007 2 次提交
    • P
      sh: Fix SH-X3 FPU exception handling. · e0a3647f
      Paul Mundt 提交于
      SH-X3 has the FPU exceptions on different vectors completely,
      patch in do_fpu_state_restore() to the proper vectors.
      
      Results in a much happier userspace.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      e0a3647f
    • P
      sh: Fix lockdep debugging oops on SH-3/4. · c347d12c
      Paul Mundt 提交于
      In the SH-3/4 TLB access violation path we were enabling IRQs before
      the call in to trace_hardirqs_on(), which ended up triggering:
      
              if (DEBUG_LOCKS_WARN_ON(!irqs_disabled()))
                      return;
      
      in kernel/lockdep.c:2031. Fix this up by removing the early re-enable,
      we were already re-enabling IRQs post-trace_hardirqs_on() already, so
      the semantics are now as was initially intended.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      c347d12c
  7. 31 7月, 2007 1 次提交
  8. 26 7月, 2007 3 次提交
  9. 25 7月, 2007 2 次提交
  10. 22 7月, 2007 1 次提交
  11. 20 7月, 2007 16 次提交
  12. 18 7月, 2007 3 次提交
  13. 17 7月, 2007 1 次提交
    • H
      generic bug: use show_regs() instead of dump_stack() · 608e2619
      Heiko Carstens 提交于
      The current generic bug implementation has a call to dump_stack() in case a
      WARN_ON(whatever) gets hit.  Since report_bug(), which calls dump_stack(),
      gets called from an exception handler we can do better: just pass the
      pt_regs structure to report_bug() and pass it to show_regs() in case of a
      warning.  This will give more debug informations like register contents,
      etc...  In addition this avoids some pointless lines that dump_stack()
      emits, since it includes a stack backtrace of the exception handler which
      is of no interest in case of a warning.  E.g.  on s390 the following lines
      are currently always present in a stack backtrace if dump_stack() gets
      called from report_bug():
      
       [<000000000001517a>] show_trace+0x92/0xe8)
       [<0000000000015270>] show_stack+0xa0/0xd0
       [<00000000000152ce>] dump_stack+0x2e/0x3c
       [<0000000000195450>] report_bug+0x98/0xf8
       [<0000000000016cc8>] illegal_op+0x1fc/0x21c
       [<00000000000227d6>] sysc_return+0x0/0x10
      Acked-by: NJeremy Fitzhardinge <jeremy@goop.org>
      Acked-by: NHaavard Skinnemoen <hskinnemoen@atmel.com>
      Cc: Andi Kleen <ak@suse.de>
      Cc: Kyle McMartin <kyle@parisc-linux.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Paul Mundt <lethal@linux-sh.org>
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      608e2619
  14. 16 7月, 2007 1 次提交