s390x/mmu: Inject DAT exceptions from a single place
commit81d7e3bc45a3245d3a078f153aaecc989eeae106
authorDavid Hildenbrand <david@redhat.com>
Wed, 25 Sep 2019 09:59:14 +0000 (25 11:59 +0200)
committerDavid Hildenbrand <david@redhat.com>
Wed, 9 Oct 2019 10:33:47 +0000 (9 12:33 +0200)
tree3c594c454284f5e6214ece58089e7e9af46d6ffe
parent124ada6810277983b0ba3faea6b900bf879a67ea
s390x/mmu: Inject DAT exceptions from a single place

Let's return the PGM from the translation functions on error and inject
based on that.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: David Hildenbrand <david@redhat.com>
target/s390x/mmu_helper.c