/linux-6.3-rc2/arch/s390/kernel/ |
A D | nospec-branch.c | 103 u8 *instr, *thunk, *br; in __nospec_revert() local 117 thunk = instr + (*(int *)(instr + 2)) * 2; in __nospec_revert() 118 if (thunk[0] == 0xc6 && thunk[1] == 0x00) in __nospec_revert() 120 br = thunk + (*(int *)(thunk + 2)) * 2; in __nospec_revert()
|
/linux-6.3-rc2/arch/s390/tools/ |
A D | gcc-thunk-extern.sh | 6 cat << "END" | $@ -x c - -fno-PIE -march=z10 -mindirect-branch=thunk-extern -mfunction-return=thunk…
|
/linux-6.3-rc2/arch/s390/ |
A D | Makefile | 84 CC_FLAGS_EXPOLINE := -mindirect-branch=thunk-extern 85 CC_FLAGS_EXPOLINE += -mfunction-return=thunk-extern 87 CC_FLAGS_EXPOLINE := -mindirect-branch=thunk 88 CC_FLAGS_EXPOLINE += -mfunction-return=thunk
|
A D | Kconfig | 539 depends on $(cc-option,-mindirect-branch=thunk) 545 Requires a compiler with -mindirect-branch=thunk support for full 554 depends on $(success,$(srctree)/arch/s390/tools/gcc-thunk-extern.sh $(CC)) 558 compiled with -mindirect-branch=thunk-extern and requires a newer
|
/linux-6.3-rc2/drivers/mtd/chips/ |
A 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()
|
A D | cfi_util.c | 359 loff_t ofs, size_t len, void *thunk) in cfi_varsize_frob() argument 419 ret = (*frob)(map, &cfi->chips[chipnum], adr, size, thunk); in cfi_varsize_frob()
|
A D | cfi_cmdset_0001.c | 1936 unsigned long adr, int len, void *thunk) in do_erase_oneblock() argument 2075 int len, void *thunk) in do_getlockstatus_oneblock() argument 2093 int len, void *thunk) in do_printlockstatus_oneblock() argument 2096 adr, do_getlockstatus_oneblock(map, chip, adr, len, thunk)); in do_printlockstatus_oneblock() 2105 unsigned long adr, int len, void *thunk) in do_xxlock_oneblock() argument 2125 if (thunk == DO_XXLOCK_ONEBLOCK_LOCK) { in do_xxlock_oneblock() 2128 } else if (thunk == DO_XXLOCK_ONEBLOCK_UNLOCK) { in do_xxlock_oneblock()
|
A D | cfi_cmdset_0002.c | 2514 …_erase_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) in do_erase_oneblock() argument 2635 unsigned long adr, int len, void *thunk) in do_atmel_lock() argument 2670 unsigned long adr, int len, void *thunk) in do_atmel_unlock() argument 2722 unsigned long adr, int len, void *thunk) in do_ppb_xxlock() argument 2746 if (thunk == DO_XXLOCK_ONEBLOCK_LOCK) { in do_ppb_xxlock() 2750 } else if (thunk == DO_XXLOCK_ONEBLOCK_UNLOCK) { in do_ppb_xxlock() 2758 } else if (thunk == DO_XXLOCK_ONEBLOCK_GETLOCK) { in do_ppb_xxlock()
|
/linux-6.3-rc2/arch/x86/ |
A 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
|
A D | Kconfig | 2491 def_bool $(cc-option,-mfunction-return=thunk-extern) 2563 branches. Requires a compiler with -mindirect-branch=thunk-extern 2574 Requires a compiler with -mfunction-return=thunk-extern
|
/linux-6.3-rc2/tools/virtio/ |
A D | Makefile | 7 …U_FORTIFY_SOURCE -include ../../include/linux/kconfig.h -mfunction-return=thunk -fcf-protection=no…
|
/linux-6.3-rc2/include/linux/mtd/ |
A D | cfi.h | 381 unsigned long adr, int len, void *thunk); 384 loff_t ofs, size_t len, void *thunk);
|
/linux-6.3-rc2/drivers/mtd/lpddr/ |
A D | lpddr_cmds.c | 716 static int do_xxlock(struct mtd_info *mtd, loff_t adr, uint32_t len, int thunk) in do_xxlock() argument 731 if (thunk == DO_XXLOCK_LOCK) { in do_xxlock() 734 } else if (thunk == DO_XXLOCK_UNLOCK) { in do_xxlock()
|
/linux-6.3-rc2/rust/ |
A D | Makefile | 243 -mindirect-branch=thunk-extern -mindirect-branch-register \ 244 -mfunction-return=thunk-extern -mrecord-mcount -mabi=lp64 \
|
/linux-6.3-rc2/tools/objtool/Documentation/ |
A 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.3-rc2/Documentation/admin-guide/hw-vuln/ |
A D | spectre.rst | 473 -mindirect-branch=thunk-extern -mindirect-branch-register options. 475 to support -mretpoline-external-thunk option. The kernel config
|
/linux-6.3-rc2/drivers/md/ |
A D | dm-cache-metadata.c | 1285 struct thunk { struct
|