Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3535559ybt; Tue, 30 Jun 2020 05:27:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx2Xa7EfkXBrI01D7od0dC2hU7zKcYHaOC3MmyyYWUnRDUQ5ndVDeHKEAX9BMVv1Wgqhn8g X-Received: by 2002:a17:906:3a17:: with SMTP id z23mr9329322eje.238.1593520068486; Tue, 30 Jun 2020 05:27:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593520068; cv=none; d=google.com; s=arc-20160816; b=b0IkmaRvSie0Jys/yY88mjttZ0no7HCjC0lmwPyMZmQfoTQbQLMwwwGGQPQ9Dy9JQb KhDgUTIJlTTwnqV7z6Krh4o5WIUdkOMcBF9wdDXG3RuBEcE4i5rt9fFUGcMRGguqY+Hp FU6tswtr87GUUXW0PFe5XeFDStgvvWec78IA/5yLqLr7V+nR8TE3KgRcfy2Vp5dS0R4n qVM0JQCVFBNfhPWS9sZyxEBUDZclug+rjQhVF/Z74Cm/jEacJMlDIN04WZXUs+64P9Kb BpHbGJHl+QMLGVrH9fdavoBYTTOFp+wJtKC4N/vLTFcURgMWKnvoabzM1kis/bxOyB0Q x+lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=moOxZ1nqVLgGs5IJHHVopWfI4eUmxDpaqMgF8ACSYWE=; b=wmKOeu4UQHMyjMMbuAArUkOOKH5tFuTVjoU6HnHXY90WTKhFZ5fkuhlv14AFwAi0XI SHRRs5nmveI8ztnj8AVsDaosOnmSlyKz914uXtCaQH23vCZbubU/d+Jq/ME8iqOG0nt/ DpkAgGYPBmgxESfb6gJz6BK66ZKK9vJSiNkarzqmkUcE6qI1Y1xRDpBMQqqZt5VU9RP+ ekxM2n44sEpO1bBWyhfjaVeVvajbtL6F1MSeuej7z3/zX9cGJX+Q+Ze1x7QIpupRIgGa Xp1yqE5cAaVghn3VzAtiXf9xAVKLD35c98uyfwR/A5UqrlabVavq6nAuAanP9a99xSW1 +Rzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="LP/y7Nji"; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f12si1586782eje.309.2020.06.30.05.27.16; Tue, 30 Jun 2020 05:27:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="LP/y7Nji"; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730344AbgF3MTW (ORCPT + 99 others); Tue, 30 Jun 2020 08:19:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:36220 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732509AbgF3MTV (ORCPT ); Tue, 30 Jun 2020 08:19:21 -0400 Received: from e123331-lin.nice.arm.com (lfbn-nic-1-188-42.w2-15.abo.wanadoo.fr [2.15.37.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 61CF5207F5; Tue, 30 Jun 2020 12:19:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1593519560; bh=+B/5KadR9ph4oZTJC6xZjWzAuzGP8oIUhYf4XHINBnA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LP/y7NjiyZhBP+IdZgAC0ccdJps+vWTLYoFpHiMCts5IiITy6ozic+If+PrU2ixYI 0jkYx+Sf2kMark2ArdVoXD/r0REyUYLmih1PRa75DXAzrOmV4E35jKWa/z1nX1WKxd EXdCUQ9uhAUBOFjME1Vb6p/qFgaCFSXFF4kA3n4I= From: Ard Biesheuvel To: linux-crypto@vger.kernel.org Cc: Ard Biesheuvel , Corentin Labbe , Herbert Xu , "David S. Miller" , Maxime Ripard , Chen-Yu Tsai , Tom Lendacky , Ayush Sawal , Vinay Kumar Yadav , Rohit Maheshwari , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Jamie Iles , Eric Biggers , Tero Kristo , Matthias Brugger Subject: [PATCH v3 01/13] crypto: amlogic-gxl - default to build as module Date: Tue, 30 Jun 2020 14:18:55 +0200 Message-Id: <20200630121907.24274-2-ardb@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200630121907.24274-1-ardb@kernel.org> References: <20200630121907.24274-1-ardb@kernel.org> Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org The AmLogic GXL crypto accelerator driver is built into the kernel if ARCH_MESON is set. However, given the single image policy of arm64, its defconfig enables all platforms by default, and so ARCH_MESON is usually enabled. This means that the AmLogic driver causes the arm64 defconfig build to pull in a huge chunk of the crypto stack as a builtin as well, which is undesirable, so let's make the amlogic GXL driver default to 'm' instead. Signed-off-by: Ard Biesheuvel --- drivers/crypto/amlogic/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/amlogic/Kconfig b/drivers/crypto/amlogic/Kconfig index cf9547602670..cf2c676a7093 100644 --- a/drivers/crypto/amlogic/Kconfig +++ b/drivers/crypto/amlogic/Kconfig @@ -1,7 +1,7 @@ config CRYPTO_DEV_AMLOGIC_GXL tristate "Support for amlogic cryptographic offloader" depends on HAS_IOMEM - default y if ARCH_MESON + default m if ARCH_MESON select CRYPTO_SKCIPHER select CRYPTO_ENGINE select CRYPTO_ECB -- 2.17.1