ppc/pnv: Add PNOR support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
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 files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ipmi: Add support to customize OEM functionshw/ include/ | +48 | 0 replies | |
| 2/2 | ppc/pnv: Add HIOMAP commandshw/ hw/ hw/ +2 more | +122 | 0 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Joel Stanley | Corey Minyard |
|---|---|---|
| 1/2 | R-b | |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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