PD#SWPL-119162
Problem:
APU should not be seen except audio
Solution:
add APU support
Verify:
t5m
Change-Id: I0c4267b362f3d0bf398484b2318c88bdf0b00588
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
PD#SWPL-118595
Problem:
FIQ dump debugging when hard lockup
TV-60426
Solution:
Support FIQ dump debugging when hard lockup
Verify:
SC2
Change-Id: Ie68d4411e0f714cc04c657d9c5d625c4797cb7a2
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
PD#SWPL-119464
Problem:
when iotrace driver build to ko, it has some register r/w
operation not be hooked
Solution:
hook regmap r/w operation when iotrace build to ko
Verify:
SC2_AH212
Change-Id: I763b90fd91e76e5d4138db8ad1d2268c5b33e873
Signed-off-by: song.han <song.han@amlogic.com>
PD#SWPL-116862
Problem:
media module memory optimization.
Solution:
disable the unused code for zapper.
reduce vmalloc used size from 17324k to 12556k.
Verify:
t215.
Test:
play video normally.
Change-Id: Iaa4c95c6641d76f80a11493c5c84f624cdac6424
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
PD#SWPL-121006
Problem:
The use of interface that actively triggers
HardLockup is too complex.
Solution:
The interface is 'sysrq-trigger', and in
/sys/kernel/debug/aml_debug/,you can echo
x to this parameter to panic.
Verify:
SC2
Change-Id: Ia49b08dbd9e2fe458d463e79e19cfc438b75b26f
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
PD#SWPL-116862
Problem:
memory optimization for zapper.
Solution:
remove zapper unnecessary code in the media module.
Verify:
t215.
Change-Id: I835a52262ff8e68d744b051507ba9fdbd4b279d9
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
PD#SWPL-119265
Problem:
kernel will panic if too many boot args
Solution:
dump them for debug
Verify:
t7
Change-Id: Ib78ee8d997836f02df0d4f8092c87435d4b15e29
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-115695
Problem:
softirq be processed in ksoftirqd
Solution:
not check if CPU has a RT task
Verify:
on T3
Change-Id: I821f0bf6c32db8ccdfc752b60f50e703f95cdfb9
Signed-off-by: Lei Zhang <lei.zhang@amlogic.com>
PD#SWPL-114246
Problem:
The system crashs when echo function_graph >
current_tracer
Solution:
disable the function of "irq check" when enable
function_graph.
Verify:
SC2
Change-Id: I21247370b50550bce8d4551527a308b49e26b247
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
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