]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: hisilicon/zip - add a work_queue for zip irq
authorYang Shen <shenyang39@huawei.com>
Fri, 13 Nov 2020 09:32:35 +0000 (17:32 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 20 Nov 2020 03:45:33 +0000 (14:45 +1100)
commit3e5b6171f4df3e5dd9c30811dd408708e533500b
tree44080516be7b353d6ebe0a1777f73330cb581a15
parent1b3a9cb7396119539f44fe65ae5484d43ffff9df
crypto: hisilicon/zip - add a work_queue for zip irq

The patch 'irqchip/gic-v3-its: Balance initial LPI affinity across CPUs'
set the IRQ to an uncentain CPU. If an IRQ is bound to the CPU used by the
thread which is sending request, the throughput will be just half.

So allocate a 'work_queue' and set as 'WQ_UNBOUND' to do the back half work
on some different CPUS.

Signed-off-by: Yang Shen <shenyang39@huawei.com>
Reviewed-by: Zaibo Xu <xuzaibo@huawei.com>
Reviewed-by: Zhou Wang <wangzhou1@hisilicon.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/zip/zip_main.c