DM: sos_bootargs: Add panic_print parameter to help debugging

Adding this parameter so that it could provide more info when
kernel panic happens. And this has almost no overhead as it only
uses several existing kernel APIs.

The 0x1f is a bitmask for type of info to be dumped, and it means
it will print task/memory/timer/lock/ftrace info when panic happens.

Tracked-On: #2330
Signed-off-by: Feng Tang <feng.tang@intel.com>
Reviewed-by: Binbin Wu <binbin.wu@intel.com>
This commit is contained in:
Feng Tang 2018-12-17 11:53:42 +08:00 committed by wenlingz
parent 65f3383d62
commit ed9b533747
2 changed files with 2 additions and 0 deletions

View File

@ -20,3 +20,4 @@ ramoops.mem_address=0x6da00000
ramoops.mem_size=0x400000
ramoops.console_size=0x200000
reboot_panic=p,w
panic_print=0x1f

View File

@ -14,3 +14,4 @@ i915.enable_guc=0x02
video=DP-1:d
video=DP-2:d
cma=64M@0-
panic_print=0x1f