]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/hppa: exit tb on flush cache instructions
authorSven Schnelle <svens@stackframe.org>
Tue, 19 Mar 2024 16:19:19 +0000 (17:19 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Thu, 21 Mar 2024 21:32:47 +0000 (00:32 +0300)
commite3b3cff9983465d189d73794223bbb3ec1dd476d
treed1b418f3e763c186d25f2d2b1841eff3cc07565b
parent4dbeff3d48a9a9221ba0449423d4d42d4f023829
target/hppa: exit tb on flush cache instructions

When the guest modifies the tb it is currently executing from,
it executes a fic instruction. Exit the tb on such instruction,
otherwise we might execute stale code.

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Message-Id: <20240319161921.487080-5-svens@stackframe.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
(cherry picked from commit ad1fdacd1b936557514dd72c2079a80be0c2dfb4)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
target/hppa/insns.decode
target/hppa/translate.c