[PATCH stable v4.14 13/32] powerpc/fsl: Add barrier_nospec implementation for NXP PowerPC Book3E

Joakim Tjernlund Joakim.Tjernlund at infinera.com
Sat Mar 30 03:22:03 AEDT 2019


On Fri, 2019-03-29 at 22:26 +1100, Michael Ellerman wrote:
> 
> From: Diana Craciun <diana.craciun at nxp.com>
> 
> commit ebcd1bfc33c7a90df941df68a6e5d4018c022fba upstream.
> 
> Implement the barrier_nospec as a isync;sync instruction sequence.
> The implementation uses the infrastructure built for BOOK3S 64.
> 
> Signed-off-by: Diana Craciun <diana.craciun at nxp.com>
> [mpe: Split out of larger patch]
> Signed-off-by: Michael Ellerman <mpe at ellerman.id.au>

What is the performanc impact of these spectre fixes?
Can I compile it away?

  Jocke


More information about the Linuxppc-dev mailing list