Skip to content

Commit 81310bb

Browse files
jiegan0107shashim-quic
authored andcommitted
QCLINUX: memory-dump: add QCOM memory dump driver
The memory dump driver allows various client subsystems to register respective dump regions. At the time of deadlocks or cpu hangs these dump regions are captured to give a snapshot of the system at the time of the crash. Signed-off-by: Jie Gan <jie.gan@oss.qualcomm.com>
1 parent 5565111 commit 81310bb

5 files changed

Lines changed: 1290 additions & 0 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
CONFIG_QCOM_DCC=m
22
CONFIG_QCOM_DCC_DEV=m
3+
CONFIG_QCOM_MEMORY_DUMP_V2=m

drivers/firmware/qcom/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,13 @@ config QCOM_QSEECOM_UEFISECAPP
7474
Select Y here to provide access to EFI variables on the aforementioned
7575
platforms.
7676

77+
config QCOM_MEMORY_DUMP_V2
78+
tristate "QCOM Memory Dump V2 Support"
79+
depends on QCOM_TZMEM
80+
help
81+
This enables memory dump feature. It allows various client
82+
subsystems to register respective dump regions. At the time
83+
of deadlocks or cpu hangs these dump regions are captured to
84+
give a snapshot of the system at the time of the crash.
85+
7786
endmenu

drivers/firmware/qcom/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ qcom-scm-objs += qcom_scm.o qcom_scm-smc.o qcom_scm-legacy.o
88
obj-$(CONFIG_QCOM_TZMEM) += qcom_tzmem.o
99
obj-$(CONFIG_QCOM_QSEECOM) += qcom_qseecom.o
1010
obj-$(CONFIG_QCOM_QSEECOM_UEFISECAPP) += qcom_qseecom_uefisecapp.o
11+
obj-$(CONFIG_QCOM_MEMORY_DUMP_V2) += memory_dump_v2.o

0 commit comments

Comments
 (0)