crypto: qat - Disable VFs through a sysfs interface
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | crypto: qat - preserve ADF_GENERAL_SECdrivers/ drivers/ drivers/ +14 more | +60 | 0 replies | |
| 2/5 | crypto: qat - disable IOV in adf_dev_stop()drivers/ | +2 | 0 replies | |
| 3/5 | crypto: qat - fix recovery flow for VFsdrivers/ drivers/ drivers/ | +17 | 0 replies | |
| 4/5 | crypto: qat - ensure correct order in VF restarting handlerdrivers/ | +6 | 0 replies | |
| 5/5 | crypto: qat - allow disabling SR-IOV VFsdrivers/ | +128 | 0 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Giovanni Cabiddu | Przemek Kitszel |
|---|---|---|
| 1/5 | R-b | R-b |
| 2/5 | R-b | R-b |
| 3/5 | R-b | R-b |
| 4/5 | R-b | R-b |
| 5/5 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] crypto: qat - Disable VFs through a sysfs interface
The main goal of this patch series is to introduce the ability to disable SR-IOV VFs by writing zero to the sriov_numvfs sysfs file. Alongside this, a few additional enhancements and fixes have been implemented.
Summary of Changes:
Patch #1: Preserves the entire ADF_GENERAL_SEC section during device
shutdown.
Patch #2: Adjusts the order in adf_dev_stop() to disable IOV before
stopping the AEs.
Patch #3: Adds support for the ADF_VF2PF_MSGTYPE_RESTARTING_COMPLETE
message to ensure proper VF shutdown notification.
Patch #4: Fixes a race condition by setting the vf->restarting flag
before sending the restart message.
Patch #5: Enables SR-IOV VF disablement through the sysfs interface.
Adam Guerin (1):
crypto: qat - preserve ADF_GENERAL_SEC
Michal Witwicki (4):
crypto: qat - disable IOV in adf_dev_stop()
crypto: qat - fix recovery flow for VFs
crypto: qat - ensure correct order in VF restarting handler
crypto: qat - allow disabling SR-IOV VFs
drivers/crypto/intel/qat/qat_420xx/adf_drv.c | 4 +- drivers/crypto/intel/qat/qat_4xxx/adf_drv.c | 4 +- drivers/crypto/intel/qat/qat_c3xxx/adf_drv.c | 4 +- .../crypto/intel/qat/qat_c3xxxvf/adf_drv.c | 4 +- drivers/crypto/intel/qat/qat_c62x/adf_drv.c | 4 +- drivers/crypto/intel/qat/qat_c62xvf/adf_drv.c | 4 +- drivers/crypto/intel/qat/qat_common/adf_aer.c | 2 +- drivers/crypto/intel/qat/qat_common/adf_cfg.c | 29 +++ drivers/crypto/intel/qat/qat_common/adf_cfg.h | 2 + .../intel/qat/qat_common/adf_common_drv.h | 2 +- .../crypto/intel/qat/qat_common/adf_ctl_drv.c | 6 +- .../crypto/intel/qat/qat_common/adf_init.c | 44 +--- .../intel/qat/qat_common/adf_pfvf_pf_msg.c | 9 +- .../intel/qat/qat_common/adf_pfvf_vf_msg.c | 14 ++ .../intel/qat/qat_common/adf_pfvf_vf_msg.h | 1 + .../crypto/intel/qat/qat_common/adf_sriov.c | 194 ++++++++++++------ .../crypto/intel/qat/qat_common/adf_sysfs.c | 4 +- .../crypto/intel/qat/qat_common/adf_vf_isr.c | 4 +- .../crypto/intel/qat/qat_dh895xcc/adf_drv.c | 4 +- .../crypto/intel/qat/qat_dh895xccvf/adf_drv.c | 4 +- 20 files changed, 212 insertions(+), 131 deletions(-)
base-commit: 64409cf846e03f8372654e3b50cd31644b277f8c
Signature · 1 line
2.44.0