ppc: Fix BookE tlb entry reads
PATCH 1/1 ppc: Fix BookE tlb entry reads
commit 5823947f9f1e55fb6599c9ed769ce25cdec38355
Author: Edgar E. Iglesias <[email protected]> Date: Fri Jan 21 23:12:42 2011 +0100
ppc: Correct BookE tlb reads
Call the tlb read helper (and not the write helper) for tlb reads.
Signed-off-by Edgar E. Iglesias <[email protected]>
target-ppc/translate.c +1 -1
@@ -5874,7 +5874,7 @@ static void gen_tlbre_440(DisasContext *ctx)case 2 : {TCGv_i32 t0 =tcg_const_i32 (rB (ctx->opcode)); -gen_helper_440_tlbwe (t0, cpu_gpr[rD (ctx->opcode)], cpu_gpr[rA (ctx->opcode)]); +gen_helper_440_tlbre (cpu_gpr[rD (ctx->opcode)], t0, cpu_gpr[rA (ctx->opcode)]);tcg_temp_free_i32 (t0); }break ;
Quoted 10 lines · Edgar E. Iglesias
commit
5823947f9f1e55fb6599c9ed769ce25cdec38355Author: Edgar E. Iglesias <[email protected]> Date: Fri Jan 21 23:12:42 2011 +0100ppc: Correct BookE tlb reads
Call the tlb read helper (and not the write helper) for tlb reads.
Signed-off-by Edgar E. Iglesias <[email protected]>
Acked-by Alexander Graf <[email protected]>
Alex
Quoted 7 lines · Alexander Graf
Quoted 4 lines · Edgar E. Iglesias
commit
5823947f9f1e55fb6599c9ed769ce25cdec38355Author: Edgar E. Iglesias <[email protected]> Date: Fri Jan 21 23:12:42 2011 +0100
Quoted 8 lines
Quoted 6 lines
ppc: Correct BookE tlb reads
Call the tlb read helper (and not the write helper) for tlb reads.
Signed-off-by Edgar E. Iglesias <[email protected]>Acked-by Alexander Graf <[email protected]>
Thanks for the quick ack. Applied.
Cheers