From: "Alex Bennée" <alex.bennee@linaro.org>
To: Sergey Fedorov <sergey.fedorov@linaro.org>
Cc: qemu-devel@nongnu.org, Sergey Fedorov <serge.fdrv@gmail.com>,
Paolo Bonzini <pbonzini@redhat.com>,
Peter Crosthwaite <crosthwaite.peter@gmail.com>,
Richard Henderson <rth@twiddle.net>
Subject: Re: [Qemu-devel] [PATCH v4 00/10] tcg: Direct block chaining clean-up
Date: Thu, 28 Apr 2016 12:16:39 +0100 [thread overview]
Message-ID: <87lh3ydluw.fsf@linaro.org> (raw)
In-Reply-To: <1461186921-14977-1-git-send-email-sergey.fedorov@linaro.org>
Sergey Fedorov <sergey.fedorov@linaro.org> writes:
> From: Sergey Fedorov <serge.fdrv@gmail.com>
>
> This series combines a set of patches which is meant to improve overall code
> structure and readability of the direct block chaining mechanism. The other
> point is to make a step towards thread safety of TB chainig.
>
> The series' tree can be found in a public git repository [1].
>
> [1] https://github.com/sergefdrv/qemu/tree/tb-chaining-cleanup-v4
I've run into a bunch of merge failures whilst trying to build a
combined tree. A bunch in the tcg/* files due to atomic patching fixes
now in rth/tcg-next and the final one due to the code motion in cpu-exec
from the misc clean-ups.
It might be worth re-basing at least on tcg-next?
>
> Summary of changes:
> Changes in v4:
> * Removed assert from tb_add_jump() [PATCH v4 02/10]
> * Added comment on TB stuff synchronization [PATCH v4 04/10]
> * Documented tcg_gen_goto_tb() and moved its usage notes there
> [PATCH v4 09/10] and [PATCH v4 10/10]
> * Cc'ed usermode maintainers in commit message [PATCH v4 10/10]
> Changes in v3:
> * New patch to clean up safety checks [PATCH v3 09/10]
> * New patch to eliminate unneeded checks in user-mode [PATCH v3 10/10]
> Changes in v2:
> * Eliminated duplicate dereference of 'ptb' in tb_jmp_remove() [PATCH v2 2/8]
> * Tweaked a comment [PATCH v2 4/8]
> * Complete rewrite [PATCH v2 5/8]
> * Tweaked a comment; eliminated duplicate dereference of 'ptb' in
> tb_jmp_unlink() [PATCH v2 8/8]
>
> Sergey Fedorov (10):
> tcg: Clean up direct block chaining data fields
> tcg: Use uintptr_t type for jmp_list_{next|first} fields of TB
> tcg: Rearrange tb_link_page() to avoid forward declaration
> tcg: Init TB's direct jumps before making it visible
> tcg: Clarify thread safety check in tb_add_jump()
> tcg: Rename tb_jmp_remove() to tb_remove_from_jmp_list()
> tcg: Extract removing of jumps to TB from tb_phys_invalidate()
> tcg: Clean up tb_jmp_unlink()
> tcg: Clean up direct block chaining safety checks
> tcg: Allow goto_tb to any target PC in user mode
>
> cpu-exec.c | 7 +-
> include/exec/exec-all.h | 69 ++++++----
> target-alpha/translate.c | 4 +
> target-arm/translate-a64.c | 2 +
> target-arm/translate.c | 17 ++-
> target-cris/translate.c | 16 ++-
> target-i386/translate.c | 23 ++--
> target-lm32/translate.c | 21 ++-
> target-m68k/translate.c | 18 ++-
> target-microblaze/translate.c | 15 ++-
> target-mips/translate.c | 20 ++-
> target-moxie/translate.c | 21 ++-
> target-openrisc/translate.c | 20 ++-
> target-ppc/translate.c | 20 ++-
> target-s390x/translate.c | 17 ++-
> target-sh4/translate.c | 21 ++-
> target-sparc/translate.c | 24 +++-
> target-tricore/translate.c | 20 ++-
> target-unicore32/translate.c | 16 ++-
> target-xtensa/translate.c | 4 +
> tcg/aarch64/tcg-target.inc.c | 7 +-
> tcg/arm/tcg-target.inc.c | 8 +-
> tcg/i386/tcg-target.inc.c | 8 +-
> tcg/ia64/tcg-target.inc.c | 6 +-
> tcg/mips/tcg-target.inc.c | 8 +-
> tcg/ppc/tcg-target.inc.c | 6 +-
> tcg/s390/tcg-target.inc.c | 11 +-
> tcg/sparc/tcg-target.inc.c | 9 +-
> tcg/tcg-op.h | 13 ++
> tcg/tcg.h | 6 +-
> tcg/tci/tcg-target.inc.c | 10 +-
> translate-all.c | 297 ++++++++++++++++++++++--------------------
> 32 files changed, 470 insertions(+), 294 deletions(-)
--
Alex Bennée
next prev parent reply other threads:[~2016-04-28 11:16 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-20 21:15 [Qemu-devel] [PATCH v4 00/10] tcg: Direct block chaining clean-up Sergey Fedorov
2016-04-20 21:15 ` [PATCH v4 01/10] tcg: Clean up direct block chaining data fields Sergey Fedorov
2016-04-20 21:15 ` [Qemu-devel] " Sergey Fedorov
2016-04-20 21:15 ` [Qemu-devel] [PATCH v4 02/10] tcg: Use uintptr_t type for jmp_list_{next|first} fields of TB Sergey Fedorov
2016-04-20 21:15 ` [Qemu-devel] [PATCH v4 03/10] tcg: Rearrange tb_link_page() to avoid forward declaration Sergey Fedorov
2016-04-20 21:15 ` [Qemu-devel] [PATCH v4 04/10] tcg: Init TB's direct jumps before making it visible Sergey Fedorov
2016-04-20 21:15 ` [Qemu-devel] [PATCH v4 05/10] tcg: Clarify thread safety check in tb_add_jump() Sergey Fedorov
2016-04-20 21:15 ` [Qemu-devel] [PATCH v4 06/10] tcg: Rename tb_jmp_remove() to tb_remove_from_jmp_list() Sergey Fedorov
2016-04-20 21:15 ` [Qemu-devel] [PATCH v4 07/10] tcg: Extract removing of jumps to TB from tb_phys_invalidate() Sergey Fedorov
2016-04-20 21:15 ` [Qemu-devel] [PATCH v4 08/10] tcg: Clean up tb_jmp_unlink() Sergey Fedorov
2016-04-20 21:15 ` [PATCH v4 09/10] tcg: Clean up direct block chaining safety checks Sergey Fedorov
2016-04-20 21:15 ` [Qemu-devel] " Sergey Fedorov
2016-04-21 13:18 ` Alex Bennée
2016-04-21 13:18 ` [Qemu-devel] " Alex Bennée
2016-04-21 15:08 ` Sergey Fedorov
2016-04-21 15:08 ` [Qemu-devel] " Sergey Fedorov
2016-04-21 15:45 ` Alex Bennée
2016-04-21 15:45 ` [Qemu-devel] " Alex Bennée
2016-04-20 21:15 ` [PATCH v4 10/10] tcg: Allow goto_tb to any target PC in user mode Sergey Fedorov
2016-04-20 21:15 ` [Qemu-devel] " Sergey Fedorov
2016-04-21 14:42 ` Alex Bennée
2016-04-21 14:42 ` [Qemu-devel] " Alex Bennée
2016-04-28 18:03 ` Richard Henderson
2016-04-28 11:16 ` Alex Bennée [this message]
2016-04-28 11:33 ` [Qemu-devel] [PATCH v4 00/10] tcg: Direct block chaining clean-up Sergey Fedorov
2016-04-28 16:34 ` 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=87lh3ydluw.fsf@linaro.org \
--to=alex.bennee@linaro.org \
--cc=crosthwaite.peter@gmail.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=rth@twiddle.net \
--cc=serge.fdrv@gmail.com \
--cc=sergey.fedorov@linaro.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.