aboutsummaryrefslogtreecommitdiff
path: root/target/hppa
diff options
context:
space:
mode:
authorSven Schnelle <svens@stackframe.org>2019-03-11 20:15:59 +0100
committerRichard Henderson <richard.henderson@linaro.org>2019-03-12 09:13:43 -0700
commit38188fd216cf139e88459296cb42400b5a039f79 (patch)
tree192cdfdf60c0cc77166723c632dd8c72628141a6 /target/hppa
parent6e5f530025116b0c8c41e1a775d4b1ec87e4bd73 (diff)
target/hppa: allow multiple itlbp without itlba
The ODE software calls itlbp on existing TLB entries without calling itlba first, so this seems to be valid. Signed-off-by: Sven Schnelle <svens@stackframe.org> Message-Id: <20190311191602.25796-9-svens@stackframe.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/hppa')
-rw-r--r--target/hppa/mem_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/hppa/mem_helper.c b/target/hppa/mem_helper.c
index d32ae6e7d9..a69cca9c5d 100644
--- a/target/hppa/mem_helper.c
+++ b/target/hppa/mem_helper.c
@@ -278,7 +278,7 @@ void HELPER(itlbp)(CPUHPPAState *env, target_ulong addr, target_ureg reg)
{
hppa_tlb_entry *ent = hppa_find_tlb(env, addr);
- if (unlikely(ent == NULL || ent->entry_valid)) {
+ if (unlikely(ent == NULL)) {
qemu_log_mask(LOG_GUEST_ERROR, "ITLBP not following ITLBA\n");
return;
}