]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/s390x: Make translator stop before the end of a page
authorIlya Leoshkevich <iii@linux.ibm.com>
Wed, 17 Aug 2022 15:05:04 +0000 (17:05 +0200)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 6 Sep 2022 07:04:26 +0000 (08:04 +0100)
commitab12c95d3f1999648d70bca54ebcc0588a07dd3e
tree45299ea36740d14226b4cf37d2bb6aedd5b53f4e
parent50627f1b7b1b1db60166a670fbc17623c7d7243e
target/s390x: Make translator stop before the end of a page

Right now translator stops right *after* the end of a page, which
breaks reporting of fault locations when the last instruction of a
multi-insn translation block crosses a page boundary.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220817150506.592862-3-iii@linux.ibm.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/s390x/tcg/translate.c
tests/tcg/multiarch/noexec.c.inc [new file with mode: 0644]
tests/tcg/s390x/Makefile.target
tests/tcg/s390x/noexec.c [new file with mode: 0644]