OSDN Git Service

s390x/cpu_models: drop "msa5" from the TCG "max" model
authorDavid Hildenbrand <david@redhat.com>
Thu, 28 Apr 2022 09:46:57 +0000 (11:46 +0200)
committerThomas Huth <thuth@redhat.com>
Wed, 4 May 2022 06:47:19 +0000 (08:47 +0200)
commit4756b106b372e525365c62b41df38052571c0a71
tree2820c424133fcdd18a5283706b645b15e4362efe
parentdb67a6ff480b346b1415b983f9582028cf8e18f0
s390x/cpu_models: drop "msa5" from the TCG "max" model

We don't include the "msa5" feature in the "qemu" model because it
generates a warning. The PoP states:

"The message-security-assist extension 5 requires
the secure-hash-algorithm (SHA-512) capabilities of
the message-security-assist extension 2 as a prereq-
uisite. (March, 2015)"

As SHA-512 won't be supported in the near future, let's just drop the
feature from the "max" model. This avoids the warning and allows us for
making the "max" model match the "qemu" model (except for compat
machines). We don't lose much, as we only implement the function stubs
for MSA, excluding any real subfunctions.

Signed-off-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/897
Message-Id: <20220428094708.84835-3-david@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
target/s390x/gen-features.c