mbox series

[00/10] ppc: Add Hypervisor Virtualization Interrupt on POWER9

Message ID 20190215161648.9600-1-clg@kaod.org (mailing list archive)
Headers show
Series ppc: Add Hypervisor Virtualization Interrupt on POWER9 | expand

Message

Cédric Le Goater Feb. 15, 2019, 4:16 p.m. UTC
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(-)

Comments

David Gibson Feb. 19, 2019, 12:44 a.m. UTC | #1
On Fri, Feb 15, 2019 at 05:16:38PM +0100, Cédric Le Goater wrote:
> 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.

Applied to ppc-for-4.0 (but after yesterday's pull request).

> 
> 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(-)
>