Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp784047ybp; Fri, 11 Oct 2019 04:25:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqxqIJnIUw0qdHYytqVfQdbUQZipmFfPum9aF5ndO5QS69hFS164WmfJ2hqELAS3wbu8/23r X-Received: by 2002:a17:906:6a54:: with SMTP id n20mr13364457ejs.30.1570793138876; Fri, 11 Oct 2019 04:25:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570793138; cv=none; d=google.com; s=arc-20160816; b=cOt3RyJT+sc9PGCq0F0lumvy/2WzHg1ruwbsi5+5N0qLSc61i8iGWT3SJMguQ2AQ6h Oz435ZI6AEhaDbPiwnaHGWQs8xICDH8aQxcISR0WfvEZKz/HWqELpoK+vkQXZY26pXWu K8vdsgG0pdSHgKoMHhfFW/OKwtmXFDAfwb0oUN8p16bmmWVrqsjW6uZ4AWI+3rjES5HC rweYHpFMkko/dE+1pEONJeBx7avKMjGDl1jMQOxFZlz3lC5fKfKQfGcKZdXZxGCk9fr8 ScvdO8npfMOdXRyDm+u1J3PzlaZobx9iV0waD0uKvylojp6UY3dQk2PNczIzOwixat60 dWuw== 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=nSnOJsUs3fjvKPX3wjyhj33RqGE/J4Se+STcyCIpOtg=; b=G+pVK120xFHnCJo5bDbDOY+ueUI1yKgR3nNZ6FuzwgOk3bkYuMg8BcUpiLcPF9dAbB EMnY45DvdMeCjEMplx5LsKKibsxgkR7SUDrE3Y1MD+J7pfhjMxkeI+djohxiJboX2NPW l72qmslWYStJajS1pKxpVZFyEpnC4QkF5yoQ1yZMV0zGrvSdmk3nPJW49jliQ+cGef97 PGD0Wd8Qit2pmDHL2ibtUxHGWwLKIUT2QSWCPWwkhZ4647+ZsVw41lai8s596eONUr1Z AUPumLXnX2m381xGk6NuJwM/7jtK4x1j8zRbegbz8Kh6ctFZbXu3zxq7tBv0GTPevxnE C4xw== 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 jo18si5357702ejb.27.2019.10.11.04.25.14; Fri, 11 Oct 2019 04:25:38 -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 S1727813AbfJKLZL (ORCPT + 99 others); Fri, 11 Oct 2019 07:25:11 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:3737 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727549AbfJKLZL (ORCPT ); Fri, 11 Oct 2019 07:25:11 -0400 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 15C2DD8D4BD010629DE2; Fri, 11 Oct 2019 19:25:10 +0800 (CST) Received: from [127.0.0.1] (10.63.139.185) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.439.0; Fri, 11 Oct 2019 19:25:08 +0800 Subject: Re: [PATCH 1/2] crypto: hisilicon - select NEED_SG_DMA_LENGTH in qm Kconfig To: Herbert Xu , "David S. Miller" References: <1570792690-74597-1-git-send-email-wangzhou1@hisilicon.com> CC: From: Zhou Wang Message-ID: <5DA06693.3020901@hisilicon.com> Date: Fri, 11 Oct 2019 19:25:07 +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: <1570792690-74597-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/10/11 19:18, Zhou Wang wrote: > To avoid compile error in some platforms, select NEED_SG_DMA_LENGTH in > qm Kconfig. > > Signed-off-by: Zhou Wang > Reported-by: kbuild test robot sorry to make the head of this patch as 1/2, it should be "PATCH", there is only one patch. > --- > drivers/crypto/hisilicon/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/crypto/hisilicon/Kconfig b/drivers/crypto/hisilicon/Kconfig > index 82fb810d..a71f2bf 100644 > --- a/drivers/crypto/hisilicon/Kconfig > +++ b/drivers/crypto/hisilicon/Kconfig > @@ -18,6 +18,7 @@ config CRYPTO_DEV_HISI_QM > tristate > depends on ARM64 || COMPILE_TEST > depends on PCI && PCI_MSI > + select NEED_SG_DMA_LENGTH > help > HiSilicon accelerator engines use a common queue management > interface. Specific engine driver may use this module. >