Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp449851ybg; Wed, 10 Jun 2020 05:12:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx3LRFaFDVo7z6FIWKaVkmTo4YtCDRU64FM0WkzOAtlRm/plGeY6D+lkRRfJDkwODFZGzjy X-Received: by 2002:a17:906:8253:: with SMTP id f19mr3150701ejx.470.1591791122930; Wed, 10 Jun 2020 05:12:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591791122; cv=none; d=google.com; s=arc-20160816; b=n6nghyVkgqXkYwZFngjBrMIfWHm/bk6aheofVuqfRANXH+6tUiaTJEAbYVRNpLsZrC TrcU8SqtFmXf/KLaECaM6j3N6EugSP0dXwsxOQay5ValE3z1sAsHQMQAzDZYyjlUhdla SwObzfELxDmk/X+lxnU8Tw9gTld/d440fZUwkAXWSRclgDXRq2X1WPQiXI0ZAiNKIaZo 4SvfZUGMXv9iG5ATBlorka0A1PmwJvEpZLaEpSFaKJED3L35tu/SnAJ/Tk+050hinrp8 PMBxYG5MlrUfq1IpXKmtG16CMs5xH6TdrVeW6UfEXVRFrZGiicgcP2eK8CB2vn5wxBJz JO4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=NywUbfy0cx88Bcv4KLKHMs1BGKCRG3SXVo/UGvvIBSg=; b=X2HDYjoHlx53WyxN+t3FJhXcMfoZWBuHsc3UHhTnxZZhaJV2HOsEgwD2dxrWLj6Kbs mnE6H9Gv4VAKGd5hgbUhFAQWqmn/yElfteAoroyyxJ+uXQST1bi4UI4FXcZktqBLKDeN TDt6y0ZX4EjKdLNLd+LGa/51pp0OQHcY+O2CiMFwSnDiGmj6TBiPLh+JWiz1/BKXKsIe t9aNaY7eccxxBUdJejmgOhwy7GtPen4lKDtNe2GKtrPWalJKqdFw1rg5r4sDutghRQ4Z jyo2AqzRbn86f9lCIPXKLZDnRakUPwQ58owLeYyRwEkG82YB9XWcTKW6mS9nww14KFoS v9EQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i4si12545294ejy.5.2020.06.10.05.11.38; Wed, 10 Jun 2020 05:12:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728947AbgFJMLR (ORCPT + 99 others); Wed, 10 Jun 2020 08:11:17 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:60338 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728558AbgFJMLP (ORCPT ); Wed, 10 Jun 2020 08:11:15 -0400 Received: from gwarestrin.arnor.me.apana.org.au ([192.168.0.7]) by fornost.hmeau.com with smtp (Exim 4.92 #5 (Debian)) id 1jizZT-0001e7-0V; Wed, 10 Jun 2020 22:11:08 +1000 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Wed, 10 Jun 2020 22:11:07 +1000 Date: Wed, 10 Jun 2020 22:11:07 +1000 From: Herbert Xu To: Mikulas Patocka Cc: "David S. Miller" , linux-crypto@vger.kernel.org, Mike Snitzer , Milan Broz , dm-devel@redhat.com, linux-kernel@vger.kernel.org Subject: Re: crypto API and GFP_ATOMIC Message-ID: <20200610121106.GA23137@gondor.apana.org.au> References: <20200610010450.GA6449@gondor.apana.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Wed, Jun 10, 2020 at 08:02:23AM -0400, Mikulas Patocka wrote: > > Yes, fixing the drivers would be the best - but you can hardly find any > person who has all the crypto hardware and who is willing to rewrite all > the drivers for it. We don't have to rewrite them straight away. We could mark the known broken ones (or the known working ones) and then dm-crypt can allocate only those using the types/mask to crypto_alloc. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt