]> git.proxmox.com Git - mirror_qemu.git/commitdiff
target/hppa: allow multiple itlbp without itlba
authorSven Schnelle <svens@stackframe.org>
Mon, 11 Mar 2019 19:15:59 +0000 (20:15 +0100)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 12 Mar 2019 16:13:43 +0000 (09:13 -0700)
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>
target/hppa/mem_helper.c

index d32ae6e7d950b883ed2e58eeebb43f17c5d12c74..a69cca9c5d27c032510ee744ce18a76480cbc911 100644 (file)
@@ -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;
     }