Commit Graph

13 Commits

Author SHA1 Message Date
Hangyu Li 7b2cc121ec tee: rename AML_TEE,AML_OPTEE to AMLOGIC_AMLTEE,AMLOGIC_OPTEE [1/1]
PD#SWPL-136287

Problem:
The configuration name in kernel 5.15 is starting with "AMLOGIC_",
in order to unify configuration name, modify AML_TEE,AML_OPTEE to
AMLOGIC_AMLTEE,AMLOGIC_OPTEE.

Solution:
rename AMLTEE,AMLOGIC_OPTEE to AMLOGIC_AMLTEE,AMLOGIC_OPTEE

Verify:
Android + Kernel 5.15

Change-Id: I25be69bb990b7e86026790a9a64f64a473e9adfc
Signed-off-by: Hangyu Li <hangyu.li@amlogic.com>
2023-08-25 01:54:11 -07:00
caihua.zhao 53ab23f777 trace-ext : Add the sub-modules trace level setting in tee driver [2/2]
PD#SWPL-119359

Problem:
Need to add the sub-modules trace level setting in tee driver

Solution:
Add the sub-modules trace level setting in tee driver.

Verify:
OK

Change-Id: Ic9ee22c659414850eb0249ecc67c1a7198ba31c3
Signed-off-by: caihua.zhao <caihua.zhao@amlogic.com>
2023-06-07 20:50:43 -07:00
caihua.zhao b3d65893bc amlogic-tee : Add a node for getting tee sys info [1/1]
PD#SWPL-118735

Problem:
Need to add a node for getting tee os version

Solution:
Add a new file node for getting tee sys info.

Verify:
OK

Change-Id: I3a5307f6c1d6e92b4aff04b4c9e950b8543dfb8f
Signed-off-by: caihua.zhao <caihua.zhao@amlogic.com>
2023-05-22 21:37:51 -07:00
Hangyu Li 38a43a756d tvp: tee memory protect api support memory access 4G [2/2]
PD#SWPL-120818

Problem:
tee memory protect API need support memory exceed 4G

Solution:
support tee memory protect API need support memory exceed 4G

Verify:
T3X + Android T

Change-Id: Icfd5bef7cb88c5cb8d0d9d8c362f914de0423fb7
Signed-off-by: Hangyu Li <hangyu.li@amlogic.com>
2023-05-15 00:24:19 -07:00
shipeng.sun 9b3a4a7fd9 dmabuf: CF2 Support secure stream in dynamic free [1/5]
PD#SWPL-103836

Problem:
Support secure stream in dynamic free

Solution:
1.Support secure stream in dynamic free

Verify:
S905X4

Change-Id: Ifbf4065b57d539ff783f843e8089cda253abcd0a
Signed-off-by: Hangyu Li <hangyu.li@amlogic.com>
Signed-off-by: shipeng.sun <shipeng.sun@amlogic.com>
2023-05-05 03:23:45 -07:00
shipeng.sun 297ee8ed73 tee: reserve secure vdec memory from codec_mm [2/2]
PD#SWPL-121307

Problem:
reserve secure vdec memory from codec_mm instead of reserve in BL32

Solution:
reserve secure vdec memory from codec_mm transfer secure
vdec memory to secureos

Verify:
T5M + android R

Change-Id: Iaf6e53a295bea6e63969977cd0792c91f8d1952b
Signed-off-by: shipeng.sun <shipeng.sun@amlogic.com>
2023-05-04 03:28:53 -07:00
Wentao.Sun 5d36c4597c tee: implement APIs with pta [1/1]
PD#RSP-1483

Problem:
APIs use fastcall

Solution:
implement APIs with pta

Verify:
Android T + AH212

Change-Id: I7374346374ec2840d95f5f6f6df4612918841928
Signed-off-by: Wentao.Sun <wentao.sun@amlogic.com>
2023-03-21 06:09:35 -07:00
Wentao Sun 39f83d314f Revert "tee: implement APIs with pta [1/1]"
This reverts commit 3673e3e5ed.

Change-Id: I7283a2aef1988f1130be22954ea6f3f97511a1cb
2023-03-14 23:20:22 -07:00
Wentao.Sun 3673e3e5ed tee: implement APIs with pta [1/1]
PD#RSP-1483

Problem:
APIs use fastcall

Solution:
implement APIs with pta

Verify:
Android T + AH212

Change-Id: Icedcd4465163100e0f7e646c7359933cfe7c60ae
Signed-off-by: Wentao.Sun <wentao.sun@amlogic.com>
2023-03-14 22:12:28 -07:00
rui guo 9302511942 tee: add api to get system boot complete status [1/1]
PD#SWPL-109330

Problem:
For AB OTA, it need to reboot twice because manyservice not ready
before ARB update

Solution:
add api to get system boot complete status, if it is ready, then it
is no necessary to reboot again

Verify:
SC2 + Android T

Change-Id: Ida4695c220794a0ce6bd3224c1913b6a40544adf
Signed-off-by: rui guo <rui.guo@amlogic.com>
2023-03-03 04:12:13 -08:00
Hangyu Li 6e7f427fa7 c3: c3 TEE driver [1/1]
PD#SWPL-83855

Problem:
secmon is not correct, tee driver need sync

Solution:
fix secmon rsvmem
sync tee driver

Verify:
c3_c308l_aw419

Change-Id: I3205868e5adace9d6006aac65bcbbb74a981237c
Signed-off-by: Hangyu Li <hangyu.li@amlogic.com>
2022-06-30 18:20:41 +08:00
qinglin.li 7c6316bebd printk : printk optimization [2/2]
PD#SWPL-70486

Problem:
use common tag in driver when printf

Solution:
set common pr_fmt in driver

Verify:
s4d

Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
Change-Id: Ieee271d289e4d2f81258875d36288046b996a5d2
2022-02-14 19:55:32 -07:00
wanwei.jiang 4c8cc1d42f tee: porting tee driver [1/1]
PD#SWPL-68397

Problem:
porting tee driver

Solution:
porting tee driver

Verify:
s4d

Change-Id: I048b21d639cf3903daf820ce555e3526e0539dab
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com>
2021-12-22 19:29:04 +08:00