crypto: qat - add live migration enablers for GEN6 devices
authorMałgorzata Mielnik <malgorzata.mielnik@intel.com>
Tue, 1 Jul 2025 09:47:30 +0000 (10:47 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 18 Jul 2025 10:51:59 +0000 (20:51 +1000)
commit26abce2510980f8c4693a6a35753a94f0efd47ab
tree18fc265dff11df7fcabfab596bdc9795f0d54fac
parenta47dc5d1a6e2342e7725c6c592800d49b7276b7a
crypto: qat - add live migration enablers for GEN6 devices

The current implementation of the QAT live migration enablers is exclusive
to QAT GEN4 devices and resides within QAT GEN4 specific files. However,
the underlying mechanisms, such as the relevant CSRs and offsets,
can be shared between QAT GEN4 and QAT GEN6 devices.

Add the necessary enablers required to implement live migration for QAT
GEN6 devices to the abstraction layer to allow leveraging the existing
QAT GEN4 implementation.

Signed-off-by: Małgorzata Mielnik <malgorzata.mielnik@intel.com>
Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/intel/qat/qat_6xxx/adf_6xxx_hw_data.c
drivers/crypto/intel/qat/qat_common/adf_gen6_shared.c
drivers/crypto/intel/qat/qat_common/adf_gen6_shared.h