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

Michael Ellerman mpe at ellerman.id.au
Wed Apr 3 11:53:52 AEDT 2019


Joakim Tjernlund <Joakim.Tjernlund at infinera.com> writes:
> On Tue, 2019-04-02 at 17:19 +1100, Michael Ellerman wrote:
>> Joakim Tjernlund <Joakim.Tjernlund at infinera.com> writes:
...
>> 
>> > Can I compile it away?
>> 
>> You can't actually, but you can disable it at runtime with
>> "nospectre_v1" on the kernel command line.
>> 
>> We could make it a user selectable compile time option if you really
>> want it to be.
>
> I think yes. Considering that these patches are fairly untested and the impact
> in the wild unknown. Requiring systems to change their boot config over night is
> too fast.

OK. Just to be clear, you're actually using 4.14 on an NXP board and
would actually use this option? I don't want to add another option just
for a theoretical use case.

cheers


More information about the Linuxppc-dev mailing list