From: "Andreas Färber" <afaerber@suse.de>
To: "Peter A. G. Crosthwaite" <peter.crosthwaite@petalogix.com>
Cc: edgar.iglesias@gmail.com, david.holsgrove@petalogix.com,
qemu-devel@nongnu.org, john.williams@petalogix.com
Subject: Re: [Qemu-devel] [PATCH v4] target-microblaze: lwx/swx: first implementation
Date: Fri, 01 Jun 2012 15:51:01 +0200 [thread overview]
Message-ID: <4FC8C8C5.80702@suse.de> (raw)
In-Reply-To: <1338521008-12740-1-git-send-email-peter.crosthwaite@petalogix.com>
Am 01.06.2012 05:23, schrieb Peter A. G. Crosthwaite:
> Signed-off-by: Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com>
> ---
> changed from v3:
> simplified tcg local variable usage aqcross branch
> changed from v2:
> fixed tcg local variable usage across branch
> reworked carry logic (with new write_carryi() function)
> made LOG_DIS show lwx swx properly
> changed from v1:
> implemented reservation address checking
> created new cpu state variable specifically for reservation address/flag state
>
> target-microblaze/cpu.c | 1 +
> target-microblaze/cpu.h | 4 ++
> target-microblaze/helper.c | 2 +
> target-microblaze/translate.c | 62 +++++++++++++++++++++++++++++++++++++---
> 4 files changed, 64 insertions(+), 5 deletions(-)
>
> diff --git a/target-microblaze/cpu.c b/target-microblaze/cpu.c
> index 9c3b74e..34b3a9b 100644
> --- a/target-microblaze/cpu.c
> +++ b/target-microblaze/cpu.c
> @@ -39,6 +39,7 @@ static void mb_cpu_reset(CPUState *s)
> mcc->parent_reset(s);
>
> memset(env, 0, offsetof(CPUMBState, breakpoints));
> + env->res_addr = RES_ADDR_NONE;
> tlb_flush(env, 1);
>
> /* Disable stack protector. */
Note that my idea for structuring mb_cpu_reset() was to group the
"duplicated common" functionality there that would get moved into the
base class' reset function once no longer dependent on "env".
Not a blocker for this patch but if you have to send a v2 anyway.
Andreas
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
next parent reply other threads:[~2012-06-01 13:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1338521008-12740-1-git-send-email-peter.crosthwaite@petalogix.com>
2012-06-01 13:51 ` Andreas Färber [this message]
2012-06-04 8:31 ` [Qemu-devel] [PATCH v4] target-microblaze: lwx/swx: first implementation Edgar E. Iglesias
2012-06-04 20:26 ` Stefan Weil
2012-06-05 2:34 ` Peter Crosthwaite
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=4FC8C8C5.80702@suse.de \
--to=afaerber@suse.de \
--cc=david.holsgrove@petalogix.com \
--cc=edgar.iglesias@gmail.com \
--cc=john.williams@petalogix.com \
--cc=peter.crosthwaite@petalogix.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).