]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbadc7f6b4e566814c3361ef138b019fa1cadf3ab
treeacd6848533d3c8527acf17beb31436e7e5223099
parent481ca141809ea4f577e2dbda9ba777f79da30bc2
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