Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp539722rwd; Thu, 1 Jun 2023 03:45:22 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ67jPfXsiiX3a6BOW4p+gFe/H+dgFA3+ODf8TUh7hJzMCMHx+UHDQSWpBwgfTXWqOjLgwas X-Received: by 2002:a17:902:e852:b0:1b0:3cda:6351 with SMTP id t18-20020a170902e85200b001b03cda6351mr8780448plg.0.1685616322263; Thu, 01 Jun 2023 03:45:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685616322; cv=none; d=google.com; s=arc-20160816; b=dxQndehBCr6AlisJLj7lHtcWEG54BSEL6jIzp3PacQeakfeEDcsna41GnYNsP1Kwpd eyktS2UYpe5aD7LbS1d24yvDvnlSFQ94Av5f3uueyxXSk/QE7chARiT00Nl6H/ckT3zU XAcq3saaBBO9LHJ+3yAF+xso7Dp7yNDozV2hah2XTcv+G4dOiiaLl8K7XI5ey01I08hl sJVzFUfZE4dC3zDJj1WvgLKyZ4CklQaD3EQxTJZ6lPDUloi43g7hvURJnSo49DXREjEf e6z4ocnbYMPaF1wQ9F+GbQUE08TkdSDIvQ1mQ8K6BFrocI0xzgIE8Vm1XAVwKlOKwcxu +rRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=wzkcvpGpCIZjxmVHZtbRc9vyu9Esqpyid2ixK08JCv8=; b=W+I42OSl0Q5F0pEfEUjmnobiQEJokmF5lckxCp8vOfo1mjlNLN3yAH8gJUvXojBUyo qmb7n5eGeY85pXjyvqjPZMJ5Bk7xT25b/jj73I1XyXtm6lGetSsFC2JalK5vJTlWI1U8 R+lAUqZMJV+GTYuyxIiWWWFpOkgS9/vUc5Mn/4uRODX76QZigLYijmcVdSXonOYRKf0x Bb2XvJCNEG8/GvTBwnZWcvxU+LLnb1fh2iL2qjefcEGaUd1Y7+Va91Yp9iaZy3IAQeu4 PzqSbGDSAuN/nIWo2xxiRg1B8WmIOTXqhu+C3k5qoFZ9LTcKIo0s3f3QT1Fb6QtFTkbx zNsQ== 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 o7-20020a170902bcc700b001add2b13fb4si2448818pls.620.2023.06.01.03.45.09; Thu, 01 Jun 2023 03:45:22 -0700 (PDT) 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 S232935AbjFAKim (ORCPT + 99 others); Thu, 1 Jun 2023 06:38:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232494AbjFAKik (ORCPT ); Thu, 1 Jun 2023 06:38:40 -0400 Received: from 167-179-156-38.a7b39c.syd.nbn.aussiebb.net (167-179-156-38.a7b39c.syd.nbn.aussiebb.net [167.179.156.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 902E7FC; Thu, 1 Jun 2023 03:38:34 -0700 (PDT) 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 1q4fcq-00FdsF-4V; Thu, 01 Jun 2023 18:33:49 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Thu, 01 Jun 2023 18:33:48 +0800 Date: Thu, 1 Jun 2023 18:33:48 +0800 From: Herbert Xu To: Eric Biggers Cc: meenakshi.aggarwal@nxp.com, horia.geanta@nxp.com, V.sethi@nxp.com, pankaj.gupta@nxp.com, gaurav.jain@nxp.com, davem@davemloft.net, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, iuliana.prodan@nxp.com Subject: Re: [PATCH 0/5] Remove CRYPTO_ALG_ALLOCATES_MEMORY flag Message-ID: References: <20230523153421.1528359-1-meenakshi.aggarwal@nxp.com> <20230523165503.GA864814@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230523165503.GA864814@google.com> X-Spam-Status: No, score=2.7 required=5.0 tests=BAYES_00,HELO_DYNAMIC_IPADDR2, PDS_RDNS_DYNAMIC_FP,RDNS_DYNAMIC,SPF_HELO_NONE,SPF_PASS,TVD_RCVD_IP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: ** 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 Tue, May 23, 2023 at 04:55:03PM +0000, Eric Biggers wrote: > > This isn't mentioned in the documentation for CRYPTO_ALG_ALLOCATES_MEMORY. So > it's not part of the contract of CRYPTO_ALG_ALLOCATES_MEMORY currently. > > Please don't make this change without updating the documentation. > > If you'd like to make this change, please update the documentation for > CRYPTO_ALG_ALLOCATES_MEMORY to mention this additional exception. Agreed. We talked about this at the time of the original patch-set, but never made any changes in this direction. Apparently the users are still the same so it should be possible but it has to be done in the right order as Eric suggested. Of course if the drivers don't actually need this then all the better and let's not even bother with adding such a restriction. Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt