Re: [PATCH for 4.9/4.14] powerpc: Fix incorrect stw{, ux, u, x} instructions in __set_pte_at

2021-01-13 Thread Sasha Levin
On Wed, Jan 13, 2021 at 07:12:44AM +, Christophe Leroy wrote: From: Mathieu Desnoyers Backport for 4.9 and 4.14 (cherry picked from commit d85be8a49e733dcd23674aa6202870d54bf5600d) The placeholder for instruction selection should use the second argument's operand, which is %1, not %0.

[PATCH for 4.9/4.14] powerpc: Fix incorrect stw{, ux, u, x} instructions in __set_pte_at

2021-01-12 Thread Christophe Leroy
From: Mathieu Desnoyers Backport for 4.9 and 4.14 (cherry picked from commit d85be8a49e733dcd23674aa6202870d54bf5600d) The placeholder for instruction selection should use the second argument's operand, which is %1, not %0. This could generate incorrect assembly code if the memory addressing