qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] f79f1c: target/s390x: Add support for the TES


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] f79f1c: target/s390x: Add support for the TEST BLOCK instr...
Date: Wed, 07 Jun 2017 03:15:36 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: f79f1ca4a20d4070179903bbaafc13f5f90b7873
      
https://github.com/qemu/qemu/commit/f79f1ca4a20d4070179903bbaafc13f5f90b7873
  Author: Thomas Huth <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/cpu.h
    M target/s390x/helper.h
    M target/s390x/insn-data.def
    M target/s390x/mem_helper.c
    M target/s390x/mmu_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: Add support for the TEST BLOCK instruction

TEST BLOCK was likely once used to execute basic memory
tests, but nowadays it's just a (slow) way to clear a page.

Reviewed-by: Aurelien Jarno <address@hidden>
Reviewed-by: David Hildenbrand <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Thomas Huth <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 23cf9659b40449367e044ad95b42651537c29643
      
https://github.com/qemu/qemu/commit/23cf9659b40449367e044ad95b42651537c29643
  Author: Richard Henderson <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/mem_helper.c

  Log Message:
  -----------
  target/s390x: Use cpu_loop_exit_restore for tlb_fill

Reviewed-by: Thomas Huth <address@hidden>
Reviewed-by: Aurelien Jarno <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: a5cfc2235b10dca0d2033ec3523c272268836b02
      
https://github.com/qemu/qemu/commit/a5cfc2235b10dca0d2033ec3523c272268836b02
  Author: Richard Henderson <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/mem_helper.c

  Log Message:
  -----------
  target/s390x: Move helper_ex to end of file

This will avoid needing forward declarations in following patches.

Reviewed-by: Aurelien Jarno <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 349d078a269cdfcc26e2e84fa99127080eff0d12
      
https://github.com/qemu/qemu/commit/349d078a269cdfcc26e2e84fa99127080eff0d12
  Author: Richard Henderson <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: Use unwind data for helper_nc

Reviewed-by: Aurelien Jarno <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 6fc2606e5843456b3f053335ff692997aa937f65
      
https://github.com/qemu/qemu/commit/6fc2606e5843456b3f053335ff692997aa937f65
  Author: Richard Henderson <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: Use unwind data for helper_oc

Reviewed-by: Aurelien Jarno <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 9c009e88e362dea1ca5791d31f7dbc72c7f61344
      
https://github.com/qemu/qemu/commit/9c009e88e362dea1ca5791d31f7dbc72c7f61344
  Author: Richard Henderson <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: Use unwind data for helper_xc

Reviewed-by: Aurelien Jarno <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: d3696812e34a97784bd5405f38388a9f40126010
      
https://github.com/qemu/qemu/commit/d3696812e34a97784bd5405f38388a9f40126010
  Author: Richard Henderson <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: Use unwind data for helper_mvc

Reviewed-by: Aurelien Jarno <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: e79f56f4d636354be1f42b8a862632cac9101c23
      
https://github.com/qemu/qemu/commit/e79f56f4d636354be1f42b8a862632cac9101c23
  Author: Richard Henderson <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: Use unwind data for helper_clc

Reviewed-by: Aurelien Jarno <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 868b5cbd919d60da827f14609013c34948f0a425
      
https://github.com/qemu/qemu/commit/868b5cbd919d60da827f14609013c34948f0a425
  Author: Richard Henderson <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: Use unwind data for helper_clm

Reviewed-by: Thomas Huth <address@hidden>
Reviewed-by: Aurelien Jarno <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 4663e82244c550c8eeaa605f8fb6556cdc2fcc8f
      
https://github.com/qemu/qemu/commit/4663e82244c550c8eeaa605f8fb6556cdc2fcc8f
  Author: Richard Henderson <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: Use unwind data for helper_srst

Reviewed-by: Thomas Huth <address@hidden>
Reviewed-by: Aurelien Jarno <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 3cc8ca3dab6e1c46e37999bc4719f4eb950be53c
      
https://github.com/qemu/qemu/commit/3cc8ca3dab6e1c46e37999bc4719f4eb950be53c
  Author: Richard Henderson <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: Use unwind data for helper_clst

Reviewed-by: Thomas Huth <address@hidden>
Reviewed-by: Aurelien Jarno <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 7cf96fca4caf2f387b9ba4d74b04d6748d3c3207
      
https://github.com/qemu/qemu/commit/7cf96fca4caf2f387b9ba4d74b04d6748d3c3207
  Author: Richard Henderson <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/helper.h
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: Use unwind data for helper_mvpg

Reviewed-by: Thomas Huth <address@hidden>
Reviewed-by: Aurelien Jarno <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 08a4cb793fdf5aa59ee4964f61afbe13d4fa82f1
      
https://github.com/qemu/qemu/commit/08a4cb793fdf5aa59ee4964f61afbe13d4fa82f1
  Author: Richard Henderson <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: Use unwind data for helper_mvst

Reviewed-by: Thomas Huth <address@hidden>
Reviewed-by: Aurelien Jarno <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 9393c020bfd8581af8263c88d6e271950d52cb05
      
https://github.com/qemu/qemu/commit/9393c020bfd8581af8263c88d6e271950d52cb05
  Author: Richard Henderson <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: Use unwind data for helper_lam

Reviewed-by: Thomas Huth <address@hidden>
Reviewed-by: Aurelien Jarno <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 44cf6c2e4bf80eef647f3a05bd6ff13df69a9c7f
      
https://github.com/qemu/qemu/commit/44cf6c2e4bf80eef647f3a05bd6ff13df69a9c7f
  Author: Richard Henderson <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: Use unwind data for helper_stam

Reviewed-by: Thomas Huth <address@hidden>
Reviewed-by: Aurelien Jarno <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 7390fb79fdff5e697962ed001ee418a9cd553585
      
https://github.com/qemu/qemu/commit/7390fb79fdff5e697962ed001ee418a9cd553585
  Author: Richard Henderson <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: Use unwind data for helper_mvcl

Reviewed-by: Thomas Huth <address@hidden>
Reviewed-by: Aurelien Jarno <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 453e4c077de2896ac2417f1fa7a9e182e7211819
      
https://github.com/qemu/qemu/commit/453e4c077de2896ac2417f1fa7a9e182e7211819
  Author: Richard Henderson <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: Use unwind data for helper_mvcle

Reviewed-by: Thomas Huth <address@hidden>
Reviewed-by: Aurelien Jarno <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 4546137957c250278fbb94f6fb3bce3de22788bc
      
https://github.com/qemu/qemu/commit/4546137957c250278fbb94f6fb3bce3de22788bc
  Author: Richard Henderson <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: Use unwind data for helper_clcle

Reviewed-by: Thomas Huth <address@hidden>
Reviewed-by: Aurelien Jarno <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 498644e99f3c3aa41cf563a958b19a683cc18336
      
https://github.com/qemu/qemu/commit/498644e99f3c3aa41cf563a958b19a683cc18336
  Author: Richard Henderson <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: Use unwind data for helper_cksm

Reviewed-by: Thomas Huth <address@hidden>
Reviewed-by: Aurelien Jarno <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 84e1b98ba6444e69aeb989c38b3fd4e457ad31d8
      
https://github.com/qemu/qemu/commit/84e1b98ba6444e69aeb989c38b3fd4e457ad31d8
  Author: Richard Henderson <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: Use unwind data for helper_unpk

Reviewed-by: Thomas Huth <address@hidden>
Reviewed-by: Aurelien Jarno <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 981a8ea0c549df539962bf8c6253f73dde3cf1cc
      
https://github.com/qemu/qemu/commit/981a8ea0c549df539962bf8c6253f73dde3cf1cc
  Author: Richard Henderson <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: Use unwind data for helper_tr

Reviewed-by: Aurelien Jarno <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: d46cd62ff80708364b87d010a55655a48ca9f0bb
      
https://github.com/qemu/qemu/commit/d46cd62ff80708364b87d010a55655a48ca9f0bb
  Author: Richard Henderson <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: Use unwind data for helper_tre

Reviewed-by: Thomas Huth <address@hidden>
Reviewed-by: Aurelien Jarno <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 2c7e5f8c25fa176a9cabf2ff8d46ee4cdca0270d
      
https://github.com/qemu/qemu/commit/2c7e5f8c25fa176a9cabf2ff8d46ee4cdca0270d
  Author: Richard Henderson <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: Use unwind data for helper_trt

Reviewed-by: Thomas Huth <address@hidden>
Reviewed-by: Aurelien Jarno <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 97ae2149aff5148d20a4bf91ba667b0084047376
      
https://github.com/qemu/qemu/commit/97ae2149aff5148d20a4bf91ba667b0084047376
  Author: Richard Henderson <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: Use unwind data for helper_lctlg

Reviewed-by: Thomas Huth <address@hidden>
Reviewed-by: Aurelien Jarno <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 1b642a732cc777d2346e17c2957b13e787015d5f
      
https://github.com/qemu/qemu/commit/1b642a732cc777d2346e17c2957b13e787015d5f
  Author: Richard Henderson <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: Use unwind data for helper_lctl

Reviewed-by: Thomas Huth <address@hidden>
Reviewed-by: Aurelien Jarno <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 75d6240c593c28c1df0b57bdf99409669cd5d808
      
https://github.com/qemu/qemu/commit/75d6240c593c28c1df0b57bdf99409669cd5d808
  Author: Richard Henderson <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: Use unwind data for helper_stctl

Reviewed-by: Thomas Huth <address@hidden>
Reviewed-by: Aurelien Jarno <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: aef2b01a5011fffbcccb9d41b7ec01e9b4f05612
      
https://github.com/qemu/qemu/commit/aef2b01a5011fffbcccb9d41b7ec01e9b4f05612
  Author: Richard Henderson <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: Use unwind data for helper_testblock

Reviewed-by: Thomas Huth <address@hidden>
Reviewed-by: Aurelien Jarno <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 1f3ca416656bf1ed0c33b35f2dbbdd50f9b0e17e
      
https://github.com/qemu/qemu/commit/1f3ca416656bf1ed0c33b35f2dbbdd50f9b0e17e
  Author: Richard Henderson <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: Use unwind data for helper_tprot

Reviewed-by: Thomas Huth <address@hidden>
Reviewed-by: Aurelien Jarno <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: b157fbe6a95384e910caccc63a79c3f73c64d8ac
      
https://github.com/qemu/qemu/commit/b157fbe6a95384e910caccc63a79c3f73c64d8ac
  Author: Richard Henderson <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: Use unwind data for helper_lra

Fix saving exception_index around mmu_translate; eliminate a dead store.

Reviewed-by: Aurelien Jarno <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: b90fb26bded72c28865e4fb257b5d3975f93b88b
      
https://github.com/qemu/qemu/commit/b90fb26bded72c28865e4fb257b5d3975f93b88b
  Author: Richard Henderson <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: Use unwind data for helper_mvcs/mvcp

Reviewed-by: Thomas Huth <address@hidden>
Reviewed-by: Aurelien Jarno <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 8350079329562e93d109607d03393153de582d4a
      
https://github.com/qemu/qemu/commit/8350079329562e93d109607d03393153de582d4a
  Author: Richard Henderson <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/helper.h
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: Fix some helper_ex problems

(1) The OR of the low bits or R1 into INSN were not being done
consistently; it was forgotten along all but the SVC path.
(2) The setting of ILEN was wrong on SVC path for EXRL.
(3) The data load for ICM read too much.

Fix these by consolidating data load at the beginning, using
get_ilen to control the number of bytes loaded, and ORing in
the byte from R1.  Use extract64 from the full aligned insn
to extract arguments.

Pass in ILEN rather than RET as the more natural way to give
the required data along the SVC path.

Modify ENV->CC_OP directly rather than include it in the
functional interface.

Reviewed-by: Aurelien Jarno <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: a72da8b7f555d640d79e41b131c1cd3169811861
      
https://github.com/qemu/qemu/commit/a72da8b7f555d640d79e41b131c1cd3169811861
  Author: Richard Henderson <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/insn-data.def
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: Fix EXECUTE with R1==0

The PoO specifies that when R1==0, no ORing into the insn
loaded from storage takes place.  Load a zero for this case.

Reviewed-by: Aurelien Jarno <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 31a18b4575c1b882f2cd2fa2ef5dba7a5c12a497
      
https://github.com/qemu/qemu/commit/31a18b4575c1b882f2cd2fa2ef5dba7a5c12a497
  Author: Richard Henderson <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/helper.h
    M target/s390x/insn-data.def
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: Use atomic operations for COMPARE SWAP PURGE

Also provide the cross-cpu tlb flushing required by the PoO.

Reviewed-by: Aurelien Jarno <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: b26de9518d332e8a72ba634bdf348b69bbf4173e
      
https://github.com/qemu/qemu/commit/b26de9518d332e8a72ba634bdf348b69bbf4173e
  Author: Richard Henderson <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/insn-data.def
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: Implement CSPG

Reviewed-by: Aurelien Jarno <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 99e57856f6c6da8031dcbca5f1aa6735da04bb6f
      
https://github.com/qemu/qemu/commit/99e57856f6c6da8031dcbca5f1aa6735da04bb6f
  Author: Richard Henderson <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: Save current ilen during translation

Use this saved value instead of recomputing from next_pc difference.

Reviewed-by: David Hildenbrand <address@hidden>
Reviewed-by: Aurelien Jarno <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 06fc03486cf9b825f8afd9defe80a255364ed02c
      
https://github.com/qemu/qemu/commit/06fc03486cf9b825f8afd9defe80a255364ed02c
  Author: Richard Henderson <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: End the TB after EXECUTE

This split will be required for implementing EXECUTE properly.
Do this now as a separate step to aid comparison of before and
after TB listings.

Reviewed-by: Aurelien Jarno <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 303c681a8f50eb88fbafc2bf6a7e4c5813ac2be0
      
https://github.com/qemu/qemu/commit/303c681a8f50eb88fbafc2bf6a7e4c5813ac2be0
  Author: Richard Henderson <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/cpu.h
    M target/s390x/helper.c
    M target/s390x/machine.c
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: Implement EXECUTE via new TranslationBlock

Previously, helper_ex would construct the insn and then implement
the insn via direct calls other helpers.  This was sufficient to
boot Linux but that is all.

It is easy enough to go the whole nine yards by stashing state for
EXECUTE within the cpu, and then rely on a new TB to be created
that properly and completely interprets the insn.

Reviewed-by: Aurelien Jarno <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: d376f123c7de4cb82c743cb42421653aa305150e
      
https://github.com/qemu/qemu/commit/d376f123c7de4cb82c743cb42421653aa305150e
  Author: Richard Henderson <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/mem_helper.c

  Log Message:
  -----------
  target/s390x: Re-implement a few EXECUTE target insns directly

While the previous patch is required for proper conformance,
the vast majority of target insns are MVC and XC for implementing
memmove and memset respectively.  The next most common are CLC,
TR, and SVC.

Implementing these (and a few others for which we already have
an implementation) directly is faster than going through full
translation to a TB.

Reviewed-by: Aurelien Jarno <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: fc7fbcbc4829563469fa33b68e6b771d455229ac
      
https://github.com/qemu/qemu/commit/fc7fbcbc4829563469fa33b68e6b771d455229ac
  Author: Thomas Huth <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/cpu_models.c

  Log Message:
  -----------
  target/s390x/cpu_models: Allow some additional feature bits for the "qemu" CPU

Currently we only present the plain z900 feature bits to the guest,
but QEMU already emulates some additional features (but not all of
the next CPU generation, so we can not use the next CPU level as
default yet). Since newer Linux kernels are checking the feature bits
and refuse to work if a required feature is missing, it would be nice
to have a way to present more of the supported features when we are
running with the "qemu" CPU.
This patch now adds the supported features to the "full_feat" bitmap,
so that additional features can be enabled on the command line now,
for example with:

 qemu-system-s390x -cpu qemu,stfle=true,ldisp=true,eimm=true,stckf=true

Acked-by: David Hildenbrand <address@hidden>
Reviewed-by: Aurelien Jarno <address@hidden>
Signed-off-by: Thomas Huth <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 51a718bf3dc7a4d8ae70219ffe4fef7a8dfadb24
      
https://github.com/qemu/qemu/commit/51a718bf3dc7a4d8ae70219ffe4fef7a8dfadb24
  Author: Aurelien Jarno <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: remove dead code in translate.c

Reviewed-by: Richard Henderson <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 8a4719f527484a7b9940e1c93690b01dc5ca5144
      
https://github.com/qemu/qemu/commit/8a4719f527484a7b9940e1c93690b01dc5ca5144
  Author: Aurelien Jarno <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/cpu.h
    M target/s390x/mem_helper.c
    M target/s390x/mmu_helper.c

  Log Message:
  -----------
  target/s390x: remove some Linux assumptions from IPTE

Signed-off-by: Aurelien Jarno <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 1f58720c5fd033e4e2de1d047020b43a3cb3aa1b
      
https://github.com/qemu/qemu/commit/1f58720c5fd033e4e2de1d047020b43a3cb3aa1b
  Author: Aurelien Jarno <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/helper.h
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: implement local-TLB-clearing in IPTE

And at the same time make IPTE SMP aware.

Reviewed-by: Thomas Huth <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 6699adfc1824d420e14aacbb86712264cfcaa1ce
      
https://github.com/qemu/qemu/commit/6699adfc1824d420e14aacbb86712264cfcaa1ce
  Author: Aurelien Jarno <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/insn-data.def
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: implement TEST AND SET

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 0c0974d785047ecd6226a4796374886d2c84b0ee
      
https://github.com/qemu/qemu/commit/0c0974d785047ecd6226a4796374886d2c84b0ee
  Author: Aurelien Jarno <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/insn-data.def
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: implement TEST ADDRESSING MODE

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 76c574906ee33139db9b826ac2e2e96fb067c23f
      
https://github.com/qemu/qemu/commit/76c574906ee33139db9b826ac2e2e96fb067c23f
  Author: Aurelien Jarno <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/helper.h
    M target/s390x/insn-data.def
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: implement PACK

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 9c8be598364d9cfb618e44ee08a30071d9242aca
      
https://github.com/qemu/qemu/commit/9c8be598364d9cfb618e44ee08a30071d9242aca
  Author: Aurelien Jarno <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/fpu_helper.c
    M target/s390x/helper.h
    M target/s390x/insn-data.def
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: implement COMPARE AND SIGNAL

These functions differ from COMPARE by generating an exception for a
QNaN input. Use the non quiet version of floatXX_compare.

Signed-off-by: Aurelien Jarno <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 6c9deca8a1f7008b551dedcc9bde599c428dfd07
      
https://github.com/qemu/qemu/commit/6c9deca8a1f7008b551dedcc9bde599c428dfd07
  Author: Aurelien Jarno <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/helper.h
    M target/s390x/insn-data.def
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: implement MOVE INVERSE

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 256dab6fe8872a041823a18e78d7d7a86d0e9618
      
https://github.com/qemu/qemu/commit/256dab6fe8872a041823a18e78d7d7a86d0e9618
  Author: Aurelien Jarno <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/helper.h
    M target/s390x/insn-data.def
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: implement MOVE NUMERICS

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: fdc0a7474aa271bdcf88dd63008fb10d8a4b4824
      
https://github.com/qemu/qemu/commit/fdc0a7474aa271bdcf88dd63008fb10d8a4b4824
  Author: Aurelien Jarno <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/helper.h
    M target/s390x/insn-data.def
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: implement MOVE WITH OFFSET

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 01f8db88579bef0b6de9f48d0ad2617c5ca2696f
      
https://github.com/qemu/qemu/commit/01f8db88579bef0b6de9f48d0ad2617c5ca2696f
  Author: Aurelien Jarno <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/helper.h
    M target/s390x/insn-data.def
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: implement MOVE ZONES

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: a5c3cedd739b7cf0aea051f9f70adf2bcf813e1a
      
https://github.com/qemu/qemu/commit/a5c3cedd739b7cf0aea051f9f70adf2bcf813e1a
  Author: Aurelien Jarno <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/mem_helper.c

  Log Message:
  -----------
  target/s390x: improve 24-bit and 31-bit addresses read

Improve fix_address to also handle the 24-bit mode. Rename fix_address
to wrap_address to better explain what is changed.

Replace the calls to get_address with x2 = 0 and b2 = 0 by
call to wrap_address, leading to the removal of this function. Rename
get_address_31fix into get_address.

Reviewed-by: Thomas Huth <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: a65047afe5ef685f4ab310562f20950ce2dfb417
      
https://github.com/qemu/qemu/commit/a65047afe5ef685f4ab310562f20950ce2dfb417
  Author: Aurelien Jarno <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/mem_helper.c

  Log Message:
  -----------
  target/s390x: improve 24-bit and 31-bit addresses write

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 29a58fd85f315b722c69f489aefd3f2913d3e42d
      
https://github.com/qemu/qemu/commit/29a58fd85f315b722c69f489aefd3f2913d3e42d
  Author: Aurelien Jarno <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/mem_helper.c

  Log Message:
  -----------
  target/s390x: improve 24-bit and 31-bit lengths read/write

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 84aa07f109f0afaeeec63c159f3a578b955c3de9
      
https://github.com/qemu/qemu/commit/84aa07f109f0afaeeec63c159f3a578b955c3de9
  Author: Aurelien Jarno <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: fix COMPARE LOGICAL LONG EXTENDED

There are multiple issues with the COMPARE LOGICAL LONG EXTENDED
instruction:
- The test between the two operands is inverted, leading to an inversion
  of the cc values 1 and 2.
- The address and length of an operand continue to be decreased after
  reaching the end of this operand. These values are then wrong write
  back to the registers.
- We should limit the amount of bytes to process, so that interrupts can
  be served correctly.

At the same time rename dest into src1 and src into src3 to match the
operand names and make the code less confusing.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 5c2b48a8f0d02acfcb577abdbd5f3040d61455d9
      
https://github.com/qemu/qemu/commit/5c2b48a8f0d02acfcb577abdbd5f3040d61455d9
  Author: Aurelien Jarno <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/helper.h
    M target/s390x/insn-data.def
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: implement COMPARE LOGICAL LONG

As CLCL and CLCLE mostly differ by their operands, use a common do_clcl
helper. Another difference is that CLCL is not interruptible.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 22f04c31980c63c6f842135679b104f0d87d4613
      
https://github.com/qemu/qemu/commit/22f04c31980c63c6f842135679b104f0d87d4613
  Author: Aurelien Jarno <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/mem_helper.c

  Log Message:
  -----------
  target/s390x: fix adj_len_to_page

adj_len_to_page doesn't return the correct result when the address
is already page aligned and the length is bigger than a page. Fix that.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: d33271213437ed1834b0a50540d79e877e1cd894
      
https://github.com/qemu/qemu/commit/d33271213437ed1834b0a50540d79e877e1cd894
  Author: Aurelien Jarno <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: improve MOVE LONG and MOVE LONG EXTENDED

As MVCL and MVCLE only differ by their operands, use a common
do_mvcl helper. Optimize it calling fast_memmove and fast_memset.
Correctly write back addresses. Check that r1 and r2/r3 registers
are even.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 31006af3bb6615a0a9ae3f0b476e4ebc9fa0045a
      
https://github.com/qemu/qemu/commit/31006af3bb6615a0a9ae3f0b476e4ebc9fa0045a
  Author: Aurelien Jarno <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/helper.h
    M target/s390x/insn-data.def
    M target/s390x/mem_helper.c
    M target/s390x/misc_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: implement COMPARE LOGICAL LONG UNICODE

For that we need to make program_interrupt available to qemu-user.
Fortunately there is almost nothing to change as both kvm_enabled and
CONFIG_KVM evaluate to false in that case.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 16f2e4b841799c6a25631753a495ea2c82510651
      
https://github.com/qemu/qemu/commit/16f2e4b841799c6a25631753a495ea2c82510651
  Author: Aurelien Jarno <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/helper.h
    M target/s390x/insn-data.def
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: implement MOVE LONG UNICODE

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 3bd3d6d302bd5a86a103a228b6d708025db4dcc2
      
https://github.com/qemu/qemu/commit/3bd3d6d302bd5a86a103a228b6d708025db4dcc2
  Author: Aurelien Jarno <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/helper.h
    M target/s390x/insn-data.def
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: implement PACK ASCII

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 4e256bef6552ee0b4c0c844077b44e4c7fcc05fc
      
https://github.com/qemu/qemu/commit/4e256bef6552ee0b4c0c844077b44e4c7fcc05fc
  Author: Aurelien Jarno <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/helper.h
    M target/s390x/insn-data.def
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: implement PACK UNICODE

Use a common helper with PACK ASCII as the differences are limited to
the stride of the source operand.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 1a35f08a222f33e1ef5890c8acf0a862df5a56aa
      
https://github.com/qemu/qemu/commit/1a35f08a222f33e1ef5890c8acf0a862df5a56aa
  Author: Aurelien Jarno <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/helper.h
    M target/s390x/insn-data.def
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: implement UNPACK ASCII

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 15417787212f321efa0592d64b89d6b189c58b41
      
https://github.com/qemu/qemu/commit/15417787212f321efa0592d64b89d6b189c58b41
  Author: Aurelien Jarno <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/helper.h
    M target/s390x/insn-data.def
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: implement UNPACK UNICODE

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 5d4a655a4187a0fe245b8bbaa1cf4ce9de5b4aea
      
https://github.com/qemu/qemu/commit/5d4a655a4187a0fe245b8bbaa1cf4ce9de5b4aea
  Author: Aurelien Jarno <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/helper.h
    M target/s390x/insn-data.def
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: implement TEST DECIMAL

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 4065ae7634601dfd8be8138fdad5562f798c4f5c
      
https://github.com/qemu/qemu/commit/4065ae7634601dfd8be8138fdad5562f798c4f5c
  Author: Aurelien Jarno <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/helper.h
    M target/s390x/insn-data.def
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: implement TRANSLATE ONE/TWO TO ONE/TWO

Signed-off-by: Aurelien Jarno <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: e22dfdb28dbba83d97ea6b40652ccccd7c60365d
      
https://github.com/qemu/qemu/commit/e22dfdb28dbba83d97ea6b40652ccccd7c60365d
  Author: Aurelien Jarno <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/helper.h
    M target/s390x/insn-data.def
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: implement LOAD PAIR FROM QUADWORD

Signed-off-by: Aurelien Jarno <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: c21b610f58f0334aa7f3ddca86efb488d4a92085
      
https://github.com/qemu/qemu/commit/c21b610f58f0334aa7f3ddca86efb488d4a92085
  Author: Aurelien Jarno <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/helper.h
    M target/s390x/insn-data.def
    M target/s390x/mem_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  target/s390x: implement STORE PAIR TO QUADWORD

Signed-off-by: Aurelien Jarno <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: c0080f1bdbb409b12aa07c2a18caf3ff6a7c1f65
      
https://github.com/qemu/qemu/commit/c0080f1bdbb409b12aa07c2a18caf3ff6a7c1f65
  Author: Aurelien Jarno <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/mem_helper.c

  Log Message:
  -----------
  target/s390x: check alignment in CDSG in the !CONFIG_ATOMIC128 case

The CDSG instruction requires a 16-byte alignement, as expressed in
the MO_ALIGN_16 passed to helper_atomic_cmpxchgo_be_mmu. In the non
parallel case, use check_alignment to enforce this.

Signed-off-by: Aurelien Jarno <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 3190dfc5e1cf8d9114c77dd3c0cbfc7ef226b6db
      
https://github.com/qemu/qemu/commit/3190dfc5e1cf8d9114c77dd3c0cbfc7ef226b6db
  Author: Aurelien Jarno <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/cpu_models.c

  Log Message:
  -----------
  target/s390x: mark ETF2 and ETF2-ENH facilities as available

Signed-off-by: Aurelien Jarno <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 49921d6886c54ec8727f2253b7698f173166bbd3
      
https://github.com/qemu/qemu/commit/49921d6886c54ec8727f2253b7698f173166bbd3
  Author: David Hildenbrand <address@hidden>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M target/s390x/helper.c

  Log Message:
  -----------
  target/s390x: addressing exceptions are suppressing

We have to make the address in the old PSW point at the next
instruction, as addressing exceptions are suppressing and not
nullifying.

I assume that there are a lot of other broken cases (as most instructions
we care about are suppressing) - all trigger_pgm_exception() specifying
and explicit number or ILEN_LATER look suspicious, however this is another
story that might require bigger changes (and I have to understand when
the address might already have been incremented first).

This is needed to make an upcoming kvm-unit-test work.

Reviewed-by: Thomas Huth <address@hidden>
Signed-off-by: David Hildenbrand <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 8b3e9ca74c989859d7e6a3804b141d6c3645e5a2
      
https://github.com/qemu/qemu/commit/8b3e9ca74c989859d7e6a3804b141d6c3645e5a2
  Author: Peter Maydell <address@hidden>
  Date:   2017-06-07 (Wed, 07 Jun 2017)

  Changed paths:
    M target/s390x/cpu.h
    M target/s390x/cpu_models.c
    M target/s390x/fpu_helper.c
    M target/s390x/helper.c
    M target/s390x/helper.h
    M target/s390x/insn-data.def
    M target/s390x/machine.c
    M target/s390x/mem_helper.c
    M target/s390x/misc_helper.c
    M target/s390x/mmu_helper.c
    M target/s390x/translate.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/rth/tags/pull-s390-20170606' into 
staging

Queued s390 patches

# gpg: Signature made Wed 07 Jun 2017 01:18:29 BST
# gpg:                using RSA key 0xAD1270CC4DD0279B
# gpg: Good signature from "Richard Henderson <address@hidden>"
# gpg:                 aka "Richard Henderson <address@hidden>"
# gpg:                 aka "Richard Henderson <address@hidden>"
# Primary key fingerprint: 9CB1 8DDA F8E8 49AD 2AFC  16A4 AD12 70CC 4DD0 279B

* remotes/rth/tags/pull-s390-20170606: (70 commits)
  target/s390x: addressing exceptions are suppressing
  target/s390x: mark ETF2 and ETF2-ENH facilities as available
  target/s390x: check alignment in CDSG in the !CONFIG_ATOMIC128 case
  target/s390x: implement STORE PAIR TO QUADWORD
  target/s390x: implement LOAD PAIR FROM QUADWORD
  target/s390x: implement TRANSLATE ONE/TWO TO ONE/TWO
  target/s390x: implement TEST DECIMAL
  target/s390x: implement UNPACK UNICODE
  target/s390x: implement UNPACK ASCII
  target/s390x: implement PACK UNICODE
  target/s390x: implement PACK ASCII
  target/s390x: implement MOVE LONG UNICODE
  target/s390x: implement COMPARE LOGICAL LONG UNICODE
  target/s390x: improve MOVE LONG and MOVE LONG EXTENDED
  target/s390x: fix adj_len_to_page
  target/s390x: implement COMPARE LOGICAL LONG
  target/s390x: fix COMPARE LOGICAL LONG EXTENDED
  target/s390x: improve 24-bit and 31-bit lengths read/write
  target/s390x: improve 24-bit and 31-bit addresses write
  target/s390x: improve 24-bit and 31-bit addresses read
  ...

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/65dfad62a176...8b3e9ca74c98

reply via email to

[Prev in Thread] Current Thread [Next in Thread]