opnsense-src/sys/dev/ipmi
Alexander Motin b41b86b65f 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 9d3b47abbb)
2021-08-12 21:18:31 -04:00
..
ipmi.c ipmi(4): Add more watchdog error checks. 2021-08-12 21:18:31 -04:00
ipmi_acpi.c Distinguish _CID match and _HID match and make lower priority probe 2018-10-26 00:05:46 +00:00
ipmi_isa.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
ipmi_kcs.c The current IPMI KCS code is waiting 100us for all transitions (roughly 2019-06-12 16:06:31 +00:00
ipmi_linux.c Convert remaining cap_rights_init users to cap_rights_init_one 2021-01-12 13:16:10 +00:00
ipmi_opal.c [PowerPC64] Fix OPAL IPMI driver 2020-03-26 12:17:49 +00:00
ipmi_pci.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
ipmi_smbios.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
ipmi_smbus.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
ipmi_smic.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
ipmi_ssif.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
ipmivars.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00