Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1399628ybj; Thu, 7 May 2020 23:59:43 -0700 (PDT) X-Google-Smtp-Source: APiQypKjhuDgblurLJWyPdD7gwvk3V7pR36RoESBYNC0d83EFLv+6h5DJfmjBjpZn/HOMBDgJxtj X-Received: by 2002:aa7:c983:: with SMTP id c3mr959295edt.343.1588921183572; Thu, 07 May 2020 23:59:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588921183; cv=none; d=google.com; s=arc-20160816; b=J+7VsjM3nnu/oCVXz9ZLcNbWj0z2BFsAqlVeNA5ANl47akkaBn5Sq/dCsOxV+3JGBJ znLuLButOce8nOZIPBfa/86++hSKSJ4ulxfdYwkPmhIwTIwvTnhrhuiiIEMLYFaXlqVh 6xCndMVTTa4ZqIOOzZdZnYop2MxKOhdiLCxH2TVH+ukuvOIaBpZN5PEL1eC7fx2yrTnM xuc6L7/B5K9YLffpP1DgSNiw098ypE00CEmU9o3cg2eP2aH6xzcyBJgN4Xzz+7MY9A+F YP9E0mEnY38fY+n2smoRc1G5r1umlwIcrDtqcLkByM+GnKCHFmLI7Fgum2T4nL4tw3mN OPWw== 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=R4dCVzGgxpqai4+zXFvhO5tdx1STzvsOqjHz8FDnYYo=; b=yMzsok30XYGmxZq2cxQTnmxtWUsMHOBnFmttNUN5S6QTmRr0RiCzgDVd9SGTT9eBXg sfWNHbT/asbdSzfTE+Q4UZOZ37V7Uo4IVhjv7gsyavKWF9OMnfpSQliG77DWIlksT/Kr 6ZUY4BSCw6oMMI3euIyqsa8RmmBN7CQ8w60om1JgtCV6p6KQpMP69xF+EPFIE7YatECG 4LRQHcFh2sb0MJH0ggG90qtf7PnBHtdFKssbJH639Ix/jjxA5atYVnm9fQuCSgAFHuRs YRN3pyYeTCmkaCEhS8zSDZbtMaJKHUQVJI7Cl26861eJIr6VUxf2f1WZ2RYbeHFlw+H4 4SMA== 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 r1si469870edq.482.2020.05.07.23.59.13; Thu, 07 May 2020 23:59:43 -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 S1726756AbgEHG7E (ORCPT + 99 others); Fri, 8 May 2020 02:59:04 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:56570 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726770AbgEHG7E (ORCPT ); Fri, 8 May 2020 02:59:04 -0400 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 2CCA1B4BB55ABE0098A5; Fri, 8 May 2020 14:59:00 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.487.0; Fri, 8 May 2020 14:58:51 +0800 From: Shukun Tan To: , CC: , , Subject: [PATCH 00/13] crypto: hisilicon - misc cleanup and optimizations Date: Fri, 8 May 2020 14:57:35 +0800 Message-ID: <1588921068-20739-1-git-send-email-tanshukun1@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 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-13: 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 (3): crypto: hisilicon/qm - add state machine for QM crypto: hisilicon/zip - Use temporary sqe when doing work crypto: hisilicon/zip - Make negative compression not an error drivers/crypto/hisilicon/hpre/hpre_main.c | 107 ++- drivers/crypto/hisilicon/qm.c | 1102 +++++++++++++++++++---------- drivers/crypto/hisilicon/qm.h | 75 +- drivers/crypto/hisilicon/sec2/sec_main.c | 134 ++-- drivers/crypto/hisilicon/zip/zip_crypto.c | 13 +- drivers/crypto/hisilicon/zip/zip_main.c | 128 ++-- 6 files changed, 952 insertions(+), 607 deletions(-) -- 2.7.4