From: "Nicholas Piggin" <npiggin@gmail.com>
To: "Aditya Gupta" <adityag@linux.ibm.com>, <qemu-devel@nongnu.org>
Cc: "Mahesh J Salgaonkar" <mahesh@linux.ibm.com>,
"Madhavan Srinivasan" <maddy@linux.ibm.com>
Subject: Re: [PATCH 0/2] P11 support for QEMU
Date: Wed, 03 Apr 2024 14:26:09 +1000 [thread overview]
Message-ID: <D0A7B4JIC83S.11ZQB4F1M3TM3@gmail.com> (raw)
In-Reply-To: <20240401055503.1880587-1-adityag@linux.ibm.com>
On Mon Apr 1, 2024 at 3:55 PM AEST, Aditya Gupta wrote:
> 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.
Thanks for this.
I wonder if we could try to get rid of some of the code / structure
duplication for creating a new machine.
I don't want to add a bunch of CPP generator macros or squash too much
code together with lots of flags, but maybe there's something we can
do. Since this is a very small change from P10, it might be a good time
to work out some refactoring.
Even a hw/ppc/pnv_powernv10.c and hw/ppc/pnv_powernv11.c, and
target/ppc/cpu_init_power10.c and cpu_init_power11.c might be an
improvement because you could easily diff them (hopefully we could
do better than that, but just a thought).
Thanks,
Nick
>
> 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
prev parent reply other threads:[~2024-04-03 4:27 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-01 5:55 [PATCH 0/2] P11 support for QEMU Aditya Gupta
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 [this message]
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=D0A7B4JIC83S.11ZQB4F1M3TM3@gmail.com \
--to=npiggin@gmail.com \
--cc=adityag@linux.ibm.com \
--cc=maddy@linux.ibm.com \
--cc=mahesh@linux.ibm.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).