From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756452Ab2GaXgp (ORCPT ); Tue, 31 Jul 2012 19:36:45 -0400 Received: from e34.co.us.ibm.com ([32.97.110.152]:40849 "EHLO e34.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756292Ab2GaXgl (ORCPT ); Tue, 31 Jul 2012 19:36:41 -0400 From: Seth Jennings To: Herbert Xu Cc: Seth Jennings , Michael Neuling , Stephen Rothwell , linux-next@vger.kernel.org, LKML , Kent Yoder , Benjamin Herrenschmidt , anton@samba.org Subject: [PATCH] powerpc/crypto: fix pseries_defconfig break Date: Tue, 31 Jul 2012 18:34:51 -0500 Message-Id: <1343777691-25601-1-git-send-email-sjenning@linux.vnet.ibm.com> X-Mailer: git-send-email 1.7.9.5 X-Content-Scanned: Fidelis XPS MAILER x-cbid: 12073123-1780-0000-0000-000007ED7A9F X-IBM-ISS-SpamDetectors: X-IBM-ISS-DetailInfo: BY=3.00000288; HX=3.00000193; KW=3.00000007; PH=3.00000001; SC=3.00000006; SDB=6.00161399; UDB=6.00036478; UTC=2012-07-31 23:36:39 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org As part of the Kconfig rework for drivers/crypto/nx, the meaning of CONFIG_CRYPTO_DEV_NX was changed. At the same time this commit was heading upstream fd297b3a7302ab866306f53c1fd1e97b083fe83e powerpc: Enable pseries hardware RNG and crypto module still used the old meaning, set CONFIG_CRYPTO_DEV_NX=m when it is now a bool in the Kconfig. This patch repairs the break. Reported-by: Michael Neuling Signed-off-by: Seth Jennings --- This patch is based on Linus master which already contains the commit above. Please apply this patch before my patchset (powerpc/crypto: IBM Power7+ in-Nest compression support) to avoid the pseries_defconfig break. arch/powerpc/configs/pseries_defconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/configs/pseries_defconfig b/arch/powerpc/configs/pseries_defconfig index 1f65b3c..9f4a936 100644 --- a/arch/powerpc/configs/pseries_defconfig +++ b/arch/powerpc/configs/pseries_defconfig @@ -369,7 +369,8 @@ CONFIG_CRYPTO_TWOFISH=m CONFIG_CRYPTO_LZO=m # CONFIG_CRYPTO_ANSI_CPRNG is not set CONFIG_CRYPTO_HW=y -CONFIG_CRYPTO_DEV_NX=m +CONFIG_CRYPTO_DEV_NX=y +CONFIG_CRYPTO_DEV_NX_ENCRYPT=m CONFIG_VIRTUALIZATION=y CONFIG_KVM_BOOK3S_64=m CONFIG_KVM_BOOK3S_64_HV=y -- 1.7.9.5