linux/arch
Pu Lehui 30a59cc797 riscv, bpf: Fix possible infinite tailcall when CONFIG_CFI_CLANG is enabled
When CONFIG_CFI_CLANG is enabled, the number of prologue instructions
skipped by tailcall needs to include the kcfi instruction, otherwise the
TCC will be initialized every tailcall is called, which may result in
infinite tailcalls.

Fixes: e63985ecd2 ("bpf, riscv64/cfi: Support kCFI + BPF on riscv64")
Signed-off-by: Pu Lehui <pulehui@huawei.com>
Acked-by: Björn Töpel <bjorn@kernel.org>
Link: https://lore.kernel.org/r/20241008124544.171161-1-pulehui@huaweicloud.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2024-10-09 18:23:06 -07:00
..
alpha struct fd layout change (and conversion to accessor helpers) 2024-09-23 09:35:36 -07:00
arc Kbuild updates for v6.12 2024-09-24 13:02:06 -07:00
arm Input updates for v6.12-rc0 2024-09-24 12:42:35 -07:00
arm64 i2c-for-6.12-rc1 2024-09-23 14:34:19 -07:00
csky mm: make arch_get_unmapped_area() take vm_flags by default 2024-09-09 16:39:13 -07:00
hexagon hexagon: vdso: Fix build failure 2024-09-23 08:17:50 -07:00
loongarch ALong with the usual shower of singleton patches, notable patch series in 2024-09-21 07:29:05 -07:00
m68k m68knommu: updates and fixes for v6.12 2024-09-24 10:48:44 -07:00
microblaze microblaze: don't treat zero reserved memory regions as error 2024-08-25 15:26:30 -07:00
mips i2c-for-6.12-rc1 2024-09-23 14:34:19 -07:00
nios2 mm: remove legacy install_special_mapping() code 2024-09-01 20:26:13 -07:00
openrisc
parisc ALong with the usual shower of singleton patches, notable patch series in 2024-09-21 07:29:05 -07:00
powerpc This push fixes the following issues: 2024-09-24 10:46:54 -07:00
riscv riscv, bpf: Fix possible infinite tailcall when CONFIG_CFI_CLANG is enabled 2024-10-09 18:23:06 -07:00
s390 This push fixes the following issues: 2024-09-24 10:46:54 -07:00
sh ALong with the usual shower of singleton patches, notable patch series in 2024-09-21 07:29:05 -07:00
sparc ALong with the usual shower of singleton patches, notable patch series in 2024-09-21 07:29:05 -07:00
um drm-misc-next for v6.12: 2024-08-08 18:58:46 +02:00
x86 Kbuild updates for v6.12 2024-09-24 13:02:06 -07:00
xtensa ALong with the usual shower of singleton patches, notable patch series in 2024-09-21 07:29:05 -07:00
.gitignore
Kconfig dma-mapping updates for linux 6.12 2024-09-19 11:12:49 +02:00