PD#SWPL-140252
Problem:
The system will sleep in atomic,because 'show_user_data'
calls '__get_user' which calls 'might_sleep'.
Solution:
We use '__copy_from_user_inatomic' rather than
'__get_user'.
Verify:
T3x
Change-Id: I33368dcf371e528ea75b5f3e625c93109bf12907
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
PD#SWPL-135009
Problem:
The function 'within_secmon_region' can
not filter out secure monitor region.
Solution:
'within_secmon_region' will get the
'secmon_start_virt' from the dts,and filter
out secure monitor region.
Verify:
SC2
Change-Id: Ie434e66d2b7ca6f269c7f8c0e06e1f53807b8a24
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
PD#RSP-4361
Problem:
un MS12 and HA at the same time
Solution:
1 use smc call x3 to parse MS12 or HA in bl31
2 use dolby_fw_args->x3 to parse MS12 or HA in kernel
Verify:
t3/t7
Change-Id: I79ccf4a629177efccc03ab9c5878e390ec19dd53
Signed-off-by: xia.jin <xia.jin@amlogic.com>
PD#SWPL-78980
Problem:
a1 efuse test fail
Solution:
1. modify share memory map from noncache to cache
2. use share memory interface which exported by secmonitor driver
3. porting the code of efuse_obj_read/write
Verify:
c2
Change-Id: Iba250028899eb69df3584c334bfbd7dbd56eb8c0
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com>
PD#SWPL-71725
Problem:
bring up c2 for aarch32
Solution:
bring up c2 for aarch32
Verify:
on C2_AF400
Signed-off-by: Lei Zhang <lei.zhang@amlogic.com>
Change-Id: I762a2066d07a0aae120524e2f5be6a5be59fe10a
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
PD#SWPL-70486
Problem:
printk optimization
Solution:
modify the print level as a debug
Verify:
local check
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
Change-Id: I8b92a33555103ef75c91217086efb9b85843d3c7
PD#SWPL-66601
Problem:
confirm whether it has been mapped
Solution:
ioremap_cache() will confirm whether it has been mapped.
Verify:
s4d
Change-Id: I861f123d8af8541739a3b13f943563c00791b550
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com>
PD#SWPL-66601
Problem:
modify the code to meet the checkpatch requirements
Solution:
modify the code to meet the checkpatch requirements
1. add test access secmon memory
2. add reading reserve memory range
Verify:
sd4
Change-Id: I3cf01f5f7b838bdeecb08760315d935c75d0988d
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com>