From patchwork Mon May 28 15:47:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 137094 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp2983617lji; Mon, 28 May 2018 08:48:35 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqpRPfhZxTE54LYDbCeJlQPvr1kwGscKswYPLSRxFj4EAtJ5Lh1Uuni9BNqe73sWGJto/FP X-Received: by 2002:a63:93:: with SMTP id 141-v6mr11257101pga.322.1527522515491; Mon, 28 May 2018 08:48:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527522515; cv=none; d=google.com; s=arc-20160816; b=Sikijfl08pag3h10cLsaMKyatf4psAYrBVhtb/9fcshaw6XW8uDGMbxRyZCFlTRm+1 bf33PwlcH7OuiTJUNb0trU+E5E449435Zjcmni6QBtxBhkII5NFnakAkx50IrHhK03Qq 4whkB0ZjVXOC4OgqsmyuW76ehoU0Zt5xs1a1oFmFFViQN2Nq1OeqqhrLLLPiAgSXLUCD /Fj0gwxJivtIvIurgPlXjQLskSc5QlizAjuMBP1ddhBWZqHy4U1sOXXoOKOH613QLFGK //cVkxuyaMZgLqK0evcnv9XD8jfhv/TXWFTAUvT+Xa5UsezPLndJXVznPhnlXZGSX/BD /btg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=lK05T4fc8+LG00pU9kOy04LaWStlTCpazkr0ECVt7kM=; b=ZtSJUpK+1tZsXAK1qj+Qs+n/SfB8pkQShroJyvN4Yxi9ZyZ+/Ik83n0UlxnHwu8Pwv YzC4Fvard2pYj4NOEmCIbT+jmo6f6XqnYrcsy5Ziu8HhG2F4o+3fxLLqA3/tFI54jTQf OaPTJ1Xtuuvq29cqcmv0//dJn2mhTfqNpsShWP3U8ND+iIW1TVP23Lpdhc4cgj8+npvN AeXlMq384YMkQXYwjF+Ysn9jUMZ9N307cO8uam2RE2VA9wckj961fm2yAtNlQDZIocts v9qXouIiN8Gc5+X0sUNyL4AkzOf8sub1P2R2BPMczwK0lzyiniB6+AE6tlR/wQ9AqcQ1 5D9A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b9-v6si21796270plk.111.2018.05.28.08.48.35; Mon, 28 May 2018 08:48:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1034902AbeE1Psc (ORCPT + 30 others); Mon, 28 May 2018 11:48:32 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:50353 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030737AbeE1Ps1 (ORCPT ); Mon, 28 May 2018 11:48:27 -0400 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue101 [212.227.15.145]) with ESMTPA (Nemesis) id 0MNL1F-1fPpTe0UJ7-0070Ex; Mon, 28 May 2018 17:48:11 +0200 From: Arnd Bergmann To: Herbert Xu , "David S. Miller" Cc: Arnd Bergmann , Ondrej Mosnacek , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] crypto: morus - Hide Kconfig option for glue code Date: Mon, 28 May 2018 17:47:45 +0200 Message-Id: <20180528154806.2621106-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K1:TvFRafqsmQixTaQges1esfoXih1GkM4pgZ2SYKNuCewobS8UaXq KiMHwAcWDyA6SjZlXfADEBsIv2/2TBomBn3AANiLZvBm72G+pgnavxkgI6R0J+of8sO8h4b 70Y/MZUIPi73dwhZUvPXBDTOFvu8E7R7J6vMAfsaxx64/fLpAHhppO1rhovDOZOsF5sShnP sHw4xA6rQK47xY0PyMndw== X-UI-Out-Filterresults: notjunk:1; V01:K0:UTbW7pFYclg=:EdTJmcBCmnoyqt959HxQaL mPdwH2zuaqjeRtFf+tQwwlEw1ntIoFtBGO/eMUsMoxJEl2oIztMltwGq1SaVS+KbSplzYk4IU OqBqPTUCq6758s+0124TjJo7EZfjItY/32ZnRzjs5YE9ZdRWzYIKd6WSojtNDpJC6LmJUJ6BF lHXVsJ5Mi/ZTxZcuFtOdIMIzy4utBCio/+ibMD1ro/OnL+qni9E/mi8FVyaWW4VE44ybQCV1+ M4L/enP7zndZruNQW1eN4z73hO6oxFzYC4W+jnP7oi53Iv1gHSiOpj0q3LZh4YvQXHzURU3Bf 9vw41CjQzdhGfpTKmtIjaKG7F/LuLzKXkTlAbMm2tK5qKxprLmsQNwEPIYw6/rrXx3OcF9CpG aUDwCBGGRjautQDMb+5GO7sUpr3+izN6Odk6ipn7al1jwwlV/e07H46bAUFTrgOTJ4XN2GkUf rRenboD7n+qrcAgPVKHOvki7QT1uwQyXDIebvbbEUwkEzp66xR6H+/qpE2bcH6MltjhPeHJPQ Dq5oTosY9iFKiNS9A3aqXxL4wwvJa265hFdlTvLhn0KcOwuAZFiBC6H0Kd0hJqIUrGFVJ0QdH uYdWzvZm6mU4DJu47vNAR/BLcdIuHnkBz4yT41Q3gCUQkIsCM0aM9C2BirhNuIpnjR3diCQ2b 2Gf2iqMbPOdv209BXxQz7EEo2MLaw+fcQOo4VTrYEsKm5H4W2V2T0g9/Eg7eE1uLiOYY= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enabling the glue drivers for morus640 and/or morus1280 leads to a build failure on all non-x86 architectures: crypto/morus1280_glue.c:24:10: fatal error: asm/fpu/api.h: No such file or directory scripts/Makefile.build:311: recipe for target 'crypto/morus1280_glue.o' failed crypto/morus640_glue.c:24:10: fatal error: asm/fpu/api.h: No such file or directory scripts/Makefile.build:311: recipe for target 'crypto/morus640_glue.o' failed There really is no reason to enable these unless we also have a real driver using the glue, so the Kconfig option can be hidden and remain selected by the x86 specific SIMD drivers or any others getting added in the future. Fixes: 56e8e57fc3a7 ("crypto: morus - Add common SIMD glue code for MORUS") Signed-off-by: Arnd Bergmann --- crypto/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.9.0 diff --git a/crypto/Kconfig b/crypto/Kconfig index 75f5efde9aa3..e11c59d26ac5 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig @@ -341,7 +341,7 @@ config CRYPTO_MORUS640 Support for the MORUS-640 dedicated AEAD algorithm. config CRYPTO_MORUS640_GLUE - tristate "MORUS-640 AEAD algorithm (glue for SIMD optimizations)" + tristate select CRYPTO_AEAD select CRYPTO_CRYPTD help @@ -363,7 +363,7 @@ config CRYPTO_MORUS1280 Support for the MORUS-1280 dedicated AEAD algorithm. config CRYPTO_MORUS1280_GLUE - tristate "MORUS-1280 AEAD algorithm (glue for SIMD optimizations)" + tristate select CRYPTO_AEAD select CRYPTO_CRYPTD help