Re: [PATCH v2 02/10] powerpc/bpf: Validate branch ranges

2021-10-05 Thread LEROY Christophe
Le 05/10/2021 à 22:25, Naveen N. Rao a écrit : > Add checks to ensure that we never emit branch instructions with > truncated branch offsets. > > Acked-by: Song Liu > Acked-by: Johan Almbladh > Tested-by: Johan Almbladh > Suggested-by: Michael Ellerman > Signed-off-by: Naveen N. Rao

Re: [PATCH v2 02/10] powerpc/bpf: Validate branch ranges

2021-10-05 Thread Christophe Leroy
Le 05/10/2021 à 22:25, Naveen N. Rao a écrit : Add checks to ensure that we never emit branch instructions with truncated branch offsets. Acked-by: Song Liu Acked-by: Johan Almbladh Tested-by: Johan Almbladh Suggested-by: Michael Ellerman Signed-off-by: Naveen N. Rao Reviewed-by:

[PATCH v2 02/10] powerpc/bpf: Validate branch ranges

2021-10-05 Thread Naveen N. Rao
Add checks to ensure that we never emit branch instructions with truncated branch offsets. Acked-by: Song Liu Acked-by: Johan Almbladh Tested-by: Johan Almbladh Suggested-by: Michael Ellerman Signed-off-by: Naveen N. Rao --- arch/powerpc/net/bpf_jit.h| 26 --