Home
last modified time | relevance | path

Searched hist:"0780 df10" (Results 1 – 1 of 1) sorted by relevance

/openbmc/phosphor-host-ipmid/
H A Dsensorhandler.cpp0780df10 Wed Feb 06 17:29:24 CST 2019 Jaghathiswari Rankappagounder Natarajan <jaghu@google.com> phosphor-host-ipmid: Add support for settable bit in FULL SDR

There is a bit in SDR types 01h and 02h which indicate that a sensor is settable (Supports the "Set Sensor Reading And Event Status" command). Since OpenBMC has some sensors which support this command (eg. fan pwm sensor), the bit should also be set accordingly.

The bit in question is Settable Sensor and can be found:
IPMI Spec v2.0 rev 1.1:

Section 43.1 SDR Type 01h, Full Sensor Record
Table 43 - SDR Type 01h, byte 11, bit 7

Tested from the host side that the FULL SDR for sensors which are settable
shows up as settable.

Change-Id: I5bd140e035a5a96b977dbbbf4acaae0369e832d2
Tested: Yes
Signed-off-by: Jaghathiswari Rankappagounder Natarajan <jaghu@google.com>