s390x/tcg: factor out and fix DATA exception injection
commitbbf6ea3bd961970785a583117ac1c0b84a8ee736
authorDavid Hildenbrand <david@redhat.com>
Thu, 27 Sep 2018 13:02:56 +0000 (27 15:02 +0200)
committerCornelia Huck <cohuck@redhat.com>
Thu, 4 Oct 2018 08:32:39 +0000 (4 10:32 +0200)
tree8c00137c06cfbdbec9a51a6b0fe09e2d7d147052
parent52341ed61d3a7b84602f6ee6b4234027ed5e6172
s390x/tcg: factor out and fix DATA exception injection

The DXC is to be stored in the low core, and only in the FPC in case AFP
is enabled in CR0. Stub is not required in current code, but this way
we never run into problems.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20180927130303.12236-3-david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
target/s390x/cpu.h
target/s390x/excp_helper.c
target/s390x/fpu_helper.c
target/s390x/helper.h
target/s390x/tcg-stub.c
target/s390x/tcg_s390x.h
target/s390x/translate.c