From: Scott Wood <scottwood@freescale.com>
To: Alexander Graf <agraf@suse.de>
Cc: Wood Scott-B07421 <B07421@freescale.com>,
Yoder Stuart-B08248 <B08248@freescale.com>,
"qemu-ppc@nongnu.org" <qemu-ppc@nongnu.org>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
Bhushan Bharat-R65777 <R65777@freescale.com>
Subject: Re: [Qemu-devel] [PATCH] ppc: initialize GPRs as per epapr
Date: Fri, 26 Apr 2013 12:06:52 -0500 [thread overview]
Message-ID: <1366996012.26749.1@snotra> (raw)
In-Reply-To: <45844FC3-46B6-4BE5-9E4A-CBCEADBEB4B7@suse.de> (from agraf@suse.de on Fri Apr 26 01:59:10 2013)
On 04/26/2013 01:59:10 AM, Alexander Graf wrote:
>
> On 26.04.2013, at 08:51, Bhushan Bharat-R65777 wrote:
>
> >
> >
> >> -----Original Message-----
> >> From: Alexander Graf [mailto:agraf@suse.de]
> >> Sent: Friday, April 26, 2013 11:51 AM
> >> To: Bhushan Bharat-R65777
> >> Cc: qemu-ppc@nongnu.org; qemu-devel@nongnu.org; Wood Scott-B07421;
> Bhushan
> >> Bharat-R65777; Yoder Stuart-B08248
> >> Subject: Re: [PATCH] ppc: initialize GPRs as per epapr
> >>
> >>
> >> On 26.04.2013, at 08:17, Bharat Bhushan wrote:
> >>
> >>> ePAPR defines the initial values of cpu registers. This patch
> >>> initialize the GPRs as per ePAPR specification.
> >>>
> >>> This resolves the issue of guest reboot/reset (guest hang on
> reboot).
> >>
> >> Why does it hang only on reboot, not on initial bootup?
> >
> > may be memory pointed by env pointer are zero initialized initially.
> > Reboot also not always hangs. I have seen reboot mostly working on
> e500v2/e500mc and mostly hanging on e5500.
>
> Yes, they're all zero initialized. I'm surprised that got things
> working.
head_64.S assumes it's being booted from Open Firmware if r5 is
non-zero -- this is why ePAPR requires r5 to be zero.
-Scott
next prev parent reply other threads:[~2013-04-26 17:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-26 6:17 [Qemu-devel] [PATCH] ppc: initialize GPRs as per epapr Bharat Bhushan
2013-04-26 6:21 ` Alexander Graf
2013-04-26 6:51 ` Bhushan Bharat-R65777
2013-04-26 6:59 ` Alexander Graf
2013-04-26 17:06 ` Scott Wood [this message]
2013-04-26 11:58 ` [Qemu-devel] [Qemu-ppc] " David Gibson
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=1366996012.26749.1@snotra \
--to=scottwood@freescale.com \
--cc=B07421@freescale.com \
--cc=B08248@freescale.com \
--cc=R65777@freescale.com \
--cc=agraf@suse.de \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@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).