Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Weili Qian and committed by
Herbert Xu
6a088a2c 1129d2d5

-1
-1
drivers/crypto/hisilicon/qm.c
··· 3246 3246 { 3247 3247 struct hisi_qp *qp = q->priv; 3248 3248 3249 - hisi_qm_cache_wb(qp->qm); 3250 3249 hisi_qm_release_qp(qp); 3251 3250 } 3252 3251