2014-06-07 01:33:36

by Anton Blanchard

[permalink] [raw]
Subject: [PATCH] crypto/nx: disable NX on little endian builds

The NX driver has endian issues so disable it for now.

Signed-off-by: Anton Blanchard <[email protected]>
---

diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig
index 03ccdb0..8280a7a3 100644
--- a/drivers/crypto/Kconfig
+++ b/drivers/crypto/Kconfig
@@ -313,7 +313,7 @@ config CRYPTO_DEV_S5P

config CRYPTO_DEV_NX
bool "Support for IBM Power7+ in-Nest cryptographic acceleration"
- depends on PPC64 && IBMVIO
+ depends on PPC64 && IBMVIO && !CPU_LITTLE_ENDIAN
default n
help
Support for Power7+ in-Nest cryptographic acceleration.


2014-06-14 03:48:22

by Marek Vasut

[permalink] [raw]
Subject: Re: [PATCH] crypto/nx: disable NX on little endian builds

On Saturday, June 07, 2014 at 03:33:34 AM, Anton Blanchard wrote:
> The NX driver has endian issues so disable it for now.
>
> Signed-off-by: Anton Blanchard <[email protected]>

What kind of issues ? Are they hard to fix ?

Best regards,
Marek Vasut