[01/11] powerpc/fsl: Add infrastructure to fixup branch predictor flush

Michael Ellerman patch-notifications at ellerman.id.au
Sat Dec 22 20:54:44 AEDT 2018


On Wed, 2018-12-12 at 14:03:00 UTC, Diana Craciun wrote:
> In order to protect against speculation attacks (Spectre
> variant 2) on NXP PowerPC platforms, the branch predictor
> should be flushed when the privillege level is changed.
> This patch is adding the infrastructure to fixup at runtime
> the code sections that are performing the branch predictor flush
> depending on a boot arg parameter which is added later in a
> separate patch.
> 
> Signed-off-by: Diana Craciun <diana.craciun at nxp.com>

Series applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/76a5eaa38b15dda92cd6964248c39b

cheers


More information about the Linuxppc-dev mailing list