]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
crypto: qat - add bank state save and restore for qat_420xx
authorGiovanni Cabiddu <giovanni.cabiddu@intel.com>
Thu, 20 Nov 2025 16:30:19 +0000 (16:30 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 19 Dec 2025 06:47:46 +0000 (14:47 +0800)
commit90ca8d359666d16d11f73f6eb92cb51585efa1bd
tree3b950b790dae1e49dd16af1538eb3b4915dc83bc
parente3d036fecd6f89d4d262034de7bef8d6e49b661b
crypto: qat - add bank state save and restore for qat_420xx

Register the functions required to save and restore the state of a ring
bank on the qat_420xx device.  Since this logic is shared across QAT
GEN4 devices, reuse the existing GEN4 implementation.

This functionality enables saving and restoring the state of a Virtual
Function (VF), which is required for supporting VM Live Migration.

Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Reviewed-by: Ahsan Atta <ahsan.atta@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/intel/qat/qat_420xx/adf_420xx_hw_data.c