OSDN Git Service

defconfig: arm64: msm-perf: Enable MSM_TZ_LOG
authorMatt Wagantall <mattw@codeaurora.org>
Fri, 24 Jul 2015 04:08:19 +0000 (21:08 -0700)
committerAnilKumar Chimata <anilc@codeaurora.org>
Fri, 10 Feb 2017 07:15:46 +0000 (12:45 +0530)
The tz_log driver is responsible for allocating the memory for the
'qsee_log' buffer. If tz_log driver is disabled and some part of the
bootchain has set the qsee_log address before Linux booted, then that
previous address will continue being used. If that address overlaps
with memory used for some other purpose, logging to qsee_log may
scribble on memory and cause a crash.

Change-Id: I10d69355beeb252115a0d91cfabfa8b9e729c969
Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
arch/arm64/configs/msm-perf_defconfig

index f184c57..176bd7f 100644 (file)
@@ -550,6 +550,7 @@ CONFIG_PWM=y
 CONFIG_PWM_QPNP=y
 CONFIG_ANDROID=y
 CONFIG_ANDROID_BINDER_IPC=y
+CONFIG_MSM_TZ_LOG=y
 CONFIG_SENSORS_SSC=y
 CONFIG_EXT2_FS=y
 CONFIG_EXT2_FS_XATTR=y