/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | smap.h | 14 #include <asm/alternative.h> 25 ALTERNATIVE "", __ASM_CLAC, X86_FEATURE_SMAP 28 ALTERNATIVE "", __ASM_STAC, X86_FEATURE_SMAP 43 /* Note: a barrier is implicit in alternative() */ in clac() 44 alternative("", __ASM_CLAC, X86_FEATURE_SMAP); in clac() 49 /* Note: a barrier is implicit in alternative() */ in stac() 50 alternative("", __ASM_STAC, X86_FEATURE_SMAP); in stac() 58 ALTERNATIVE("jmp 1f", "", X86_FEATURE_SMAP) in smap_save() 69 ALTERNATIVE("jmp 1f", "", X86_FEATURE_SMAP) in smap_restore() 77 ALTERNATIVE("", __ASM_CLAC, X86_FEATURE_SMAP) [all …]
|
D | alternative.h | 17 * Alternative inline assembly for SMP. 27 * The SMP alternative tables can be kept after boot and contain both 71 * Debug flag that can be tested to see whether alternative 128 * Pad the second replacement alternative with additional NOPs if it is 129 * additionally longer than the first replacement alternative. 160 /* alternative assembly primitive: */ 161 #define ALTERNATIVE(oldinstr, newinstr, feature) \ macro 200 * Alternative instructions for different CPU types or capabilities. 211 #define alternative(oldinstr, newinstr, feature) \ macro 212 asm_inline volatile (ALTERNATIVE(oldinstr, newinstr, feature) : : : "memory") [all …]
|
D | barrier.h | 5 #include <asm/alternative.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", \ 52 #define barrier_nospec() alternative("", "lfence", X86_FEATURE_LFENCE_RDTSC)
|
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()
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
D | altnames.sh | 21 check_err $? "Failed to add short alternative name" 24 check_err $? "Failed to do link show with short alternative name" 27 check_err $? "Failed to get short alternative name from link show JSON" 30 check_err $? "Got unexpected short alternative name from link show JSON" 36 check_err $? "Failed to add long alternative name" 39 check_err $? "Failed to do link show with long alternative name" 42 check_err $? "Failed to get long alternative name from link show JSON" 45 check_err $? "Got unexpected long alternative name from link show JSON" 48 check_err $? "Failed to delete short alternative name" 51 check_fail $? "Unexpected success while trying to do link show with deleted short alternative name"
|
/kernel/linux/linux-5.10/arch/parisc/include/asm/ |
D | cache.h | 9 #include <asm/alternative.h> 43 ALTERNATIVE(ALT_COND_NO_SMP, INSN_PxTLB) \ 46 ALTERNATIVE(ALT_COND_NO_SMP, INSN_PxTLB) \ 47 ALTERNATIVE(ALT_COND_NO_SPLIT_TLB, INSN_NOP) \ 50 ALTERNATIVE(ALT_COND_NO_SMP, INSN_PxTLB) \ 54 ALTERNATIVE(ALT_COND_NO_DCACHE, INSN_NOP) \ 55 ALTERNATIVE(ALT_COND_NO_IOC_FDC, INSN_NOP) \ 58 ALTERNATIVE(ALT_COND_NO_DCACHE, INSN_NOP) \ 59 ALTERNATIVE(ALT_COND_NO_IOC_FDC, INSN_NOP) :::"memory")
|
D | alternative.h | 35 /* Alternative SMP implementation. */ 36 #define ALTERNATIVE(cond, replacement) "!0:" \ macro 45 #define ALTERNATIVE(from, to, cond, replacement)\ macro
|
/kernel/linux/linux-5.10/arch/arm64/include/asm/ |
D | alternative-macros.h | 31 * alternative assembly primitive: 107 * Alternative sequences 121 * alternative sequence it is defined in (branches into an 122 * alternative sequence are not fixed up). 126 * Begin an alternative code sequence. 155 * Provide the other half of the alternative code sequence. 168 * Complete an alternative code sequence. 180 * Callback-based alternative epilogue 187 * Provides a trivial alternative or default sequence consisting solely 267 * Usage: asm(ALTERNATIVE(oldinstr, newinstr, feature)); [all …]
|
D | irqflags.h | 8 #include <asm/alternative.h> 37 asm volatile(ALTERNATIVE( in arch_local_irq_enable() 56 asm volatile(ALTERNATIVE( in arch_local_irq_disable() 72 asm volatile(ALTERNATIVE( in arch_local_save_flags() 87 asm volatile(ALTERNATIVE( in arch_irqs_disabled_flags() 124 asm volatile(ALTERNATIVE( in arch_local_irq_restore()
|
D | uaccess.h | 10 #include <asm/alternative.h> 47 asm(ALTERNATIVE("nop", SET_PSTATE_UAO(1), ARM64_HAS_UAO)); in set_fs() 49 asm(ALTERNATIVE("nop", SET_PSTATE_UAO(0), ARM64_HAS_UAO, in set_fs() 179 asm(ALTERNATIVE("nop", SET_PSTATE_PAN(0), ARM64_HAS_PAN, in __uaccess_disable_hw_pan() 185 asm(ALTERNATIVE("nop", SET_PSTATE_PAN(1), ARM64_HAS_PAN, in __uaccess_enable_hw_pan() 192 asm(ALTERNATIVE("nop", SET_PSTATE_PAN(1), alt, \ 199 asm(ALTERNATIVE("nop", SET_PSTATE_PAN(0), alt, \ 258 "1:"ALTERNATIVE(instr " " reg "1, [%2]\n", \ 323 "1:"ALTERNATIVE(instr " " reg "1, [%2]\n", \
|
D | kvm_hyp.h | 12 #include <asm/alternative.h> 21 asm volatile(ALTERNATIVE(__mrs_s("%0", r##nvh), \ 31 asm volatile(ALTERNATIVE(__msr_s(r##nvh, "%x0"), \
|
D | io.h | 18 #include <asm/alternative.h> 52 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()
|
D | lse.h | 15 #include <asm/alternative.h> 37 ALTERNATIVE(llsc, __LSE_PREAMBLE lse, ARM64_HAS_LSE_ATOMICS)
|
D | rwonce.h | 11 #include <asm/alternative-macros.h> 17 ALTERNATIVE( \
|
/kernel/linux/linux-5.10/arch/s390/include/asm/ |
D | alternative.h | 36 * | alternative instr 1 | 39 * | alternative instr 2 | padding 46 * | alternative instr | 108 /* alternative assembly primitive: */ 109 #define ALTERNATIVE(oldinstr, altinstr, facility) \ macro 130 * Alternative instructions for different CPU types or capabilities. 141 #define alternative(oldinstr, altinstr, facility) \ macro 142 asm_inline volatile(ALTERNATIVE(oldinstr, altinstr, facility) : : : "memory")
|
D | alternative-asm.h | 62 * Define an alternative between two instructions. If @feature is 67 .macro ALTERNATIVE oldinstr, newinstr, feature 81 * Define an alternative between two instructions. If @feature is
|
D | nospec-insn.h | 5 #include <asm/alternative-asm.h> 111 # The ALTERNATIVE replacement code has a .+10 which targets 118 ALTERNATIVE "ex %r0,_LC_BR_R1", ".insn ril,0xc60000000000,0,.+10", 35
|
/kernel/linux/linux-5.10/arch/x86/um/asm/ |
D | barrier.h | 5 #include <asm/alternative.h> 14 #define mb() alternative("lock; addl $0,0(%%esp)", "mfence", X86_FEATURE_XMM2) 15 #define rmb() alternative("lock; addl $0,0(%%esp)", "lfence", X86_FEATURE_XMM2) 16 #define wmb() alternative("lock; addl $0,0(%%esp)", "sfence", X86_FEATURE_XMM)
|
/kernel/linux/linux-5.10/arch/x86/entry/ |
D | calling.h | 188 ALTERNATIVE "", "SET_NOFLUSH_BIT \reg", X86_FEATURE_PCID 194 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_PTI 205 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_PTI 208 ALTERNATIVE "jmp .Lwrcr3_\@", "", X86_FEATURE_PCID 245 ALTERNATIVE "jmp .Ldone_\@", "", X86_FEATURE_PTI 263 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_PTI 265 ALTERNATIVE "jmp .Lwrcr3_\@", "", X86_FEATURE_PCID 327 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_KERNEL_IBRS 356 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_KERNEL_IBRS 384 ALTERNATIVE "", "lfence", X86_FEATURE_FENCE_SWAPGS_USER [all …]
|
/kernel/linux/linux-5.10/arch/parisc/kernel/ |
D | pacache.S | 26 #include <asm/alternative.h> 106 ALTERNATIVE(88b, fitdone, ALT_COND_NO_SPLIT_TLB, INSN_NOP) 244 89: ALTERNATIVE(88b, 89b, ALT_COND_NO_ICACHE, INSN_NOP) 306 89: ALTERNATIVE(88b, 89b, ALT_COND_NO_DCACHE, INSN_NOP) 570 ALTERNATIVE(0b, 0b+4, ALT_COND_NO_SMP, INSN_PxTLB) 571 ALTERNATIVE(1b, 1b+4, ALT_COND_NO_SMP, INSN_PxTLB) 709 ALTERNATIVE(0b, 0b+4, ALT_COND_NO_SMP, INSN_PxTLB) 785 ALTERNATIVE(0b, 0b+4, ALT_COND_NO_SMP, INSN_PxTLB) 817 89: ALTERNATIVE(88b, 89b, ALT_COND_NO_DCACHE, INSN_NOP) 844 ALTERNATIVE(0b, 0b+4, ALT_COND_NO_SMP, INSN_PxTLB) [all …]
|
D | alternative.c | 3 * Alternative live-patching for parisc. 10 #include <asm/alternative.h> 81 pr_debug("ALTERNATIVE %3d: Cond %2x, Replace %2d instructions to 0x%08x @ 0x%px (%pS)\n", in apply_alternatives()
|
/kernel/linux/linux-5.10/arch/s390/kernel/ |
D | alternative.c | 3 #include <asm/alternative.h> 71 * alternative code can overwrite previously scanned alternative code. in __apply_alternatives()
|
/kernel/linux/linux-5.10/arch/x86/entry/vdso/vdso32/ |
D | system_call.S | 9 #include <asm/alternative.h> 60 ALTERNATIVE "", SYSENTER_SEQUENCE, X86_FEATURE_SEP
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hive_isp_css_include/host/ |
D | debug_public.h | 33 * An alternative (storage efficient) implementation 38 * in the remote buffer (unless the alternative
|
/kernel/linux/linux-5.10/arch/x86/lib/ |
D | memmove_64.S | 11 #include <asm/alternative.h> 42 ALTERNATIVE "cmp $0x20, %rdx; jb 1f", "", X86_FEATURE_FSRM 43 ALTERNATIVE "", "jmp .Lmemmove_erms", X86_FEATURE_ERMS
|