Skip to content

ppc: Add Hypervisor Virtualization Interrupt on POWER9

Cédric Le Goater qemu-devel 1 version Applied

Status from this message: Applied to ppc-for-4.0 (but after yesterday's pull request).

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/10target/ppc: Fix nip on power management instructionstarget/ppc/excp_helper.c target/ppc/translate.c+8 -50 replies
2/10target/ppc: Don't clobber MSR:EE on PM instructionstarget/ppc/excp_helper.c+15 -120 replies
3/10target/ppc: Fix support for "STOP light" states on POWER9target/ppc/cpu-qom.h target/ppc/cpu.h target/ppc/excp_helper.c +2 more+35 -60 replies
4/10target/ppc: Move "wakeup reset" code to a separate functiontarget/ppc/excp_helper.c+41 -340 replies
5/10target/ppc: Rename "in_pm_state" to "resume_as_sreset"hw/ppc/ppc.c target/ppc/cpu.h target/ppc/excp_helper.c+8 -80 replies
6/10target/ppc: Add POWER9 exception modeltarget/ppc/cpu-qom.h target/ppc/excp_helper.c target/ppc/translate.c +1 more+18 -60 replies
7/10target/ppc: Detect erroneous condition in interrupt deliverytarget/ppc/excp_helper.c+16 -00 replies
8/10target/ppc: Add Hypervisor Virtualization Interrupt on POWER9target/ppc/cpu.h target/ppc/excp_helper.c target/ppc/translate_init.inc.c+35 -30 replies
9/10target/ppc: Add POWER9 external interrupt modelhw/intc/xics.c hw/intc/xive.c hw/ppc/ppc.c +4 more+61 -20 replies
10/10target/ppc: Add support for LPCR:HEIC on POWER9target/ppc/excp_helper.c target/ppc/translate_init.inc.c+8 -20 replies

Reviews trailers per patch

8 of 10 patches have a Reviewed-by or Acked-by.

PatchDavid Gibson
1/10
2/10R-b
3/10R-b
4/10R-b
5/10R-b
6/10R-b
7/10R-b
8/10R-b
9/10
10/10R-b

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

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 00/10] ppc: Add Hypervisor Virtualization Interrupt on POWER9

Hello,

Here is a series of fixes and extensions provided by Ben which modify the POWER9 interrupt model to prepare ground for the support of the XIVE interrupt controller as found on POWER9 PowerNV machines.

Thanks

C.

Changes since initial patchset :

- modified the commit log to comment the use of EXCP_HLT instead of POWERPC_EXCP_STOP
- modified the icp_realize() and xive_tctx_realize() to take into account explicitely the POWER9 interrupt model
- introduced a specific power9_set_irq for POWER9

Benjamin Herrenschmidt (10):
target/ppc: Fix nip on power management instructions target/ppc: Don't clobber MSR:EE on PM instructions target/ppc: Fix support for "STOP light" states on POWER9 target/ppc: Move "wakeup reset" code to a separate function target/ppc: Rename "in_pm_state" to "resume_as_sreset" target/ppc: Add POWER9 exception model
target/ppc: Detect erroneous condition in interrupt delivery target/ppc: Add Hypervisor Virtualization Interrupt on POWER9 target/ppc: Add POWER9 external interrupt model target/ppc: Add support for LPCR:HEIC on POWER9

 include/hw/ppc/ppc.h            |   2 +
 target/ppc/cpu-qom.h            |   5 +
 target/ppc/cpu.h                |  26 ++++-
 hw/intc/xics.c                  |   3 +
 hw/intc/xive.c                  |   3 +
 hw/ppc/ppc.c                    |  44 ++++++++-
 target/ppc/excp_helper.c        | 164 +++++++++++++++++++++-----------
 target/ppc/translate.c          |  28 ++++--
 target/ppc/translate_init.inc.c |  34 ++++++-
 9 files changed, 238 insertions(+), 71 deletions(-)
Signature · 1 line
2.20.1