ppc: Add QOM interface for machine check injection
Get series with b4
b4 am [email protected]Versions newest first
- 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 files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ppc: Add QOM interface for machine check injectionhmp-commands.hx include/ qapi/ +1 more | +132 | 3 replies | |
| 2/3 | ppc/spapr: Implement mce injectionhw/ hw/ include/ | +33 | 0 replies | |
| 3/3 | ppc/pnv: Implement mce injectionhw/ hw/ include/ +2 more | +47 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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