Re: [PATCH] crypto: allwinner: sun8i-ce: enable working on big endian

From: Herbert Xu
Date: Fri Nov 22 2019 - 06:10:33 EST


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 <clabbe.montjoie@xxxxxxxxx>
> ---
> .../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 <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt