Skip to content

ppc: Add QOM interface for machine check injection

Cédric Le Goater qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Changes from the cover letter

- moved definition under "hw/ppc/mce.h"
- renamed to PPCMceInjection
- simplified injection call in hmp_mce
- extended with QMP support
- moved code under spapr_cpu_core.c pnv_core.c
- removed superfluous cpu_synchronize_state()
- clear previous setting in SPR_SRR1

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ppc: Add QOM interface for machine check injectionhmp-commands.hx include/hw/ppc/mce.h qapi/misc-target.json +1 more+132 -13 replies
2/3ppc/spapr: Implement mce injectionhw/ppc/spapr.c hw/ppc/spapr_cpu_core.c include/hw/ppc/spapr_cpu_core.h+33 -00 replies
3/3ppc/pnv: Implement mce injectionhw/ppc/pnv.c hw/ppc/pnv_core.c include/hw/ppc/pnv_core.h +2 more+47 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] ppc: Add QOM interface for machine check injection

Hello,

This is a rework of Nick's patchset [*] adding mce injection for spapr and pnv.

Thanks,

C.

[*] https://lore.kernel.org/qemu-devel/[email protected]/

Changes :
- moved definition under "hw/ppc/mce.h"
- renamed to PPCMceInjection
- simplified injection call in hmp_mce
- extended with QMP support
- moved code under spapr_cpu_core.c pnv_core.c
- removed superfluous cpu_synchronize_state()
- clear previous setting in SPR_SRR1

Nicholas Piggin (3):
ppc: Add QOM interface for machine check injection ppc/spapr: Implement mce injection ppc/pnv: Implement mce injection

 qapi/misc-target.json           | 26 +++++++++++++++
 include/hw/ppc/mce.h            | 31 ++++++++++++++++++
 include/hw/ppc/pnv_core.h       |  4 +++
 include/hw/ppc/spapr_cpu_core.h |  2 ++
 target/ppc/cpu.h                |  1 +
 hw/ppc/pnv.c                    |  3 ++
 hw/ppc/pnv_core.c               | 27 ++++++++++++++++
 hw/ppc/spapr.c                  |  4 +++
 hw/ppc/spapr_cpu_core.c         | 27 ++++++++++++++++
 target/ppc/excp_helper.c        | 12 +++++++
 target/ppc/monitor.c            | 56 +++++++++++++++++++++++++++++++++
 hmp-commands.hx                 | 20 +++++++++++-
 12 files changed, 212 insertions(+), 1 deletion(-)
 create mode 100644 include/hw/ppc/mce.h
Signature · 1 line
2.31.1