From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58332) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dYXTg-0003mF-O0 for qemu-devel@nongnu.org; Fri, 21 Jul 2017 08:56:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dYXTf-0002Jy-Mc for qemu-devel@nongnu.org; Fri, 21 Jul 2017 08:56:20 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51626) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dYXTf-0002J3-Go for qemu-devel@nongnu.org; Fri, 21 Jul 2017 08:56:19 -0400 From: David Hildenbrand Date: Fri, 21 Jul 2017 14:56:03 +0200 Message-Id: <20170721125609.11117-1-david@redhat.com> Subject: [Qemu-devel] [PATCH v1 0/6] target/s390x: tcg improvments + MSA functions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: rth@twiddle.net, Aurelien Jarno , thuth@redhat.com, cohuck@redhat.com, david@redhat.com, borntraeger@de.ibm.com 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 -- 2.9.4