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

Cédric Le Goater posted 10 patches 5 years, 2 months ago
Failed in applying to current master (apply log)
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(-)
[Qemu-devel] [PATCH 00/10] ppc: Add Hypervisor Virtualization Interrupt on POWER9
Posted by Cédric Le Goater 5 years, 2 months ago
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(-)

-- 
2.20.1


Re: [Qemu-devel] [PATCH 00/10] ppc: Add Hypervisor Virtualization Interrupt on POWER9
Posted by David Gibson 5 years, 2 months ago
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(-)
> 

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson