]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: qat - set COMPRESSION capability for DH895XCC
authorGiovanni Cabiddu <giovanni.cabiddu@intel.com>
Thu, 7 Apr 2022 16:54:41 +0000 (17:54 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 15 Apr 2022 08:34:25 +0000 (16:34 +0800)
commit4e8a6d2a3ede37f5726b2af7fa668ad92874010a
treea0c1b2305f0a6ab8fa71276e2caf7b72c65232ae
parentc556c5ee2478a9a451496c9779ce49565e577f27
crypto: qat - set COMPRESSION capability for DH895XCC

The capability detection logic clears bits for the features that are
disabled in a certain SKU. For example, if the bit associate to
compression is not present in the LEGFUSE register, the correspondent
bit is cleared in the capability mask.
This change adds the compression capability to the mask as this was
missing in the commit that enhanced the capability detection logic.

Fixes: 3af0ab87670c ("crypto: qat - set COMPRESSION capability for QAT GEN2")
Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Marco Chiappero <marco.chiappero@intel.com>
Reviewed-by: Marco Chiappero <marco.chiappero@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/qat/qat_dh895xcc/adf_dh895xcc_hw_data.c