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