/openbmc/linux/arch/x86/include/asm/ |
H A D | smap.h | 14 #include <asm/alternative.h> 23 ALTERNATIVE "", __ASM_CLAC, X86_FEATURE_SMAP 26 ALTERNATIVE "", __ASM_STAC, X86_FEATURE_SMAP 32 /* Note: a barrier is implicit in alternative() */ in clac() 33 alternative("", __ASM_CLAC, X86_FEATURE_SMAP); in clac() 38 /* Note: a barrier is implicit in alternative() */ in stac() 39 alternative("", __ASM_STAC, X86_FEATURE_SMAP); in stac() 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) [all …]
|
H A D | alternative.h | 19 * Alternative inline assembly for SMP. 29 * The SMP alternative tables can be kept after boot and contain both 90 * Debug flag that can be tested to see whether alternative 178 * Pad the second replacement alternative with additional NOPs if it is 179 * additionally longer than the first replacement alternative. 210 /* alternative assembly primitive: */ 211 #define ALTERNATIVE(oldinstr, newinstr, ft_flags) \ macro 251 * Alternative instructions for different CPU types or capabilities. 262 #define alternative(oldinstr, newinstr, ft_flags) \ macro 263 asm_inline volatile (ALTERNATIVE(oldinstr, newinstr, ft_flags) : : : "memory") [all …]
|
H A 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)
|
H A D | uaccess_64.h | 11 #include <asm/alternative.h> 23 * in alternative instructions. The relocation gets wrong when gets in __untagged_addr() 26 asm (ALTERNATIVE("", in __untagged_addr() 114 ALTERNATIVE("rep movsb", in copy_user_generic() 176 ALTERNATIVE("rep stosb", in __clear_user()
|
/openbmc/openbmc/poky/meta/recipes-connectivity/avahi/files/ |
H A D | CVE-2023-38473.patch | 4 Subject: [PATCH] avahi: common: derive alternative host name from its 17 avahi-common/alternative-test.c | 3 +++ 18 avahi-common/alternative.c | 27 +++++++++++++++++++-------- 21 diff --git a/avahi-common/alternative-test.c b/avahi-common/alternative-test.c 23 --- a/avahi-common/alternative-test.c 24 +++ b/avahi-common/alternative-test.c 35 diff --git a/avahi-common/alternative.c b/avahi-common/alternative.c 37 --- a/avahi-common/alternative.c 38 +++ b/avahi-common/alternative.c 43 + char label[AVAHI_LABEL_MAX], alternative[AVAHI_LABEL_MAX*4+1]; [all …]
|
/openbmc/linux/tools/testing/selftests/net/ |
H A 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"
|
/openbmc/linux/arch/parisc/include/asm/ |
H A D | cache.h | 9 #include <asm/alternative.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")
|
/openbmc/linux/arch/s390/include/asm/ |
H A D | alternative.h | 30 * | alternative instr 1 | 33 * | alternative instr 2 | 39 * | alternative instr | 62 /* alternative assembly primitive: */ 63 #define ALTERNATIVE(oldinstr, altinstr, facility) \ macro 84 * Alternative instructions for different CPU types or capabilities. 95 #define alternative(oldinstr, altinstr, facility) \ macro 96 asm_inline volatile(ALTERNATIVE(oldinstr, altinstr, facility) : : : "memory") 102 /* Alternative inline assembly with input. */ 104 asm_inline volatile (ALTERNATIVE(oldinstr, newinstr, feature) \ [all …]
|
H A D | alternative-asm.h | 23 * Define an alternative between two instructions. If @feature is 27 .macro ALTERNATIVE oldinstr, newinstr, feature 38 * Define an alternative between two instructions. If @feature is
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | alternative-macros.h | 41 * alternative assembly primitive: 117 * Alternative sequences 131 * alternative sequence it is defined in (branches into an 132 * alternative sequence are not fixed up). 136 * Begin an alternative code sequence. 165 * Provide the other half of the alternative code sequence. 178 * Complete an alternative code sequence. 190 * Callback-based alternative epilogue 197 * Provides a trivial alternative or default sequence consisting solely 213 * Usage: asm(ALTERNATIVE(oldinstr, newinstr, cpucap)); [all …]
|
H A D | lse.h | 14 #include <asm/alternative.h> 15 #include <asm/alternative-macros.h> 33 ALTERNATIVE(llsc, __LSE_PREAMBLE lse, ARM64_HAS_LSE_ATOMICS)
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | alternative.h | 21 * Debug flag that can be tested to see whether alternative 50 * Pad the second replacement alternative with additional NOPs if it is 51 * additionally longer than the first replacement alternative. 70 /* alternative assembly primitive: */ 71 #define ALTERNATIVE(oldinstr, newinstr, feature) \ macro 92 * Alternative instructions for different CPU types or capabilities. 103 #define alternative(oldinstr, newinstr, feature) \ macro 104 (asm volatile (ALTERNATIVE(oldinstr, newinstr, feature) : : : "memory"))
|
/openbmc/openbmc/poky/meta/recipes-connectivity/inetutils/ |
H A D | inetutils_2.5.bb | 123 ALTERNATIVE:${PN} = "whois dnsdomainname" 128 ALTERNATIVE:${PN}-logger = "logger" 129 ALTERNATIVE:${PN}-syslogd = "syslogd" 132 ALTERNATIVE:${PN}-ftp = "ftp" 133 ALTERNATIVE:${PN}-ftpd = "ftpd" 134 ALTERNATIVE:${PN}-tftp = "tftp" 135 ALTERNATIVE:${PN}-tftpd = "tftpd" 139 ALTERNATIVE:${PN}-telnet = "telnet" 140 ALTERNATIVE:${PN}-telnetd = "telnetd" 144 ALTERNATIVE:${PN}-inetd= "inetd" [all …]
|
/openbmc/linux/arch/riscv/include/asm/ |
H A D | errata_list.h | 8 #include <asm/alternative.h> 35 ALTERNATIVE(__stringify(RISCV_PTR do_trap_insn_fault), \ 41 ALTERNATIVE(__stringify(RISCV_PTR do_page_fault), \ 48 asm(ALTERNATIVE("sfence.vma x0, %0", "sfence.vma", SIFIVE_VENDOR_ID, \ 53 asm(ALTERNATIVE("sfence.vma %0", "sfence.vma", SIFIVE_VENDOR_ID, \ 58 asm(ALTERNATIVE("sfence.vma %0, %1", "sfence.vma", SIFIVE_VENDOR_ID, \ 87 asm volatile(ALTERNATIVE( \ 164 asm volatile(ALTERNATIVE( \
|
H A D | alternative-macros.h | 19 .pushsection .alternative, "a" 70 ".pushsection .alternative, \"a\"\n" \ 140 * ALTERNATIVE(old_content, new_content, vendor_id, patch_id, CONFIG_k) 142 * asm(ALTERNATIVE(old_content, new_content, vendor_id, patch_id, CONFIG_k)); 151 #define ALTERNATIVE(old_content, new_content, vendor_id, patch_id, CONFIG_k) \ macro 156 * ALTERNATIVE() to patch its customized content at the same location. In 158 * on the following sample code and then replace ALTERNATIVE() with
|
/openbmc/linux/tools/testing/selftests/powerpc/pmu/event_code_tests/ |
H A D | event_alternatives_tests_p9.c | 34 * alternative events is handled by respective PMU driver in event_alternatives_tests_p9() 50 * Expected to pass since PM_RUN_CYC_ALT in PMC2 has alternative event in event_alternatives_tests_p9() 63 * Expected to pass since PM_INST_DISP in PMC2 has alternative event in event_alternatives_tests_p9() 76 * Expected to pass since PM_BR_2PATH in PMC2 has alternative event in event_alternatives_tests_p9() 89 * Expected to pass since PM_LD_MISS_L1 in PMC3 has alternative event in event_alternatives_tests_p9() 102 * Expected to pass since PM_RUN_INST_CMPL_ALT in PMC4 has alternative event in event_alternatives_tests_p9()
|
H A D | event_alternatives_tests_p10.c | 35 * alternative events is handled by respective PMU driver in event_alternatives_tests_p10() 44 * Test for event alternative for 0x0001e in event_alternatives_tests_p10() 65 * Expected to pass since 0x0001e has alternative event in event_alternatives_tests_p10() 93 * Expected to pass since 0x00020 has alternative event in event_alternatives_tests_p10()
|
/openbmc/linux/arch/x86/um/asm/ |
H A D | barrier.h | 6 #include <asm/alternative.h> 15 #define mb() alternative("lock; addl $0,0(%%esp)", "mfence", X86_FEATURE_XMM2) 16 #define rmb() alternative("lock; addl $0,0(%%esp)", "lfence", X86_FEATURE_XMM2) 17 #define wmb() alternative("lock; addl $0,0(%%esp)", "sfence", X86_FEATURE_XMM)
|
/openbmc/openbmc/poky/meta/recipes-extended/procps/ |
H A D | procps_4.0.4.bb | 61 ALTERNATIVE:${PN} = "${bindir_progs} ${base_bindir_progs} ${base_sbindir_progs}" 63 ALTERNATIVE:${PN}-doc = "kill.1 uptime.1" 89 ALTERNATIVE:${PN}:remove = "ps" 90 ALTERNATIVE:${PN}:remove = "sysctl" 92 ALTERNATIVE:${PN}-ps = "ps" 96 ALTERNATIVE:${PN}-sysctl = "sysctl"
|
/openbmc/linux/arch/x86/entry/ |
H A D | calling.h | 162 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 …]
|
/openbmc/linux/arch/s390/kernel/ |
H A D | alternative.c | 6 #include <asm/alternative.h> 28 * alternative code can overwrite previously scanned alternative code. in __apply_alternatives()
|
H A D | entry.S | 15 #include <asm/alternative-asm.h> 35 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 [all …]
|
/openbmc/openbmc/poky/meta/classes-recipe/ |
H A D | update-alternatives.bbclass | 15 # ALTERNATIVE:<pkg> = "name1 name2 name3 ..." 17 # i.e. ALTERNATIVE:busybox = "sh sed test bracket" 53 # the need to rename alternative files in the do_install step, but still 72 UPDALTVARS = "ALTERNATIVE ALTERNATIVE_LINK_NAME ALTERNATIVE_TARGET ALTERNATIVE_PRIORITY" 165 for alt_name in (d.getVar('ALTERNATIVE:%s' % pkg) or "").split(): 196 …bb.warn("%s: alternative target (%s or %s) does not exist, skipping..." % (pn, alt_target, alt_tar… 242 for alt_name in (d.getVar('ALTERNATIVE:%s' % pkg) or "").split(): 260 … bb.warn('%s: NOT adding alternative provide %s: %s does not exist' % (pn, alt_link, alt_target)) 316 for alt_name in (d.getVar('ALTERNATIVE:%s' % pkg) or "").split():
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/esmtp/ |
H A D | esmtp_1.2.bb | 23 ALTERNATIVE:${PN} = "sendmail mailq newaliases" 25 ALTERNATIVE:${PN}:linuxstdbase = "sendmail mailq newaliases usr-lib-sendmail" 35 ALTERNATIVE:${PN}-doc += "mailq.1 newaliases.1 sendmail.1"
|
/openbmc/openbmc/poky/meta/recipes-extended/tar/ |
H A D | tar_1.35.bb | 87 ALTERNATIVE:${PN} = "tar" 88 ALTERNATIVE:${PN}-rmt = "rmt" 89 ALTERNATIVE:${PN}:class-nativesdk = "" 90 ALTERNATIVE:${PN}-rmt:class-nativesdk = ""
|