qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Peter Crosthwaite <crosthwaitepeter@gmail.com>,
	qemu-devel@nongnu.org, rth@twiddle.net, afaerber@suse.de
Cc: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Subject: Re: [Qemu-devel] [PATCH 0/4] More core code ENV_GET_CPU removals
Date: Mon, 25 May 2015 15:08:21 +0200	[thread overview]
Message-ID: <55631EC5.9030909@redhat.com> (raw)
In-Reply-To: <cover.1432534113.git.crosthwaite.peter@gmail.com>



On 25/05/2015 08:22, Peter Crosthwaite wrote:
> Hi Andreas, Richard and all,
> 
> I'm moving towards the goal of having no core code usages of ENV_GET_CPU.
> This has two advantages:
> 
> 1: It means we are closer to common-obj'ing core code like exec.c, cpus.c
> and friends.
> 2: Multi arch is easier if ENV_GET_CPU stays arch specific. It means I
> don't need those patches where I reorder the env within the arch specific
> CPUState. This allows continuing placement of arch specifics before the
> env in the CPU container (which has TCG perf advantages).
> 
> There's a couple more after this pack to get the multi-arch thing going,
> but due to point 1, I'm sending this ahead as I think it has standalone value.
> 
> Regards,
> Peter
> 
> Peter Crosthwaite (4):
>   translate-all: Change tb_flush env argument to cpu
>   gdbserver: _fork: Change fn to accept cpu instead of env
>   cpus: Change tcg_cpu_exec arg to cpu, not env
>   cpus: Change exec_init arg to cpu, not env
> 
>  bsd-user/main.c             | 2 +-
>  cpus.c                      | 7 +++----
>  exec.c                      | 7 +++----
>  gdbstub.c                   | 9 +++------
>  include/exec/exec-all.h     | 4 ++--
>  include/exec/gdbstub.h      | 2 +-
>  linux-user/main.c           | 2 +-
>  linux-user/signal.c         | 2 +-
>  target-alpha/cpu.c          | 2 +-
>  target-alpha/sys_helper.c   | 2 +-
>  target-arm/cpu.c            | 2 +-
>  target-cris/cpu.c           | 2 +-
>  target-i386/cpu.c           | 2 +-
>  target-i386/translate.c     | 2 +-
>  target-lm32/cpu.c           | 2 +-
>  target-m68k/cpu.c           | 2 +-
>  target-microblaze/cpu.c     | 2 +-
>  target-mips/cpu.c           | 2 +-
>  target-moxie/cpu.c          | 2 +-
>  target-openrisc/cpu.c       | 2 +-
>  target-ppc/translate_init.c | 2 +-
>  target-s390x/cpu.c          | 2 +-
>  target-sh4/cpu.c            | 2 +-
>  target-sparc/cpu.c          | 2 +-
>  target-tricore/cpu.c        | 2 +-
>  target-unicore32/cpu.c      | 2 +-
>  target-xtensa/cpu.c         | 2 +-
>  translate-all.c             | 6 ++----
>  28 files changed, 36 insertions(+), 43 deletions(-)
> 

Thanks, queued for 2.4.

Paolo

  parent reply	other threads:[~2015-05-25 13:08 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-25  6:22 [Qemu-devel] [PATCH 0/4] More core code ENV_GET_CPU removals Peter Crosthwaite
2015-05-25  6:22 ` [Qemu-devel] [PATCH 1/4] translate-all: Change tb_flush env argument to cpu Peter Crosthwaite
2015-05-25 20:27   ` Eduardo Habkost
2015-06-05 14:43   ` Andreas Färber
2015-05-25  6:22 ` [Qemu-devel] [PATCH 2/4] gdbserver: _fork: Change fn to accept cpu instead of env Peter Crosthwaite
2015-06-05 14:44   ` Andreas Färber
2015-05-25  6:22 ` [Qemu-devel] [PATCH 3/4] cpus: Change tcg_cpu_exec arg to cpu, not env Peter Crosthwaite
2015-06-05 14:48   ` Andreas Färber
2015-05-25  6:22 ` [Qemu-devel] [PATCH 4/4] cpus: Change exec_init " Peter Crosthwaite
2015-05-25 20:54   ` Eduardo Habkost
2015-06-05 14:51   ` Andreas Färber
2015-06-05 15:05     ` Eduardo Habkost
2015-06-24 12:48       ` Andreas Färber
2015-06-24 12:49         ` Paolo Bonzini
2015-05-25 13:08 ` Paolo Bonzini [this message]
2015-05-26  6:00   ` [Qemu-devel] [PATCH 0/4] More core code ENV_GET_CPU removals Peter Crosthwaite
2015-05-26  8:05     ` Paolo Bonzini
2015-05-29  5:28       ` Peter Crosthwaite
2015-05-26  6:10   ` Andreas Färber
2015-05-26  8:05     ` Paolo Bonzini
2015-05-26  8:20       ` Andreas Färber
2015-05-26  8:25         ` Paolo Bonzini
2015-05-26  8:31           ` Andreas Färber
2015-05-26  8:33             ` Alexander Graf
2015-05-26 11:49               ` Paolo Bonzini
2015-05-29 18:34                 ` Eduardo Habkost
2015-06-04  1:10                   ` Peter Crosthwaite
2015-06-04  7:58                     ` Paolo Bonzini
2015-06-23 13:00                     ` Andreas Färber
2015-06-24  4:22                       ` Peter Crosthwaite
2015-06-24  9:50                         ` Paolo Bonzini
2015-07-11 11:45                           ` Peter Crosthwaite
2015-05-26  8:36             ` Paolo Bonzini
2015-05-26  8:56               ` Peter Maydell

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=55631EC5.9030909@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=afaerber@suse.de \
    --cc=crosthwaite.peter@gmail.com \
    --cc=crosthwaitepeter@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).