qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <rth@twiddle.net>
To: "Emilio G. Cota" <cota@braap.org>,
	Paolo Bonzini <pbonzini@redhat.com>,
	Peter Crosthwaite <crosthwaite.peter@gmail.com>,
	Eduardo Habkost <ehabkost@redhat.com>,
	Michael Walle <michael@walle.cc>,
	Aurelien Jarno <aurelien@aurel32.net>,
	Leon Alrae <leon.alrae@imgtec.com>,
	Anthony Green <green@moxielogic.com>, Jia Liu <proljc@gmail.com>,
	Alexander Graf <agraf@suse.de>, Blue Swirl <blauwirbel@gmail.com>,
	Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>,
	Bastian Koppelmann <kbastian@mail.uni-paderborn.de>,
	Guan Xuetao <gxt@mprc.pku.edu.cn>,
	Max Filippov <jcmvbkbc@gmail.com>,
	"Edgar E. Iglesias" <edgar.iglesias@gmail.com>,
	"Michael S. Tsirkin" <mst@redhat.com>
Cc: qemu-devel@nongnu.org, qemu-arm@nongnu.org, qemu-ppc@nongnu.org,
	Laurent Desnogues <laurent.desnogues@gmail.com>,
	MTTCG Devel <mttcg@greensocs.com>
Subject: Re: [Qemu-devel] [PATCH] tb: consistently use uint32_t for tb->flags
Date: Thu, 7 Apr 2016 11:10:20 -0700	[thread overview]
Message-ID: <5706A28C.3090403@twiddle.net> (raw)
In-Reply-To: <1460049562-23517-1-git-send-email-cota@braap.org>

On 04/07/2016 10:19 AM, Emilio G. Cota wrote:
> We are inconsistent with the type of tb->flags: usage varies loosely
> between int and uint64_t. Settle to uint32_t everywhere, which is
> superior to both: at least one target (aarch64) uses the most significant
> bit in the u32, and uint64_t is wasteful.
>
> Compile-tested for all targets.
>
> Suggested-by: Laurent Desnogues<laurent.desnogues@gmail.com>
> Suggested-by: Richard Henderson<rth@twiddle.net>
> Signed-off-by: Emilio G. Cota<cota@braap.org>
> ---
>   cpu-exec.c              |  6 +++---
>   exec.c                  |  2 +-
>   hw/i386/kvmvapic.c      |  2 +-
>   include/exec/exec-all.h |  5 +++--
>   target-alpha/cpu.h      |  2 +-
>   target-arm/cpu.h        |  2 +-
>   target-cris/cpu.h       |  2 +-
>   target-i386/cpu.h       |  2 +-
>   target-i386/translate.c |  2 +-
>   target-lm32/cpu.h       |  2 +-
>   target-m68k/cpu.h       |  2 +-
>   target-microblaze/cpu.h |  2 +-
>   target-mips/cpu.h       |  2 +-
>   target-moxie/cpu.h      |  2 +-
>   target-openrisc/cpu.h   |  2 +-
>   target-ppc/cpu.h        |  2 +-
>   target-s390x/cpu.h      |  2 +-
>   target-sh4/cpu.h        |  2 +-
>   target-sparc/cpu.h      |  2 +-
>   target-tilegx/cpu.h     |  2 +-
>   target-tricore/cpu.h    |  2 +-
>   target-unicore32/cpu.h  |  2 +-
>   target-xtensa/cpu.h     |  2 +-
>   translate-all.c         | 10 +++++-----
>   24 files changed, 32 insertions(+), 31 deletions(-)

Reviewed-by: Richard Henderson <rth@twiddle.net>


r~

  parent reply	other threads:[~2016-04-07 18:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-07 17:19 [Qemu-devel] [PATCH] tb: consistently use uint32_t for tb->flags Emilio G. Cota
2016-04-07 17:23 ` Emilio G. Cota
2016-04-07 18:10 ` Richard Henderson [this message]
2016-04-07 19:55 ` Edgar E. Iglesias
2016-04-19 23:21 ` Emilio G. Cota
2016-04-20 14:52   ` Richard Henderson

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=5706A28C.3090403@twiddle.net \
    --to=rth@twiddle.net \
    --cc=agraf@suse.de \
    --cc=aurelien@aurel32.net \
    --cc=blauwirbel@gmail.com \
    --cc=cota@braap.org \
    --cc=crosthwaite.peter@gmail.com \
    --cc=edgar.iglesias@gmail.com \
    --cc=ehabkost@redhat.com \
    --cc=green@moxielogic.com \
    --cc=gxt@mprc.pku.edu.cn \
    --cc=jcmvbkbc@gmail.com \
    --cc=kbastian@mail.uni-paderborn.de \
    --cc=laurent.desnogues@gmail.com \
    --cc=leon.alrae@imgtec.com \
    --cc=mark.cave-ayland@ilande.co.uk \
    --cc=michael@walle.cc \
    --cc=mst@redhat.com \
    --cc=mttcg@greensocs.com \
    --cc=pbonzini@redhat.com \
    --cc=proljc@gmail.com \
    --cc=qemu-arm@nongnu.org \
    --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).