From patchwork Sat May 9 09:43:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shukun Tan X-Patchwork-Id: 197761 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 91061C54E8A for ; Sat, 9 May 2020 09:45:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 730E4214D8 for ; Sat, 9 May 2020 09:45:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728172AbgEIJpZ (ORCPT ); Sat, 9 May 2020 05:45:25 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:58118 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728190AbgEIJpX (ORCPT ); Sat, 9 May 2020 05:45:23 -0400 Received: from DGGEMS412-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 636F61FCF1C5B9EC1DB2; Sat, 9 May 2020 17:45:19 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS412-HUB.china.huawei.com (10.3.19.212) with Microsoft SMTP Server id 14.3.487.0; Sat, 9 May 2020 17:45:09 +0800 From: Shukun Tan To: , CC: , , Subject: [PATCH v2 00/12] crypto: hisilicon - misc cleanup and optimizations Date: Sat, 9 May 2020 17:43:53 +0800 Message-ID: <1589017445-15514-1-git-send-email-tanshukun1@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 includes some misc updates. patch 1-3: modify the accelerator probe process. patch 4: refactor module parameter pf_q_num. patch 5-6: add state machine and FLR support. patch 7: remove use_dma_api related useless codes. patch 8-9: QM initialization process and memory management optimization. patch 10-11: add device error report through abnormal irq. patch 12: tiny change of zip driver. Longfang Liu (3): crypto: hisilicon/sec2 - modify the SEC probe process crypto: hisilicon/hpre - modify the HPRE probe process crypto: hisilicon/zip - modify the ZIP probe process Shukun Tan (5): crypto: hisilicon - refactor module parameter pf_q_num related code crypto: hisilicon - add FLR support crypto: hisilicon - remove use_dma_api related codes crypto: hisilicon - remove codes of directly report device errors through MSI crypto: hisilicon - add device error report through abnormal irq Weili Qian (2): crypto: hisilicon - unify initial value assignment into QM crypto: hisilicon - QM memory management optimization Zhou Wang (2): crypto: hisilicon/qm - add state machine for QM crypto: hisilicon/zip - Use temporary sqe when doing work drivers/crypto/hisilicon/hpre/hpre_main.c | 107 ++- drivers/crypto/hisilicon/qm.c | 1101 +++++++++++++++++++---------- drivers/crypto/hisilicon/qm.h | 75 +- drivers/crypto/hisilicon/sec2/sec_main.c | 134 ++-- drivers/crypto/hisilicon/zip/zip_crypto.c | 11 +- drivers/crypto/hisilicon/zip/zip_main.c | 128 ++-- 6 files changed, 950 insertions(+), 606 deletions(-)