]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: hisilicon/qm - remove unneeded hardware cache write back
authorWeili Qian <qianweili@huawei.com>
Sat, 13 Aug 2022 10:35:45 +0000 (18:35 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 19 Aug 2022 10:39:38 +0000 (18:39 +0800)
commitf4a8617ab8117d3b7d0a5525d73584800fddcee1
tree3c7e08d5c26c9047e0b812140adab40784dea6a1
parentce0e472ae0a00ed76e91dab0d557a772bb6babfa
crypto: hisilicon/qm - remove unneeded hardware cache write back

Data in the hardware cache needs to be written back to the memory
before the queue memory is released. Currently, the queue memory is
applied for when the driver is loaded and released when the driver is
removed. Therefore, the hardware cache does not need to be written back
when process puts queue.

Signed-off-by: Weili Qian <qianweili@huawei.com>
Signed-off-by: Yang Shen <shenyang39@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/qm.c