Lines Matching +full:alternative +full:- +full:b
1 /* SPDX-License-Identifier: GPL-2.0 */
8 #include <asm/alternative.h>
9 #include <asm/asm-offsets.h>
10 #include <asm/nospec-branch.h>
65 #include <asm/GEN-for-each-reg.h>
72 #include <asm/GEN-for-each-reg.h>
94 #include <asm/GEN-for-each-reg.h>
101 #include <asm/GEN-for-each-reg.h>
120 #include <asm/GEN-for-each-reg.h>
127 #include <asm/GEN-for-each-reg.h>
137 * relocations for same-section JMPs and that breaks the returns
148 * - srso_alias_untrain_ret() is 2M aligned
149 * - srso_alias_safe_ret() is also in the same 2M page but bits 2, 8, 14
198 .skip 64 - (srso_safe_ret - srso_untrain_ret), 0xcc
230 /* Dummy for the alternative in CALL_UNTRAIN_RET. */
255 * Regarding alignment - the instructions which need to be untrained,
269 * from re-poisioning the BTB prediction.
272 .skip 64 - (retbleed_return_thunk - retbleed_untrain_ret), 0xcc
331 ALTERNATIVE JMP_RETBLEED_UNTRAIN_RET, JMP_SRSO_UNTRAIN_RET, X86_FEATURE_SRSO
343 * Keep the hotpath in a 16byte I-fetch for the non-debug
376 * If CFI paranoid is used then the ITS thunk starts with opcodes (0xea; jne 1b)
383 jne 1b
391 .skip 32 - (__x86_indirect_its_thunk_\reg - 1b), 0xcc /* skip to the next upper half */
399 #include <asm/GEN-for-each-reg.h>
420 * This function name is magical and is used by -mfunction-return=thunk-extern
427 * The ALTERNATIVE below adds a really loud warning to catch the case
438 ALTERNATIVE __stringify(ANNOTATE_UNRET_SAFE; ret), \