Home
last modified time | relevance | path

Searched hist:b10cb163c4b31b03ac5014abbfd0b868913fd8e3 (Results 1 – 1 of 1) sorted by relevance

/linux/arch/powerpc/net/
H A Dbpf_jit_comp64.cdiff b10cb163c4b31b03ac5014abbfd0b868913fd8e3 Mon Feb 14 11:41:41 CET 2022 Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> powerpc64/bpf elfv2: Setup kernel TOC in r2 on entry

In preparation for using kernel TOC, load the same in r2 on entry. With
elfv1, the kernel TOC is already setup by our caller.

We adjust the number of instructions to skip on a tail call accordingly.
We get rid of the #ifdef in bpf_jit_emit_tail_call() since
FUNCTION_DESCR_SIZE is itself under a #ifdef.

Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/18a05a4ceec14a8617c9dd4b7128d0afa83fd14e.1644834730.git.naveen.n.rao@linux.vnet.ibm.com