soc: qcom: dcc: DCC driver for SDM660

This is a snapshot of dcc driver file 'dcc.c' from msm-4.4
at 'commit 3906d34c64e54e06'("soc: qcom: Add Minidump support").

DCC (Data Capture and Compare) is a DMA engine which is used to save
configuration data or system memory contents during catastrophic failure
or SW trigger.

It can also perform CRC over the same configuration or memory space.

Change-Id: I12db0e4cff145657bc81100115e8a7a641f60210
Signed-off-by: Srinivasarao P <spathi@codeaurora.org>
tirimbino
Srinivasarao P 5 years ago committed by Gerrit - the friendly Code Review server
parent 7ad88647da
commit 185d9fd034
  1. 7
      drivers/soc/qcom/Kconfig
  2. 1
      drivers/soc/qcom/Makefile
  3. 1362
      drivers/soc/qcom/dcc.c

@ -484,6 +484,13 @@ config MSM_CORE_HANG_DETECT
for hang. By using sysfs entries core hang detection can be
enabled or disabled dynamically.
config QCOM_DCC
bool "QCOM Data Capture and Compare enigne support"
help
This option enables driver for Data Capture and Compare engine. DCC
driver provides interface to configure DCC block and read back
captured data from DCC's internal SRAM.
config QCOM_DCC_V2
bool "Qualcomm Technologies Data Capture and Compare enigne support for V2"
help

@ -37,6 +37,7 @@ obj-$(CONFIG_QCOM_SOC_INFO) += socinfo.o
obj-$(CONFIG_MSM_BOOT_STATS) += boot_stats.o
obj-$(CONFIG_MSM_BOOT_TIME_MARKER) += boot_marker.o
obj-$(CONFIG_MSM_CORE_HANG_DETECT) += core_hang_detect.o
obj-$(CONFIG_QCOM_DCC) += dcc.o
obj-$(CONFIG_QCOM_DCC_V2) += dcc_v2.o
obj-$(CONFIG_MSM_GLADIATOR_HANG_DETECT) += gladiator_hang_detect.o
obj-$(CONFIG_MSM_GLADIATOR_ERP) += gladiator_erp.o

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save