[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 0/2] ppc/pnv: Add PNOR support
From: |
Cédric Le Goater |
Subject: |
[PATCH v2 0/2] ppc/pnv: Add PNOR support |
Date: |
Mon, 28 Oct 2019 08:00:25 +0100 |
Hello,
On a POWERPC PowerNV system, the host firmware is stored in a PNOR
flash chip which contents is mapped on the LPC bus. This model adds a
simple dummy device to map the contents of a block device in the host
address space and activates HIOMAP support on the QEMU PowerNV machine
to let the host negotiate with the BMC the access to the mapping.
The command options to activate these models in QEMU:
-device ipmi-bmc-sim,id=bmc0 -device isa-ipmi-bt,bmc=bmc0,irq=10 \
-drive file=./witherspoon.pnor,format=raw,if=mtd
Thanks,
C.
Changes in v2:
- export IPMI_BMC_SIMULATOR()
- export ipmi_register_netfn as ipmi_sim_register_netfn
Cédric Le Goater (2):
ipmi: Add support to customize OEM functions
ppc/pnv: Add HIOMAP commands
include/hw/ipmi/ipmi.h | 42 ++++++++++++++++
include/hw/ppc/pnv.h | 1 +
include/hw/ppc/pnv_pnor.h | 5 ++
hw/ipmi/ipmi_bmc_sim.c | 50 +++----------------
hw/ppc/pnv.c | 1 +
hw/ppc/pnv_bmc.c | 102 ++++++++++++++++++++++++++++++++++++++
hw/ppc/pnv_lpc.c | 13 +++++
7 files changed, 170 insertions(+), 44 deletions(-)
--
2.21.0
- [PATCH v2 0/2] ppc/pnv: Add PNOR support,
Cédric Le Goater <=