]> git.proxmox.com Git - mirror_qemu.git/commit
ppc/pnv: add initial IPMI sensors for the BMC simulator
authorCédric Le Goater <clg@kaod.org>
Tue, 11 Apr 2017 15:30:05 +0000 (17:30 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 26 Apr 2017 02:41:56 +0000 (12:41 +1000)
commitaeaef83dabfec1c1666e65a0c5375983c7a23089
tree9b33e0e178beff6c659c64bcc16165263dbda133
parent04f6c8b2c001b57b904cb9e2caea774303601253
ppc/pnv: add initial IPMI sensors for the BMC simulator

Skiboot, the firmware for the PowerNV platform, expects the BMC to
provide some specific IPMI sensors. These sensors are exposed in the
device tree and their values are updated by the firmware at boot time.

Sensors of interest are :

"FW Boot Progress"
"Boot Count"

As such a device is defined on the command line, we can only detect
its presence at reset time.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/Makefile.objs
hw/ppc/pnv.c
hw/ppc/pnv_bmc.c [new file with mode: 0644]
include/hw/ppc/pnv.h