]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
crypto: qat - set command ids as reserved
authorSuman Kumar Chakraborty <suman.kumar.chakraborty@intel.com>
Fri, 31 Jan 2025 11:34:54 +0000 (11:34 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 9 Feb 2025 10:08:11 +0000 (18:08 +0800)
The XP10 algorithm is not supported by any QAT device.
Remove the definition of bit 7 (ICP_QAT_FW_COMP_20_CMD_XP10_COMPRESS)
and bit 8 (ICP_QAT_FW_COMP_20_CMD_XP10_DECOMPRESS) in the firmware
command id enum and rename them as reserved.
Those bits shall not be used in future.

Signed-off-by: Suman Kumar Chakraborty <suman.kumar.chakraborty@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_common/icp_qat_fw_comp.h

index a03d43fef2b370e0583f5a2fee8ff5b707836bcb..04f645957e28262107f31c927da85865ebd2b513 100644 (file)
@@ -16,8 +16,8 @@ enum icp_qat_fw_comp_20_cmd_id {
        ICP_QAT_FW_COMP_20_CMD_LZ4_DECOMPRESS = 4,
        ICP_QAT_FW_COMP_20_CMD_LZ4S_COMPRESS = 5,
        ICP_QAT_FW_COMP_20_CMD_LZ4S_DECOMPRESS = 6,
-       ICP_QAT_FW_COMP_20_CMD_XP10_COMPRESS = 7,
-       ICP_QAT_FW_COMP_20_CMD_XP10_DECOMPRESS = 8,
+       ICP_QAT_FW_COMP_20_CMD_RESERVED_7 = 7,
+       ICP_QAT_FW_COMP_20_CMD_RESERVED_8 = 8,
        ICP_QAT_FW_COMP_20_CMD_RESERVED_9 = 9,
        ICP_QAT_FW_COMP_23_CMD_ZSTD_COMPRESS = 10,
        ICP_QAT_FW_COMP_23_CMD_ZSTD_DECOMPRESS = 11,