]> git.karo-electronics.de Git - karo-tx-linux.git/commit
tilegx: support KGDB
authorChris Metcalf <cmetcalf@tilera.com>
Mon, 12 Aug 2013 16:49:24 +0000 (12:49 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Tue, 13 Aug 2013 20:28:09 +0000 (16:28 -0400)
commitf7152c9cc4a26fea43f75192dd6a334ce0517ee4
tree7a40d880efa98c3e1ee756f0041fca7a2e5521de
parent5ffafdca3f1e83d89511f23b62005a604f4f0c52
tilegx: support KGDB

Enter kernel debugger at boot with:
  --hvd UART_1=1 --hvx kgdbwait --hvx kgdboc=ttyS1,115200
or at runtime with:
  echo ttyS1,115200 > /sys/module/kgdboc/parameters/kgdboc
  echo g > /proc/sysrq-trigger

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
arch/tile/Kconfig
arch/tile/include/asm/kgdb.h [new file with mode: 0644]
arch/tile/kernel/Makefile
arch/tile/kernel/kgdb.c [new file with mode: 0644]
arch/tile/kernel/traps.c