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)
commit1dc440355e472a60a98cb4ec9aa5ec56267a96fc
tree44080516be7b353d6ebe0a1777f73330cb581a15
parent1201581c57925b8bc2cba8628b61add3d16d4615
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