Re: [PATCH 02/13] powerpc32/bpf: Fix codegen for bpf-to-bpf calls

2022-01-10 Thread Naveen N. Rao
Christophe Leroy wrote: Le 06/01/2022 à 12:45, Naveen N. Rao a écrit : Pad instructions emitted for BPF_CALL so that the number of instructions generated does not change for different function addresses. This is especially important for calls to other bpf functions, whose address will only be

Re: [PATCH 02/13] powerpc32/bpf: Fix codegen for bpf-to-bpf calls

2022-01-10 Thread Christophe Leroy
Le 06/01/2022 à 12:45, Naveen N. Rao a écrit : > Pad instructions emitted for BPF_CALL so that the number of instructions > generated does not change for different function addresses. This is > especially important for calls to other bpf functions, whose address > will only be known during extra

[PATCH 02/13] powerpc32/bpf: Fix codegen for bpf-to-bpf calls

2022-01-06 Thread Naveen N. Rao
Pad instructions emitted for BPF_CALL so that the number of instructions generated does not change for different function addresses. This is especially important for calls to other bpf functions, whose address will only be known during extra pass. Fixes: 51c66ad849a703 ("powerpc/bpf: Implement