PD#SWPL-115907
Problem:
read/write register cost more time
Solution:
__nocfi when read/write register
Verify:
on SC2 ah212
Change-Id: Id2737b3037f8ee2d57e11fbd195e853fe7c0541f
Signed-off-by: Lei Zhang <lei.zhang@amlogic.com>
PD#SWPL-114679
Problem:
smc call can nest in interrupt, and it may cause wrong long smc
warning by mistake
Solution:
only check smc status in hardlockup
Verify:
sc2
Change-Id: I12f3135e2bd06637a107c4c476e25b79338e0f1c
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
PD#SWPL-104071
Problem:
Hardlockup detect precision is from 8s to 24s and
too insufficient.
Solution:
Hardlockup detect precision is 9-11s.
Verify:
SC2
Change-Id: Ic035a3e8dafde891f2c428213c1c51a77adebed3
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
PD#SWPL-104071
Problem:
The interface that actively triggers
HardLockup is at an illegal address.
Solution:
The interface is 'params', and in
/sys/kernel/debug/aml_debug/,you can echo
sysrq=x to this parameter to panic.
Verify:
SC2
Change-Id: I7b8f784f0f0fc2a5674e3c7386e81f13d8ec6d6b
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
PD#SWPL-106817
Problem:
scheduler profile
Solution:
1, check_preempt_wakeup avoid too frequently preempt
2, pick_next_task_fair try to find long-wait high prio task in big cgroup
3, add place_entity wakeup compensation factor
4, select rt more nice when curr is high prio cfs task
Verify:
aq222
Change-Id: I48324cae9aab49c5bc79a8979c6e88ec0b34f921
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
PD#SWPL-97906
Problem:
T3 Kernel 5.15 Android T Bringup - di
Solution:
sync DI code
Verify:
smith
Change-Id: I590e2d71a453849d48207cccc3442e44da59c2da
Signed-off-by: yufei.huan <yufei.huan@amlogic.com>
PD#SWPL-101578
Problem:
use vendor_hook print cpu and irq info
Solution:
use vendor_hook print cpu and irq info
Verify:
sc2
Change-Id: I52f0474ea55d4136933c0a2c12daf31eff4ab261
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-95914
Problem:
it's break gki
Solution:
Use other method to implement, so revert old method
This reverts commit 073082327a.
Change-Id: I93e8a56d6e6a354f3d2dd27029913b5c79b797fc
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
PD#SWPL-98876
Problem:
fix core0 cannot be offline in 32BIT kernel
Solution:
fix core0 cannot be offline in 32BIT kernel
Verify:
on s4_aq222
Signed-off-by: Lei Zhang <lei.zhang@amlogic.com>
Change-Id: I2964a883555622f415fb1c7f70ce9337a8debaee
PD#SWPL-94447
Problem:
iotrace break gki10
Solution:
modify iotrace still builtin but not break gki10
also enabled DEBUG_PRINTK
Verify:
sc2
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
Change-Id: Iffc6a21f28de871b7289ca671c2c226c40e9a66a
PD#SWPL-94447
Problem:
debug break gki10
Solution:
1, support amlogic_debug build to module, amlogic_debug module
includes debug_lockup, cpu_mhz and meson_atrace for now.
2, amlogic_debug some function still build in kernel but not break
gki10, for example: irq_check function on builtin kernel code,
module_debug, workqueue debug etc.
3, new config CONFIG_AMLOGIC_HARDLOCKUP_DETECTOR still builtin but
not break gki.
4, other functions for example iotrace still under developing
Verify:
sc2
Signed-off-by: Hanje Lin <hanjie.lin@amlogic.com>
Change-Id: I9c11465e3e879f999ae6fd13dc12c044efd2417a
PD#SWPL-95000
Problem:
Kernel size is too big
Solution:
Remove some CONFIGs
Verify:
c3 pass
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
Change-Id: I13303e5e1e967961c6d1cc32a67465c423816276
Signed-off-by: yongbing.he <yongbing.he@amlogic.com>
PD#SWPL-94581
Problem:
need disable ddr scrambler func for debug
Solution:
only enable scrambler func in normal reboot
Verify:
SC2_AH212
Signed-off-by: song.han <song.han@amlogic.com>
Change-Id: I17fcfcc4b0ef0df195c6464bd742b23758422dfc
PD#SWPL-92722
Problem:
iotrace miss function
Solution:
add function in iotrace driver,like smc/sched/clk/pw
Verify:
S4D_AP222
Change-Id: Ie59bac5863e5a4420b90d95a0ecae0bcb0584fb6
Signed-off-by: song.han <song.han@amlogic.com>
PD#SWPL-88882
Problem:
kernel through to user space rw files
Solution:
add debug file function
Verify:
sc2
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
Change-Id: Ia19a8b071fe63fbcd46ff1a2a8259274e40e805e
PD#SWPL-88149
Problem:
add filp_open debug function used to relabel
Solution:
add filp_open debug function
Verify:
sc2
Change-Id: Iba99f9008ad475d2666cd25fac2c188c49b4a2dc
PD#SWPL-88882
Problem:
kernel through to user space rw files
Solution:
add debug file function
Verify:
sc2
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
Change-Id: I760ac112d21b2ba9d0a86f725771455627d8154f
PD#SWPL-70486
Problem:
insert info crossinglen when lenth than log_line_max
Solution:
not insert info when lenth than log_line_max
Verify:
c3
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
Change-Id: Ic9026546f3a0c5c28abfc564ab0b13b192c7e753
PD#SWPL-71754
Problem:
support iotrace driver
Solution:
support iotrace driver
Verify:
on s4d_ap222 and c2_af400
Change-Id: Iefaa724c118a9310ce1b7121c6685dce580db0d5
Signed-off-by: song.han <song.han@amlogic.com>
PD#SWPL-71728
Problem:
time print format correct
Solution:
time print format correct
Verify:
s4
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
Change-Id: I776459d5f5a5ee1da614e7fca8c091db420d1d73
PD#SWPL-71744
Problem:
some initcall need too much time
Solution:
add a config to optimize the initcall
Verify:
C2-AF400
Signed-off-by: song.han <song.han@amlogic.com>
Change-Id: If648871f0f6bdd5dd12f0ff133acf072ebde9f78
PD#SWPL-72674
Problem:
rt throttle log is less to debug
Solution:
add warning log when system occurs rt throttle
Verify:
C2-AF400
Signed-off-by: song.han <song.han@amlogic.com>
Change-Id: I3910e2e214ea19180b628c1cbc1173c45231370d