Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1870094rwb; Fri, 2 Dec 2022 02:13:24 -0800 (PST) X-Google-Smtp-Source: AA0mqf78uXnG/cZy39xnBsjV8TbPSF6jeEfeAntRIgGrCUmvfBug0N8NVa0f7BucltoG3xKGJXMy X-Received: by 2002:a17:906:2854:b0:7ae:3684:84b0 with SMTP id s20-20020a170906285400b007ae368484b0mr51030900ejc.622.1669976004020; Fri, 02 Dec 2022 02:13:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669976004; cv=none; d=google.com; s=arc-20160816; b=GJv+qFuu+G3g60QuyTGDJZlCFuzRfNFPY6HJiL4kVSDh+CSkdLQ6JnTFtEmzE2h6cr 9zgfEFQ8UL9TOrGRxhYdh8xLsgSdDdcBj2zjgB3CRxKd+wKTr6cb/+IraGuF+hMXC+/J FcQ9Bav7Ug/CO8pzwlrboEkALBrVlGBpC2GN0OVUEBjk2TFjfA4iLRnATZuMHg97pjLj MeHXkfxGKQMnOVsuM9ztjW+vYCRA8MJVVz2qAOGrxJeoO4smTD240FgwEH1G8iEf8Pfz nwiU6IPerDon8LsBmhz/mrkCNL4opcNveSiCsKs0DdqKX3rh70HYzrH1SwTHRiM0rdWb gPIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject; bh=CAjDYYjOSlw/8s2oY9CO0XLzipVr3sh6wkt3+q2/rts=; b=WcJdjxGcVyPYDCgy/Mnusqlm3SMkSPMEE7wYrAspfROj6a/er2QhwZ/axykpwaiTid ASFF3+Qhe8017PC+pQRgUeXPOwua2seu3ZCbFf5xuOLCkU7+L9U7tTXraXIbLp7I9M5r UBDIm2JF+fK221wG5fdWQSZNczImd0iCG/GfI5nQxLZD5Xwwn91viSnZLasUm14YLl/u FHsaBxlvMtyRNC0lHomKMGNYEgIugCKKqki4cQxFzO7cABgGF3Ufv1vUNr388v1tAW71 /CFICd1uFvaSR/u42OD+CYY0BKpLCP9A2hzBiR63BegDiBkV/wZD7I+Jmr6qc6A+icUR Kd1w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sa40-20020a1709076d2800b00791a3dd01b6si6268298ejc.864.2022.12.02.02.13.00; Fri, 02 Dec 2022 02:13:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231449AbiLBJt2 (ORCPT + 99 others); Fri, 2 Dec 2022 04:49:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232815AbiLBJt0 (ORCPT ); Fri, 2 Dec 2022 04:49:26 -0500 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27DADC868A; Fri, 2 Dec 2022 01:49:25 -0800 (PST) Received: from kwepemm600005.china.huawei.com (unknown [172.30.72.55]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4NNp6Z66jfzJqHw; Fri, 2 Dec 2022 17:48:38 +0800 (CST) Received: from [10.67.103.158] (10.67.103.158) by kwepemm600005.china.huawei.com (7.193.23.191) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Fri, 2 Dec 2022 17:49:22 +0800 Subject: Re: [PATCH 0/10] crypto: Driver conversions for DMA alignment To: Herbert Xu , Catalin Marinas CC: Ard Biesheuvel , Will Deacon , Marc Zyngier , Arnd Bergmann , Greg Kroah-Hartman , Andrew Morton , Linus Torvalds , Linux Memory Management List , Linux ARM , , , "David S. Miller" , Linux Crypto Mailing List References: From: liulongfang Message-ID: <846e2400-1a51-70c0-3b9c-8df6a6b54984@huawei.com> Date: Fri, 2 Dec 2022 17:49:21 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="gbk" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.67.103.158] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To kwepemm600005.china.huawei.com (7.193.23.191) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On 2022/12/2 17:19, Herbert Xu wrote: > These are the rest of the driver conversions in order for arm64 > to safely lower the kmalloc alignment below that required for DMA. > > My criteria for inclusion are: > > 1) the driver can be built on arm64. > 2) the driver may perform DMA on the context structure. > > I have worked through all the drivers in crypto but if you think > I've missed something please let me know. > Hi, Herbert: There are also skcipher_request_ctx and aead_request_ctx in the hisilicon/sec2 driver that need to be updated. Thanks, Longfang. > Thanks, >