[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240206105644.41185-1-marpagan@redhat.com>
Date: Tue, 6 Feb 2024 11:56:43 +0100
From: Marco Pagani <marpagan@...hat.com>
To: Moritz Fischer <mdf@...nel.org>,
Wu Hao <hao.wu@...el.com>,
Xu Yilun <yilun.xu@...el.com>,
Tom Rix <trix@...hat.com>,
Jonathan Corbet <corbet@....net>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Alan Tull <atull@...nsource.altera.com>
Cc: Marco Pagani <marpagan@...hat.com>,
linux-kernel@...r.kernel.org,
linux-doc@...r.kernel.org,
linux-fpga@...r.kernel.org
Subject: [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/20240201155713.82898-1-marpagan@redhat.com/
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(-)
--
2.43.0
Powered by blists - more mailing lists