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

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

Merge "defconfig: msm: Enable dynamic stack registration for Lito"

parents cbaa1553 213a9860
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -590,6 +590,7 @@ CONFIG_MSM_BOOT_STATS=y
CONFIG_QCOM_DCC_V2=y
CONFIG_QCOM_EUD=y
CONFIG_QCOM_MINIDUMP=y
CONFIG_QCOM_DYN_MINIDUMP_STACK=y
CONFIG_QCOM_FSA4480_I2C=y
CONFIG_QCOM_WATCHDOG_V2=y
CONFIG_QCOM_INITIAL_LOGBUF=y
+1 −0
Original line number Diff line number Diff line
@@ -607,6 +607,7 @@ CONFIG_MSM_BOOT_STATS=y
CONFIG_QCOM_DCC_V2=y
CONFIG_QCOM_EUD=y
CONFIG_QCOM_MINIDUMP=y
CONFIG_QCOM_DYN_MINIDUMP_STACK=y
CONFIG_MSM_CORE_HANG_DETECT=y
CONFIG_MSM_GLADIATOR_HANG_DETECT=y
CONFIG_QCOM_FSA4480_I2C=y
+1 −1
Original line number Diff line number Diff line
@@ -1847,7 +1847,7 @@ static int lpm_probe(struct platform_device *pdev)
	md_entry.phys_addr = lpm_debug_phys;
	md_entry.size = size;
	md_entry.id = MINIDUMP_DEFAULT_ID;
	if (msm_minidump_add_region(&md_entry))
	if (msm_minidump_add_region(&md_entry) < 0)
		pr_info("Failed to add lpm_debug in Minidump\n");

	return 0;
+1 −1
Original line number Diff line number Diff line
@@ -1899,7 +1899,7 @@ int cnss_minidump_add_region(struct cnss_plat_data *plat_priv,
		    md_entry.name, va, &pa, size);

	ret = msm_minidump_add_region(&md_entry);
	if (ret)
	if (ret < 0)
		cnss_pr_err("Failed to add mini dump region, err = %d\n", ret);

	return ret;
+9 −0
Original line number Diff line number Diff line
@@ -517,6 +517,15 @@ config QCOM_MINIDUMP
	  Minidump would dump all registered entries, only when DLOAD mode
	  is enabled.

config QCOM_DYN_MINIDUMP_STACK
	bool "QTI Dynamic Minidump Stack Registration Support"
	depends on QCOM_MINIDUMP
	help
	  This enables minidump dynamic current stack registration feature.
	  It allows current task stack to be available in minidump, for cases
	  where CPU is unable to register it from IPI_CPU_STOP. The stack data
	  can be used to unwind stack frames.

config MINIDUMP_MAX_ENTRIES
	int "Minidump Maximum num of entries"
	default 200
Loading