1. 09 3月, 2011 2 次提交
    • M
      microblaze: Fix sparse warning - fault.c · 5213a9c3
      Michal Simek 提交于
      Warning log:
      CHECK   arch/microblaze/mm/fault.c
      arch/microblaze/mm/fault.c:51:6: warning: incorrect type in initializer (different address spaces)
      arch/microblaze/mm/fault.c:51:6:    expected unknown type 2const [noderef] *__gu_addr<asn:1>
      arch/microblaze/mm/fault.c:51:6:    got unsigned int *<noident>
      arch/microblaze/mm/fault.c:68:6: warning: symbol 'bad_page_fault' was not declared. Should it be static?
      Signed-off-by: NMichal Simek <monstr@monstr.eu>
      5213a9c3
    • M
      microblaze: Fix sparse warning - sw_exceptions · f699980b
      Michal Simek 提交于
      Function sw_exception is linked with asm code.
      
      Warning log:
      CHECK   arch/microblaze/kernel/exceptions.c
      arch/microblaze/kernel/exceptions.c:53:6: warning: symbol 'sw_exception' was not declared. Should it be static?
      Signed-off-by: NMichal Simek <monstr@monstr.eu>
      f699980b
  2. 04 8月, 2010 2 次提交
    • M
      microblaze: Add KGDB support · 2d5973cb
      Michal Simek 提交于
      Kgdb uses brki r16, 0x18 instruction to call
      low level _debug_exception function which save
      current state to pt_regs and call microblaze_kgdb_break
      function. _debug_exception should be called only from
      the kernel space. User space calling is not supported
      because user application debugging uses different handling.
      
      pt_regs_to_gdb_regs loads additional special registers
      which can't be changed
      
       * Enable KGDB in Kconfig
       * Remove ancient not-tested KGDB support
       * Remove ancient _debug_exception code from entry.S
      
      Only MMU KGDB support is supported.
      Signed-off-by: NMichal Simek <monstr@monstr.eu>
      CC: Jason Wessel <jason.wessel@windriver.com>
      CC: John Williams <john.williams@petalogix.com>
      CC: Edgar E. Iglesias <edgar.iglesias@petalogix.com>
      CC: linux-kernel@vger.kernel.org
      Acked-by: NJason Wessel <jason.wessel@windriver.com>
      2d5973cb
    • S
      microblaze: Add stack unwinder · ce3266c0
      Steven J. Magnani 提交于
      Implement intelligent backtracing by searching for stack frame creation,
      and emitting only return addresses. Use print_hex_dump() to display the
      entire binary kernel stack.
      
      Limitation: MMU kernels are not currently able to trace beyond a system trap
      (interrupt, syscall, etc.). It is the intent of this patch to provide
      infrastructure that can be extended to add this capability later.
      
      Changes from V1:
      * Removed checks in find_frame_creation() that prevented location of the frame
        creation instruction in heavily optimized code
      * Various formatting/commenting/file location tweaks per review comments
      * Dropped Kconfig option to enable STACKTRACE as something logically separate
      Signed-off-by: NSteven J. Magnani <steve@digidescorp.com>
      ce3266c0
  3. 06 5月, 2010 1 次提交
  4. 26 5月, 2009 1 次提交
  5. 23 4月, 2009 1 次提交
  6. 27 3月, 2009 1 次提交