1. 30 3月, 2012 1 次提交
    • P
      sh: dwarf unwinder depends on SHcompact. · da47f4a3
      Paul Mundt 提交于
      Presently there's no SHmedia support plugged in for the dwarf unwinder.
      While it's trivial to provide an SHmedia version of dwarf_read_arch_reg(),
      the general sh64 case is more complicated in that the TLB miss handler
      uses a locked down set of registers for optimization (including the frame
      pointer) which we need for the unwind table generation.
      
      While freeing up the frame pointer for use in the TLB miss handler is
      reasonably straightforward, it's still more trouble than it's worth, so
      we simply restrict the unwinder to 32-bit for now.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      da47f4a3
  2. 25 5月, 2011 1 次提交
  3. 31 3月, 2011 1 次提交
  4. 15 12月, 2009 1 次提交
    • M
      sh: Remove old early serial console code V2 · e76fe574
      Magnus Damm 提交于
      Now when the sh-sci driver can do early serial output,
      get rid of the old duplicated code. This patch is V2 and
      removes support for "earlyprintk=serial" together with
      the following kconfig options:
      CONFIG_EARLY_SCIF_CONSOLE
      CONFIG_EARLY_SCIF_CONSOLE_PORT
      CONFIG_EARLY_PRINTK
      
      With this patch applied "earlyprintk=" support is always
      built-in the SuperH kernel. For this to work the serial
      driver must have early platform support and in the case
      of sh-sci the serial console needs to be enabled:
      CONFIG_SERIAL_SH_SCI_CONSOLE=y
      
      So after enabling the SuperH SCI console kconfig option
      you also need to point out port using the kernel command
      line: "earlyprintk=sh-sci.N[,baudrate][,keep]"
      
      Remember that clocks may be disabled by the boot loader
      so you may have to do some board specific static clock
      setup before earlyprintk will work on your platform.
      Signed-off-by: NMagnus Damm <damm@opensource.se>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      e76fe574
  5. 21 8月, 2009 1 次提交
  6. 14 8月, 2009 1 次提交
  7. 04 8月, 2009 1 次提交
  8. 29 7月, 2009 1 次提交
    • S
      sh: Rework irqflags tracing to fix up CONFIG_PROVE_LOCKING. · fd78a76a
      Stuart Menefy 提交于
      This cleans up the irqflags tracing code quite a bit and ties it
      in to various missing callsites that caused an imbalance when
      CONFIG_PROVE_LOCKING was enabled.
      
      Previously this was catching on:
      
       987 #ifdef CONFIG_PROVE_LOCKING
       988     DEBUG_LOCKS_WARN_ON(!p->hardirqs_enabled);
       989     DEBUG_LOCKS_WARN_ON(!p->softirqs_enabled);
       990 #endif
       991     retval = -EAGAIN;
      
      with hardirqs being doubly enabled, and subsequently bailing out
      with the following call trace:
      
      	Call trace:
      	[<88035224>] __lock_acquire+0x616/0x6a6
      	[<88015a8c>] do_fork+0xf8/0x2b0
      	[<880331ec>] trace_hardirqs_on_caller+0xd4/0x114
      	[<88241074>] _spin_unlock_irq+0x20/0x64
      	[<88035224>] __lock_acquire+0x616/0x6a6
      	[<8800386c>] kernel_thread+0x48/0x70
      	[<88024ecc>] ____call_usermodehelper+0x0/0x110
      	[<88024ecc>] ____call_usermodehelper+0x0/0x110
      	[<88003894>] kernel_thread_helper+0x0/0x14
      	[<88024bac>] __call_usermodehelper+0x38/0x70
      	[<88025dc0>] worker_thread+0x150/0x274
      	[<88035b9c>] lock_release+0x0/0x198
      	[<88024b74>] __call_usermodehelper+0x0/0x70
      	[<88028cf0>] autoremove_wake_function+0x0/0x30
      	[<88028bf2>] kthread+0x3e/0x70
      	[<88025c70>] worker_thread+0x0/0x274
      	[<8800389c>] kernel_thread_helper+0x8/0x14
      	[<88028bb4>] kthread+0x0/0x70
      	[<88003894>] kernel_thread_helper+0x0/0x14
      Reported-by: NNobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
      Signed-off-by: NStuart Menefy <stuart.menefy@st.com>
      Signed-off-by: NMatt Fleming <matt@console-pimps.org>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      fd78a76a
  9. 11 7月, 2009 3 次提交
  10. 25 6月, 2009 1 次提交
  11. 16 6月, 2009 1 次提交
  12. 08 5月, 2009 3 次提交
  13. 07 5月, 2009 1 次提交
  14. 22 12月, 2008 5 次提交
  15. 20 9月, 2008 1 次提交
  16. 04 8月, 2008 1 次提交
  17. 28 7月, 2008 1 次提交
  18. 02 6月, 2008 1 次提交
  19. 08 5月, 2008 1 次提交
  20. 19 4月, 2008 1 次提交
  21. 14 2月, 2008 3 次提交
  22. 28 1月, 2008 7 次提交
  23. 07 11月, 2007 2 次提交