K 10 svn:author V 7 git2svn K 8 svn:date V 27 2021-08-13T01:20:59.558085Z K 7 svn:log V 711 ipmi(4): Add more watchdog error checks. Add request submission status checks before checking req->ir_compcode, otherwise it may be zero just because of initialization. Add checks for req->ir_compcode errors in ipmi_reset_watchdog() and ipmi_set_watchdog(). In first case explicitly check for 0x80, which means timer was not previously set, that I found happening after BMC cold reset. This change makes watchdog timer to recover instead of permanently ignoring reset errors after BMC reset or upgraded. MFC after: 2 weeks Sponsored by: iXsystems, Inc. (cherry picked from commit 9d3b47abbba74830661e90206cc0f692b159c432) Git Hash: 8e6bcb7f56f12ca2d237b4684223ebb5c5d9092c Git Author: mav@FreeBSD.org END