[PATCH 35/35] x86/nospec: Add static assertions

2018-01-18 Thread Peter Zijlstra
These sites must not end up under dynamic conditions because then it could be speculated across. Ensure objtools verifies this. Signed-off-by: Peter Zijlstra (Intel) --- arch/x86/include/asm/nospec-branch.h | 19 +++ 1 file changed, 15 insertions(+), 4

[PATCH 35/35] x86/nospec: Add static assertions

2018-01-18 Thread Peter Zijlstra
These sites must not end up under dynamic conditions because then it could be speculated across. Ensure objtools verifies this. Signed-off-by: Peter Zijlstra (Intel) --- arch/x86/include/asm/nospec-branch.h | 19 +++ 1 file changed, 15 insertions(+), 4 deletions(-) ---