Subject: Re: [2/2] powerpc: Fix emulation of mfocrf in emulate_step()

From: Michael Ellerman <[email-masked]>
Date: Thu, 13 Jul 2017 22:46:40 +1000 (AEST)

On Wed, 2017-06-14 at 23:46:39 UTC, Anton Blanchard wrote:
> From: Anton Blanchard <[email-masked]>
> 
> >From POWER4 onwards, mfocrf() only places the specified CR field into
> the destination GPR, and the rest of it is set to 0. The PowerPC AS
> from version 3.0 now requires this behaviour.
> 
> The emulation code currently puts the entire CR into the destination GPR.
> Fix it.
> 
> Cc: [email-masked]
> Signed-off-by: Anton Blanchard <[email-masked]>
> Acked-by: Naveen N. Rao <[email-masked]>

Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/64e756c55aa46fc18fd53e8f3598b7

cheers