/linux-6.12.1/arch/parisc/include/asm/ |
D | cache.h | 53 ALTERNATIVE(ALT_COND_NO_SMP, INSN_PxTLB) \ 56 ALTERNATIVE(ALT_COND_NO_SMP, INSN_PxTLB) \ 57 ALTERNATIVE(ALT_COND_NO_SPLIT_TLB, INSN_NOP) \ 61 ALTERNATIVE(ALT_COND_NO_DCACHE, INSN_NOP) \ 62 ALTERNATIVE(ALT_COND_NO_IOC_FDC, INSN_NOP) \ 65 ALTERNATIVE(ALT_COND_NO_DCACHE, INSN_NOP) \ 66 ALTERNATIVE(ALT_COND_NO_IOC_FDC, INSN_NOP) :::"memory")
|
D | alternative.h | 36 #define ALTERNATIVE(cond, replacement) "!0:" \ macro 47 #define ALTERNATIVE(from, to, cond, replacement)\ macro
|
/linux-6.12.1/arch/x86/include/asm/ |
D | smap.h | 23 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)
|
D | alternative.h | 187 #define ALTERNATIVE(oldinstr, newinstr, ft_flags) \ macro 193 ALTERNATIVE(ALTERNATIVE(oldinstr, newinstr1, ft_flags1), newinstr2, ft_flags2) 201 ALTERNATIVE(ALTERNATIVE_2(oldinstr, newinstr1, ft_flags1, newinstr2, ft_flags2), \ 217 asm_inline volatile(ALTERNATIVE(oldinstr, newinstr, ft_flags) : : : "memory") 231 asm_inline volatile(ALTERNATIVE(oldinstr, newinstr, ft_flags) \ 236 asm_inline volatile(ALTERNATIVE(oldinstr, newinstr, ft_flags) \ 250 asm_inline volatile(ALTERNATIVE("call %c[old]", "call %c[new]", ft_flags) \ 363 .macro ALTERNATIVE oldinstr, newinstr, ft_flags
|
D | nospec-branch.h | 313 ALTERNATIVE "", \ 327 ALTERNATIVE "", "verw mds_verw_sel(%rip)", X86_FEATURE_CLEAR_CPU_BUF 334 ALTERNATIVE "", "verw %cs:mds_verw_sel", X86_FEATURE_CLEAR_CPU_BUF 340 ALTERNATIVE "", "call clear_bhb_loop", X86_FEATURE_CLEAR_BHB_LOOP 344 ALTERNATIVE "", "call clear_bhb_loop", X86_FEATURE_CLEAR_BHB_LOOP_ON_VMEXIT 405 ALTERNATIVE("", \ 524 asm volatile(ALTERNATIVE("", "wrmsr", %c[feature]) in alternative_msr_write()
|
D | barrier.h | 15 #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", \
|
D | arch_hweight.h | 19 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()
|
D | uaccess_64.h | 29 asm (ALTERNATIVE("", in __untagged_addr() 128 ALTERNATIVE("rep movsb", in copy_user_generic() 190 ALTERNATIVE("rep stosb", in __clear_user()
|
/linux-6.12.1/arch/riscv/include/asm/ |
D | errata_list.h | 34 ALTERNATIVE(__stringify(RISCV_PTR do_trap_insn_fault), \ 40 ALTERNATIVE(__stringify(RISCV_PTR do_page_fault), \ 47 asm(ALTERNATIVE("sfence.vma x0, %0", "sfence.vma", SIFIVE_VENDOR_ID, \ 52 asm(ALTERNATIVE("sfence.vma %0", "sfence.vma", SIFIVE_VENDOR_ID, \ 57 asm(ALTERNATIVE("sfence.vma %0, %1", "sfence.vma", SIFIVE_VENDOR_ID, \ 86 asm volatile(ALTERNATIVE( \ 107 asm volatile(ALTERNATIVE( \
|
D | bitops.h | 50 asm goto(ALTERNATIVE("j %l[legacy]", "nop", 0, in variable__ffs() 79 asm goto(ALTERNATIVE("j %l[legacy]", "nop", 0, in variable__fls() 108 asm goto(ALTERNATIVE("j %l[legacy]", "nop", 0, in variable_ffs() 140 asm goto(ALTERNATIVE("j %l[legacy]", "nop", 0, in variable_fls()
|
D | arch_hweight.h | 23 asm goto(ALTERNATIVE("j %l[legacy]", "nop", 0, in __arch_hweight32() 54 asm goto(ALTERNATIVE("j %l[legacy]", "nop", 0, in __arch_hweight64()
|
/linux-6.12.1/arch/x86/entry/ |
D | calling.h | 167 ALTERNATIVE "", "SET_NOFLUSH_BIT \reg", X86_FEATURE_PCID 173 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_PTI 186 ALTERNATIVE "jmp .Lwrcr3_\@", "", X86_FEATURE_PCID 216 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_PTI 222 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_PTI 230 ALTERNATIVE "jmp .Ldone_\@", "", X86_FEATURE_PTI 249 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_PTI 259 ALTERNATIVE "jmp .Lwrcr3_\@", "", X86_FEATURE_PCID 306 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_KERNEL_IBRS 335 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_KERNEL_IBRS [all …]
|
D | entry_64.S | 130 ALTERNATIVE "testb %al, %al; jz swapgs_restore_regs_and_return_to_usermode", \ 254 ALTERNATIVE "jmp swapgs_restore_regs_and_return_to_usermode", \ 298 ALTERNATIVE "call error_entry; movq %rax, %rsp", \ 563 ALTERNATIVE "", "jmp xenpv_restore_regs_and_return_to_usermode", X86_FEATURE_XENPV 566 ALTERNATIVE "", "jmp .Lpti_restore_regs_and_return_to_usermode", X86_FEATURE_PTI 751 2: ALTERNATIVE "", "mfence", X86_BUG_SWAPGS_FENCE 764 ALTERNATIVE "", "ZAP_GS", X86_BUG_NULL_SEG 898 ALTERNATIVE "jmp .Lparanoid_entry_checkgs", "", X86_FEATURE_FSGSBASE 984 ALTERNATIVE "jmp .Lparanoid_exit_checkgs", "", X86_FEATURE_FSGSBASE 1420 ALTERNATIVE "jmp nmi_no_fsgsbase", "", X86_FEATURE_FSGSBASE
|
/linux-6.12.1/arch/s390/include/asm/ |
D | alternative.h | 130 #define ALTERNATIVE(oldinstr, altinstr, feature) \ macro 163 asm_inline volatile(ALTERNATIVE(oldinstr, altinstr, feature) : : : "memory") 171 asm_inline volatile (ALTERNATIVE(oldinstr, newinstr, feature) \ 176 asm_inline volatile(ALTERNATIVE(oldinstr, altinstr, feature) \ 208 .macro ALTERNATIVE oldinstr, newinstr, feature
|
D | lowcore.h | 226 asm(ALTERNATIVE("llilh %[lc],0", "llilh %[lc],%[alt]", ALT_LOWCORE) in get_lowcore() 242 ALTERNATIVE "llilh \reg,0", \ 248 ALTERNATIVE "stmg \start, \end, \savearea", \
|
/linux-6.12.1/arch/arm64/include/asm/ |
D | arch_timer.h | 69 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()
|
D | alternative-macros.h | 219 #define ALTERNATIVE(oldinstr, newinstr, ...) \ macro 234 ALTERNATIVE("b %l[l_no]", "nop", %[cpucap]) 255 ALTERNATIVE("nop", "b %l[l_yes]", %[cpucap]) in alternative_has_cap_unlikely()
|
D | io.h | 56 asm volatile(ALTERNATIVE("ldrb %w0, [%1]", in __raw_readb() 68 asm volatile(ALTERNATIVE("ldrh %w0, [%1]", in __raw_readw() 79 asm volatile(ALTERNATIVE("ldr %w0, [%1]", in __raw_readl() 90 asm volatile(ALTERNATIVE("ldr %0, [%1]", in __raw_readq()
|
D | mte-kasan.h | 56 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()
|
/linux-6.12.1/tools/include/asm/ |
D | alternative.h | 7 .macro ALTERNATIVE oldinstr, newinstr, feature 15 #define ALTERNATIVE # macro
|
/linux-6.12.1/arch/s390/kernel/ |
D | entry.S | 36 ALTERNATIVE "nop", ".insn s,0xb2010000,\address", ALT_FACILITY(193) 40 ALTERNATIVE "nop", ".insn s,0xb2000000,\address", ALT_FACILITY(193) 51 ALTERNATIVE "brcl 0,0", __stringify(mvc __PT_LAST_BREAK(8,\reg),__LC_LAST_BREAK(\lowcore)),\ 108 ALTERNATIVE "nop", ".insn rrf,0xb2e80000,0,0,12,0", ALT_SPEC(82) 112 ALTERNATIVE "nop", ".insn rrf,0xb2e80000,0,0,13,0", ALT_SPEC(82) 116 ALTERNATIVE "TSTMSK \tif_ptr,\tif_mask; jz .+8; .insn rrf,0xb2e80000,0,0,13,0", \ 122 ALTERNATIVE "jz .+8; .insn rrf,0xb2e80000,0,0,12,0", \ 178 ALTERNATIVE "nop", "lpp _LPP_OFFSET(%r13)", ALT_FACILITY(40)
|
/linux-6.12.1/arch/parisc/kernel/ |
D | pacache.S | 106 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.12.1/arch/s390/kernel/vdso64/ |
D | vgetrandom-chacha.S | 50 ALTERNATIVE __stringify(VL BEPERM,16,,%r1), "brcl 0,0", ALT_FACILITY(148) 133 ALTERNATIVE \ 172 ALTERNATIVE "nopr", "br %r14", ALT_FACILITY(148)
|
/linux-6.12.1/arch/riscv/lib/ |
D | csum.c | 56 asm goto(ALTERNATIVE("j %l[no_zbb]", "nop", 0, in csum_ipv6_magic() 173 asm goto(ALTERNATIVE("j %l[no_zbb]", "nop", 0, in do_csum_with_alignment() 260 asm goto(ALTERNATIVE("j %l[no_zbb]", "nop", 0, in do_csum_no_alignment()
|
/linux-6.12.1/arch/loongarch/include/asm/ |
D | alternative.h | 71 #define ALTERNATIVE(oldinstr, newinstr, feature) \ macro 104 (asm volatile (ALTERNATIVE(oldinstr, newinstr, feature) : : : "memory"))
|