qemu-e2k/hw/ipmi
Cédric Le Goater e3f7320caa ipmi: add SET_SENSOR_READING command
SET_SENSOR_READING is a complex IPMI command (see IPMI spec 35.17)
which enables the host software to set the reading value and the event
status of sensors supporting it.

Below is a proposal for all the operations (reading, assert, deassert,
event data) with the following limitations :

 - No event are generated for threshold-based sensors.
 - The case in which the BMC needs to generate its own events is not
   supported.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Corey Minyard <cminyard@mvista.com>
Message-Id: <20191118092429.16149-1-clg@kaod.org>
[Moved the break statement for case SENSOR_GEN_EVENT_DATA above the
 closing brace to keep the indention consistent.]
Signed-off-by: Corey Minyard <cminyard@mvista.com>
2020-07-17 11:39:46 -05:00
..
Kconfig ipmi: Add an SMBus IPMI interface 2019-09-20 14:08:10 -05:00
Makefile.objs ipmi: Add an SMBus IPMI interface 2019-09-20 14:08:10 -05:00
ipmi.c qom: Drop parameter @errp of object_property_add() & friends 2020-05-15 07:07:58 +02:00
ipmi_bmc_extern.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
ipmi_bmc_sim.c ipmi: add SET_SENSOR_READING command 2020-07-17 11:39:46 -05:00
ipmi_bt.c ipmi: Allow a size value to be passed for I/O space 2019-09-20 14:08:10 -05:00
ipmi_kcs.c ipmi: Allow a size value to be passed for I/O space 2019-09-20 14:08:10 -05:00
isa_ipmi_bt.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
isa_ipmi_kcs.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
pci_ipmi_bt.c hw/ipmi: Fix realize() error API violations 2019-12-18 08:36:15 +01:00
pci_ipmi_kcs.c hw/ipmi: Fix realize() error API violations 2019-12-18 08:36:15 +01:00
smbus_ipmi.c various: Remove unnecessary OBJECT() cast 2020-05-15 07:08:14 +02:00