linux/drivers/char/ipmi
Jeremy Kerr aa9c9ab244 ipmi: allow dynamic BMC version information
Currently, it's up to the IPMI SMIs to provide the product & version
details of BMCs behind registered IPMI SMI interfaces. This device ID is
provided on SMI regsitration, and kept around for all future queries.

However, this version information isn't always static. For example, a
BMC may be upgraded at runtime, making the old version information
stale.

This change allows querying the BMC device ID & version information
dynamically. If no static device_id argument is provided to
ipmi_register_smi, then the IPMI core code will perform a Get Device ID
IPMI command to query the version information when needed. We keep a
short-term cache of this information so we don't need to re-query
for every attribute access.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>

I basically rewrote this, I fixed some locking issues and simplified
things.  Same functional change, though.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
2017-09-27 16:03:45 -05:00
..
bt-bmc.c ipmi: bt-bmc: Add ast2500 compatible string 2017-04-07 12:25:38 -05:00
ipmi_bt_sm.c ipmi: Make some data const that was only read 2015-09-03 15:02:27 -05:00
ipmi_devintf.c ipmi: get rid of field-by-field __get_user() 2017-06-26 17:02:54 -04:00
ipmi_dmi.c ipmi: Create a platform device for a DMI-specified IPMI interface 2017-06-19 12:49:36 -05:00
ipmi_dmi.h ipmi: Create a platform device for a DMI-specified IPMI interface 2017-06-19 12:49:36 -05:00
ipmi_kcs_sm.c ipmi: Make some data const that was only read 2015-09-03 15:02:27 -05:00
ipmi_msghandler.c ipmi: allow dynamic BMC version information 2017-09-27 16:03:45 -05:00
ipmi_powernv.c char: ipmi: constify ipmi_smi_handlers structures 2017-02-09 09:10:56 -06:00
ipmi_poweroff.c IPMI: make ipmi_poweroff_handler const 2017-09-27 16:03:45 -05:00
ipmi_si_intf.c ipmi: Make ipmi_demangle_device_id more generic 2017-09-27 16:03:45 -05:00
ipmi_si_sm.h ipmi: Make some data const that was only read 2015-09-03 15:02:27 -05:00
ipmi_smic_sm.c ipmi: Make some data const that was only read 2015-09-03 15:02:27 -05:00
ipmi_ssif.c ipmi: Make ipmi_demangle_device_id more generic 2017-09-27 16:03:45 -05:00
ipmi_watchdog.c ipmi: Get the device id through a function 2017-09-27 16:03:45 -05:00
Kconfig ipmi: Make IPMI panic strings always available 2017-09-27 16:03:45 -05:00
Makefile ipmi: Create a platform device for a DMI-specified IPMI interface 2017-06-19 12:49:36 -05:00