Skip to content

target/s390x: tcg improvments + MSA functions

David Hildenbrand qemu-devel 1 version Applied

Status from this message: Thanks, applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 19 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6target/s390x: fix pgm irq ilen for stsitarget/s390x/misc_helper.c+1 -12 replies
2/6target/s390x: fix pgm irq ilen in translate_pages()target/s390x/mmu_helper.c+1 -12 replies
3/6target/s390x: implement spm (SET PROGRAM MASK)target/s390x/cpu.h target/s390x/insn-data.def target/s390x/translate.c+20 -02 replies
4/6target/s390x: move wrap_address to cpu.htarget/s390x/cpu.h target/s390x/mem_helper.c+14 -144 replies
5/6target/s390x: add basic MSA featurestarget/s390x/Makefile.objs target/s390x/cpu_models.c target/s390x/crypto_helper.c +3 more+140 -14 replies
6/6target/s390x: various alignment checktarget/s390x/insn-data.def target/s390x/mem_helper.c target/s390x/misc_helper.c +1 more+56 -80 replies

Reviews trailers per patch

4 of 6 patches have a Reviewed-by or Acked-by.

PatchRichard HendersonThomas Huth
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH v1 0/6] target/s390x: tcg improvments + MSA functions

Based on series:

    "[PATCH v2 0/5] target/s390x: cpu model cleanups + improvements"

1. smaller pgm irq instruction length fixes
2. implement IPM, which is often used in context of MSA instructions
3. implement all basic MSA (cpacf/crypto) instructions <= z13. Only provide the query subfunction (to query available subfunctions), no actual de/encryption yet
4. add a couple of alignment checks, that e.g. make some kvm-unit-tests pass now.

I have written kvm-unit-tests for MSA functions and for SPM/IPM. Will send them out soon. I use the following cpu model to test with an upstream kernel compiled for z10:

... -cpu qemu,mvcos=on,stfle=on,ldisp=on,ldisphp=on,\
              eimm=on,stckf=on,csst=on,csst2=on,ginste=on,\
              exrl=on,msa-base=on,msa3-base=on,msa4-base=on,msa5-base=on ...

David Hildenbrand (6):
target/s390x: fix pgm irq ilen for stsi target/s390x: fix pgm irq ilen in translate_pages() target/s390x: implement spm (SET PROGRAM MASK) target/s390x: move wrap_address to cpu.h target/s390x: add basic MSA features target/s390x: various alignment check

 target/s390x/Makefile.objs   |  2 +-
 target/s390x/cpu.h           | 16 +++++++++
 target/s390x/cpu_models.c    |  4 +++
 target/s390x/crypto_helper.c | 65 ++++++++++++++++++++++++++++++++++++
 target/s390x/helper.h        |  1 +
 target/s390x/insn-data.def   | 29 ++++++++++++----
 target/s390x/mem_helper.c    | 49 +++++++++++++++++++--------
 target/s390x/misc_helper.c   | 10 ++++--
 target/s390x/mmu_helper.c    |  2 +-
 target/s390x/translate.c     | 79 ++++++++++++++++++++++++++++++++++++++++++++
 10 files changed, 232 insertions(+), 25 deletions(-)
 create mode 100644 target/s390x/crypto_helper.c
Signature · 1 line
2.9.4