Home
last modified time | relevance | path

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

123

/linux-6.6.21/arch/parisc/include/asm/
Dcache.h44 ALTERNATIVE(ALT_COND_NO_SMP, INSN_PxTLB) \
47 ALTERNATIVE(ALT_COND_NO_SMP, INSN_PxTLB) \
48 ALTERNATIVE(ALT_COND_NO_SPLIT_TLB, INSN_NOP) \
52 ALTERNATIVE(ALT_COND_NO_DCACHE, INSN_NOP) \
53 ALTERNATIVE(ALT_COND_NO_IOC_FDC, INSN_NOP) \
56 ALTERNATIVE(ALT_COND_NO_DCACHE, INSN_NOP) \
57 ALTERNATIVE(ALT_COND_NO_IOC_FDC, INSN_NOP) :::"memory")
Dalternative.h36 #define ALTERNATIVE(cond, replacement) "!0:" \ macro
47 #define ALTERNATIVE(from, to, cond, replacement)\ macro
/linux-6.6.21/arch/x86/include/asm/
Dsmap.h23 ALTERNATIVE "", __ASM_CLAC, X86_FEATURE_SMAP
26 ALTERNATIVE "", __ASM_STAC, X86_FEATURE_SMAP
47 ALTERNATIVE("", "pushf; pop %0; " __ASM_CLAC "\n\t", in smap_save()
57 ALTERNATIVE("", "push %0; popf\n\t", in smap_restore()
64 ALTERNATIVE("", __ASM_CLAC, X86_FEATURE_SMAP)
66 ALTERNATIVE("", __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", \
Duaccess_64.h26 asm (ALTERNATIVE("", in __untagged_addr()
114 ALTERNATIVE("rep movsb", in copy_user_generic()
176 ALTERNATIVE("rep stosb", in __clear_user()
Darch_hweight.h19 asm (ALTERNATIVE("call __sw_hweight32", "popcntl %1, %0", X86_FEATURE_POPCNT) in __arch_hweight32()
47 asm (ALTERNATIVE("call __sw_hweight64", "popcntq %1, %0", X86_FEATURE_POPCNT) in __arch_hweight64()
Dalternative.h211 #define ALTERNATIVE(oldinstr, newinstr, ft_flags) \ macro
263 asm_inline volatile (ALTERNATIVE(oldinstr, newinstr, ft_flags) : : : "memory")
280 asm_inline volatile (ALTERNATIVE(oldinstr, newinstr, ft_flags) \
299 asm_inline volatile (ALTERNATIVE(oldinstr, newinstr, ft_flags) \
304 asm_inline volatile (ALTERNATIVE("call %P[old]", "call %P[new]", ft_flags) \
379 .macro ALTERNATIVE oldinstr, newinstr, ft_flags
Dnospec-branch.h327 ALTERNATIVE "", \
340 ALTERNATIVE "", __stringify(verw _ASM_RIP(mds_verw_sel)), X86_FEATURE_CLEAR_CPU_BUF
384 ALTERNATIVE("", \
503 asm volatile(ALTERNATIVE("", "wrmsr", %c[feature]) in alternative_msr_write()
/linux-6.6.21/arch/x86/entry/
Dcalling.h162 ALTERNATIVE "", "SET_NOFLUSH_BIT \reg", X86_FEATURE_PCID
168 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_PTI
179 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_PTI
182 ALTERNATIVE "jmp .Lwrcr3_\@", "", X86_FEATURE_PCID
219 ALTERNATIVE "jmp .Ldone_\@", "", X86_FEATURE_PTI
237 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_PTI
239 ALTERNATIVE "jmp .Lwrcr3_\@", "", X86_FEATURE_PCID
301 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_KERNEL_IBRS
330 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_KERNEL_IBRS
358 ALTERNATIVE "", "lfence", X86_FEATURE_FENCE_SWAPGS_USER
[all …]
Dentry_64.S129 ALTERNATIVE "", "jmp swapgs_restore_regs_and_return_to_usermode", \
150 ALTERNATIVE "shl $(64 - 48), %rcx; sar $(64 - 48), %rcx", \
353 ALTERNATIVE "call error_entry; movq %rax, %rsp", \
633 ALTERNATIVE "", "jmp xenpv_restore_regs_and_return_to_usermode", X86_FEATURE_XENPV
803 2: ALTERNATIVE "", "mfence", X86_BUG_SWAPGS_FENCE
816 ALTERNATIVE "", "ZAP_GS", X86_BUG_NULL_SEG
950 ALTERNATIVE "jmp .Lparanoid_entry_checkgs", "", X86_FEATURE_FSGSBASE
1036 ALTERNATIVE "jmp .Lparanoid_exit_checkgs", "", X86_FEATURE_FSGSBASE
1475 ALTERNATIVE "jmp nmi_no_fsgsbase", "", X86_FEATURE_FSGSBASE
Dentry_64_compat.S122 ALTERNATIVE "testl %eax, %eax; jz swapgs_restore_regs_and_return_to_usermode", \
216 ALTERNATIVE "testl %eax, %eax; jz swapgs_restore_regs_and_return_to_usermode", \
Dentry_32.S58 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_PTI
68 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_PTI
89 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_PTI
290 ALTERNATIVE "jmp .Lswitched_\@", "", X86_FEATURE_PTI
310 ALTERNATIVE "jmp .Lend_\@", "", X86_BUG_ESPFIX
/linux-6.6.21/arch/riscv/include/asm/
Derrata_list.h35 ALTERNATIVE(__stringify(RISCV_PTR do_trap_insn_fault), \
41 ALTERNATIVE(__stringify(RISCV_PTR do_page_fault), \
48 asm(ALTERNATIVE("sfence.vma %0", "sfence.vma", SIFIVE_VENDOR_ID, \
77 asm volatile(ALTERNATIVE( \
154 asm volatile(ALTERNATIVE( \
Dhwcap.h102 ALTERNATIVE("j %l[l_no]", "nop", 0, %[ext], 1) in riscv_has_extension_likely()
125 ALTERNATIVE("nop", "j %l[l_yes]", 0, %[ext], 1) in riscv_has_extension_unlikely()
/linux-6.6.21/arch/s390/include/asm/
Dalternative.h63 #define ALTERNATIVE(oldinstr, altinstr, facility) \ macro
96 asm_inline volatile(ALTERNATIVE(oldinstr, altinstr, facility) : : : "memory")
104 asm_inline volatile (ALTERNATIVE(oldinstr, newinstr, feature) \
109 asm_inline volatile(ALTERNATIVE(oldinstr, altinstr, facility) \
/linux-6.6.21/arch/arm64/include/asm/
Darch_timer.h69 asm volatile(ALTERNATIVE("isb\n mrs %0, cntpct_el0", in arch_timer_read_cntpct_el0()
81 asm volatile(ALTERNATIVE("isb\n mrs %0, cntvct_el0", in arch_timer_read_cntvct_el0()
183 asm volatile(ALTERNATIVE("isb\n mrs %0, cntpct_el0", in __arch_counter_get_cntpct()
204 asm volatile(ALTERNATIVE("isb\n mrs %0, cntvct_el0", in __arch_counter_get_cntvct()
Dio.h52 asm volatile(ALTERNATIVE("ldrb %w0, [%1]", in __raw_readb()
64 asm volatile(ALTERNATIVE("ldrh %w0, [%1]", in __raw_readw()
75 asm volatile(ALTERNATIVE("ldr %w0, [%1]", in __raw_readl()
86 asm volatile(ALTERNATIVE("ldr %0, [%1]", in __raw_readq()
Dmte-kasan.h56 asm volatile(ALTERNATIVE("nop", SET_PSTATE_TCO(0), in mte_disable_tco()
62 asm volatile(ALTERNATIVE("nop", SET_PSTATE_TCO(1), in mte_enable_tco()
Dalternative-macros.h219 #define ALTERNATIVE(oldinstr, newinstr, ...) \ macro
251 ALTERNATIVE("nop", "b %l[l_yes]", %[cpucap]) in alternative_has_cap_unlikely()
Dkvm_hyp.h45 asm volatile(ALTERNATIVE(__mrs_s("%0", r##nvh), \
55 asm volatile(ALTERNATIVE(__msr_s(r##nvh, "%x0"), \
Dlse.h33 ALTERNATIVE(llsc, __LSE_PREAMBLE lse, ARM64_HAS_LSE_ATOMICS)
/linux-6.6.21/arch/s390/kernel/
Dentry.S35 ALTERNATIVE "nop", ".insn s,0xb2010000,\address", 193
39 ALTERNATIVE "nop", ".insn s,0xb2000000,\address", 193
43 ALTERNATIVE "b \lpswe; nopr", ".insn siy,0xeb0000000071,\address,0", 193
47 ALTERNATIVE "brcl 0,0", __stringify(mvc __PT_LAST_BREAK(8,\reg),__LC_LAST_BREAK), 193
103 ALTERNATIVE "nop", ".insn rrf,0xb2e80000,0,0,12,0", 82
107 ALTERNATIVE "nop", ".insn rrf,0xb2e80000,0,0,13,0", 82
111 ALTERNATIVE "TSTMSK \tif_ptr,\tif_mask; jz .+8; .insn rrf,0xb2e80000,0,0,13,0", \
117 ALTERNATIVE "jz .+8; .insn rrf,0xb2e80000,0,0,12,0", \
194 ALTERNATIVE "nop", "lpp _LPP_OFFSET", 40
/linux-6.6.21/arch/parisc/kernel/
Dpacache.S106 ALTERNATIVE(88b, fitdone, ALT_COND_NO_SPLIT_TLB, INSN_NOP)
244 89: ALTERNATIVE(88b, 89b, ALT_COND_NO_ICACHE, INSN_NOP)
305 89: ALTERNATIVE(88b, 89b, ALT_COND_NO_DCACHE, INSN_NOP)
548 ALTERNATIVE(0b, 0b+4, ALT_COND_NO_SMP, INSN_PxTLB)
549 ALTERNATIVE(1b, 1b+4, ALT_COND_NO_SMP, INSN_PxTLB)
677 ALTERNATIVE(0b, 0b+4, ALT_COND_NO_SMP, INSN_PxTLB)
743 ALTERNATIVE(0b, 0b+4, ALT_COND_NO_SMP, INSN_PxTLB)
775 89: ALTERNATIVE(88b, 89b, ALT_COND_NO_DCACHE, INSN_NOP)
792 ALTERNATIVE(0b, 0b+4, ALT_COND_NO_SMP, INSN_PxTLB)
824 89: ALTERNATIVE(88b, 89b, ALT_COND_NO_DCACHE, INSN_NOP)
[all …]
/linux-6.6.21/arch/loongarch/include/asm/
Dalternative.h71 #define ALTERNATIVE(oldinstr, newinstr, feature) \ macro
104 (asm volatile (ALTERNATIVE(oldinstr, newinstr, feature) : : : "memory"))
/linux-6.6.21/tools/include/asm/
Dalternative.h7 #define ALTERNATIVE # macro

123