crypto: hisilicon/qm - remove unneeded hardware cache write back
Subsystems (2)
PATCH 1/1 crypto: hisilicon/qm - remove unneeded hardware cache write back
From: Weili Qian <[email protected]>
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.
--- drivers/crypto/hisilicon/qm.c | 1 - 1 file changed, 1 deletion(-)
drivers/crypto/hisilicon/qm.c +0 -1
@@ -3258,7 +3258,6 @@ static void hisi_qm_uacce_put_queue(struct uacce_queue *q) {struct hisi_qp *qp = q->priv; -hisi_qm_cache_wb (qp->qm);hisi_qm_release_qp (qp); }
--
2.33.0
Herbert Xu
maintainerQuoted 8 lines · Yang Shen
From: Weili Qian <[email protected]>
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.
Quoted 5 lines
Signed-off-by Weili Qian <[email protected]>Signed-off-by Yang Shen <[email protected]>--- drivers/crypto/hisilicon/qm.c | 1 - 1 file changed, 1 deletion(-)
Patch applied. Thanks.
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt