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#SWPL-135009
Problem:
The config 'CONFIG_AMLOGIC_SEC' has been
converted to CONFIG_AMLOGIC_SECMON.
Solution:
delete the config 'CONFIG_AMLOGIC_SEC',and
add the config 'CONFIG_AMLOGIC_SECMON'.
Verify:
SC2
Change-Id: I664ce36b86af24ff3e92adcf31f6149ecf381dcb
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
PD#SWPL-112188
Problem:
it takes a long time to find symbols.
Solution:
asynchronous initialization of user fault.
Verify:
t5w.
Change-Id: If0327b8285ec722bd84a5dbc7e97419b5752120f
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-112188
Problem:
compiler optimization, resulting in unable to kprobe
Solution:
not kprobe the arm64_show_signal func.
Verify:
t215.
Change-Id: I2aac9ff78db34739050d5acba53bb5b7287d5ff0
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-117678
Problem:
when dump call stack information,some problematic
registers data can cause synchronization error.
Solution:
add a judgment to filter out register information.
Verify:
SC2
Change-Id: I805b3d25b5e753cd8d9f25a724e06be942882c9f
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
PD#SWPL-80398
Problem:
upgrade kernel with version 5.15.35
Solution:
upgrade kernel with version 5.15.35
Verify:
c2 and s4d
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
Change-Id: Ibc446d0d3f95c12aa46816cdf5376b04c050adc0
PD#SWPL-76164
Problem:
Enable the kaslr function
Solution:
Enable the kaslr functionfe
Verify:
on C2 AF400
Signed-off-by: Lei Zhang <lei.zhang@amlogic.com>
Change-Id: I90159a03ce7c07be99eadeebb6f81898eefb0bfa
PD#SWPL-73676
Problem:
need add user fault function.
Solution:
add user fault debug.
Verify:
local.
Change-Id: Iee06a7ca439673833662f9cc3c83010ad81121a3
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>