Thread (14 messages) 14 messages, 6 authors, 2022-01-07

Re: [PATCH 5/7] mips: bpf: Add JIT workarounds for CPU errata

From: Jiaxun Yang <jiaxun.yang@flygoat.com>
Date: 2021-10-05 18:00:28
Also in: bpf, netdev


在 2021/10/5 17:54, Johan Almbladh 写道:
This patch adds workarounds for the following CPU errata to the MIPS
eBPF JIT, if enabled in the kernel configuration.

   - R10000 ll/sc weak ordering
   - Loongson-3 ll/sc weak ordering
   - Loongson-2F jump hang

The Loongson-2F nop errata is implemented in uasm, which the JIT uses,
so no additional mitigations are needed for that.

Signed-off-by: Johan Almbladh <johan.almbladh@anyfinetworks.com>
Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>

Thanks!

- Jiaxun
---
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help