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

Commit 89b66262 authored by Tingwei Zhang's avatar Tingwei Zhang
Browse files

soc: qcom: dcc_v2: Add snapshot of the DCC v2 driver



This is a snapshot of the DCC_v2 driver as of msm-4.14
commit 'f7e2b74'("coresight: stm: Fix master control issue").
The second offset present as part of offset descriptor needs
to take into account the length of the first offset. This patch
fixes the current offset calculation to account for it. This
patch removes the clock support since it's not needed.

Fix sscanf issue to prevent buffer overflow.

Change-Id: Iac7463b759efd56b98aa92c594a46a76c3c8d208
Signed-off-by: default avatarRama Aparna Mallavarapu <aparnam@codeaurora.org>
Signed-off-by: default avatarMulu He <muluhe@codeaurora.org>
Signed-off-by: default avatarTingwei Zhang <tingwei@codeaurora.org>
parent fb63a70f
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -367,6 +367,13 @@ config MSM_BOOT_STATS
	  This figures are reported in mpm sleep clock cycles and have a
	  resolution of 31 bits as 1 bit is used as an overflow check.

config QCOM_DCC_V2
       bool "Qualcomm Technologies Data Capture and Compare enigne support for V2"
       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_EUD
	tristate "QTI Embedded USB Debugger (EUD)"
	depends on ARCH_QCOM
+1 −0
Original line number Diff line number Diff line
@@ -34,6 +34,7 @@ obj-$(CONFIG_MSM_BOOT_STATS) += boot_stats.o
obj-$(CONFIG_MSM_CORE_HANG_DETECT) += core_hang_detect.o
obj-$(CONFIG_QCOM_MINIDUMP) += msm_minidump.o minidump_log.o
obj-$(CONFIG_QCOM_MEMORY_DUMP_V2) += memory_dump_v2.o
obj-$(CONFIG_QCOM_DCC_V2) += dcc_v2.o
obj-$(CONFIG_MSM_SERVICE_NOTIFIER) += service-notifier.o
obj-$(CONFIG_MSM_SERVICE_LOCATOR) += service-locator.o
obj-$(CONFIG_MSM_SYSMON_GLINK_COMM) += sysmon-glink.o sysmon-qmi.o
+1659 −0

File added.

Preview size limit exceeded, changes collapsed.