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

Skip to content
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment