lkml.org 
[lkml]   [2016]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: [linux-sunxi] [PATCH 02/11] crypto: sunxi-ss: prevent compilation on 64-bit
    On Mon, Feb 01, 2016 at 05:39:21PM +0000, Andre Przywara wrote:
    > The driver for the sunxi-ss crypto engine is not entirely 64-bit safe,
    > compilation on arm64 spits some warnings.
    > The proper fix was deemed to involved [1], so since 64-bit SoCs won't
    > have this IP block we just disable this driver for 64-bit.
    >
    > [1]: http://lists.infradead.org/pipermail/linux-arm-kernel/2016-January/399988.html
    > (and the reply)
    >
    > Signed-off-by: Andre Przywara <andre.przywara@arm.com>

    Acked-by: Corentin LABBE <clabbe.montjoie@gmail.com>

    > ---
    > drivers/crypto/Kconfig | 2 +-
    > 1 file changed, 1 insertion(+), 1 deletion(-)
    >
    > diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig
    > index 07d4942..737200f 100644
    > --- a/drivers/crypto/Kconfig
    > +++ b/drivers/crypto/Kconfig
    > @@ -487,7 +487,7 @@ config CRYPTO_DEV_IMGTEC_HASH
    >
    > config CRYPTO_DEV_SUN4I_SS
    > tristate "Support for Allwinner Security System cryptographic accelerator"
    > - depends on ARCH_SUNXI
    > + depends on ARCH_SUNXI && !64BIT
    > select CRYPTO_MD5
    > select CRYPTO_SHA1
    > select CRYPTO_AES
    > --
    > 2.6.4
    >
    > --

    \
     
     \ /
      Last update: 2016-02-02 10:01    [W:2.169 / U:0.788 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site