Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp1024152ybp; Fri, 4 Oct 2019 08:28:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqwWKOMkJyIuVXIDp42N4mj1uCHhkTiLJdFJ6e+3PemQorcyPstStbNnDgF7tXJ92pJVmNXQ X-Received: by 2002:a05:6402:65a:: with SMTP id u26mr15913139edx.86.1570202926343; Fri, 04 Oct 2019 08:28:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570202926; cv=none; d=google.com; s=arc-20160816; b=Mizpj8X6H0lY9J7re4zMsAlXkNE7P+COmtAz+Qi/jX6qfc5HkrRC+/greJDhDTC8Yd sIgyq42EnL1kXqmwKPW3bpGxr3aJutp5+3ucc8fbtoyR7zJMfq2m+t9sFUZtZNP1WBiB nVKBEIlN+UGYbVSoQlsJyeo4qMU5Jzr4p4l1yFV9Kck1FYGSLzMTOmtNjF/74S4uTMal Bu9WARGx54D4jvWnCQkxnwP62MKhQnYASwTAGmKs7XwHiy3gxRw1AVGdf2MrdrMza+O7 EGabHIC+7Q25N54rq63wa9oZeobyYuOTmF64J+FQg9dQS36zaHoefeeZf9WiRG+jixcK MxVw== 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=7cbRXMHcW3QjA0USn2bmzbZ055SZESjbXv+seJScZYc=; b=AMW/l5hIeW8KnZGFJ/7ynCfOTB4Cji5JdFfNsi9X0sTMWkeB2zCsYH5mj6s8iTDzv7 B+XVxJZ+DvYKG8Jfn8qjUzQ8rloj5R4rNDk5M7bRqHgwTM+PTJIc5lhPs0MIazQ7vRFx LXcx2WzRu1fPGXCE18lImX0w6+zAWYXCqt4lSC9sWnjn0IlTOZ1A+L8tVGXViJietffw lD0mDcBOL5Q0b83vqKrUuL/my6N2Clr7R3J540TZEzGG+dzggeN2Kf5S9iJFSD76uWPD K2XB7dO1O3MD1oO9uEsIoi/HXR5GlxwJg9Tn3t0moQMCEgmBFvN7dRNG5DZJZVRPFwl+ cOdg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h18si2954206ejx.68.2019.10.04.08.28.20; Fri, 04 Oct 2019 08:28:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389210AbfJDP2I (ORCPT + 99 others); Fri, 4 Oct 2019 11:28:08 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:42354 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389572AbfJDP2I (ORCPT ); Fri, 4 Oct 2019 11:28:08 -0400 Received: from gwarestrin.arnor.me.apana.org.au ([192.168.0.7]) by fornost.hmeau.com with smtp (Exim 4.89 #2 (Debian)) id 1iGPUs-0000oG-E8; Sat, 05 Oct 2019 01:27:59 +1000 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Sat, 05 Oct 2019 01:27:56 +1000 Date: Sat, 5 Oct 2019 01:27:56 +1000 From: Herbert Xu To: Christophe Leroy Cc: "David S. Miller" , Eric Biggers , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH] crypto: talitos - fix hash result for VMAP_STACK Message-ID: <20191004152756.GC5148@gondor.apana.org.au> References: <20190910060414.C1E3D6B734@pc16032vm.idsi0.si.c-s.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190910060414.C1E3D6B734@pc16032vm.idsi0.si.c-s.fr> 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 Tue, Sep 10, 2019 at 06:04:14AM +0000, Christophe Leroy wrote: > When VMAP_STACK is selected, stack cannot be DMA-mapped. > Therefore, the hash result has to be DMA-mapped in the request > context and copied into areq->result at completion. > > Signed-off-by: Christophe Leroy > --- > drivers/crypto/talitos.c | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt