linuxdriver: support dump tee log [1/1]
authorPengguang Zhu <pengguang.zhu@amlogic.com>
Wed, 24 Jun 2020 03:06:38 +0000 (11:06 +0800)
committerPengguang Zhu <pengguang.zhu@amlogic.com>
Wed, 24 Jun 2020 03:09:10 +0000 (11:09 +0800)
commit1a9b79f21e26a56beb5baea2ba3bbfc242e59fe4
treeb94c1d380b59f37b9a15c97f38cf9a93f3ce83df
parent98f499904380d33fea6d28605f8f99565e5a4c0c
linuxdriver: support dump tee log [1/1]

PD#TV-20362

Problem:
Save the key information like fatal error
to buffer when OPTEE process crash

Solution:
add sysfs node to dump the log buffer

Verify:
Android Q + franklin

Change-Id: I4b292a07034ee424911a14f86a885890d21e7be4
Signed-off-by: Pengguang Zhu <pengguang.zhu@amlogic.com>
optee/log.c