crypto: rockchip - move the crypto completion from interrupt context
It's illegal to call the completion function from hardirq context, it will cause runtime tests to fail. Let's build a new task (done_task) for moving update operation from hardirq context. Signed-off-by: zain wang <wzz@rock-chips.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
这个提交包含在:
@@ -204,7 +204,7 @@ static int rk_ahash_digest(struct ahash_request *req)
|
||||
ret = crypto_enqueue_request(&dev->queue, &req->base);
|
||||
spin_unlock_irqrestore(&dev->lock, flags);
|
||||
|
||||
tasklet_schedule(&dev->crypto_tasklet);
|
||||
tasklet_schedule(&dev->queue_task);
|
||||
|
||||
/*
|
||||
* it will take some time to process date after last dma transmission.
|
||||
|
在新工单中引用
屏蔽一个用户