Home
last modified time | relevance | path

Searched refs:ALTERNATIVE (Results 1 – 25 of 31) sorted by relevance

12

/Linux-v4.19/arch/x86/include/asm/
Dsmap.h31 ALTERNATIVE "", __stringify(__ASM_CLAC), X86_FEATURE_SMAP
34 ALTERNATIVE "", __stringify(__ASM_STAC), X86_FEATURE_SMAP
63 ALTERNATIVE("", __stringify(__ASM_CLAC), X86_FEATURE_SMAP)
65 ALTERNATIVE("", __stringify(__ASM_STAC), X86_FEATURE_SMAP)
Dbarrier.h15 #define mb() asm volatile(ALTERNATIVE("lock; addl $0,-4(%%esp)", "mfence", \
17 #define rmb() asm volatile(ALTERNATIVE("lock; addl $0,-4(%%esp)", "lfence", \
19 #define wmb() asm volatile(ALTERNATIVE("lock; addl $0,-4(%%esp)", "sfence", \
Dalternative.h136 #define ALTERNATIVE(oldinstr, newinstr, feature) \ macro
169 asm volatile (ALTERNATIVE(oldinstr, newinstr, feature) : : : "memory")
186 asm volatile (ALTERNATIVE(oldinstr, newinstr, feature) \
205 asm volatile (ALTERNATIVE(oldinstr, newinstr, feature) \
210 asm volatile (ALTERNATIVE("call %P[old]", "call %P[new]", feature) \
Dnospec-branch.h144 ALTERNATIVE "jmp .Lskip_rsb_\@", \
173 ALTERNATIVE( \
187 ALTERNATIVE( \
243 ALTERNATIVE("jmp 910f",
255 asm volatile(ALTERNATIVE("", "wrmsr", %c[feature])
Darch_hweight.h27 asm (ALTERNATIVE("call __sw_hweight32", POPCNT32, X86_FEATURE_POPCNT) in __arch_hweight32()
55 asm (ALTERNATIVE("call __sw_hweight64", POPCNT64, X86_FEATURE_POPCNT) in __arch_hweight64()
Dkvm_para.h21 ALTERNATIVE(".byte 0x0f,0x01,0xc1", ".byte 0x0f,0x01,0xd9", X86_FEATURE_VMMCALL)
Dalternative-asm.h43 .macro ALTERNATIVE oldinstr, newinstr, feature
/Linux-v4.19/arch/x86/entry/
Dcalling.h207 ALTERNATIVE "", "SET_NOFLUSH_BIT \reg", X86_FEATURE_PCID
213 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_PTI
224 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_PTI
227 ALTERNATIVE "jmp .Lwrcr3_\@", "", X86_FEATURE_PCID
264 ALTERNATIVE "jmp .Ldone_\@", "", X86_FEATURE_PTI
282 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_PTI
284 ALTERNATIVE "jmp .Lwrcr3_\@", "", X86_FEATURE_PCID
Dentry_32.S161 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_PTI
171 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_PTI
192 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_PTI
301 ALTERNATIVE "jmp .Lswitched_\@", "", X86_FEATURE_PTI
320 ALTERNATIVE "jmp .Lend_\@", "", X86_BUG_ESPFIX
381 ALTERNATIVE "", "jmp .Lend_\@", X86_FEATURE_XENPV
538 ALTERNATIVE "", "jmp .Lend_\@", X86_FEATURE_XENPV
886 ALTERNATIVE "testl %eax, %eax; jz .Lsyscall_32_done", \
1146 ALTERNATIVE "pushl $do_general_protection", \
Dentry_64_compat.S141 ALTERNATIVE "testl %eax, %eax; jz .Lsyscall_32_done", \
259 ALTERNATIVE "testl %eax, %eax; jz .Lsyscall_32_done", \
/Linux-v4.19/arch/arm64/include/asm/
Duaccess.h60 asm(ALTERNATIVE("nop", SET_PSTATE_UAO(1), ARM64_HAS_UAO)); in set_fs()
62 asm(ALTERNATIVE("nop", SET_PSTATE_UAO(0), ARM64_HAS_UAO, in set_fs()
190 asm(ALTERNATIVE("nop", SET_PSTATE_PAN(0), ARM64_HAS_PAN, in __uaccess_disable_hw_pan()
196 asm(ALTERNATIVE("nop", SET_PSTATE_PAN(1), ARM64_HAS_PAN, in __uaccess_enable_hw_pan()
203 asm(ALTERNATIVE("nop", SET_PSTATE_PAN(1), alt, \
210 asm(ALTERNATIVE("nop", SET_PSTATE_PAN(0), alt, \
267 "1:"ALTERNATIVE(instr " " reg "1, [%2]\n", \
338 "1:"ALTERNATIVE(instr " " reg "1, [%2]\n", \
Dkvm_hyp.h30 asm volatile(ALTERNATIVE("mrs %0, " __stringify(r##nvh),\
40 asm volatile(ALTERNATIVE("msr " __stringify(r##nvh) ", %x0",\
54 asm volatile(ALTERNATIVE("mrs %0, " __stringify(r##_EL2),\
64 asm volatile(ALTERNATIVE("msr " __stringify(r##_EL2) ", %x0",\
116 asm volatile(ALTERNATIVE("nop \n", \
Dio.h67 asm volatile(ALTERNATIVE("ldrb %w0, [%1]", in __raw_readb()
79 asm volatile(ALTERNATIVE("ldrh %w0, [%1]", in __raw_readw()
90 asm volatile(ALTERNATIVE("ldr %w0, [%1]", in __raw_readl()
101 asm volatile(ALTERNATIVE("ldr %0, [%1]", in __raw_readq()
Dtlbflush.h41 ALTERNATIVE("nop\n nop", \
48 ALTERNATIVE("nop\n nop", \
Dlse.h36 ALTERNATIVE(llsc, lse, ARM64_HAS_LSE_ATOMICS)
Dpercpu.h27 asm volatile(ALTERNATIVE("msr tpidr_el1, %0", in set_my_cpu_offset()
41 asm(ALTERNATIVE("mrs %0, tpidr_el1", in __my_cpu_offset()
/Linux-v4.19/arch/s390/include/asm/
Dalternative.h109 #define ALTERNATIVE(oldinstr, altinstr, facility) \ macro
142 asm volatile(ALTERNATIVE(oldinstr, altinstr, facility) : : : "memory")
Dnospec-insn.h111 # The ALTERNATIVE replacement code has a .+10 which targets
118 ALTERNATIVE "ex %r0,_LC_BR_R1", ".insn ril,0xc60000000000,0,.+10", 35
Dalternative-asm.h67 .macro ALTERNATIVE oldinstr, newinstr, feature
Dspinlock.h93 ALTERNATIVE("", ".long 0xb2fa0070", 49) /* NIAI 7 */ in arch_spin_unlock()
/Linux-v4.19/arch/x86/entry/vdso/vdso32/
Dsystem_call.S60 ALTERNATIVE "", SYSENTER_SEQUENCE, X86_FEATURE_SEP
/Linux-v4.19/arch/s390/lib/
Dspinlock.c78 ALTERNATIVE("", ".long 0xb2fa0040", 49) /* NIAI 4 */ in arch_load_niai4()
89 ALTERNATIVE("", ".long 0xb2fa0080", 49) /* NIAI 8 */ in arch_cmpxchg_niai8()
/Linux-v4.19/arch/arm64/kernel/
Dprocess.c394 asm(ALTERNATIVE("nop", SET_PSTATE_UAO(1), ARM64_HAS_UAO)); in uao_thread_switch()
396 asm(ALTERNATIVE("nop", SET_PSTATE_UAO(0), ARM64_HAS_UAO)); in uao_thread_switch()
/Linux-v4.19/arch/x86/lib/
Dcopy_page_64.S17 ALTERNATIVE "jmp copy_page_regs", "", X86_FEATURE_REP_GOOD
/Linux-v4.19/arch/arm64/mm/
Dcontext.c251 asm(ALTERNATIVE("nop; nop; nop", in post_ttbr_update_workaround()

12