diff options
author | Maher Sanalla <msanalla@nvidia.com> | 2023-02-15 20:12:05 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2023-02-24 10:13:18 -0800 |
commit | e1ed30c8c09abc85a01c897845bdbd08c0333353 (patch) | |
tree | 1026e2c11f3d9eaa87bf9c981210a129ae0bc150 /drivers/gpu/drm/omapdrm/omap_irq.c | |
parent | 3a50cf1e8e5157b82268eee7e330dbe5736a0948 (diff) |
net/mlx5: ECPF, wait for VF pages only after disabling host PFs
Currently, during the early stages of their unloading, particularly
during SRIOV disablement, PFs/ECPFs wait on the release of all of
their VFs memory pages. Furthermore, ECPFs are considered the page
supplier for host VFs, hence the host VFs memory pages are freed only
during ECPF cleanup when host interfaces get disabled.
Thus, disabling SRIOV early in unload timeline causes the DPU ECPF
to stall on driver unload while waiting on the release of host VF pages
that won't be freed before host interfaces get disabled later on.
Therefore, for ECPFs, wait on the release of VFs pages only after the
disablement of host PFs during ECPF cleanup flow. Then, host PFs and VFs
are disabled and their memory shall be freed accordingly.
Fixes: 143a41d7623d ("net/mlx5: Disable SRIOV before PF removal")
Signed-off-by: Maher Sanalla <msanalla@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_irq.c')
0 files changed, 0 insertions, 0 deletions