Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3062053ybt; Mon, 29 Jun 2020 14:16:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwsaiaA51ZJi+EeruoGe9XEFgUg2t15lu9O6dVsuq7/eZAh3KdZxO5ZoQqxKRGOsDhng4Bt X-Received: by 2002:a17:906:c9d6:: with SMTP id hk22mr15343454ejb.101.1593465383193; Mon, 29 Jun 2020 14:16:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593465383; cv=none; d=google.com; s=arc-20160816; b=go1BKLjz7dFLmoiN++C0jt9hJN8HwTqz2hn/QG83S7102IbTggZASyPT/+SGCP4unN jQMrmCMihHoiGsQ9SVQmQ4rhcuosJbaZxm35rt5LX0V5Pizqrqo25RGLroInaroioEwL PQ4ECtpqcbeYI4LrSqz7EY53cDILiJv14Ujd1IdGypFdPQECragz8nL7d0u0Y3cOiA2/ +e4WZ/M4u6De6WCrHJ53Yc9XQJcFTzEY4zPTzgzRkUXhsYfS24yUIHAq/LzKD1QGsPvJ Yi5Gm+5+hMjcwaGyI/69pZafZokoK+mzHSexKMZoUkSvc6dcEX4EpE73qP8EoSXQowor vmkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=YE3BQLmNNwJDcojhWVWED8lUKkLsujkrFvKOpTwVaJc=; b=xajtfzLpHpMjrtKNMpGRkL00mgsN+h7Erdw/Y53TozdumuwNAdlkPtvc2qxKVF3yC4 H320qHOYIgT8F264TUAoTei36X33GXZlPnFktibjpWu9AsXKdSdEqfVKlp1zY+27iUsi AylUrDdijkzEzdItif3OSdBT0pcQZPfq0RDta1pPQvb4L9/L4vlPwA8sPdGyBXEEhybx kM+Y1/pH88O7POAsY8hGhg4GOS652UTHwFTM9Ex7Une846TDK/T9TlabWh4yQ1+aYtEu uCbKTbqIgmJb2q+dQgux5QVser4UCksWpQJD8WBcpi8CqhUUsLrZ5QO6uvNNoM/fWmkz Zq7w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c2si432419edq.228.2020.06.29.14.15.59; Mon, 29 Jun 2020 14:16:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390107AbgF2VOh (ORCPT + 99 others); Mon, 29 Jun 2020 17:14:37 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:59618 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729918AbgF2S5H (ORCPT ); Mon, 29 Jun 2020 14:57:07 -0400 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 477AA4F36D5F161AAF4E; Mon, 29 Jun 2020 19:10:58 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.487.0; Mon, 29 Jun 2020 19:10:44 +0800 From: Yang Shen To: , CC: , , Subject: [PATCH 0/9] crypto: hisilicon/qm - misc fixes Date: Mon, 29 Jun 2020 19:08:59 +0800 Message-ID: <1593428948-64634-1-git-send-email-shenyang39@huawei.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain 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' This patchset depends on: https://patchwork.kernel.org/cover/1162709/ 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 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 | 27 +++--- drivers/crypto/hisilicon/qm.c | 126 +++++++++++++++++++++++----- drivers/crypto/hisilicon/qm.h | 23 ++--- drivers/crypto/hisilicon/sec2/sec_crypto.c | 35 +++----- drivers/crypto/hisilicon/sec2/sec_main.c | 30 +++---- drivers/crypto/hisilicon/zip/zip_crypto.c | 2 +- drivers/crypto/hisilicon/zip/zip_main.c | 44 +++++----- 8 files changed, 190 insertions(+), 133 deletions(-) -- 2.7.4