qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] ppc: Add QOM interface for machine check injection
@ 2021-10-13 21:40 Cédric Le Goater
  2021-10-13 21:40 ` [PATCH 1/3] " Cédric Le Goater
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Cédric Le Goater @ 2021-10-13 21:40 UTC (permalink / raw)
  To: David Gibson, Greg Kurz; +Cc: qemu-ppc, qemu-devel, Cédric Le Goater

Hello,

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

Thanks,

C.

[*] https://lore.kernel.org/qemu-devel/20200325144147.221875-1-npiggin@gmail.com/

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

-- 
2.31.1



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

end of thread, other threads:[~2022-02-08 17:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-13 21:40 [PATCH 0/3] ppc: Add QOM interface for machine check injection Cédric Le Goater
2021-10-13 21:40 ` [PATCH 1/3] " Cédric Le Goater
2021-10-15  2:05   ` Nicholas Piggin
2022-02-08 15:55     ` Cédric Le Goater
2021-12-16 17:30   ` Cédric Le Goater
2021-10-13 21:40 ` [PATCH 2/3] ppc/spapr: Implement mce injection Cédric Le Goater
2021-10-13 21:40 ` [PATCH 3/3] ppc/pnv: " 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).