linux-stable/arch
Naveen N. Rao 7a219acf0f powerpc/bpf: Fix BPF_SUB when imm == 0x80000000
upstream commit 5855c4c1f4

We aren't handling subtraction involving an immediate value of
0x80000000 properly. Fix the same.

Fixes: 156d0e290e ("powerpc/ebpf/jit: Implement JIT compiler for extended BPF")
Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
[mpe: Fold in fix from Naveen to use imm <= 32768]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/fc4b1276eb10761fd7ce0814c8dd089da2815251.1633464148.git.naveen.n.rao@linux.vnet.ibm.com
[adjust macros to account for commits 0654186510 and 3a18123791]
Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-11-26 11:40:36 +01:00
..
alpha alpha: Declare virt_to_phys and virt_to_bus parameter as pointer to volatile 2021-10-06 15:05:07 +02:00
arc arch: pgtable: define MAX_POSSIBLE_PHYSMEM_BITS where needed 2021-11-12 14:28:22 +01:00
arm ARM: 9156/1: drop cc-option fallbacks for architecture selection 2021-11-26 11:40:36 +01:00
arm64 arm64: Extend workaround for erratum 1024718 to all versions of Cortex-A55 2021-10-06 15:05:10 +02:00
blackfin
c6x
cris
frv
h8300 h8300: fix PREEMPTION build, TI_PRE_COUNT undefined 2021-02-23 14:00:33 +01:00
hexagon hexagon: use common DISCARDS macro 2021-07-20 16:17:54 +02:00
ia64 ia64: don't do IA64_CMPXCHG_DEBUG without CONFIG_PRINTK 2021-11-26 11:40:27 +01:00
m32r
m68k m68k: set a default value for MEMORY_RESERVE 2021-11-26 11:40:35 +01:00
metag
microblaze
mips mips: cm: Convert to bitfield API to fix out-of-bounds access 2021-11-26 11:40:34 +01:00
mn10300
nios2 nios2: Make NIOS2_DTB_SOURCE_BOOL depend on !COMPILE_TEST 2021-11-02 18:25:12 +01:00
openrisc openrisc: don't printk() unconditionally 2021-09-22 11:45:26 +02:00
parisc parisc/kgdb: add kgdb_roundup() to make kgdb work with idle polling 2021-11-26 11:40:29 +01:00
powerpc powerpc/bpf: Fix BPF_SUB when imm == 0x80000000 2021-11-26 11:40:36 +01:00
s390 s390/gmap: don't unconditionally call pte_unmap_unlock() in __gmap_zap() 2021-11-26 11:40:31 +01:00
score
sh sh: dma: fix kconfig dependency for G2_DMA 2021-01-30 13:31:15 +01:00
sparc sparc64: fix pci_iounmap() when CONFIG_PCI is not set 2021-10-09 14:09:46 +02:00
tile
um um: fix error return code in winch_tramp() 2021-07-20 16:17:53 +02:00
unicore32
x86 x86: Increase exception stack sizes 2021-11-26 11:40:26 +01:00
xtensa xtensa: xtfpga: Try software restart before simulating CPU reset 2021-10-27 09:51:39 +02:00
.gitignore
Kconfig mm: fix exec activate_mm vs TLB shootdown and lazy tlb switching race 2020-11-18 18:28:03 +01:00