summaryrefslogtreecommitdiff
path: root/crypto/xts.c
diff options
context:
space:
mode:
authorWeili Qian <qianweili@huawei.com>2023-10-08 15:36:17 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2023-10-14 07:05:39 +0300
commit5b90073defd1a52aa8120403d79f6e0fc10c87ee (patch)
tree7945a8b1f45dc33ec1e2f1621a9ced2791d43696 /crypto/xts.c
parent8405ec8e3c02df8b3720874c3e2169fef4553868 (diff)
downloadlinux-5b90073defd1a52aa8120403d79f6e0fc10c87ee.tar.xz
crypto: hisilicon/qm - alloc buffer to set and get xqc
If the temporarily applied memory is used to set or get the xqc information, the driver releases the memory immediately after the hardware mailbox operation time exceeds the driver waiting time. However, the hardware does not cancel the operation, so the hardware may write data to released memory. Therefore, when the driver is bound to a device, the driver reserves memory for the xqc configuration. The subsequent xqc configuration uses the reserved memory to prevent hardware from accessing the released memory. Signed-off-by: Weili Qian <qianweili@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/xts.c')
0 files changed, 0 insertions, 0 deletions