qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 00/10] ppc: preparing pnv landing
@ 2016-03-16 13:13 Cédric Le Goater
  2016-03-16 13:13 ` [Qemu-devel] [PATCH v2 01/10] ppc: Update SPR definitions Cédric Le Goater
                   ` (9 more replies)
  0 siblings, 10 replies; 22+ messages in thread
From: Cédric Le Goater @ 2016-03-16 13:13 UTC (permalink / raw)
  To: David Gibson; +Cc: Thomas Huth, Cedric Le Goater, qemu-ppc, qemu-devel

Hello,

This is a first mini-serie of patches adding support for new ppc SPRs.
They were taken from Ben's larger patchset adding the ppc powernv
platform and they should already be useful for the pseries guest
migration.

Initial patches come from :

	https://github.com/ozbenh/qemu/commits/powernv

The changes are mostly due to the rebase on Dave's 2.6 branch:

	https://github.com/dgibson/qemu/commits/ppc-for-2.6 ppc-for-2.6-20160316

A couple more are bisect and checkpatch fixes and finally some patches
were merge to reduce the noise.

Changes since v2:

  - dropped patches which are not fixes for 2.6 :
 
   	ppc: Add number of threads per core to the processor definition
  	ppc: Fix hreg_store_msr() so that non-HV mode cannot alter MSR:HV
 	ppc: Better figure out if processor has HV mode
  	ppc: Add placeholder SPRs for DPDES and DHDES on P8
  	ppc: SPURR & PURR are HV writeable and privileged
  	ppc: Add dummy write to VTB
  	ppc: Add dummy POWER8 MPPR register
	
  - fixed else if condition in gen_op_mfspr()
  - removed all hunks except those related to AMOR and DAWR*


The patchset is also available here: 

	https://github.com/legoater/qemu/commits/for-2.6

It was quickly tested with a pseries guest using KVM and TCG.

Thanks,

C.


Benjamin Herrenschmidt (10):
  ppc: Update SPR definitions
  ppc: Add macros to register hypervisor mode SPRs
  ppc: Add a bunch of hypervisor SPRs to Book3s
  ppc: Create cpu_ppc_set_papr() helper
  ppc: Add dummy SPR_IC for POWER8
  ppc: Initialize AMOR in PAPR mode
  ppc: Fix writing to AMR/UAMOR
  ppc: Add POWER8 IAMR register
  ppc: Add dummy CIABR SPR
  ppc: A couple more dummy POWER8 Book4 regs

 hw/ppc/spapr.c              |  11 +-
 target-ppc/cpu.h            |  61 +++++++++--
 target-ppc/translate.c      |  26 +++--
 target-ppc/translate_init.c | 241 ++++++++++++++++++++++++++++++++++++++++----
 4 files changed, 291 insertions(+), 48 deletions(-)

-- 
2.1.4

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

end of thread, other threads:[~2016-03-21  3:10 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-16 13:13 [Qemu-devel] [PATCH v2 00/10] ppc: preparing pnv landing Cédric Le Goater
2016-03-16 13:13 ` [Qemu-devel] [PATCH v2 01/10] ppc: Update SPR definitions Cédric Le Goater
2016-03-21  1:00   ` David Gibson
2016-03-16 13:13 ` [Qemu-devel] [PATCH v2 02/10] ppc: Add macros to register hypervisor mode SPRs Cédric Le Goater
2016-03-16 17:26   ` Thomas Huth
2016-03-16 13:13 ` [Qemu-devel] [PATCH v2 03/10] ppc: Add a bunch of hypervisor SPRs to Book3s Cédric Le Goater
2016-03-16 17:28   ` Thomas Huth
2016-03-21  1:00   ` David Gibson
2016-03-16 13:13 ` [Qemu-devel] [PATCH v2 04/10] ppc: Create cpu_ppc_set_papr() helper Cédric Le Goater
2016-03-16 13:13 ` [Qemu-devel] [PATCH v2 05/10] ppc: Add dummy SPR_IC for POWER8 Cédric Le Goater
2016-03-16 13:13 ` [Qemu-devel] [PATCH v2 06/10] ppc: Initialize AMOR in PAPR mode Cédric Le Goater
2016-03-16 13:13 ` [Qemu-devel] [PATCH v2 07/10] ppc: Fix writing to AMR/UAMOR Cédric Le Goater
2016-03-16 17:43   ` Thomas Huth
2016-03-21  3:06   ` David Gibson
2016-03-16 13:13 ` [Qemu-devel] [PATCH v2 08/10] ppc: Add POWER8 IAMR register Cédric Le Goater
2016-03-16 17:46   ` Thomas Huth
2016-03-16 17:49     ` Cédric Le Goater
2016-03-16 17:57   ` [Qemu-devel] [PATCH v3 " Cédric Le Goater
2016-03-16 19:54     ` Thomas Huth
2016-03-21  3:08     ` David Gibson
2016-03-16 13:13 ` [Qemu-devel] [PATCH v2 09/10] ppc: Add dummy CIABR SPR Cédric Le Goater
2016-03-16 13:13 ` [Qemu-devel] [PATCH v2 10/10] ppc: A couple more dummy POWER8 Book4 regs 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).