linux/arch/arm64
Yang Shi 4c1cd4fdfd bpf: arm64: remove callee-save registers use for tmp registers
In the current implementation of ARM64 eBPF JIT, R23 and R24 are used for
tmp registers, which are callee-saved registers. This leads to variable size
of JIT prologue and epilogue. The latest blinding constant change prefers to
constant size of prologue and epilogue. AAPCS reserves R9 ~ R15 for temp
registers which not need to be saved/restored during function call. So, replace
R23 and R24 to R10 and R11, and remove tmp_used flag to save 2 instructions for
some jited BPF program.

CC: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Zi Shen Lim <zlim.lnx@gmail.com>
Signed-off-by: Yang Shi <yang.shi@linaro.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-05-17 14:03:33 -04:00
..
boot Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-05-09 15:59:24 -04:00
configs arm64: defconfig: updates for 4.6 2016-03-29 16:56:00 +01:00
crypto Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2016-03-17 11:22:54 -07:00
include KVM/ARM Fixes for v4.6-rc4 2016-04-08 14:17:27 +02:00
kernel arm64: Fix EL1/EL2 early init inconsistencies with VHE 2016-04-21 18:34:23 +01:00
kvm arm64: KVM: Warn when PARange is less than 40 bits 2016-04-06 13:33:14 +02:00
lib arm64 updates for 4.6: 2016-03-17 20:03:47 -07:00
mm 2nd set of arm64 updates for 4.6: 2016-03-24 19:13:59 -07:00
net bpf: arm64: remove callee-save registers use for tmp registers 2016-05-17 14:03:33 -04:00
xen xen/arm: introduce HYPERVISOR_platform_op on arm and arm64 2015-12-21 14:40:56 +00:00
Kconfig bpf: split HAVE_BPF_JIT into cBPF and eBPF variant 2016-05-16 13:49:31 -04:00
Kconfig.debug arm64: enable CONFIG_DEBUG_RODATA by default 2016-03-03 18:14:17 +00:00
Kconfig.platforms arm64/sunxi: 4.6-rc1: Add dependency on generic irq chip 2016-05-10 21:43:32 +02:00
Makefile arm64 updates for 4.6: 2016-03-17 20:03:47 -07:00