crypto: qat - fix CSR access
authorJack Xu <jack.xu@intel.com>
Fri, 6 Nov 2020 11:27:41 +0000 (19:27 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 13 Nov 2020 09:38:46 +0000 (20:38 +1100)
commit49a6cccec4f89777a0ffd2a6d4c3b1af33636b3a
treeacd6848533d3c8527acf17beb31436e7e5223099
parent3b5c130fb2e4c045369791c33c83b59f6e84f7d6
crypto: qat - fix CSR access

Do not mask the AE number with the AE mask when accessing the AE local
CSRs. Bit 12 of the local CSR address is the start of AE number so just
take out the AE mask here.

Signed-off-by: Jack Xu <jack.xu@intel.com>
Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/qat/qat_common/icp_qat_hal.h