mbox series

[0/5] crypto: qat - state change fixes

Message ID 20230914095658.27166-1-giovanni.cabiddu@intel.com (mailing list archive)
Headers show
Series crypto: qat - state change fixes | expand

Message

Cabiddu, Giovanni Sept. 14, 2023, 9:55 a.m. UTC
This set combines a set of fixes in the QAT driver related to the core
state machines and the change in state that can be triggered through
sysfs.

Here is a summary of the changes:
* Patch #1 resolves a bug that prevents resources to be freed up.
* Patch #2 is a simple cleanup.
* Patch #3 fix the behaviour of the command `up` triggered through a
  write to  /sys/bus/pci/devices/<BDF>/qat/state.
* Patches #4 and #5 fix a corner case in the un-registration of
  algorithms in the state machines.

Giovanni Cabiddu (5):
  crypto: qat - fix state machines cleanup paths
  crypto: qat - do not shadow error code
  crypto: qat - ignore subsequent state up commands
  crypto: qat - fix unregistration of crypto algorithms
  crypto: qat - fix unregistration of compression algorithms

 .../intel/qat/qat_common/adf_common_drv.h       |  2 ++
 drivers/crypto/intel/qat/qat_common/adf_init.c  | 17 ++++++++---------
 drivers/crypto/intel/qat/qat_common/adf_sysfs.c | 15 ++++++++++++---
 3 files changed, 22 insertions(+), 12 deletions(-)


base-commit: be369945f2f612c40f771fe265db1ca658cdc0d1

Comments

Herbert Xu Sept. 20, 2023, 5:22 a.m. UTC | #1
On Thu, Sep 14, 2023 at 10:55:44AM +0100, Giovanni Cabiddu wrote:
> This set combines a set of fixes in the QAT driver related to the core
> state machines and the change in state that can be triggered through
> sysfs.
> 
> Here is a summary of the changes:
> * Patch #1 resolves a bug that prevents resources to be freed up.
> * Patch #2 is a simple cleanup.
> * Patch #3 fix the behaviour of the command `up` triggered through a
>   write to  /sys/bus/pci/devices/<BDF>/qat/state.
> * Patches #4 and #5 fix a corner case in the un-registration of
>   algorithms in the state machines.
> 
> Giovanni Cabiddu (5):
>   crypto: qat - fix state machines cleanup paths
>   crypto: qat - do not shadow error code
>   crypto: qat - ignore subsequent state up commands
>   crypto: qat - fix unregistration of crypto algorithms
>   crypto: qat - fix unregistration of compression algorithms
> 
>  .../intel/qat/qat_common/adf_common_drv.h       |  2 ++
>  drivers/crypto/intel/qat/qat_common/adf_init.c  | 17 ++++++++---------
>  drivers/crypto/intel/qat/qat_common/adf_sysfs.c | 15 ++++++++++++---
>  3 files changed, 22 insertions(+), 12 deletions(-)
> 
> 
> base-commit: be369945f2f612c40f771fe265db1ca658cdc0d1
> -- 
> 2.41.0

All applied.  Thanks.