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

Commit 37a315eb authored by Matt Wagantall's avatar Matt Wagantall
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 d9642cc2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -523,6 +523,7 @@ CONFIG_CORESIGHT_STM=y
CONFIG_CORESIGHT_HWEVENT=y
CONFIG_CORESIGHT_QPDI=y
CONFIG_SENSORS_SSC=y
CONFIG_MSM_TZ_LOG=y
CONFIG_EXT2_FS=y
CONFIG_EXT2_FS_XATTR=y
CONFIG_EXT3_FS=y