qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Miles Glenn <milesg@linux.ibm.com>
To: "Cédric Le Goater" <clg@redhat.com>, qemu-devel@nongnu.org
Cc: qemu-ppc@nongnu.org, npiggin@gmail.com, harshpb@linux.ibm.com,
	thuth@redhat.com, rathc@linux.ibm.com,
	richard.henderson@linaro.org
Subject: Re: [PATCH v2 3/4] hw/ppc: Add a test machine for the IBM PPE42 CPU
Date: Wed, 03 Sep 2025 17:50:59 -0500	[thread overview]
Message-ID: <e0cb3079e4f10f1f4ff45964c14c6a7eea17d9bf.camel@linux.ibm.com> (raw)
In-Reply-To: <3defe91d2756da45060069efad4857c2e8ceec88.camel@linux.ibm.com>

On Tue, 2025-09-02 at 11:56 -0500, Miles Glenn wrote:
> > > +
> > > +static void main_cpu_reset(void *opaque)
> > > +{
> > > +    PowerPCCPU *cpu = opaque;
> > > +
> > > +    cpu_reset(CPU(cpu));
> > 
> > There are no register settings ? Just asking
> > 
> 
> Admittedly, I did not do much digging into the reset case.  I'll look
> into it.


Cédric,

As far as I can tell, it doesn't look like we need to add any other
registers here besides the cpu registers, which are already handled by
cpu_reset().  Also, I did verify that executing a system_reset from the
QEMU command line works as expected (resets to the correct vector and
executes successfully).

Thanks,

Glenn



  reply	other threads:[~2025-09-03 22:51 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-26 20:17 [PATCH v2 0/4] Add IBM PPE42 CPU support Glenn Miles
2025-08-26 20:17 ` [PATCH v2 1/4] target/ppc: Add IBM PPE42 family of processors Glenn Miles
2025-09-01  7:29   ` Cédric Le Goater
2025-09-02 16:59     ` Miles Glenn
2025-08-26 20:17 ` [PATCH v2 2/4] target/ppc: Add IBM PPE42 special instructions Glenn Miles
2025-09-04 12:24   ` Chinmay Rath
2025-09-04 12:30   ` Chinmay Rath
2025-09-04 14:56     ` Miles Glenn
2025-08-26 20:17 ` [PATCH v2 3/4] hw/ppc: Add a test machine for the IBM PPE42 CPU Glenn Miles
2025-09-01  7:25   ` Cédric Le Goater
2025-09-01 10:15     ` BALATON Zoltan
2025-09-02 16:56     ` Miles Glenn
2025-09-03 22:50       ` Miles Glenn [this message]
2025-08-26 20:17 ` [PATCH v2 4/4] tests/functional: Add test for IBM PPE42 instructions Glenn Miles

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=e0cb3079e4f10f1f4ff45964c14c6a7eea17d9bf.camel@linux.ibm.com \
    --to=milesg@linux.ibm.com \
    --cc=clg@redhat.com \
    --cc=harshpb@linux.ibm.com \
    --cc=npiggin@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    --cc=rathc@linux.ibm.com \
    --cc=richard.henderson@linaro.org \
    --cc=thuth@redhat.com \
    /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).