qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 1/4] gdbstub: Use specific MMU index when probing MTE addr


From: Richard Henderson
Subject: Re: [PATCH v2 1/4] gdbstub: Use specific MMU index when probing MTE addresses
Date: Wed, 21 Aug 2024 15:16:47 +1000
User-agent: Mozilla Thunderbird

On 8/8/24 15:15, Gustavo Romero wrote:
@@ -458,8 +459,10 @@ static void handle_q_memtag(GArray *params, void *user_ctx)
          gdb_put_packet("E03");
      }
+ /* Find out the current translation regime for probe. */
+    mmu_index = cpu_mmu_index(env_cpu(env), false) & ARM_MMU_IDX_COREIDX_MASK;

No need for mask, that's part of the core tcg interface.

With this and the two other copies fixed,
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]