rv1126-uboot/include/linux
Joseph Chen d0df954bf3 arm: lib: add arm32/64 stacktrace support
This patch supports dump arm32/64 stacktrace as the format of raw
address info. The U-Boot symbol table is not available now, please
use ./scripts/stacktrace.sh script to parse stacktrace info with command:

    ./scripts/stacktrace.sh <file>       // stacktrace info file

Example on RK3399:
    Call trace:
     PC:   [< 00258a7c >]  dwc3_gadget_uboot_handle_interrupt+0xa0/0x5bc
     LR:   [< 002052f8 >]  usb_gadget_handle_interrupts+0x10/0x1c

    Stack:
           [< 00258a7c >]  dwc3_gadget_uboot_handle_interrupt+0xa0/0x5bc
           [< 0025bd6c >]  sleep_thread.isra.20+0xb0/0x114
           [< 0025cf58 >]  fsg_main_thread+0x2c8/0x1814
           [< 0020db58 >]  do_rkusb+0x250/0x338
           [< 00226a00 >]  cmd_process+0xac/0xe0
           [< 00212df4 >]  run_list_real+0x6fc/0x72c
           [< 00212f94 >]  parse_stream_outer+0x170/0x67c
           [< 002126e0 >]  parse_string_outer+0xdc/0xf4
           [< 00212bb0 >]  run_list_real+0x4b8/0x72c
           [< 00212f94 >]  parse_stream_outer+0x170/0x67c
           [< 00212698 >]  parse_string_outer+0x94/0xf4
           [< 00225f30 >]  run_command_list+0x38/0x90
           [< 00202d08 >]  rockchip_dnl_mode_check+0x4c/0xd4
           [< 00202db0 >]  setup_boot_mode+0x20/0xf0
           [< 00203010 >]  board_late_init+0x10/0x40
           [< 0027071c >]  initcall_run_list+0x44/0x80
           [< 00213d68 >]  board_init_r+0x20/0x24

The "dump_stack()" is available to trigger stacktrace.

Change-Id: Ib1423269dd255fa4a34231489cd3b7e6ddd22540
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2019-02-13 09:04:23 +08:00
..
byteorder
mtd UPSTREAM: printk: collect printk stuff into <linux/printk.h> with loglevel support 2018-01-17 15:27:28 +08:00
unaligned
usb usb: phy: rockchip: support vbus detect for rk3288 2018-12-18 17:30:47 +08:00
apm_bios.h
arm-smccc.h
bch.h
bitfield.h UPSTREAM: linux/bitfield.h: import <linux/bitfield.h> from Linux 4.13 2018-01-17 15:27:28 +08:00
bitops.h UPSTREAM: bitops: collect BIT macros to include/linux/bitops.h 2018-01-17 15:27:28 +08:00
bitrev.h
bug.h bug.h: move runtime BUG/WARN macros into <linux/bug.h> 2018-01-17 15:27:28 +08:00
build_bug.h UPSTREAM: bug.h: sync BUILD_BUG stuff with Linux 4.13 2018-01-17 15:27:28 +08:00
compat.h arm: lib: add arm32/64 stacktrace support 2019-02-13 09:04:23 +08:00
compiler-clang.h
compiler-gcc.h
compiler-intel.h
compiler.h UPSTREAM: bug.h: sync BUILD_BUG stuff with Linux 4.13 2018-01-17 15:27:28 +08:00
crc7.h
crc8.h
crc32.h
ctype.h
delay.h
dma-direction.h UPSTREAM: dma: import linux/dma-direction.h to consolidate enum dma_data_direction 2018-01-16 18:13:53 +08:00
drm_dp_helper.h
dw_hdmi.h drm: Transplant dw-hdmi code from rkdevelop 2018-08-15 10:10:19 +08:00
edd.h
err.h
errno.h
ethtool.h
fb.h
hdmi.h drm: Transplant dw-hdmi code from rkdevelop 2018-08-15 10:10:19 +08:00
immap_qe.h
input.h
io.h UPSTREAM: linux/io.h: import generic ioread* / iowrite* accessors from Linux 2018-01-16 18:14:05 +08:00
ioctl.h
iopoll.h
ioport.h
kbuild.h
kconfig.h
kernel.h UPSTREAM: linux/kernel.h: import DIV_ROUND_{DOWN, UP}_ULL from Linux 2018-01-17 15:27:28 +08:00
libfdt.h UPSTREAM: libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-12-24 17:20:37 +08:00
libfdt_env.h UPSTREAM: libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-12-24 17:20:37 +08:00
linkage.h
linux_string.h
list.h
list_sort.h
log2.h
lzo.h UPSTREAM: lzo: add a function to check the validity of the header 2018-01-17 15:27:28 +08:00
math64.h
mbus.h
mc146818rtc.h
mdio.h
media-bus-format.h common: edid: Add more detailed edid parsing 2017-11-20 11:54:16 +08:00
mii.h net: Add mii_resolve_flowctrl_fdx() 2017-08-14 12:47:32 -05:00
netdevice.h
poison.h
posix_types.h
printk.h UPSTREAM: printk: collect printk stuff into <linux/printk.h> with loglevel support 2018-01-17 15:27:28 +08:00
psci.h
rbtree.h
rbtree_augmented.h
screen_info.h
serial_reg.h
sizes.h rockchip: implement board_lmb_reserve() 2018-11-13 14:07:56 +08:00
stat.h
stddef.h
string.h
stringify.h
time.h UPSTREAM: linux/time.h: Remove dead code 2018-01-17 15:27:28 +08:00
typecheck.h
types.h UPSTREAM: linux/types.h: add typedef of uintptr_t 2018-01-17 15:27:28 +08:00