Skip to content

crypto: qat - state change fixes

Giovanni Cabiddu linux-crypto 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5crypto: qat - fix state machines cleanup pathsdrivers/crypto/intel/qat/qat_common/adf_init.c drivers/crypto/intel/qat/qat_common/adf_sysfs.c+7 -70 replies
2/5crypto: qat - do not shadow error codedrivers/crypto/intel/qat/qat_common/adf_sysfs.c+2 -20 replies
3/5crypto: qat - ignore subsequent state up commandsdrivers/crypto/intel/qat/qat_common/adf_sysfs.c+3 -10 replies
4/5crypto: qat - fix unregistration of crypto algorithmsdrivers/crypto/intel/qat/qat_common/adf_common_drv.h drivers/crypto/intel/qat/qat_common/adf_init.c+5 -10 replies
5/5crypto: qat - fix unregistration of compression algorithmsdrivers/crypto/intel/qat/qat_common/adf_common_drv.h drivers/crypto/intel/qat/qat_common/adf_init.c+5 -10 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchAdam Guerin
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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

Signature · 1 line
2.41.0