crypto: qat - PFVF fixes and refactoring
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest12 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | crypto: qat - detect PFVF collision after ACKdrivers/ | +7 | 0 replies | |
| 2/12 | crypto: qat - disregard spurious PFVF interruptsdrivers/ drivers/ | +12 | 0 replies | |
| 3/12 | crypto: qat - remove unnecessary collision prevention step in PFVFdrivers/ | +1 | 0 replies | |
| 4/12 | crypto: qat - fix handling of VF to PF interruptsdrivers/ drivers/ drivers/ +6 more | +133 | 0 replies | |
| 5/12 | crypto: qat - remove duplicated logic across GEN2 driversdrivers/ drivers/ drivers/ +5 more | +107 | 0 replies | |
| 6/12 | crypto: qat - use hweight for bit countingdrivers/ | +2 | 0 replies | |
| 7/12 | crypto: qat - make pfvf send message direction agnosticdrivers/ | +8 | 0 replies | |
| 8/12 | crypto: qat - move pfvf collision detection valuesdrivers/ drivers/ | +9 | 0 replies | |
| 9/12 | crypto: qat - rename pfvf collision constantsdrivers/ | +13 | 0 replies | |
| 10/12 | crypto: qat - add VF and PF wrappers to common send functiondrivers/ drivers/ drivers/ | +36 | 0 replies | |
| 11/12 | crypto: qat - extract send and wait from adf_vf2pf_request_version()drivers/ | +37 | 0 replies | |
| 12/12 | crypto: qat - share adf_enable_pf2vf_comms() from adf_pf2vf_msg.cdrivers/ drivers/ drivers/ +3 more | +26 | 0 replies |
Reviews trailers per patch
5 of 12 patches have a Reviewed-by or Acked-by.
| Patch | Marco Chiappero | Giovanni Cabiddu |
|---|---|---|
| 1/12 | ||
| 2/12 | R-b | |
| 3/12 | R-b | |
| 4/12 | ||
| 5/12 | ||
| 6/12 | R-b | |
| 7/12 | ||
| 8/12 | R-b | |
| 9/12 | R-b | |
| 10/12 | ||
| 11/12 | ||
| 12/12 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/12] crypto: qat - PFVF fixes and refactoring
This set includes few fixes and refactors in the QAT driver, mainly related to the PFVF communication mechanism.
Here is a summary of the changes:
* Patches #1 and #2 fix a bug in the PFVF protocol related to collision detection;
* Patch #3 optimizes the PFVF protocol protocol by removing an unnecessary timeout;
* Patch #4 makes the VF to PF interrupt related logic device specific;
* Patches #5 and #6 remove duplicated logic across devices and homegrown logic;
* Patches #7 to #12 are just refactoring of the PFVF code in preparation for updates to the protocol.
Giovanni Cabiddu (3):
crypto: qat - detect PFVF collision after ACK
crypto: qat - disregard spurious PFVF interrupts
crypto: qat - use hweight for bit counting
Marco Chiappero (9):
crypto: qat - remove unnecessary collision prevention step in PFVF
crypto: qat - fix handling of VF to PF interrupts
crypto: qat - remove duplicated logic across GEN2 drivers
crypto: qat - make pfvf send message direction agnostic
crypto: qat - move pfvf collision detection values
crypto: qat - rename pfvf collision constants
crypto: qat - add VF and PF wrappers to common send function
crypto: qat - extract send and wait from adf_vf2pf_request_version()
crypto: qat - share adf_enable_pf2vf_comms() from adf_pf2vf_msg.c
.../crypto/qat/qat_4xxx/adf_4xxx_hw_data.c | 4 +- .../crypto/qat/qat_c3xxx/adf_c3xxx_hw_data.c | 89 +------ .../crypto/qat/qat_c3xxx/adf_c3xxx_hw_data.h | 13 +- .../crypto/qat/qat_c62x/adf_c62x_hw_data.c | 87 +------ .../crypto/qat/qat_c62x/adf_c62x_hw_data.h | 12 - .../crypto/qat/qat_common/adf_accel_devices.h | 5 + .../crypto/qat/qat_common/adf_common_drv.h | 9 +- .../crypto/qat/qat_common/adf_gen2_hw_data.c | 98 ++++++++ .../crypto/qat/qat_common/adf_gen2_hw_data.h | 27 ++ drivers/crypto/qat/qat_common/adf_isr.c | 20 +- drivers/crypto/qat/qat_common/adf_pf2vf_msg.c | 238 ++++++++++-------- drivers/crypto/qat/qat_common/adf_pf2vf_msg.h | 9 - drivers/crypto/qat/qat_common/adf_vf2pf_msg.c | 4 +- drivers/crypto/qat/qat_common/adf_vf_isr.c | 6 + .../qat/qat_dh895xcc/adf_dh895xcc_hw_data.c | 123 ++++----- .../qat/qat_dh895xcc/adf_dh895xcc_hw_data.h | 14 +- 16 files changed, 361 insertions(+), 397 deletions(-)
Signature · 1 line
2.31.1