Commit graph android_kernel_motorola_sm6375/drivers/watchdogtest
Author SHA1 Message Date
xizx
1f6f69f056 watchdogtest: set error printk level for critical warning log
1. change the error level for the warning log so that kernel_log.txt in ramdump
can see theese test log.
2. add the mmi keyword for the special warning info log.

Change-Id: I6fd169d0c6320e31764f7995b8a7410be3b8d3be
Reviewed-on: https://gerrit.mot.com/2469988
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <[email protected]>
Submit-Approved: Jira Key
2022-12-26 19:24:44 -06:00
qianlong
8d2b43c6dc watchdogtest: support build in kernel-5.10
Modify "defined" to "IS_ENABLED" fix
build can't find CONFIG_QCOM_WDT_CORE.

Change-Id: Ic489e3f0baab16c1b16cb662bda90b4513a63398
Signed-off-by: qianlong <[email protected]>
Reviewed-on: https://gerrit.mot.com/2026594
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Zhenxin Xi <[email protected]>
Submit-Approved: Jira Key
2021-08-02 22:54:18 -05:00
jixj
c5ebfbf74d watchdogtest: add qcom_wdt_trigger_bite for trigger wdog
Qcom introduces new watchdog architecture on 4350/8350, so use
"qcom_wdt_trigger_bite" to trigger wdog when enable CONFIG_QCOM_WDT_CORE

Change-Id: Ide2ccb0e5a498454359fd6544e832f109251df5c
Reviewed-on: https://gerrit.mot.com/1782962
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Ryan Lattrel <[email protected]>
Reviewed-by: Zhenxin Xi <[email protected]>
Submit-Approved: Jira Key
2020-10-28 20:37:29 -05:00
xizx
f72a6ed083 watchdogtest: fix kallsyms_lookup_name issue in GKI 5.4
kallsyms_lookup_name is not exported in kernel 5.4 and the driver should
work for qcom , samsung and MTK, so use a specially way to distinguish it.

Change-Id: Ic9d89a1af48b4e03481f2aaf38f3bf5dbdafc2cd
Reviewed-on: https://gerrit.mot.com/1689258
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Ryan Lattrel <[email protected]>
Reviewed-by: Guobin Zhang <[email protected]>
Submit-Approved: Jira Key
2020-09-16 02:32:16 -05:00
jixj
b554de9724 watchdogtest: replace msm_trigger_wdog_bite()
use kallsyms_lookup_name("msm_trigger_wdog_bite") to get
"msm_trigger_wdog_bite" address instead of exporting from
kernel and no need port to kernel every platform

Change-Id: I314d552f480baed0fa418afcf7a80134c69867de
Reviewed-on: https://gerrit.mot.com/1534039
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Ryan Lattrel <[email protected]>
Reviewed-by: Huosheng Liao <[email protected]>
Reviewed-by: Ling Jin <[email protected]>
Submit-Approved: Jira Key
2020-04-15 20:47:24 -05:00
Ryan Lattrel
4c6901d0a6 watchdogtest: add module to test watchdog
Convert the watchdog test to a lkm.

Change-Id: Ifa83ce4790a52865ed82d67f1a304b8804c9bf64
Signed-off-by: Ryan Lattrel <[email protected]>
Reviewed-on: https://gerrit.mot.com/1111988
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Kenneth Kessler <[email protected]>
Reviewed-by: Dong-Hua Yan <[email protected]>
Submit-Approved: Jira Key
2018-01-24 09:24:33 -06:00