Skip to content

Commit 5844cc2

Browse files
npigginmpe
authored andcommitted
powerpc/64s: Fix hash ISA v3.0 TLBIEL instruction generation
A typo has the R field of the instruction assigned by lucky dip a la register allocator. Fixes: d474827 ("powerpc/64s: Improve local TLB flush for boot and MCE on POWER9") Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20201126102530.691335-2-npiggin@gmail.com
1 parent b6b79dd commit 5844cc2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/powerpc/mm/book3s64/hash_native.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ static __always_inline void tlbiel_hash_set_isa300(unsigned int set, unsigned in
6868
rs = ((unsigned long)pid << PPC_BITLSHIFT(31));
6969

7070
asm volatile(PPC_TLBIEL(%0, %1, %2, %3, %4)
71-
: : "r"(rb), "r"(rs), "i"(ric), "i"(prs), "r"(r)
71+
: : "r"(rb), "r"(rs), "i"(ric), "i"(prs), "i"(r)
7272
: "memory");
7373
}
7474

0 commit comments

Comments
 (0)