From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754104AbcBBInB (ORCPT ); Tue, 2 Feb 2016 03:43:01 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:34760 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753110AbcBBIm7 (ORCPT ); Tue, 2 Feb 2016 03:42:59 -0500 Date: Tue, 2 Feb 2016 09:42:54 +0100 From: LABBE Corentin To: Andre Przywara Cc: Maxime Ripard , Chen-Yu Tsai , linux-sunxi@googlegroups.com, Arnd Bergmann , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Herbert Xu , "David S . Miller" , linux-crypto@vger.kernel.org Subject: Re: [linux-sunxi] [PATCH 02/11] crypto: sunxi-ss: prevent compilation on 64-bit Message-ID: <20160202084254.GA22621@Red> References: <1454348370-3816-1-git-send-email-andre.przywara@arm.com> <1454348370-3816-3-git-send-email-andre.przywara@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1454348370-3816-3-git-send-email-andre.przywara@arm.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Acked-by: Corentin LABBE > --- > 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 > > --