crypto: hisilicon/qm - fix 'QM_XEQ_DEPTH_CAP' mask value
authorWeili Qian <qianweili@huawei.com>
Sat, 19 Nov 2022 09:48:43 +0000 (17:48 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 Dec 2022 12:32:35 +0000 (13:32 +0100)
commit8642c72b081e35ce86b36b2b295209b1d9d721c7
tree4c724c5a367293b39ad3cea1301852aa68df223a
parent4841596b93f0708fba68b78f5e8ed3fb28ca6689
crypto: hisilicon/qm - fix 'QM_XEQ_DEPTH_CAP' mask value

[ Upstream commit 3901355624d14afe3230252cb36bc3da8ff6890e ]

'QM_XEQ_DEPTH_CAP' mask value is GENMASK(31, 0) instead of GENMASK(15, 0).
If the mask value is incorrect, will cause abnormal events cannot be
handled. So fix it.

Fixes: 129a9f340172 ("crypto: hisilicon/qm - get qp num and depth from hardware registers")
Signed-off-by: Weili Qian <qianweili@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/crypto/hisilicon/qm.c