qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Aurelien Jarno <aurelien@aurel32.net>
To: "Andreas Färber" <afaerber@suse.de>
Cc: Richard Henderson <rth@twiddle.net>,
	Eric Johnson <ericj@mips.com>,
	qemu-devel@nongnu.org, Jia Liu <proljc@gmail.com>
Subject: Re: [Qemu-devel] [PATCH v2 0/5] target-mips: Preparations for CPUState part 4b series
Date: Wed, 17 Oct 2012 09:05:20 +0200	[thread overview]
Message-ID: <20121017070520.GO9643@ohm.aurel32.net> (raw)
In-Reply-To: <1349996197-11054-1-git-send-email-afaerber@suse.de>

On Fri, Oct 12, 2012 at 12:56:32AM +0200, Andreas Färber wrote:
> Hello Aurélien,
> 
> This series picks up some preparatory patches for QOM CPUState refactoring,
> originally posted in May. They still applied cleanly, but I optimized them
> a bit and expanded the explanations.
> 
> In short it is about MIPSCPU vs. CPUMIPSState; more fields will be moved
> from CPU_COMMON macro to CPUState struct, and to access CPUState we need
> a MIPSCPU. Thus MIPSCPU is preferable for arguments of static helpers
> (not TCG helpers) because we save some redundant accessor/cast macros.
> 
> Can you please ack/apply and keep in mind for the current patch review?
> 
> Available for testing from:
> git://github.com/afaerber/qemu-cpu.git qom-cpu-mips
> https://github.com/afaerber/qemu-cpu/commits/qom-cpu-mips
> 
> Regards,
> Andreas
> 
> Cc: Aurélien Jarno <aurelien@aurel32.net>
> 
> Cc: Jia Liu <proljc@gmail.com>
> Cc: Eric Johnson <ericj@mips.com>
> Cc: Richard Henderson <rth@twiddle.net>
> 
> v1 -> v2:
> * Cherry-picked from my CPUState part 4 series
> * Avoided calling mips_env_get_cpu() in both if branches of helper_m[t]tc0_tchalt()
> * Prepended patch to clean up resulting variable naming mess
> * Placed variable declarations in the closest block (requested by Alex elsewhere)
> 
> Andreas Färber (5):
>   target-mips: Clean up other_cpu in helper_{d,e}vpe()
>   target-mips: Pass MIPSCPU to mips_tc_wake()
>   target-mips: Pass MIPSCPU to mips_vpe_is_wfi()
>   target-mips: Pass MIPSCPU to mips_tc_sleep()
>   target-mips: Pass MIPSCPU to mips_vpe_sleep()
> 
>  target-mips/op_helper.c |   63 +++++++++++++++++++++++++++++------------------
>  1 Datei geändert, 39 Zeilen hinzugefügt(+), 24 Zeilen entfernt(-)
> 
> -- 
> 1.7.10.4

Thanks, all applied.

-- 
Aurelien Jarno                          GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net

      parent reply	other threads:[~2012-10-17  7:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-11 22:56 [Qemu-devel] [PATCH v2 0/5] target-mips: Preparations for CPUState part 4b series Andreas Färber
2012-10-11 22:56 ` [Qemu-devel] [PATCH v2 1/5] target-mips: Clean up other_cpu in helper_{d, e}vpe() Andreas Färber
2012-10-11 22:56 ` [Qemu-devel] [PATCH v2 2/5] target-mips: Pass MIPSCPU to mips_tc_wake() Andreas Färber
2012-10-11 22:56 ` [Qemu-devel] [PATCH v2 3/5] target-mips: Pass MIPSCPU to mips_vpe_is_wfi() Andreas Färber
2012-10-11 22:56 ` [Qemu-devel] [PATCH v2 4/5] target-mips: Pass MIPSCPU to mips_tc_sleep() Andreas Färber
2012-10-11 22:56 ` [Qemu-devel] [PATCH v2 5/5] target-mips: Pass MIPSCPU to mips_vpe_sleep() Andreas Färber
2012-10-17  7:05 ` Aurelien Jarno [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=20121017070520.GO9643@ohm.aurel32.net \
    --to=aurelien@aurel32.net \
    --cc=afaerber@suse.de \
    --cc=ericj@mips.com \
    --cc=proljc@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=rth@twiddle.net \
    /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).