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 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 87441C4167B for ; Fri, 2 Dec 2022 09:49:30 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 07D276B0071; Fri, 2 Dec 2022 04:49:30 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 02DCC6B0074; Fri, 2 Dec 2022 04:49:29 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E37AB6B0075; Fri, 2 Dec 2022 04:49:29 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id CFF6B6B0071 for ; Fri, 2 Dec 2022 04:49:29 -0500 (EST) Received: from smtpin10.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 8A454AAF09 for ; Fri, 2 Dec 2022 09:49:29 +0000 (UTC) X-FDA: 80196893658.10.7E4D9C3 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by imf02.hostedemail.com (Postfix) with ESMTP id 863A580010 for ; Fri, 2 Dec 2022 09:49:28 +0000 (UTC) Authentication-Results: imf02.hostedemail.com; dkim=none; spf=pass (imf02.hostedemail.com: domain of liulongfang@huawei.com designates 45.249.212.188 as permitted sender) smtp.mailfrom=liulongfang@huawei.com; dmarc=pass (policy=quarantine) header.from=huawei.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1669974569; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=CAjDYYjOSlw/8s2oY9CO0XLzipVr3sh6wkt3+q2/rts=; b=2hafjTCXf35h1k8yBuKB4S1FrHnDFVaHbo2VKjj2t6+qccoOYSGtjOM/+J1INgEdYMYX58 5hi+eeg383XO+NCxc9oYYzmz7tO+KbSIzWSlPyaQa6daMnraFTM3sh/uQmrfzr0foJVd26 1LIH3CxXbEZ+OXWW5DVVCn0xFEUXS6M= ARC-Authentication-Results: i=1; imf02.hostedemail.com; dkim=none; spf=pass (imf02.hostedemail.com: domain of liulongfang@huawei.com designates 45.249.212.188 as permitted sender) smtp.mailfrom=liulongfang@huawei.com; dmarc=pass (policy=quarantine) header.from=huawei.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1669974569; a=rsa-sha256; cv=none; b=mhF19SCV1Wt2Eig/EuTeDS1EU8lL7R9ucmW3FoO7usDt37pgVTnCZ/MP/EMFhgDzoDbPsp 9K5wr+SQUODqUm4y6/+JX3XjTZosxQ5+uXKN+h6rvFDkbo0j6rhlvoyKRljbV2YwuCPL3L Y8pE71Jt3sIO6uiushF4IIhsz/S8B84= 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-Spamd-Result: default: False [-0.74 / 9.00]; DMARC_POLICY_ALLOW(-0.50)[huawei.com,quarantine]; R_SPF_ALLOW(-0.20)[+ip4:45.249.212.187/29]; MIME_GOOD(-0.10)[text/plain]; RCVD_NO_TLS_LAST(0.10)[]; BAYES_HAM(-0.04)[58.11%]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_TWELVE(0.00)[15]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; HAS_XOIP(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_SIGNED(0.00)[hostedemail.com:s=arc-20220608:i=1]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 863A580010 X-Rspam-User: X-Rspamd-Server: rspam07 X-Stat-Signature: 15upw3u7tchj46uexyjbcyq7fetm9kzc X-HE-Tag: 1669974568-74878 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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, >