25 May, 2020
1 commit
-
Currently when running the samples/watchdog/watchdog-simple.c
application and forcing a kernel crash by doing:# ./watchdog-simple &
# echo c > /proc/sysrq-triggerThe system does not reboot as expected.
Fix it by calling imx_sc_wdt_set_timeout() to configure the i.MX8QXP
watchdog with a proper timeout.Cc:
Fixes: 986857acbc9a ("watchdog: imx_sc: Add i.MX system controller watchdog support")
Reported-by: Breno Lima
Signed-off-by: Fabio Estevam
Reviewed-by: Guenter Roeck
Tested-by: Breno Lima
Link: https://lore.kernel.org/r/20200412230122.5601-1-festevam@gmail.com
Signed-off-by: Guenter Roeck
Signed-off-by: Wim Van Sebroeck
18 Mar, 2020
1 commit
-
There is nothing in use from init.h/reboot.h, remove them.
Signed-off-by: Anson Huang
Reviewed-by: Guenter Roeck
Link: https://lore.kernel.org/r/1582250430-8872-1-git-send-email-Anson.Huang@nxp.com
Signed-off-by: Guenter Roeck
Signed-off-by: Wim Van Sebroeck
05 Nov, 2019
1 commit
-
SCU firmware calculates pretimeout based on current time stamp
instead of watchdog timeout stamp, need to convert the pretimeout
to SCU firmware's timeout value.Fixes: 15f7d7fc5542 ("watchdog: imx_sc: Add pretimeout support")
Signed-off-by: Anson Huang
Reviewed-by: Guenter Roeck
Signed-off-by: Guenter Roeck
Signed-off-by: Wim Van Sebroeck
17 Sep, 2019
2 commits
-
Fix only whitespace errors in imx_sc_wdt_probe()
Signed-off-by: Oliver Graute
Reviewed-by: Guenter Roeck
Link: https://lore.kernel.org/r/20190905143644.20952-1-oliver.graute@kococonnector.com
Signed-off-by: Guenter Roeck
Signed-off-by: Wim Van Sebroeck -
An error message is already displayed by watchdog_register_device()
when failed, so no need to have error log again for failure of
calling devm_watchdog_register_device().Signed-off-by: Anson Huang
Reviewed-by: Guenter Roeck
Link: https://lore.kernel.org/r/20190812084434.13316-1-Anson.Huang@nxp.com
Signed-off-by: Guenter Roeck
Signed-off-by: Wim Van Sebroeck
09 Jul, 2019
1 commit
-
i.MX system controller watchdog can support pretimeout IRQ
via general SCU MU IRQ, it depends on IMX_SCU and driver MUST
be probed after SCU IPC ready, then enable corresponding SCU
IRQ group and register SCU IRQ notifier, when watchdog pretimeout
IRQ fires, SCU MU IRQ will be handled and watchdog pretimeout
notifier will be called to handle the event.Signed-off-by: Anson Huang
Reviewed-by: Guenter Roeck
Signed-off-by: Guenter Roeck
Signed-off-by: Wim Van Sebroeck
08 Jul, 2019
1 commit
-
The core will print out details now.
Signed-off-by: Wolfram Sang
Signed-off-by: Guenter Roeck
Signed-off-by: Wim Van Sebroeck
06 May, 2019
3 commits
-
The core will print out details now.
Reviewed-by: Guenter Roeck
Signed-off-by: Wolfram Sang
Signed-off-by: Guenter Roeck
Signed-off-by: Wim Van Sebroeck -
Introduce local variable 'struct device *dev' and use it instead of
dereferencing it repeatedly.The conversion was done automatically with coccinelle using the
following semantic patches. The semantic patches and the scripts
used to generate this commit log are available at
https://github.com/groeck/coccinelle-patchesCc: Shawn Guo
Cc: Sascha Hauer
Cc: Pengutronix Kernel Team
Cc: Fabio Estevam
Cc: NXP Linux Team
Signed-off-by: Guenter Roeck
Acked-by: Shawn Guo
Signed-off-by: Wim Van Sebroeck -
i.MX8QXP is an ARMv8 SoC which has a Cortex-M4 system controller
inside, the system controller is in charge of controlling power,
clock and watchdog etc..This patch adds i.MX system controller watchdog driver support,
watchdog operation needs to be done in secure EL3 mode via
ARM-Trusted-Firmware, using SMC call, CPU will trap into
ARM-Trusted-Firmware and then it will request system controller
to do watchdog operation via IPC.Signed-off-by: Anson Huang
Reviewed-by: Guenter Roeck
Signed-off-by: Guenter Roeck
Signed-off-by: Wim Van Sebroeck