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

Commit 968cc54b authored by Matt Wagantall's avatar Matt Wagantall Committed by Gerrit - the friendly Code Review server
Browse files

defconfig: arm64: msm-perf: temporarily enable MSM_TZ_LOG



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.

The 'proper' solution for this will be to ensure that any users of
qsee_log in the bootchain (before Linux boots) unallocate their buffers
and clear the qsee_log pointer. Until support for that is implemented
in TZ and the bootloader, enable tz_log to avoid potential scribbling.

Change-Id: I10d69355beeb252115a0d91cfabfa8b9e729c969
Signed-off-by: default avatarMatt Wagantall <mattw@codeaurora.org>
parent b0436dc0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -491,6 +491,7 @@ CONFIG_MSM_SCM=y
CONFIG_MSM_CORE_CTL_HELPER=y
CONFIG_MSM_PERFORMANCE=y
CONFIG_MEM_SHARE_QMI_SERVICE=y
CONFIG_MSM_TZ_LOG=y
CONFIG_EXT2_FS=y
CONFIG_EXT2_FS_XATTR=y
CONFIG_EXT3_FS=y