qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Aditya Gupta <adityag@linux.ibm.com>
To: <qemu-devel@nongnu.org>
Cc: Mahesh J Salgaonkar <mahesh@linux.ibm.com>,
	Madhavan Srinivasan <maddy@linux.ibm.com>,
	Nicholas Piggin <npiggin@gmail.com>
Subject: [PATCH 0/2] P11 support for QEMU
Date: Mon,  1 Apr 2024 11:25:01 +0530	[thread overview]
Message-ID: <20240401055503.1880587-1-adityag@linux.ibm.com> (raw)

This patch series adds support for Power11 pseries and powernv machine targets
to emulate VMs running on Power11.

Most of the P11 support code has been taken from P10 code in QEMU.
And has been tested in pseries, powernv, with and without compat mode.

Git Tree for Testing: https://github.com/adi-g15-ibm/qemu/tree/p11

Aditya Gupta (2):
  ppc: pseries: add P11 cpu type
  ppc: powernv11: add base support for P11 PowerNV

 docs/system/ppc/pseries.rst |   6 +-
 hw/ppc/pnv.c                | 409 ++++++++++++++++++++++++++++++++++++
 hw/ppc/pnv_core.c           |  94 +++++++++
 hw/ppc/pnv_homer.c          |  64 ++++++
 hw/ppc/pnv_lpc.c            |  14 ++
 hw/ppc/pnv_occ.c            |  14 ++
 hw/ppc/pnv_psi.c            |  21 ++
 hw/ppc/pnv_sbe.c            |  19 ++
 hw/ppc/spapr_cpu_core.c     |   1 +
 include/hw/ppc/pnv.h        |  51 +++++
 include/hw/ppc/pnv_chip.h   |  30 +++
 include/hw/ppc/pnv_homer.h  |   3 +
 include/hw/ppc/pnv_lpc.h    |   4 +
 include/hw/ppc/pnv_occ.h    |   2 +
 include/hw/ppc/pnv_psi.h    |   2 +
 include/hw/ppc/pnv_sbe.h    |   2 +
 include/hw/ppc/pnv_xscom.h  |  55 +++++
 target/ppc/compat.c         |   7 +
 target/ppc/cpu-models.c     |   2 +
 target/ppc/cpu-models.h     |   2 +
 target/ppc/cpu_init.c       | 162 ++++++++++++++
 21 files changed, 961 insertions(+), 3 deletions(-)

-- 
2.43.0



             reply	other threads:[~2024-04-01  5:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-01  5:55 Aditya Gupta [this message]
2024-04-01  5:55 ` [PATCH 1/2] ppc: pseries: add P11 cpu type Aditya Gupta
2024-04-01  5:55 ` [PATCH 2/2] ppc: powernv11: add base support for P11 PowerNV Aditya Gupta
2024-04-01  8:25 ` [PATCH 0/2] P11 support for QEMU Cédric Le Goater
2024-04-02  6:39   ` Aditya Gupta
2024-04-02  6:56     ` Cédric Le Goater
2024-04-02  7:00       ` Aditya Gupta
2024-04-02  8:43         ` Cédric Le Goater
2024-04-03  4:26 ` Nicholas Piggin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240401055503.1880587-1-adityag@linux.ibm.com \
    --to=adityag@linux.ibm.com \
    --cc=maddy@linux.ibm.com \
    --cc=mahesh@linux.ibm.com \
    --cc=npiggin@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).