/linux-6.12.1/arch/s390/kernel/ |
D | nospec-branch.c | 105 u8 *instr, *thunk, *br; in __nospec_revert() local 119 thunk = instr + (long)(*(int *)(instr + 2)) * 2; in __nospec_revert() 120 if (thunk[0] == 0xc6 && thunk[1] == 0x00) in __nospec_revert() 122 br = thunk + (long)(*(int *)(thunk + 2)) * 2; in __nospec_revert()
|
/linux-6.12.1/arch/s390/tools/ |
D | gcc-thunk-extern.sh | 6 cat << "END" | $@ -x c - -fno-PIE -march=z10 -mindirect-branch=thunk-extern -mfunction-return=thunk…
|
/linux-6.12.1/arch/s390/ |
D | Makefile | 86 CC_FLAGS_EXPOLINE := -mindirect-branch=thunk-extern 87 CC_FLAGS_EXPOLINE += -mfunction-return=thunk-extern 89 CC_FLAGS_EXPOLINE := -mindirect-branch=thunk 90 CC_FLAGS_EXPOLINE += -mfunction-return=thunk
|
D | Kconfig | 572 depends on $(cc-option,-mindirect-branch=thunk) 578 Requires a compiler with -mindirect-branch=thunk support for full 585 $(success,$(srctree)/arch/s390/tools/gcc-thunk-extern.sh $(CC)) 590 -mindirect-branch=thunk-extern, which requires a newer compiler.
|
/linux-6.12.1/arch/x86/ |
D | Makefile | 16 RETPOLINE_CFLAGS := $(call cc-option,-mindirect-branch=thunk-extern -mindirect-branch-register) 17 RETPOLINE_VDSO_CFLAGS := $(call cc-option,-mindirect-branch=thunk-inline -mindirect-branch-register) 20 RETPOLINE_CFLAGS := -mretpoline-external-thunk 26 RETHUNK_CFLAGS := -mfunction-return=thunk-extern 27 RETHUNK_RUSTFLAGS := -Zfunction-return=thunk-extern
|
D | Kconfig | 2453 def_bool $(cc-option,-mfunction-return=thunk-extern) 2529 branches. Requires a compiler with -mindirect-branch=thunk-extern 2540 Requires a compiler with -mfunction-return=thunk-extern
|
/linux-6.12.1/drivers/mtd/chips/ |
D | fwh_lock.h | 30 unsigned long adr, int len, void *thunk) in fwh_xxlock_oneblock() argument 33 struct fwh_xxlock_thunk *xxlt = (struct fwh_xxlock_thunk *)thunk; in fwh_xxlock_oneblock()
|
D | cfi_util.c | 358 loff_t ofs, size_t len, void *thunk) in cfi_varsize_frob() argument 418 ret = (*frob)(map, &cfi->chips[chipnum], adr, size, thunk); in cfi_varsize_frob()
|
D | cfi_cmdset_0001.c | 1953 unsigned long adr, int len, void *thunk) in do_erase_oneblock() argument 2092 int len, void *thunk) in do_getlockstatus_oneblock() argument 2110 int len, void *thunk) in do_printlockstatus_oneblock() argument 2113 adr, do_getlockstatus_oneblock(map, chip, adr, len, thunk)); in do_printlockstatus_oneblock() 2122 unsigned long adr, int len, void *thunk) in do_xxlock_oneblock() argument 2142 if (thunk == DO_XXLOCK_ONEBLOCK_LOCK) { in do_xxlock_oneblock() 2145 } else if (thunk == DO_XXLOCK_ONEBLOCK_UNLOCK) { in do_xxlock_oneblock()
|
D | cfi_cmdset_0002.c | 2512 …_erase_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) in do_erase_oneblock() argument 2633 unsigned long adr, int len, void *thunk) in do_atmel_lock() argument 2668 unsigned long adr, int len, void *thunk) in do_atmel_unlock() argument 2720 unsigned long adr, int len, void *thunk) in do_ppb_xxlock() argument 2744 if (thunk == DO_XXLOCK_ONEBLOCK_LOCK) { in do_ppb_xxlock() 2748 } else if (thunk == DO_XXLOCK_ONEBLOCK_UNLOCK) { in do_ppb_xxlock() 2756 } else if (thunk == DO_XXLOCK_ONEBLOCK_GETLOCK) { in do_ppb_xxlock()
|
/linux-6.12.1/arch/x86/entry/ |
D | Makefile | 20 obj-$(CONFIG_PREEMPTION) += thunk.o
|
/linux-6.12.1/include/linux/mtd/ |
D | cfi.h | 381 unsigned long adr, int len, void *thunk); 384 loff_t ofs, size_t len, void *thunk);
|
/linux-6.12.1/tools/virtio/ |
D | Makefile | 18 …-include ../../include/linux/kconfig.h $(call cc-option,-mfunction-return=thunk) $(call cc-option,…
|
/linux-6.12.1/drivers/mtd/lpddr/ |
D | lpddr_cmds.c | 713 static int do_xxlock(struct mtd_info *mtd, loff_t adr, uint32_t len, int thunk) in do_xxlock() argument 728 if (thunk == DO_XXLOCK_LOCK) { in do_xxlock() 731 } else if (thunk == DO_XXLOCK_UNLOCK) { in do_xxlock()
|
/linux-6.12.1/rust/ |
D | Makefile | 220 -mindirect-branch=thunk-extern -mindirect-branch-register \ 221 -mfunction-return=thunk-extern -mrecord-mcount -mabi=lp64 \
|
/linux-6.12.1/tools/objtool/Documentation/ |
D | objtool.txt | 27 - Retpoline call site annotation -- annotates all retpoline thunk call 28 sites, enabling the kernel to patch them inline, to prevent "thunk
|
/linux-6.12.1/Documentation/admin-guide/hw-vuln/ |
D | spectre.rst | 489 -mindirect-branch=thunk-extern -mindirect-branch-register options. 491 to support -mretpoline-external-thunk option. The kernel config
|