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

2018-12-22 Thread Michael Ellerman
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 > t

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

2018-12-12 Thread Diana Craciun
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 dep