linux-stable/arch
Borislav Petkov (AMD) 7ef6a7f9b3 x86/retpoline: Add NOENDBR annotation to the SRSO dummy return thunk
commit b377c66ae3 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: 4535e1a417 ("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-04-10 16:28:32 +02:00
..
alpha
arc
arm arm: dts: marvell: Fix maxium->maxim typo in brownstone dts 2024-04-03 15:19:24 +02:00
arm64 arm64: dts: qcom: sc7180-trogdor: mark bluetooth address as broken 2024-04-10 16:28:24 +02:00
csky
hexagon hexagon: vmlinux.lds.S: handle attributes section 2024-04-03 15:19:48 +02:00
ia64
loongarch LoongArch: Define the __io_aw() hook as mmiowb() 2024-04-03 15:19:38 +02:00
m68k
microblaze
mips MIPS: Clear Cause.BD in instruction_pointer_set 2024-03-26 18:20:24 -04:00
nios2
openrisc
parisc parisc: Strip upper 32 bit of sum in csum_ipv6_magic for 64-bit builds 2024-04-03 15:19:28 +02:00
powerpc powerpc: xor_vmx: Add '-mhard-float' to CFLAGS 2024-04-03 15:19:31 +02:00
riscv riscv: dts: sifive: add missing #interrupt-cells to pmic 2024-03-26 18:20:25 -04:00
s390 s390/vtime: fix average steal time calculation 2024-03-26 18:20:59 -04:00
sh
sparc sparc32: Fix parport build with sparc32 2024-04-03 15:19:33 +02:00
um
x86 x86/retpoline: Add NOENDBR annotation to the SRSO dummy return thunk 2024-04-10 16:28:32 +02:00
xtensa
.gitignore
Kconfig