Hi Fabio,
Em dom., 12 de abr. de 2020 às 20:17, Guenter Roeck linux@roeck-us.net escreveu:
On 4/12/20 4:01 PM, Fabio Estevam wrote:
Currently when running the samples/watchdog/watchdog-simple.c application and forcing a kernel crash by doing:
# ./watchdog-simple & # echo c > /proc/sysrq-trigger
The 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: stable@vger.kernel.org Fixes: 986857acbc9a ("watchdog: imx_sc: Add i.MX system controller watchdog support") Reported-by: Breno Lima breno.lima@nxp.com Signed-off-by: Fabio Estevam festevam@gmail.com
Reviewed-by: Guenter Roeck linux@roeck-us.net
Thanks for the fix.
Tested-by: Breno Lima breno.lima@nxp.com