diff options
author | Peter Colberg <peter.colberg@intel.com> | 2024-11-20 04:10:26 +0300 |
---|---|---|
committer | Xu Yilun <yilun.xu@linux.intel.com> | 2024-12-18 17:28:48 +0300 |
commit | 39ea74e33edc034831ed19902bfc17354c8fc8db (patch) | |
tree | 37ad5853ce91e48b80d336afe3f6294312637c3c /samples/nitro_enclaves | |
parent | 0783f41b00502d29fd70c31e727671d4a94e92f6 (diff) | |
download | linux-39ea74e33edc034831ed19902bfc17354c8fc8db.tar.xz |
fpga: dfl: factor out feature device data from platform device data
Add a structure dfl_feature_dev_data to hold the DFL enumeration
info previously held in dfl_feature_platform_data. Allocate the new
structure using device-managed memory whose lifetime is bound to the
lifetime of the physical DFL, e.g., PCIe FPGA device. In a subsequent
commit, this will allow the feature platform device to be completely
destroyed and recreated on port release and assign, respectively, while
retaining the feature data in the new dfl_feature_dev_data structure.
Signed-off-by: Peter Colberg <peter.colberg@intel.com>
Reviewed-by: Matthew Gerlach <matthew.gerlach@linux.intel.com>
Reviewed-by: Basheer Ahmed Muddebihal <basheer.ahmed.muddebihal@linux.intel.com>
Acked-by: Xu Yilun <yilun.xu@intel.com>
Link: https://lore.kernel.org/r/20241120011035.230574-11-peter.colberg@intel.com
Signed-off-by: Xu Yilun <yilun.xu@linux.intel.com>
Diffstat (limited to 'samples/nitro_enclaves')
0 files changed, 0 insertions, 0 deletions