Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp2057382ybp; Thu, 10 Oct 2019 01:22:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqzKHUqlpvNOMklrPsZCiHMsIaW/qdFM9icT5XmzFoTQwOZqgtih+0/9PgVV9FXp+O03IEi9 X-Received: by 2002:a17:906:4757:: with SMTP id j23mr6529028ejs.174.1570695774520; Thu, 10 Oct 2019 01:22:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570695774; cv=none; d=google.com; s=arc-20160816; b=WMj8ou5O0CRzlVvQMh+HV8275IEWPcrl1kG/S4uX7qSoRjVpv41/ZhL8AVf4B97mkI Fnn4xDpgzx3sYNro82smiQ7oKROxCj5rkSSv2dbe8I76UCUqtX3FUZrFFsVjRqQUs3rO 9e8UrQIzbRoYJdk5SYs/DeyBGBYrmXP47AjPb0RFA0KcnjnyxHtPr905JkeevNN0Umlm bID9D53YGuUYBEOVWLxJkIymO+OFVls6rJ6vgR/1IXIPfzEF2sTra8lK5WuXiikTuuaR jlw0liw2/viEmAw4kTy1Z3TTaYdQYsLRk5Yz0AHsUby6ro8XasUKR3Y5TIkZdhbnhOIV ctCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject; bh=mMKPGOPLeUdDUtiCDnhvS6EJk3nUrJVjpBDpA7s3hH0=; b=OuGJ/WF9ecvLM703vfW1zFImNqByRVe0KGzA/7zfmsFox5t65hSAHiqoXcTjSqO8cN XoVJmWv0TZhSM2YBDM3m5ceLhF7zu6E9eFp9skFOVnSYTmmL3EvILyCD2zlLKBwC+aol PIgI9109xWWUm4Tge1kZ6GqsmLAA2mDiYsgN2QMR7pOI1jaDHpn7eUBHTJWVMe3hsFSB fU8TYu425WLcPz+tefRL5w3NkDhlwY8j3/pSYeavaumU3QRKaqIXS6wDzWMQXWZKncWf f5SdJSvUQOVlXsCJDif492S51gJI2vnu9qSUq4aAsQ++jswXkMqQ/wynO14084efUTQx l0sw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id nj7si2655876ejb.262.2019.10.10.01.22.23; Thu, 10 Oct 2019 01:22:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733274AbfJJIVd (ORCPT + 99 others); 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 >