From patchwork Thu Jul 23 07:19:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Shen X-Patchwork-Id: 11680181 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 219D813A4 for ; Thu, 23 Jul 2020 07:21:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1332F22B43 for ; Thu, 23 Jul 2020 07:21:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726938AbgGWHVy (ORCPT ); Thu, 23 Jul 2020 03:21:54 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:8356 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726926AbgGWHVy (ORCPT ); Thu, 23 Jul 2020 03:21:54 -0400 Received: from DGGEMS409-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 08A7F5E5A6A50CA7CD9F; Thu, 23 Jul 2020 15:21:52 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS409-HUB.china.huawei.com (10.3.19.209) with Microsoft SMTP Server id 14.3.487.0; Thu, 23 Jul 2020 15:21:42 +0800 From: Yang Shen To: , CC: , , Subject: [PATCH v3 00/10] crypto: hisilicon/qm - misc fixes Date: Thu, 23 Jul 2020 15:19:30 +0800 Message-ID: <1595488780-22085-1-git-send-email-shenyang39@huawei.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org This patchset fix some qm bugs: patch 1: store the string address before pass to 'strsep' patch 2: clear 'qp_status->used' when init the 'qp' patch 3: use 'dev_info_ratelimited' to avoid printk flooding. patch 4: fix the judgement of queue is full patch 7: save the vf configuration space to make sure it is available after the 'PF' 'FLR' patch 8: move the process of register alg to crypto in driver 'hisi_zip' patch 9: register callback to 'pci_driver.shutdown' patch 10: wait for all working function finishs when remove the device v3: - add the patch 10 which is aimed to fix the call trace when remove a working device v2: - fix the wrong email address on patch 1 Hui Tang (1): crypto: hisilicon/qm - fix judgement of queue is full Shukun Tan (3): crypto: hisilicon/qm - clear used reference count when start qp crypto: hisilicon/qm - fix event queue depth to 2048 crypto: hisilicon/qm - fix VF not available after PF FLR Sihang Chen (1): crypto: hisilicon/qm - fix wrong release after using strsep Weili Qian (1): crypto: hisilicon - fix the call trace when unbind device Yang Shen (4): crypto: hisilicon/qm - fix print frequence in hisi_qp_send crypto: hisilicon/qm - fix no stop reason when use 'hisi_qm_stop' crypto: hisilicon/qm - fix the process of register algorithms to crypto crypto: hisilicon/qm - register callback function to 'pci_driver.shutdown' drivers/crypto/hisilicon/hpre/hpre_crypto.c | 36 ++--- drivers/crypto/hisilicon/hpre/hpre_main.c | 28 ++-- drivers/crypto/hisilicon/qm.c | 221 ++++++++++++++++++++++++---- drivers/crypto/hisilicon/qm.h | 27 ++-- drivers/crypto/hisilicon/sec2/sec_crypto.c | 35 ++--- drivers/crypto/hisilicon/sec2/sec_main.c | 33 +++-- drivers/crypto/hisilicon/zip/zip_crypto.c | 2 +- drivers/crypto/hisilicon/zip/zip_main.c | 49 +++--- 8 files changed, 288 insertions(+), 143 deletions(-) --- 2.7.4