Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c0edb09e authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "soc: qcom: Register default dump entries to minidump table"

parents e359dd33 77f7f8c3
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -60,6 +60,7 @@
#include <asm/ptrace.h>
#include <asm/virt.h>
#include <asm/system_misc.h>
#include <soc/qcom/minidump.h>

#define CREATE_TRACE_POINTS
#include <trace/events/ipi.h>
@@ -824,6 +825,7 @@ static void ipi_cpu_stop(unsigned int cpu, struct pt_regs *regs)
		pr_crit("CPU%u: stopping\n", cpu);
		__show_regs(regs);
		dump_stack();
		dump_stack_minidump(regs->sp);
		raw_spin_unlock(&stop_lock);
	}

+2 −0
Original line number Diff line number Diff line
@@ -29,6 +29,7 @@
#include <linux/ratelimit.h>
#include <linux/debugfs.h>
#include <asm/sections.h>
#include <soc/qcom/minidump.h>

#define PANIC_TIMER_STEP 100
#define PANIC_BLINK_SPD 18
@@ -175,6 +176,7 @@ void panic(const char *fmt, ...)
	va_start(args, fmt);
	vsnprintf(buf, sizeof(buf), fmt, args);
	va_end(args);
	dump_stack_minidump(0);
	pr_emerg("Kernel panic - not syncing: %s\n", buf);
#ifdef CONFIG_DEBUG_BUGVERBOSE
	/*