1. 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
  2. 16 7月, 2007 1 次提交
  3. 13 7月, 2007 3 次提交
  4. 12 7月, 2007 5 次提交
  5. 07 7月, 2007 3 次提交
  6. 06 7月, 2007 2 次提交
  7. 20 6月, 2007 4 次提交
  8. 19 6月, 2007 1 次提交
  9. 18 6月, 2007 3 次提交
  10. 15 6月, 2007 4 次提交
    • P
      sh: Update SH-2/SH-2A defconfigs. · eee4c469
      Paul Mundt 提交于
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      eee4c469
    • M
      sh: rework ipr code · 68abdbbb
      Magnus Damm 提交于
      This patch reworks the ipr code by grouping the offset array together
      with the ipr_data structure in a new data structure called ipr_desc.
      This new structure also contains the name of the controller in struct
      irq_chip. The idea behind putting struct irq_chip in there is that we
      can use offsetof() to locate the base addresses in the irq_chip
      callbacks. This strategy has much in common with the recently merged
      intc2 code.
      
      One logic change has been made - the original ipr code enabled the
      interrupts by default but with this patch they are all disabled by
      default.
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      68abdbbb
    • P
      sh: Only support PMB for SH-X cores. · 50f63f25
      Paul Mundt 提交于
      We don't have a PMB for SH-X2 or later, so only enable it for
      the few CPUs that support it. Fixes up the boot for SH4AL-DSP.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      50f63f25
    • M
      sh: rework intc2 code · d619500a
      Magnus Damm 提交于
      The shared intc2 code currently contains cpu-specific #ifdefs.
      This is a tad unclean and it prevents us from using the shared code
      to drive board-specific irqs on the se7780 board.
      
      This patch reworks the intc2 code by moving the base addresses of
      the intc2 registers into struct intc2_desc. This new structure also
      contains the name of the controller in struct irq_chip. The idea
      behind putting struct irq_chip in there is that we can use offsetof()
      to locate the base addresses in the irq_chip callbacks.
      
      One logic change has been made - the original shared intc2 code
      enabled the interrupts by default but with this patch they are all
      disabled by default.
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      d619500a
  11. 11 6月, 2007 5 次提交
  12. 08 6月, 2007 8 次提交