Re-print the host failure reason string after the FW panic
record is printed in kernel log. Helps with failures where
reason has scrolled off top of kernel log.
Change-Id: I27ec6d74f8fea63a479a463838fcaca0cb4aba3f
SCSC-Bug-Id: SSB-52204
Signed-off-by: Ivan Priest <i.priest@samsung.com>
panic_record_dump + used,
PANIC_RECORD_DUMP_BUFFER_SZ - used);
+ /* Print the host code/reason again so it's near the FW panic
+ * record in the kernel log
+ */
+ print_panic_code(mxman->scsc_panic_code);
+ SCSC_TAG_INFO(MXMAN, "Reason: '%s'\n", mxman->failure_reason[0] ? mxman->failure_reason : "<null>");
+
blocking_notifier_call_chain(&firmware_chain,
SCSC_FW_EVENT_MOREDUMP_COMPLETE,
&panic_record_dump);