aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/fpga/dfl-fme-error.c
diff options
context:
space:
mode:
authorPeter Colberg <peter.colberg@intel.com>2024-11-19 20:10:19 -0500
committerXu Yilun <yilun.xu@linux.intel.com>2024-12-10 14:54:59 +0800
commit3a3494ef987e447867187d2706c97d7c0ce45e36 (patch)
treeedc514f0f8a20016ffbfa6f8c1e33e1b4d0380a4 /drivers/fpga/dfl-fme-error.c
parentfpga: dfl: return platform data from dfl_fpga_inode_to_feature_dev_data() (diff)
downloadwireguard-linux-3a3494ef987e447867187d2706c97d7c0ce45e36.tar.xz
wireguard-linux-3a3494ef987e447867187d2706c97d7c0ce45e36.zip
fpga: dfl: afu: use parent device to log errors on port enable/disable
AFU port enable/disable may be triggered from userspace at any point, e.g., after a port has been released. This commit prepares a subsequent commit that destroys the port platform device on port release, which is then no longer available during port enable/disable. Use the parent, physical DFL, e.g., PCIe FPGA device instead for logging errors. 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-4-peter.colberg@intel.com Signed-off-by: Xu Yilun <yilun.xu@linux.intel.com>
Diffstat (limited to 'drivers/fpga/dfl-fme-error.c')
0 files changed, 0 insertions, 0 deletions