Skip to content

RFC fpga: bridge improve protection against low-level control module unloading

Marco Pagani linux-doc linux-fpga lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest1 patch 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1fpga: bridge: improve protection against low-level control module unloadingDocumentation/driver-api/fpga/fpga-bridge.rst drivers/fpga/fpga-bridge.c include/linux/fpga/fpga-bridge.h+47 -310 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/1] fpga: bridge improve protection against low-level control module unloading

This RFC proposes a solution to keep protecting the fpga bridge against the unloading of the low-level control modules while addressing the limitations of the current implementation. Currently, the code assumes that the low-level module registers a driver for the parent device that is later used to take the module's refcount. This proposal removes this limitation by adding a module owner field to the fpga_bridge struct that can be set while registering the bridge.

The RFC patch is based on top of ("fpga: remove redundant checks for bridge ops").

https://lore.kernel.org/linux-fpga/[email protected]/

Marco Pagani (1):
fpga: bridge: improve protection against low-level control module
unloading

 Documentation/driver-api/fpga/fpga-bridge.rst |  7 ++-
 drivers/fpga/fpga-bridge.c                    | 61 +++++++++++--------
 include/linux/fpga/fpga-bridge.h              | 10 ++-
 3 files changed, 47 insertions(+), 31 deletions(-)
Signature · 1 line
2.43.0