Skip to content

Commit b67202e

Browse files
Zhou Wangherbertx
authored andcommitted
crypto: hisilicon/qm - add state machine for QM
Add specific states for qm and qp, every state change under critical region to prevent from race condition. Meanwhile, qp state change will also depend on qm state. Due to the introduction of these states, it is necessary to pay attention to the calls of public logic, such as concurrent scenarios resetting and releasing queue will call hisi_qm_stop, which needs to add additional status to distinguish and process. Signed-off-by: Zhou Wang <[email protected]> Signed-off-by: Shukun Tan <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent 20b291f commit b67202e

File tree

2 files changed

+307
-83
lines changed

2 files changed

+307
-83
lines changed

0 commit comments

Comments
 (0)