kernel_samsung_a53x/arch/x86/lib
Borislav Petkov (AMD) 3fd6600129 x86/retpoline: Add NOENDBR annotation to the SRSO dummy return thunk
commit b377c66ae3509ccea596512d6afb4777711c4870 upstream.

srso_alias_untrain_ret() is special code, even if it is a dummy
which is called in the !SRSO case, so annotate it like its real
counterpart, to address the following objtool splat:

  vmlinux.o: warning: objtool: .export_symbol+0x2b290: data relocation to !ENDBR: srso_alias_untrain_ret+0x0

Fixes: 4535e1a4174c ("x86/bugs: Fix the SRSO mitigation on Zen3/4")
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: https://lore.kernel.org/r/20240405144637.17908-1-bp@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-19 09:23:16 +01:00
..
atomic64_32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
atomic64_386_32.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
atomic64_cx8_32.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cache-smp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
checksum_32.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clear_page_64.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cmdline.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cmpxchg8b_emu.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cmpxchg16b_emu.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
copy_mc.c iov_iter, x86: Be consistent about the __user tag on copy_mc_to_user() 2024-11-18 11:42:39 +01:00
copy_mc_64.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
copy_page_64.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
copy_user_64.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cpu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
csum-copy_64.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
csum-partial_64.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
csum-wrappers_64.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
delay.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
error-inject.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
getuser.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hweight.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
inat.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
insn-eval.c x86/stackprotector/32: Make the canary into a regular percpu variable 2024-11-19 09:22:37 +01:00
insn.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iomap_copy_64.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iomem.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kaslr.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
memcpy_32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
memcpy_64.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
memmove_64.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
memset_64.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
misc.c x86/lib: Fix overflow when counting digits 2024-11-18 12:12:19 +01:00
mmx_32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msr-reg-export.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msr-reg.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msr-smp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msr.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
putuser.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
retpoline.S x86/retpoline: Add NOENDBR annotation to the SRSO dummy return thunk 2024-11-19 09:23:16 +01:00
string_32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
strstr_32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
usercopy.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
usercopy_32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
usercopy_64.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
x86-opcode-map.txt Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00