{"push_id":596832865,"size":1,"distinct_size":1,"ref":"refs/heads/jms-sensor-fix","head":"341e724b6b4739197571bce635bc5c84d22f9218","before":"a72d85093ba741de11d92a87e543e32e198d259d","commits":[{"sha":"341e724b6b4739197571bce635bc5c84d22f9218","author":{"email":"4816dabf8db1bc6cac35b3a24cab2ff844b5b0c7@jms.id.au","name":"Joel Stanley"},"message":"hw/ipmi: Rework sensors\n\nSkiboot isn't doing the right thing. From reading the HB code and the\nspec, this is a little closer. It still asserts all of the states, not\njust the one we're setting\n\nTo get the sensor state:\n\n  ipmitool <...>  sensor get \"FW Boot Progress\"\n\nTo set it, using raw commands:\n\n  ipmitool <...> raw 0x04 0x30 0x05 0x80 0x00 0x02 0x00 0x00 0x00 0x02 0x01 0x00\n\nWhere the bytes are as follows:\n\n 0x04 - netfn se\n 0x30 - set sensor reading\n 0x05 - fw sensor num\n 0x80 - operation\n 0x00 - sensor reading\n 0x02 - assertion mask[0]\n 0x00 - assertion mask[1]\n 0x00 - deassertion mask[0]\n 0x00 - deassertion mask[1]\n 0x02 - event data 1\n 0x0F - event data 2\n 0x00 - event data 3\n\nSigned-off-by: Joel Stanley <joel@jms.id.au>","distinct":true,"url":"https://api.github.com/repos/shenki/skiboot/commits/341e724b6b4739197571bce635bc5c84d22f9218"}]}