Skip to content

Commit 202126a

Browse files
jiegan0107shashim-quic
authored andcommitted
QCLINUX: mem-dump: add memory dump device driver
Create memory dump device driver for matching the memory dump v2 driver without DT configuration. Signed-off-by: Jie Gan <jie.gan@oss.qualcomm.com>
1 parent 81310bb commit 202126a

6 files changed

Lines changed: 420 additions & 47 deletions

File tree

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

drivers/firmware/qcom/Kconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,10 @@ config QCOM_MEMORY_DUMP_V2
8383
of deadlocks or cpu hangs these dump regions are captured to
8484
give a snapshot of the system at the time of the crash.
8585

86+
config QCOM_MEMORY_DUMP_DEV
87+
tristate "QCOM Memory Dump V2 device stub"
88+
depends on QCOM_MEMORY_DUMP_V2
89+
help
90+
Device stub for memory dump V2 driver.
91+
8692
endmenu

drivers/firmware/qcom/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ 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
1111
obj-$(CONFIG_QCOM_MEMORY_DUMP_V2) += memory_dump_v2.o
12+
obj-$(CONFIG_QCOM_MEMORY_DUMP_DEV) += memory_dump_dev.o

0 commit comments

Comments
 (0)