From mboxrd@z Thu Jan 1 00:00:00 1970 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=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 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 15719C4360C for ; Thu, 10 Oct 2019 08:21:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DEA652067B for ; Thu, 10 Oct 2019 08:21:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733274AbfJJIVd (ORCPT ); Thu, 10 Oct 2019 04:21:33 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:3726 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1733232AbfJJIVd (ORCPT ); Thu, 10 Oct 2019 04:21:33 -0400 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id DAC8F713D0021874026C; Thu, 10 Oct 2019 16:21:30 +0800 (CST) Received: from [127.0.0.1] (10.63.139.185) by DGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP Server id 14.3.439.0; Thu, 10 Oct 2019 16:21:22 +0800 Subject: Re: [PATCH 0/4] crypto: hisilicon: misc sgl fixes To: Herbert Xu , "David S. Miller" References: <1569827335-21822-1-git-send-email-wangzhou1@hisilicon.com> CC: , From: Zhou Wang Message-ID: <5D9EEA01.8080404@hisilicon.com> Date: Thu, 10 Oct 2019 16:21:21 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <1569827335-21822-1-git-send-email-wangzhou1@hisilicon.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.63.139.185] X-CFilter-Loop: Reflected Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On 2019/9/30 15:08, Zhou Wang wrote: > This series fixes some preblems in sgl code. The main change is merging sgl > code into hisi_qm module. > > These problem are also fixed: > - Let user driver to pass the configure of sge number in one sgl when > creating hardware sgl resources. > - When disabling SMMU, it may fail to allocate large continuous memory. We > fixes this by allocating memory by blocks. > > This series is based on Arnd's patch: https://lkml.org/lkml/2019/9/19/455 Any comments for this series? Best, Zhou > > Shunkun Tan (1): > crypto: hisilicon - add sgl_sge_nr module param for zip > > Zhou Wang (3): > crypto: hisilicon - merge sgl support to hisi_qm module > crypto: hisilicon - fix large sgl memory allocation problem when > disable smmu > crypto: hisilicon - misc fix about sgl > > MAINTAINERS | 1 - > drivers/crypto/hisilicon/Kconfig | 9 -- > drivers/crypto/hisilicon/Makefile | 4 +- > drivers/crypto/hisilicon/qm.h | 13 +++ > drivers/crypto/hisilicon/sgl.c | 182 +++++++++++++++++++----------- > drivers/crypto/hisilicon/sgl.h | 24 ---- > drivers/crypto/hisilicon/zip/zip.h | 1 - > drivers/crypto/hisilicon/zip/zip_crypto.c | 44 ++++++-- > 8 files changed, 167 insertions(+), 111 deletions(-) > delete mode 100644 drivers/crypto/hisilicon/sgl.h >