Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp121782ybx; Fri, 1 Nov 2019 00:17:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqzCzXD9TKKq4VZ12n0Nc2kqpcv5wWkn93kprkUni6SZEkgwqrdL1V0WbjPTnI5pGMfl7K+C X-Received: by 2002:a17:906:245b:: with SMTP id a27mr8395295ejb.192.1572592666673; Fri, 01 Nov 2019 00:17:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572592666; cv=none; d=google.com; s=arc-20160816; b=h4cr+wOBQ3X65kYtWH1DNZWeyJIWLExw4/6QlDofyKsk5vPVcV1yzM/r8TQo6rHTUQ lS2uJXc4U1EVpn/gf8ELe4FaLoo0DiRNHjCZ7lpD7Vg0OcwisiJQbocp+YZB8m87YJzd hx4GuVJL+aECRatYlHw5uM8zfsV65j6LIvi2SNZLQnQwfLKDrx5R+n9MvycmIATu26nG iGCs2Ey3GRjDuvMvGpQ4fDtrGh5nn2Ye9EANeCq59YI0OFFW2Tc+9mDGzb742ugPVMF8 q7FFdYqtSTZ3GzhSsstl6wV0BNkZ9HBqt0XusVw8i4F6u85ue0NTV7sMRsSGx4k1Om1e XrEg== 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=0+4WvdE8dBjo3iVi5Mu6r7FNfy5L2DYkMQkXzJ3uNU0=; b=rDQkRafSj6+nhcqcGG+TbKlQmNWSwFv0oiycOdHXy1ygD2rejE9ogzrHREhxwIAYWd msK34BfjJ5oI0/6yfRfXbHU01oiERoHpGv5voo9zHQJWvs1sKfNkfPACJ6HwgkNdylXE cpp+d3nd+XFuXO5NG/an+dDRgX3yz85TxBZKip3DVvL/rqwwGRvT8Oydak55rP8jcqfx lIEhKh0Uyst9dYxuG58mfmdwleYfVql8fFtJKeYsN/d3RBX+FZ0xKLnWo67loiMQoQmg NC+ZNaremoF4TN+xU+mADsszVbZ8y787N2lQ532MIYOb1ksNP6AG3qXxX7RXcMP0SBAQ 8FUw== 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 x12si6843904edi.301.2019.11.01.00.17.21; Fri, 01 Nov 2019 00:17:46 -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 S1728529AbfKAHEX (ORCPT + 99 others); Fri, 1 Nov 2019 03:04:23 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:5678 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727038AbfKAHEX (ORCPT ); Fri, 1 Nov 2019 03:04:23 -0400 Received: from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id E5EF8A8D770151638263; Fri, 1 Nov 2019 15:04:20 +0800 (CST) Received: from [127.0.0.1] (10.63.139.185) by DGGEMS410-HUB.china.huawei.com (10.3.19.210) with Microsoft SMTP Server id 14.3.439.0; Fri, 1 Nov 2019 15:04:16 +0800 Subject: Re: [PATCH] crypto: hisilicon - use sgl API to get sgl dma addr and len To: Herbert Xu References: <1572058641-173376-1-git-send-email-wangzhou1@hisilicon.com> <20191101061307.xu2d7hjjhxddlzyw@gondor.apana.org.au> CC: "David S. Miller" , From: Zhou Wang Message-ID: <5DBBD8F1.2020605@hisilicon.com> Date: Fri, 1 Nov 2019 15:04:17 +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: <20191101061307.xu2d7hjjhxddlzyw@gondor.apana.org.au> 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/11/1 14:13, Herbert Xu wrote: > On Sat, Oct 26, 2019 at 10:57:21AM +0800, Zhou Wang wrote: >> Use sgl API to get sgl dma addr and len, this will help to avoid compile >> error in some platforms. So NEED_SG_DMA_LENGTH can be removed here, which >> can only be selected by arch code. >> >> Signed-off-by: Zhou Wang >> Suggested-by: Herbert Xu >> --- >> drivers/crypto/hisilicon/Kconfig | 1 - >> drivers/crypto/hisilicon/sgl.c | 4 ++-- >> 2 files changed, 2 insertions(+), 3 deletions(-) > > Patch applied. Thanks. Thanks. >