Re: [PATCH V2 9/9] x86/speculation: Remove all ANNOTATE_NOSPEC_ALTERNATIVE directives
From: Peter Zijlstra
Date: Tue Apr 07 2020 - 13:27:46 EST
On Tue, Apr 07, 2020 at 11:28:38AM -0500, Josh Poimboeuf wrote:
> Again, we should warn on stack changes inside alternatives, and then
> look at converting RSB and retpolines to use static branches so they
> have deterministic stacks.
I don't think we need static brancher, we should just out-of-line the
whole thing.
Let me sort this CFI error Thomas is getting and then I'll attempt a
patch along the lines I outlined in earlier emails.