diff options
author | Yinjun Zhang <yinjun.zhang@corigine.com> | 2022-10-20 09:14:11 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-10-21 22:43:48 -0700 |
commit | 0bda03623e6b8b9052da5ba0145608941bcc2eb0 (patch) | |
tree | c6c2e2cb51a67029c933c0114c56d288609e68e8 /drivers/xen/sys-hypervisor.c | |
parent | 0a09f01f11e7c5493ec87a1f9c8824c3fc010751 (diff) | |
download | linux-0bda03623e6b8b9052da5ba0145608941bcc2eb0.tar.bz2 |
nfp: only clean `sp_indiff` when application firmware is unloaded
Currently `sp_indiff` is cleaned when driver is removed. This will
cause problem in multi-PF/multi-host case, considering one PF is
removed while another is still in use.
Since `sp_indiff` is the application firmware property, it should
only be cleaned when the firmware is unloaded. Now let management
firmware to clean it when necessary, driver only set it.
Fixes: b1e4f11e426d ("nfp: refine the ABI of getting `sp_indiff` info")
Signed-off-by: Yinjun Zhang <yinjun.zhang@corigine.com>
Signed-off-by: Simon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/20221020081411.80186-1-simon.horman@corigine.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/xen/sys-hypervisor.c')
0 files changed, 0 insertions, 0 deletions