[v4] powernv/sensor: Handle OPAL_WRONG_STATE error return

Michael Ellerman patch-notifications at ellerman.id.au
Fri Mar 31 23:33:52 AEDT 2017


On Fri, 2017-03-10 at 11:57:32 UTC, Vipin K Parashar wrote:
> OPAL returns OPAL_WRONG_STATE upon failing to provide
> sensor data due to core sleeping/offline. Added check
> in opal_get_sensor_data() for sensor read failure with
> OPAL_WRONG_STATE return code and returned -EIO.
> 
> Signed-off-by: Vipin K Parashar <vipin at linux.vnet.ibm.com>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/17bb69515c6dfbe282e8a9df08ffb7

cheers


More information about the Linuxppc-dev mailing list