[PATCH 0/4] objtool validation of static branches

From: Peter Zijlstra
Date: Mon Jan 15 2018 - 11:50:48 EST


Because dwmw2 is a wee bit paranoid and GCC has a history of being slightly
retarded at times; here are a few patches that validate it will in fact
generate sensible code for static branches.

With this I hope to take away dwmw2's concerns for hard relying on asm-goto.

With that, we can stop sprinkling LFENCE all over the place with the IBRS/IBPB
patches.