From: Steffen Trumtrar Date: Mon, 1 Dec 2014 12:26:33 +0000 (+0100) Subject: crypto: sahara - replace tasklets with kthread X-Git-Tag: omap-for-v3.19/fixes-rc1~99^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0c3c89ae34764890c2294dc4ddf055940b64c36;p=pandora-kernel.git crypto: sahara - replace tasklets with kthread In preparation for SHA support, replace the tasklets with a kthread that manages one crypto_queue for the core. As the Sahara can only process one AES or SHA request at a time, we make sure that the queue serializes all requests from userspace. Instead of a watchdog timer we now use a completion mechanism in the queue manager thread. This makes the control flow more obvious and guarantees, that only one request is dequeued until the completion is completed. Signed-off-by: Steffen Trumtrar Signed-off-by: Herbert Xu --- Reading git-diff-tree failed