Received: by 2002:a17:90a:88:0:0:0:0 with SMTP id a8csp41714pja; Fri, 22 Nov 2019 03:12:12 -0800 (PST) X-Google-Smtp-Source: APXvYqz4fUbycV2AZfYgwsW1hBlHz/UvtRSFsiwnc6jsuyYB9hAt6LwLSijFSmZlMu13HEtFiUdm X-Received: by 2002:a05:6402:791:: with SMTP id d17mr352103edy.12.1574421131900; Fri, 22 Nov 2019 03:12:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574421131; cv=none; d=google.com; s=arc-20160816; b=d8xKum1bh8LSqcnDLuP453u3J14I4wqb/2IVcvjdov10uxhQDtfLBiI0ugOHQWo2F4 YsLqvFLeo6my3mIYX1gHz+gg4f4H3UW07Xhl/I8t8UZHKO0BDQs90nqiGVqLYTnP4aYG 6ENqgedmcNZrEHVnlZBMwI+UZ3xIxvS407Js7xDZf3q3TheszwCuhp2cx8hhgszIJ6JR dbSC2ISymjVlEeGJ1Q9R7qOAgwfHNE6jLGlSh+bYfRNwjg1wx1oLPTjAT62O48E/bKjd Fbat1nHR6NTV4Ds2D6M4YNNMAT3V4/AftoEoRDTnwNnGrVWUcOgGqN1C1/ibUYbVHTct xnHQ== 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=ByBRgMfaHi+6hDiNrF+AMHSxqB6srf1b63jZ4PXvnoE=; b=fiHf+LZ8JDOKmBZ5WcwaCZI++JJuXx3gt9MzVRitwlDQDlEGXOK756Bq6aiUteJlRy TvFbsmZGLEy/Xhu21w59I3/MUrzP0n8dYTOBNQMEbnQxOTbQ03E1ortKnBfRReHJU2mI 6l7NZeDSJ/d9GI/wAYqPvjIH0cuNYyyR4q46BN2HipIS7wN38MmGEbpRlfpFM2pYJOr0 Fzo+yQrb9NOCNu2qgr/iQeY8iDcl4GEqI2vRmx1f5iY8VLcDbga0t9BMpT6V6JtrkuDj adnd2Ze4TW8/H0I9qWgnyc2panx5d0mhrX3grFPmckWYin6DwHZJxNXLrdKftrfytD/R Sclw== 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 bt28si4157188edb.270.2019.11.22.03.11.46; Fri, 22 Nov 2019 03:12:11 -0800 (PST) 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 S1730821AbfKVLK0 (ORCPT + 99 others); Fri, 22 Nov 2019 06:10:26 -0500 Received: from helcar.hmeau.com ([216.24.177.18]:53988 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729083AbfKVLKZ (ORCPT ); Fri, 22 Nov 2019 06:10:25 -0500 Received: from gondobar.mordor.me.apana.org.au ([192.168.128.4] helo=gondobar) by deadmen.hmeau.com with esmtps (Exim 4.89 #2 (Debian)) id 1iY6pP-0005Jx-Kx; Fri, 22 Nov 2019 19:10:19 +0800 Received: from herbert by gondobar with local (Exim 4.89) (envelope-from ) id 1iY6pO-0002kH-Fr; Fri, 22 Nov 2019 19:10:18 +0800 Date: Fri, 22 Nov 2019 19:10:18 +0800 From: Herbert Xu To: Corentin Labbe Cc: davem@davemloft.net, mripard@kernel.org, wens@csie.org, linux-arm-kernel@lists.infradead.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: Re: [PATCH] crypto: allwinner: sun8i-ce: enable working on big endian Message-ID: <20191122111018.uss7n573hdtmx6ed@gondor.apana.org.au> References: <20191117160745.32197-1-clabbe.montjoie@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191117160745.32197-1-clabbe.montjoie@gmail.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Sun, Nov 17, 2019 at 05:07:45PM +0100, Corentin Labbe wrote: > On big endian kernel, the sun8i-ce crypto driver does not works. > This patch do the necessary modification to permit it to work on BE > kernel (setting descriptor entries as __le32 and adding some cpu_to_le32) > > Fixes: 06f751b61329 ("crypto: allwinner - Add sun8i-ce Crypto Engine") > Signed-off-by: Corentin Labbe > --- > .../allwinner/sun8i-ce/sun8i-ce-cipher.c | 50 +++++++++++-------- > drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h | 24 ++++----- > 2 files changed, 40 insertions(+), 34 deletions(-) Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt