Home
last modified time | relevance | path

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

/openbmc/linux/arch/powerpc/net/
H A Dbpf_jit.hacd7408d Mon Feb 14 04:41:35 CST 2022 Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> powerpc/bpf: Skip branch range validation during first pass

During the first pass, addrs[] is still being populated. So, all
branches to following instructions will appear to be going to the start
of the JIT program. Ignore branch range validation for such instructions
and assume those to be in range. Branch range validation will happen
during the second pass after addrs[] is setup properly.

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/bc517413d11636e20dbfc88503dad14bcbe391e2.1644834730.git.naveen.n.rao@linux.vnet.ibm.com