freebsd-dev/sys/dev/ipmi
Alexander Motin ea2ef9931c Optimize IPMI watchdog patting.
Set watchdog timer parameters only when they really need to be changed.
In other cases just restart the timer with single Reset command instead
of two (Set and Reset).

From one side this visually reduces amount of CPU time burned in tight
loop waiting while some slow BMC configures its watchdog hardware, that
seems to be much more complicated task then just resetting the timer.

From another side on some BMCs those slow Set commands sometimes tend to
timeout, that leads to noisy log messages and even more CPU time burned,
so avoiding them can provide even bigger bonuses.

MFC after:	2 weeks
2016-03-22 06:24:52 +00:00
..
ipmi_acpi.c
ipmi_isa.c
ipmi_kcs.c
ipmi_linux.c
ipmi_pci.c
ipmi_smbios.c
ipmi_smbus.c
ipmi_smic.c
ipmi_ssif.c
ipmi.c
ipmivars.h