crypto: qat - misc fixes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest16 patches 1 replyIn review
- v18 patches 0 repliesSuperseded
Changes in v2 from the cover letter
- Addition of patches #3, #4, #6, #7, #8, #9, #10 and #11.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/16 | crypto: qat - set CIPHER capability for DH895XCCdrivers/ | +9 | 0 replies | |
| 2/16 | crypto: qat - set COMPRESSION capability for DH895XCCdrivers/ | +2 | 0 replies | |
| 3/16 | crypto: qat - fix ETR sources enabled by default on GEN2 devicesdrivers/ drivers/ drivers/ +5 more | +22 | 0 replies | |
| 4/16 | crypto: qat - remove unneeded bracesdrivers/ | +1 | 0 replies | |
| 5/16 | crypto: qat - remove unused PFVF stubsdrivers/ | +0 | 0 replies | |
| 6/16 | crypto: qat - remove unnecessary tests to detect PFVF supportdrivers/ | +3 | 0 replies | |
| 7/16 | crypto: qat - add missing restarting event notification in VFsdrivers/ | +1 | 0 replies | |
| 8/16 | crypto: qat - add check for invalid PFVF protocol version 0drivers/ | +3 | 0 replies | |
| 9/16 | crypto: qat - test PFVF registers for spurious interrupts on GEN4drivers/ | +6 | 0 replies | |
| 10/16 | crypto: qat - fix wording and formatting in code commentdrivers/ | +2 | 0 replies | |
| 11/16 | crypto: qat - fix off-by-one error in PFVF debug printdrivers/ | +1 | 0 replies | |
| 12/16 | crypto: qat - rework the VF2PF interrupt handling logicdrivers/ drivers/ drivers/ +2 more | +132 | 0 replies | |
| 13/16 | crypto: qat - leverage the GEN2 VF mask definitondrivers/ | +3 | 0 replies | |
| 14/16 | crypto: qat - replace disable_vf2pf_interrupts()drivers/ drivers/ drivers/ +4 more | +23 | 0 replies | |
| 15/16 | crypto: qat - use u32 variables in all GEN4 pfvf_opsdrivers/ | +1 | 0 replies | |
| 16/16 | crypto: qat - remove line wrapping for pfvf_ops functionsdrivers/ drivers/ drivers/ | +3 | 0 replies |
Reviews trailers per patch
15 of 16 patches have a Reviewed-by or Acked-by.
| Patch | Marco Chiappero | Giovanni Cabiddu |
|---|---|---|
| 1/16 | R-b | |
| 2/16 | R-b | |
| 3/16 | R-b | |
| 4/16 | R-b | |
| 5/16 | R-b | |
| 6/16 | R-b | |
| 7/16 | R-b | |
| 8/16 | R-b | |
| 9/16 | R-b | |
| 10/16 | R-b | |
| 11/16 | R-b | |
| 12/16 | ||
| 13/16 | R-b | |
| 14/16 | R-b | |
| 15/16 | R-b | |
| 16/16 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 00/16] crypto: qat - misc fixes
This set contains a collection of fixes for DH895XCC (the first two patches), PFVF (most of the set) and a few more.
Patches one and two correct the lack of necessary flags to indicate the presence of specific HW capabilities, which could result in VFs unable to work correctly.
The third patch fixes some ring interrupts silently enabled even when VFs are active, while the fourth one is just a style fix.
Patches from five to eleven are minor PFVF fixes, while patch twelve addresses a bigger problem which caused lost PFVF messages due to unhandled interrupts during bursts of PFVF messages from multiple VFs. This was usually noticeable when restarting many VMs/VFs at the same time. The remainder of the set is a refactoring resulting from the previous fix, but split into multiple commits to ease the review.
Changes from v1:
- Addition of patches #3, #4, #6, #7, #8, #9, #10 and #11.
Giovanni Cabiddu (3):
crypto: qat - set CIPHER capability for DH895XCC
crypto: qat - set COMPRESSION capability for DH895XCC
crypto: qat - remove unused PFVF stubs
Marco Chiappero (12):
crypto: qat - fix ETR sources enabled by default on GEN2 devices
crypto: qat - remove unneeded braces
crypto: qat - remove unnecessary tests to detect PFVF support
crypto: qat - add missing restarting event notification in VFs
crypto: qat - test PFVF registers for spurious interrupts on GEN4
crypto: qat - fix wording and formatting in code comment
crypto: qat - fix off-by-one error in PFVF debug print
crypto: qat - rework the VF2PF interrupt handling logic
crypto: qat - leverage the GEN2 VF mask definiton
crypto: qat - replace disable_vf2pf_interrupts()
crypto: qat - use u32 variables in all GEN4 pfvf_ops
crypto: qat - remove line wrapping for pfvf_ops functions
Wojciech Ziemba (1):
crypto: qat - add check for invalid PFVF protocol version 0
.../crypto/qat/qat_c3xxx/adf_c3xxx_hw_data.c | 15 +-- .../crypto/qat/qat_c3xxx/adf_c3xxx_hw_data.h | 4 - .../crypto/qat/qat_c62x/adf_c62x_hw_data.c | 15 +-- .../crypto/qat/qat_c62x/adf_c62x_hw_data.h | 4 - .../crypto/qat/qat_common/adf_accel_devices.h | 4 +- .../crypto/qat/qat_common/adf_common_drv.h | 18 +-- .../crypto/qat/qat_common/adf_gen2_hw_data.c | 13 ++ .../crypto/qat/qat_common/adf_gen2_hw_data.h | 6 + drivers/crypto/qat/qat_common/adf_gen2_pfvf.c | 78 ++++++----- drivers/crypto/qat/qat_common/adf_gen4_pfvf.c | 61 ++++++--- drivers/crypto/qat/qat_common/adf_isr.c | 21 ++- drivers/crypto/qat/qat_common/adf_pfvf_msg.h | 4 +- .../crypto/qat/qat_common/adf_pfvf_pf_proto.c | 6 +- drivers/crypto/qat/qat_common/adf_sriov.c | 13 +- drivers/crypto/qat/qat_common/adf_vf_isr.c | 1 + .../qat/qat_dh895xcc/adf_dh895xcc_hw_data.c | 126 ++++++++++-------- .../qat/qat_dh895xcc/adf_dh895xcc_hw_data.h | 4 - 17 files changed, 206 insertions(+), 187 deletions(-)
base-commit: 25d8a743a4810228f9b391f6face4777b28bae7b
Signature · 1 line
2.34.1