mbox series

[0/8] crypto: qat - misc fixes

Message ID 20220404143829.147404-1-marco.chiappero@intel.com
Headers show
Series crypto: qat - misc fixes | expand

Message

Marco Chiappero April 4, 2022, 2:38 p.m. UTC
This set contains a collection of fixes for DH895XCC (the first two
patches) and PFVF (the rest of the set).

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 removes redundant PFVF code, while the fourth one
addresses a 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 to ease the review.

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 (5):
  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

 .../crypto/qat/qat_common/adf_accel_devices.h |   4 +-
 .../crypto/qat/qat_common/adf_common_drv.h    |  18 +--
 drivers/crypto/qat/qat_common/adf_gen2_pfvf.c |  78 ++++++++-----
 drivers/crypto/qat/qat_common/adf_gen4_pfvf.c |  55 ++++++---
 drivers/crypto/qat/qat_common/adf_isr.c       |  21 ++--
 drivers/crypto/qat/qat_common/adf_sriov.c     |   2 +-
 .../qat/qat_dh895xcc/adf_dh895xcc_hw_data.c   | 110 +++++++++++-------
 7 files changed, 168 insertions(+), 120 deletions(-)


base-commit: d6de7d2f20455c0239fbcc3e79e929ba068b6740