android_kernel_motorola_sm6375/arch
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Alexander Lobakin 2e0bee3669 MIPS: BPF: eBPF JIT: check for MIPS ISA compliance in Kconfig
commit f596cf0d8062cb5d0a4513a8b3afca318c13be10 upstream.

It is completely wrong to check for compile-time MIPS ISA revision in
the body of bpf_int_jit_compile() as it may lead to get MIPS JIT fully
omitted by the CC while the rest system will think that the JIT is
actually present and works [1].
We can check if the selected CPU really supports MIPS eBPF JIT at
configure time and avoid such situations when kernel can be built
without both JIT and interpreter, but with CONFIG_BPF_SYSCALL=y.

[1] https://lore.kernel.org/linux-mips/[email protected]/

Fixes: 716850ab10 ("MIPS: eBPF: Initial eBPF support for MIPS32 architecture.")
Cc: <[email protected]> # v5.2+
Signed-off-by: Alexander Lobakin <[email protected]>
Signed-off-by: Paul Burton <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: James Hogan <[email protected]>
Cc: Hassan Naveed <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Cc: Daniel Borkmann <[email protected]>
Cc: Martin KaFai Lau <[email protected]>
Cc: Song Liu <[email protected]>
Cc: Yonghong Song <[email protected]>
Cc: Andrii Nakryiko <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2020-01-09 10:19:56 +01:00
..
alpha
arc ARC: perf: Accommodate big-endian CPU 2019-10-22 09:59:43 -07:00
arm libfdt: define INT32_MAX and UINT32_MAX in libfdt_env.h 2020-01-04 19:18:28 +01:00
arm64 KVM: arm64: Ensure 'params' is initialised when looking up sys register 2019-12-31 16:46:24 +01:00
c6x
csky
h8300
hexagon
ia64
m68k
microblaze
mips MIPS: BPF: eBPF JIT: check for MIPS ISA compliance in Kconfig 2020-01-09 10:19:56 +01:00
nds32
nios2
openrisc
parisc parisc: fix frame pointer in ftrace_regs_caller() 2019-10-30 21:24:40 +01:00
powerpc powerpc: Fix __clear_user() with KUAP enabled 2020-01-04 19:18:37 +01:00
riscv RISC-V: Add PCIe I/O BAR memory mapping 2019-10-28 10:43:32 -07:00
s390 s390/cpum_sf: Avoid SBD overflow condition in irq handler 2020-01-09 10:19:49 +01:00
sh pinctrl: sh-pfc: sh7734: Fix duplicate TCLK1_B 2019-12-31 16:44:32 +01:00
sparc sparc64: implement ioremap_uc 2019-12-13 08:42:17 +01:00
um um: virtio: Keep reading on -EAGAIN 2020-01-04 19:18:24 +01:00
unicore32
x86 x86/mce: Fix possibly incorrect severity calculation on AMD 2019-12-31 16:46:27 +01:00
xtensa xtensa: fix syscall_set_return_value 2019-12-21 11:04:35 +01:00
.gitignore
Kconfig