[Skiboot] [PATCH] occ-sensors: Check if OCC is reset while reading inband sensors
stewart at linux.ibm.com
Tue May 21 13:18:47 AEST 2019
Shilpasri G Bhat <shilpa.bhat at linux.vnet.ibm.com> writes:
> OCC may not be able to mark the sensor buffer as invalid while going
> down RESET. If OCC never comes back we will continue to read the stale
> sensor data. So verify if OCC is reset while reading the sensor values
> and propagate the appropriate error.
> Signed-off-by: Shilpasri G Bhat <shilpa.bhat at linux.vnet.ibm.com>
> hw/occ-sensor.c | 3 +++
> hw/occ.c | 5 +++++
> include/occ.h | 2 ++
> 3 files changed, 10 insertions(+)
Merged to master as of 92fd4f48014d34cb13d2c5e7de8e7b6dc1f28324
OPAL Architect, IBM.
More information about the Skiboot