Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1360579pxb; Sat, 29 Jan 2022 04:01:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJzbLZ3HAE0JP33Y19Mx6jM5pvQEv++CmZMRZkTLBoCUPiJGP7BeGiZXl0DX6uH1RK5zNkIo X-Received: by 2002:a17:902:c206:: with SMTP id 6mr11299955pll.153.1643457683606; Sat, 29 Jan 2022 04:01:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643457683; cv=none; d=google.com; s=arc-20160816; b=dq26wmx1hPcPzVjvyu1G9zXHpA/qDKoZVS1D9B/imeGaJUJ2bCbUFkL0lt+HGZPOvA Fhnis05WjqcWQmmQ+rFXqgKNRnXNwxCitNVMUqoJPaa9n86aLtDgSRQiLxPf8103l6FM RQ1eAsRAWCfT3luUo31BZTAydnN46BEUvnanKiyngWid+ZZSYBiY+T8idjwEPRndycIx EcfNrmMuTPW9sP5Tfme7YrFSTsbcVLpu1oyRIz3g9pGEMR8TGocGJjJoxVZxUaNRPpjf aaZ1r+F3hhAoXRoaneL5yV59XhXubm4SRjBLU3eQbn0MBDq92c/Pcsj7lffoXjIt95qy 482w== 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=ltoMXoutc8wuZd29OjnH+NkYb4j5x6NkbdjbF5yVjAk=; b=sYSrsZGWOhH1tlvDxJCD3nyVkt5MRpdvtlQLvd4ITeCemSdcJm06n+BeBeAVKaoJ3j 0/Op3U5PwPMKp1RMJI/Vp/zAlDYDrInJYz8i128/PNy73AhaNAU9GeiAiRNE+2YIAGZd kESaE95Z26xcaVt/6WMnlBXDS24EZjdvH71wiE7Duxf9AxhY0+Mf3Hxj9EXMEOHAk5ya v8buRC2AMvOJ3CnV6rS8rOHhD6nznmRlnvAOWQAkxuwkiNXqBhzZy1A48BZro9QA9+Ga nJRNXcqfQHtxHWBuVXFPYrVMUbVPpbEG3g4xsnV3yZqE5r0BrZPEzkQtvknSUoX4hoTA Me+g== 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 r11si8358729pgr.796.2022.01.29.04.00.53; Sat, 29 Jan 2022 04:01:23 -0800 (PST) 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 S231976AbiA1C7g (ORCPT + 99 others); Thu, 27 Jan 2022 21:59:36 -0500 Received: from helcar.hmeau.com ([216.24.177.18]:60572 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231668AbiA1C7f (ORCPT ); Thu, 27 Jan 2022 21:59:35 -0500 Received: from gwarestrin.arnor.me.apana.org.au ([192.168.103.7]) by fornost.hmeau.com with smtp (Exim 4.92 #5 (Debian)) id 1nDHTR-0006y2-9A; Fri, 28 Jan 2022 13:58:54 +1100 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Fri, 28 Jan 2022 13:58:53 +1100 Date: Fri, 28 Jan 2022 13:58:53 +1100 From: Herbert Xu To: Sean Anderson Cc: Christian Eggers , "David S. Miller" , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: PROBLEM: encryption test failures since "crypto: mxs-dcp - Use sg_mapping_iter to copy data" Message-ID: References: <2126453.Icojqenx9y@localhost.localdomain> <414858de-f279-c5ce-83ca-5c28d6c847b1@seco.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <414858de-f279-c5ce-83ca-5c28d6c847b1@seco.com> Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Thu, Jan 27, 2022 at 12:31:48PM -0500, Sean Anderson wrote: > Hi Christian, > > On 1/27/22 12:23 PM, Christian Eggers wrote: > > SoC: i.MX6ULL > > > > After upgrading from v5.10.65-rt53 to v5.10.73-rt54 I get two additional messages on boot: > > > > ... > > [ 3.786333] alg: skcipher: ecb-aes-dcp encryption test failed (wrong result) on test vector 0, cfg="two even aligned splits" > > [ 3.789020] alg: skcipher: cbc-aes-dcp encryption test failed (wrong result) on test vector 0, cfg="two even aligned splits" > > [ 3.793741] mxs-dcp 2280000.crypto: mxs_dcp: initialized > > .. > > > > After reverting the commit > > > > 2e6d793e1bf0 ("crypto: mxs-dcp - Use sg_mapping_iter to copy data") > > > > the error messages above disappear again. > > Can you try applying the patch in [1] on top of your revert? Please resubmit your patch with a proper Subject, otherwise it'll be automatically discarded by patchwork. Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt