qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Aurelien Jarno <aurelien@aurel32.net>
To: qemu-devel@nongnu.org
Cc: Alexander Graf <agraf@suse.de>,
	Aurelien Jarno <aurelien@aurel32.net>,
	Richard Henderson <rth@twiddle.net>
Subject: [Qemu-devel] [PATCH v2 00/16] fixes and improvements
Date: Wed,  3 Jun 2015 23:09:40 +0200	[thread overview]
Message-ID: <1433365796-1118-1-git-send-email-aurelien@aurel32.net> (raw)

The two first patches fixes bugs in the target-s390x TCG emulation.

The 3 following patches fix some instruction definition. Given we don't
emulate a given CPU model and check the instruction availability, they
don't provide any functional change.

The 7 following patches emulate some missing instructions, either
from the zArchitecture or from some additional facilities.

The 2 following patches are new in this series, but have been posted as
RFC before. They prepare the work for the following patch (which hasn't
been posted before), providing a huge speed improvements when copying
data between the kernel and userland.

The last patch fixes an issue with the MVC instruction when both memory
areas overlap.

With all these patches applied, the GCC testsuite run in a guest fully
passes.


changes v1 -> v2:
 - dropped patch 3 "rename BRXHLE instruction into BRXLG"
 - fixed FIXBR argument in patch 6
 - add specification exception for odd r1 in patch 8
 - pass more values as arguments in patch 8
 - add the 4 last patches

Aurelien Jarno (16):
  target-s390x: fix exception for invalid operation code
  target-s390x: fix CLGIT instruction
  target-s390x: change CHRL and CGHRL format to RIL-b
  target-s390x: move STORE CLOCK FAST to the correct facility
  target-s390x: move SET DFP ROUNDING MODE to the correct facility
  target-s390x: implement LOAD FP INTEGER instructions
  target-s390x: implement TRANSLATE AND TEST instruction
  target-s390x: implement TRANSLATE EXTENDED instruction
  target-s390x: implement LPDFR and LNDFR instructions
  target-s390x: implement miscellaneous-instruction-extensions facility
  target-s390x: implement load-and-trap facility
  target-s390x: implement high-word facility
  target-s390x: add a cpu_mmu_idx_to_asc function
  target-s390x: support non current ASC in s390_cpu_handle_mmu_fault
  target-s390x: use softmmu functions for mvcp/mvcs
  target-s390x: fix MVC instruction when areas overlap

 target-s390x/cpu.h         |  25 ++++++-
 target-s390x/fpu_helper.c  |  31 ++++++++
 target-s390x/helper.c      |   2 +-
 target-s390x/helper.h      |   5 ++
 target-s390x/insn-data.def |  80 ++++++++++++++++++--
 target-s390x/mem_helper.c  | 123 ++++++++++++++++++++++---------
 target-s390x/translate.c   | 178 ++++++++++++++++++++++++++++++++++++++++++---
 7 files changed, 389 insertions(+), 55 deletions(-)

-- 
2.1.4

             reply	other threads:[~2015-06-03 21:10 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-03 21:09 Aurelien Jarno [this message]
2015-06-03 21:09 ` [Qemu-devel] [PATCH v2 01/16] target-s390x: fix exception for invalid operation code Aurelien Jarno
2015-06-03 21:09 ` [Qemu-devel] [PATCH v2 02/16] target-s390x: fix CLGIT instruction Aurelien Jarno
2015-06-03 21:09 ` [Qemu-devel] [PATCH v2 03/16] target-s390x: change CHRL and CGHRL format to RIL-b Aurelien Jarno
2015-06-03 21:09 ` [Qemu-devel] [PATCH v2 04/16] target-s390x: move STORE CLOCK FAST to the correct facility Aurelien Jarno
2015-06-03 21:09 ` [Qemu-devel] [PATCH v2 05/16] target-s390x: move SET DFP ROUNDING MODE " Aurelien Jarno
2015-06-03 21:09 ` [Qemu-devel] [PATCH v2 06/16] target-s390x: implement LOAD FP INTEGER instructions Aurelien Jarno
2015-06-03 22:26   ` Richard Henderson
2015-06-03 21:09 ` [Qemu-devel] [PATCH v2 07/16] target-s390x: implement TRANSLATE AND TEST instruction Aurelien Jarno
2015-06-03 21:09 ` [Qemu-devel] [PATCH v2 08/16] target-s390x: implement TRANSLATE EXTENDED instruction Aurelien Jarno
2015-06-03 21:37   ` Richard Henderson
2015-06-03 21:09 ` [Qemu-devel] [PATCH v2 09/16] target-s390x: implement LPDFR and LNDFR instructions Aurelien Jarno
2015-06-03 21:09 ` [Qemu-devel] [PATCH v2 10/16] target-s390x: implement miscellaneous-instruction-extensions facility Aurelien Jarno
2015-06-03 21:09 ` [Qemu-devel] [PATCH v2 11/16] target-s390x: implement load-and-trap facility Aurelien Jarno
2015-06-03 21:09 ` [Qemu-devel] [PATCH v2 12/16] target-s390x: implement high-word facility Aurelien Jarno
2015-06-03 21:09 ` [Qemu-devel] [PATCH v2 13/16] target-s390x: add a cpu_mmu_idx_to_asc function Aurelien Jarno
2015-06-03 21:40   ` Richard Henderson
2015-06-03 21:09 ` [Qemu-devel] [PATCH v2 14/16] target-s390x: support non current ASC in s390_cpu_handle_mmu_fault Aurelien Jarno
2015-06-03 21:42   ` Richard Henderson
2015-06-03 21:09 ` [Qemu-devel] [PATCH v2 15/16] target-s390x: use softmmu functions for mvcp/mvcs Aurelien Jarno
2015-06-03 22:06   ` Richard Henderson
2015-06-03 21:09 ` [Qemu-devel] [PATCH v2 16/16] target-s390x: fix MVC instruction when areas overlap Aurelien Jarno
2015-06-03 21:54   ` Richard Henderson
2015-06-03 22:29 ` [Qemu-devel] [PATCH v2 00/16] fixes and improvements Alexander Graf

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=1433365796-1118-1-git-send-email-aurelien@aurel32.net \
    --to=aurelien@aurel32.net \
    --cc=agraf@suse.de \
    --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).