PD#SWPL-143567
Problem:
When debugging, there will be a lot of printing to be
output after the panic, so it is very time-consuming.
In order to prevent the watchdog from causing a reset,
we stop it after panic.
Solution:
Add functions and provide two ways to enable:
1. Add wdt_stop_after_panic=1 to bootargs.
2. echo 1 > /sys/module/amlogic_watchdog/parameters/stop_after_panic
Verify:
T3/T982
Change-Id: I3f54f38f3645b2fb4fdfbbc6016e6f644b91eea3
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
PD#SWPL-136243
Problem:
The watchdog needs to be disabled dynamically when debugging
Solution:
You have two ways to disable the watchdog:
1. Add watchdog_enabled=0 to bootargs
2. Execution command: echo false > /sys/kernel/debug/watchdog/enabled
Verify:
SC2/AH212
Change-Id: I774fcb625ab800a8cd6973e2c89f0c00d172da53
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
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-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-88872
Problem:
modify select to depends on
Solution:
modify select to depends on
Verify:
SC2
Change-Id: I9e295d17f5c03a6c49b001c18129fc1bc0eaee69
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com>
PD#SWPL-69364
Problem:
watchdog can be operated in both user space and kernel
space simultaneously that make watchdog work in chaos.
Solution:
Make watchdog can only work in one space in GKI environment.
Verify:
s4d_aq222
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
Change-Id: Ia5c8429ade70908fb5999e24f1a7458d8d1d19da
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-71030
Problem:
support watchdog driver for c2
Solution:
support watchdog driver for c2
Verify:
on C2 AF400
Signed-off-by: Lei Zhang <lei.zhang@amlogic.com>
Change-Id: I2892da889e50512c94a32fc122ea4d8911f54046