qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] ppc/pnv: Add PNOR support
@ 2019-10-28  7:00 Cédric Le Goater
  2019-10-28  7:00 ` [PATCH v2 1/2] ipmi: Add support to customize OEM functions Cédric Le Goater
  2019-10-28  7:00 ` [PATCH v2 2/2] ppc/pnv: Add HIOMAP commands Cédric Le Goater
  0 siblings, 2 replies; 3+ messages in thread
From: Cédric Le Goater @ 2019-10-28  7:00 UTC (permalink / raw)
  To: David Gibson; +Cc: Corey Minyard, qemu-ppc, qemu-devel, Cédric Le Goater

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-10-28  7:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-28  7:00 [PATCH v2 0/2] ppc/pnv: Add PNOR support Cédric Le Goater
2019-10-28  7:00 ` [PATCH v2 1/2] ipmi: Add support to customize OEM functions Cédric Le Goater
2019-10-28  7:00 ` [PATCH v2 2/2] ppc/pnv: Add HIOMAP commands Cédric Le Goater

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).