Re: [patch 00/24] x86/speculation: Remedy the STIBP/IBPB overhead

From: Peter Zijlstra
Date: Thu Nov 22 2018 - 04:45:57 EST


On Wed, Nov 21, 2018 at 09:14:30PM +0100, Thomas Gleixner wrote:
> It's based on the x86/pti branch unfortunately, which contains the removal
> of the minimal asm retpoline hackery. I noticed too late. If the minimal
> asm stuff should not be backported it's trivial to rebase that series on
> Linus tree.

I see no problem with backporting those patches; the rationale for them
also holds for the stable trees, people really should have a retpoline
enabled compiler available by now.

Also, that minimal thing provided about as much protection as thinking
happy thoughts.