aboutsummaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2014-09-11 15:43:50 +0930
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-10-01 14:23:06 +1000
commitae5fb8512e8ecfc1f1b24f5f89ef373dc4502844 (patch)
treea890b2891db1628f51229821c7ce4a49e60ef18d /libc
parentd0521e8074012f368033879b1b6e09c89e41b379 (diff)
downloadskiboot-ae5fb8512e8ecfc1f1b24f5f89ef373dc4502844.zip
skiboot-ae5fb8512e8ecfc1f1b24f5f89ef373dc4502844.tar.gz
skiboot-ae5fb8512e8ecfc1f1b24f5f89ef373dc4502844.tar.bz2
ipmi/power: Update chassis control command
Linux sends us a 0 when shutting down. This means we don't need to pass the u64 to the IPMI driver. Add a check that the value is what we expect in case Linux changes it's behaviour in the future. When rebooting, we should send the BMC a HARD_RESET command (0x03), not POWER_CYCLE (0x02). While we are here, trim some whitespace and drop opal from the IPMI function name for readability. Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'libc')
0 files changed, 0 insertions, 0 deletions