aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorViktor Malik <[email protected]>2024-11-15 09:25:48 +0100
committerAlexei Starovoitov <[email protected]>2024-11-15 08:10:13 -0800
commitab4dc30c5322fc46d0db938d1c0bdd56d7adcea1 (patch)
treef65094fcfbdd75960db63c668974974d041397b5 /drivers/fpga/fpga-bridge.c
parentf01750aecdfb8bfb02842f60af3d805a3ae7267a (diff)
bpf: Do not alloc arena on unsupported arches
Do not allocate BPF arena on arches that do not support it, instead return EOPNOTSUPP. This is useful to prevent bugs such as soft lockups while trying to free the arena which we have witnessed on ppc64le [1]. [1] https://lore.kernel.org/bpf/[email protected]/ Signed-off-by: Viktor Malik <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions