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 -- 2.34.1