merge the driver code to hulk branch and format rectificaiton
driver inclusion category: bugfix bugzilla: NA CVE: NA Feature or Bugfix: Bugfix 1. [42feaced] HPRE Crypto warning clean Warning -- Suspicious Truncation in arithmetic expression combining with pointer 2. [4b3f837d] crypto/zip: Fix to get queue from possible zip functions Original commit message: Current code just gets queue from the closest function, return fail if closest function has no available queue. In this patch, we firstly sort all available functions, then get queue from sorted functions one by one if closer function has no available queue. 3. [7250b1a9] crypto/qm: Export function to get free qp number for acc 4. [86eeda2b] crypto/hisilicon/qm: Fix static check warning Reduce loop complexity of qm_qp_ctx_cfg function. 5. [f1c558c0] Fix static check warning 6. [dfdfef8f] crypto/hisilicon/qm: Fix QM task timeout bug There is a domain segment in eqc/aeqc should be assignd value in D06 ES, Which is reserved in D06 CS. 7. [4bf721fe] Bugfixed as two kill signal gotten by user processes As two kill signals are gotten by the processes, file->ops->flush will be called twice. As uacce->ops->flush will be called twice too. Currently, flush cannot be called again at the same uacce_queue file, or core dump will show.So, status of uacce queue is added, as flush and release operations doing,queue status will be checked atomically. If already being released, do nothing. 8. [20bd4257] uacce/dummy: Fix dummy compile problem Original commit message: As we move flags, api_ver, gf_pg_start to uacce from uacce_ops, so also fix dummy driver to work together with current uacce. Signed-off-by: Nlingmingqiang <lingmingqiang@huawei.com> Changes to be committed: modified: drivers/crypto/hisilicon/Kconfig modified: drivers/crypto/hisilicon/hpre/hpre_crypto.c modified: drivers/crypto/hisilicon/qm.c modified: drivers/crypto/hisilicon/qm.h modified: drivers/crypto/hisilicon/zip/zip_main.c modified: drivers/uacce/Kconfig modified: drivers/uacce/dummy_drv/dummy_wd_dev.c modified: drivers/uacce/dummy_drv/dummy_wd_v2.c modified: drivers/uacce/uacce.c modified: include/linux/uacce.h Reviewed-by: Nhucheng.hu <hucheng.hu@huawei.com> Reviewed-by: NYang Yingliang <yangyingliang@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录