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 Watchdog drivers need to support rearming the watchdog in contexts which 2015-04-24 16:56:23 +00:00
ipmi_linux.c
ipmi_pci.c
ipmi_smbios.c Remove support for FreeBSD < 602110. 2015-08-30 08:48:31 +00:00
ipmi_smbus.c
ipmi_smic.c Watchdog drivers need to support rearming the watchdog in contexts which 2015-04-24 16:56:23 +00:00
ipmi_ssif.c Use direct hardware access for internal requests for KCS and SMIC. In 2015-02-06 16:45:10 +00:00
ipmi.c Optimize IPMI watchdog patting. 2016-03-22 06:24:52 +00:00
ipmivars.h Remove support for FreeBSD < 602110. 2015-08-30 08:48:31 +00:00