Skip to content

ppc/pnv: Add PNOR support

Cédric Le Goater qemu-devel 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v15 patches 11 repliesApplied

Changes in v2 from the cover letter

- export IPMI_BMC_SIMULATOR()
- export ipmi_register_netfn as ipmi_sim_register_netfn

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ipmi: Add support to customize OEM functionshw/ipmi/ipmi_bmc_sim.c include/hw/ipmi/ipmi.h+48 -440 replies
2/2ppc/pnv: Add HIOMAP commandshw/ppc/pnv.c hw/ppc/pnv_bmc.c hw/ppc/pnv_lpc.c +2 more+122 -00 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJoel StanleyCorey Minyard
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] ppc/pnv: Add PNOR support

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(-)
Signature · 1 line
2.21.0