From: Cornelia Huck <cohuck@redhat.com>
To: David Hildenbrand <david@redhat.com>
Cc: qemu-devel@nongnu.org,
Richard Henderson <richard.henderson@linaro.org>,
thuth@redhat.com, Alexander Graf <agraf@suse.de>,
Aurelien Jarno <aurelien@aurel32.net>
Subject: Re: [Qemu-devel] [PATCH v3 0/3] Implement basic MSA functions
Date: Thu, 21 Sep 2017 10:23:18 +0200 [thread overview]
Message-ID: <20170921102318.1d7784f1.cohuck@redhat.com> (raw)
In-Reply-To: <20170920153016.3858-1-david@redhat.com>
On Wed, 20 Sep 2017 17:30:13 +0200
David Hildenbrand <david@redhat.com> wrote:
> Some leftover from "target/s390x: tcg improvments + MSA functions".
>
> Implement all basic MSA (cpacf/crypto) instructions <= z13. Only provide
> the query subfunction (to query available subfunctions), no actual
> de/encryption yet. Good enough to unlock the STFL bits.
>
> 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 ...
>
> Available on: https://github.com/davidhildenbrand/qemu.git s390x-msa
I used the following cpu model:
-cpu qemu,eimm=on,ldisp=on,stckf=on,msa-base=on,msa3-base=on,msa4-base=on,msa5-base=on
and got
qemu-system-s390x: warning: 'msa5-base' requires 'kimd-sha-512'.
qemu-system-s390x: warning: 'msa5-base' requires 'klmd-sha-512'.
(It works anyway.)
However,
-cpu qemu,eimm=on,ldisp=on,stckf=on,msa-base=on,msa3-base=on,msa4-base=on,msa5-base=on,kimd-sha-512=on
gives
qemu-system-s390x: can't apply global qemu-s390-cpu.kimd-sha-512=on: Feature 'kimd-sha-512' is not available for CPU model 'z900', it was introduced with later models.
which is a bit confusing.
So I'm wondering whether providing msa5-base without the providing the
algorithms above is sane - or whether it is just enough to satisfy some
kernels.
[Double-checking the various dependencies looks impossible without
access to IBM doc, anyway - I just hope you got it right back then :)]
next prev parent reply other threads:[~2017-09-21 8:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-20 15:30 [Qemu-devel] [PATCH v3 0/3] Implement basic MSA functions David Hildenbrand
2017-09-20 15:30 ` [Qemu-devel] [PATCH v3 1/3] s390x/tcg: implement spm (SET PROGRAM MASK) David Hildenbrand
2017-09-20 15:30 ` [Qemu-devel] [PATCH v3 2/3] s390x/tcg: move wrap_address() to internal.h David Hildenbrand
2017-09-20 15:30 ` [Qemu-devel] [PATCH v3 3/3] s390x/tcg: add basic MSA features David Hildenbrand
2017-09-20 16:31 ` Richard Henderson
2017-09-21 8:23 ` Cornelia Huck [this message]
2017-09-21 12:38 ` [Qemu-devel] [PATCH v3 0/3] Implement basic MSA functions David Hildenbrand
2017-09-22 11:34 ` Cornelia Huck
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=20170921102318.1d7784f1.cohuck@redhat.com \
--to=cohuck@redhat.com \
--cc=agraf@suse.de \
--cc=aurelien@aurel32.net \
--cc=david@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.org \
--cc=thuth@redhat.com \
/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).