Re: [PATCH V2 9/9] x86/speculation: Remove all ANNOTATE_NOSPEC_ALTERNATIVE directives
From: Josh Poimboeuf
Date: Tue Apr 07 2020 - 09:35:04 EST
On Tue, Apr 07, 2020 at 03:28:37PM +0200, Peter Zijlstra wrote:
> Josh, we should probably have objtool verify it doesn't emit ORC entries
> in alternative ranges.
Agreed, it might be as simple as checking for insn->alt_group in the
INSN_STACK check or in update_insn_state().
--
Josh