diff options
author | Zhou Wang <wangzhou1@hisilicon.com> | 2020-05-09 17:43:58 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-05-15 16:15:02 +1000 |
commit | b67202e8ed30bfa07b07a6f8fc762417a9a4e6de (patch) | |
tree | efcedcfc1b87c209d4981e85e88761a56a9b180b /drivers/media | |
parent | 20b291f51802b35d84e20efbf110e8c9a853a22c (diff) | |
download | linux-b67202e8ed30bfa07b07a6f8fc762417a9a4e6de.tar.bz2 |
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 <wangzhou1@hisilicon.com>
Signed-off-by: Shukun Tan <tanshukun1@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/media')
0 files changed, 0 insertions, 0 deletions