Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

crypto: qat - remove duplicate masking for GEN6 devices

The ICP_ACCEL_CAPABILITIES_CIPHER capability is masked out redundantly
for QAT GEN6 devices.

Remove it to avoid code duplication.

This does not introduce any functional change.

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>

authored by

Suman Kumar Chakraborty and committed by
Herbert Xu
7ae637a2 ab8b9fd3

-1
-1
drivers/crypto/intel/qat/qat_6xxx/adf_6xxx_hw_data.c
··· 629 629 capabilities_sym &= ~ICP_ACCEL_CAPABILITIES_CHACHA_POLY; 630 630 capabilities_sym &= ~ICP_ACCEL_CAPABILITIES_AESGCM_SPC; 631 631 capabilities_sym &= ~ICP_ACCEL_CAPABILITIES_AES_V2; 632 - capabilities_sym &= ~ICP_ACCEL_CAPABILITIES_CIPHER; 633 632 } 634 633 if (fusectl1 & ICP_ACCEL_GEN6_MASK_AUTH_SLICE) { 635 634 capabilities_sym &= ~ICP_ACCEL_CAPABILITIES_AUTHENTICATION;