qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Fabien Chouteau <chouteau@adacore.com>
To: Alexander Graf <agraf@suse.de>
Cc: qemu-ppc@nongnu.org, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [Qemu-ppc] [PATCH] PPC: init_excp_7x0: fix hreset entry point.
Date: Wed, 27 Mar 2013 16:49:54 +0100	[thread overview]
Message-ID: <51531522.2060402@adacore.com> (raw)
In-Reply-To: <6F814D75-FCE6-4B8A-8510-0AE8FCFB0A9E@suse.de>

On 03/27/2013 04:10 PM, Alexander Graf wrote:
>> It's actually already implemented (helper_regs.h:96). The question is:
>> what is the value of MSR[IP] at reset?
> 
> For 740 / 750, it's 1. All other bits are 0.

Is it true for all PPC, because MSR_EP/IP is set for all kind of CPU right now.

> 
>> Also, we might want to call hreg_store_msr() in ppc_cpu_reset() instead
>> of just setting the value env->msr, this way we don't need
>> hreset_excp_prefix as the MSR[IP] will be used to set the value of
>> env->excp_prefix. Something like:
> 
> Sounds good :)
> 

Alright, we can get rid of hreset_excp_prefix then.

Thanks,

-- 
Fabien Chouteau

  reply	other threads:[~2013-03-27 15:50 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-27 13:50 [Qemu-devel] [PATCH] PPC: init_excp_7x0: fix hreset entry point Fabien Chouteau
2013-03-27 13:54 ` Alexander Graf
2013-03-27 14:00   ` [Qemu-devel] [Qemu-ppc] " Alexander Graf
2013-03-27 14:04     ` Alexander Graf
2013-03-27 14:59       ` Fabien Chouteau
2013-03-27 15:09         ` Fabien Chouteau
2013-03-27 15:10         ` Alexander Graf
2013-03-27 15:49           ` Fabien Chouteau [this message]
2013-03-27 16:07             ` Alexander Graf
2013-03-27 16:17               ` Fabien Chouteau
2013-03-27 16:22                 ` Alexander Graf
2013-03-27 16:49                   ` Fabien Chouteau
2013-03-27 16:11             ` Fabien Chouteau

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=51531522.2060402@adacore.com \
    --to=chouteau@adacore.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).