s390x/tcg: MVCIN: Fault-safe handling
commit65a27df92779207c3005e7f0462f4bcc9b6545f7
authorDavid Hildenbrand <david@redhat.com>
Wed, 4 Sep 2019 15:09:01 +0000 (4 17:09 +0200)
committerDavid Hildenbrand <david@redhat.com>
Mon, 23 Sep 2019 07:28:29 +0000 (23 09:28 +0200)
tree34aa1c9ff6750c5c454dc823d70acb0956c2eba3
parent4d78c68bafe4c12d8185a4c33932a1aea35c4921
s390x/tcg: MVCIN: Fault-safe handling

We can process a maximum of 256 bytes, crossing two pages. Calculate the
accessed range upfront - src is accessed right-to-left.

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