aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto/allwinner/sun8i-ss/sun8i-ss-cipher.c
diff options
context:
space:
mode:
authorWeili Qian <qianweili@huawei.com>2022-06-09 20:31:19 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2022-06-17 17:19:20 +0800
commitd64de9773c18409d2161228242968ff3ebe3707e (patch)
tree9f43334086c3843bdc67bc3bdb7e90058b8ad1bc /drivers/crypto/allwinner/sun8i-ss/sun8i-ss-cipher.c
parentcrypto: hisilicon/qm - move alloc qm->wq to qm.c (diff)
downloadlinux-dev-d64de9773c18409d2161228242968ff3ebe3707e.tar.xz
linux-dev-d64de9773c18409d2161228242968ff3ebe3707e.zip
crypto: hisilicon/qm - modify event irq processing
When the driver receives an event interrupt, the driver will enable the event interrupt after handling all completed tasks on the function, tasks on the function are parsed through only one thread. If the task's user callback takes time, other tasks on the function will be blocked. Therefore, the event irq processing is modified as follows: 1. Obtain the ID of the queue that completes the task. 2. Enable event interrupt. 3. Parse the completed tasks in the queue and call the user callback. Enabling event interrupt in advance can quickly report pending event interrupts and process tasks in multiple threads. Signed-off-by: Weili Qian <qianweili@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions