]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
target/ppc: Expect page translation hash addresses to be aligned
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 22 Jan 2026 17:43:50 +0000 (18:43 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 3 Feb 2026 13:57:33 +0000 (14:57 +0100)
The page translation hash addresses are aligned:
remove the misleading MO_UNALN flag.

Reported-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Anton Johansson <anjo@rev.ng>
Message-Id: <20260202210106.93257-5-philmd@linaro.org>

target/ppc/tcg-excp_helper.c

index 6f5d82af636c20f27971116023dd02ce1abc2409..a8c67364669f91ba312c0634e78ed51ef30c8185 100644 (file)
@@ -161,7 +161,7 @@ static void do_hash(CPUPPCState *env, target_ulong ea, target_ulong ra,
 {
     uint64_t calculated_hash = hash_digest(ra, rb, key), loaded_hash;
     unsigned mmu_idx = cpu_mmu_index(env_cpu(env), false);
-    MemOp op = MO_TE | MO_UQ | MO_UNALN;
+    MemOp op = MO_TE | MO_UQ;
     MemOpIdx oi = make_memop_idx(op, mmu_idx);
     uintptr_t retaddr = GETPC();