Searched hist:bbefef2f (Results 1 – 2 of 2) sorted by relevance
/linux/arch/mips/net/ |
H A D | bpf_jit_comp.c | diff bbefef2f Tue Feb 28 11:33:04 GMT 2023 Jiaxun Yang <jiaxun.yang@flygoat.com> bpf, mips: Implement DADDI workarounds for JIT
For DADDI errata we just workaround by disable immediate operation for BPF_ADD / BPF_SUB to avoid generation of DADDIU.
All other use cases in JIT won't cause overflow thus they are all safe.
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Acked-by: Johan Almbladh <johan.almbladh@anyfinetworks.com> Link: https://lore.kernel.org/bpf/20230228113305.83751-2-jiaxun.yang@flygoat.com
|
/linux/arch/mips/ |
H A D | Kconfig | diff bbefef2f Tue Feb 28 11:33:04 GMT 2023 Jiaxun Yang <jiaxun.yang@flygoat.com> bpf, mips: Implement DADDI workarounds for JIT
For DADDI errata we just workaround by disable immediate operation for BPF_ADD / BPF_SUB to avoid generation of DADDIU.
All other use cases in JIT won't cause overflow thus they are all safe.
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Acked-by: Johan Almbladh <johan.almbladh@anyfinetworks.com> Link: https://lore.kernel.org/bpf/20230228113305.83751-2-jiaxun.yang@flygoat.com
|