linux_dsm_epyc7002/arch/s390
Heiko Carstens 3af57f78c3 s390/bpf,jit: fix 32 bit divisions, use unsigned divide instructions
The s390 bpf jit compiler emits the signed divide instructions "dr" and "d"
for unsigned divisions.
This can cause problems: the dividend will be zero extended to a 64 bit value
and the divisor is the 32 bit signed value as specified A or X accumulator,
even though A and X are supposed to be treated as unsigned values.

The divide instrunctions will generate an exception if the result cannot be
expressed with a 32 bit signed value.
This is the case if e.g. the dividend is 0xffffffff and the divisor either 1
or also 0xffffffff (signed: -1).

To avoid all these issues simply use unsigned divide instructions.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-01-17 18:54:49 -08:00
..
appldata
boot s390/boot: Install bzImage as default kernel image 2013-11-15 14:08:36 +01:00
configs
crypto crypto: s390 - Fix aes-xts parameter corruption 2013-11-28 22:25:16 +08:00
hypfs
include s390/smp: improve setup of possible cpu mask 2013-12-18 17:35:18 +01:00
kernel s390/smp: improve setup of possible cpu mask 2013-12-18 17:35:18 +01:00
kvm Here are the 3.13 KVM changes. There was a lot of work on the PPC 2013-11-15 13:51:36 +09:00
lib s390/uaccess: add missing page table walk range check 2013-11-25 09:15:38 +01:00
math-emu
mm s390: handle pgtable_page_ctor() fail 2013-11-15 09:32:18 +09:00
net s390/bpf,jit: fix 32 bit divisions, use unsigned divide instructions 2014-01-17 18:54:49 -08:00
oprofile
pci s390/pci: obtain function handle in hotplug notifier 2013-12-30 11:28:47 +01:00
defconfig
Kbuild
Kconfig s390/smp: improve setup of possible cpu mask 2013-12-18 17:35:18 +01:00
Kconfig.debug
Makefile