Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp9860943rwb; Thu, 24 Nov 2022 20:37:28 -0800 (PST) X-Google-Smtp-Source: AA0mqf4ZNRfuhRNlSG/b2Y7hiyUk27sVldTDCXAKybZe/rrMTFgxy7F3xRCqoiTqnaCA9QmZQtgk X-Received: by 2002:a17:906:bf2:b0:7ac:a2b7:6c97 with SMTP id z18-20020a1709060bf200b007aca2b76c97mr28992508ejg.497.1669351048041; Thu, 24 Nov 2022 20:37:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669351048; cv=none; d=google.com; s=arc-20160816; b=X6wXUXwh5iPuiFLLAC0AvCnSkbHJCh/gvEUwodrpaCnltsfzVMCc1MF9KGEghZaBQ0 0lLR/dfo/VCdWxe+yGyAaVBnoFrwOOSsxpHihNJVLmfegxIaDDsye/DCsZeKByRykZKJ hMdFLLZg8BUpCqi4IWmrW8qXWDiBJNkD8hh+oru4d52t515ajOg2qc+OXXTRRkGEUkj9 UmVGY6qtmQQDTKocmNfn+/It6BVE6cnyN2FxdDoexBZH4BWQ4Kd4BEpO5s6nqzTjOHOk cXvTzmvrSbYjT5sMpHnjeRARrCbsZG1d1Hvue4b8eNeNnowNa4Z6qYlRid4b2KGRHmM0 nXbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date; bh=YcTCFd/W+n+hHuzVas/lr+Pw5KPofeQ1QD4X0sSb64A=; b=ZxWNcKoX1Yy7X0FYGKD6o589UXyFyn2o9FpNF/PlCmcDaa2P9kOsVwMrF25OPxjrAH klAdM/HsgaqEh4tBfDol+cAaOGJEdH0dsoTKJGsaHA6sCJN4r6ZGENpEjRP4lMH9xddo 4DtACPAQjoXc1XiezjfDTRotMXa8CQ6EP7v+95NKV9kBtQhvpBxEXkMzUJFmo/ur/yXi sO9fbpJDvW2ywhMbTWNS3g2hRdvQVdtLjxNyiv8lmVf/a1q7cWcV/r38IeDzGBQiDOxX WXMBuxd4jJagE9HFSELKAyOdJCrprZGwoZPtcS7Fu9YmqgzOrAY5oEqZqBneP55uPNNh 8wwQ== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ne3-20020a1709077b8300b007ad6a0afbc6si1916026ejc.7.2022.11.24.20.37.04; Thu, 24 Nov 2022 20:37:28 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229463AbiKYEf6 (ORCPT + 99 others); Thu, 24 Nov 2022 23:35:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229436AbiKYEf5 (ORCPT ); Thu, 24 Nov 2022 23:35:57 -0500 Received: from formenos.hmeau.com (helcar.hmeau.com [216.24.177.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C02F82316F; Thu, 24 Nov 2022 20:35:55 -0800 (PST) Received: from loth.rohan.me.apana.org.au ([192.168.167.2]) by formenos.hmeau.com with smtp (Exim 4.94.2 #2 (Debian)) id 1oyQQt-000di7-JM; Fri, 25 Nov 2022 12:35:24 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Fri, 25 Nov 2022 12:35:23 +0800 Date: Fri, 25 Nov 2022 12:35:23 +0800 From: Herbert Xu To: Catalin Marinas Cc: Ard Biesheuvel , Will Deacon , Marc Zyngier , Arnd Bergmann , Greg Kroah-Hartman , Andrew Morton , Linus Torvalds , Linux Memory Management List , Linux ARM , Linux Kernel Mailing List , "David S. Miller" , Linux Crypto Mailing List Subject: [v2 PATCH 0/9] crypto: Add helpers for allocating with DMA alignment Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 This patch series adds helpers to allow drivers to explicitly request ARCH_DMA_MINALIGN when allocating memory through the Crypto API. Note that I've only converted one file in one driver as this is only meant to show how it's done and find out what else we may need. Other drivers will be added later. Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt