From patchwork Mon Jun 13 14:57:22 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 69881 Delivered-To: patch@linaro.org Received: by 10.140.106.246 with SMTP id e109csp1586187qgf; Mon, 13 Jun 2016 07:59:02 -0700 (PDT) X-Received: by 10.98.135.71 with SMTP id i68mr5159113pfe.3.1465829942855; Mon, 13 Jun 2016 07:59:02 -0700 (PDT) Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id b6si18252014pay.99.2016.06.13.07.59.02 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Jun 2016 07:59:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) client-ip=2001:1868:205::9; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) smtp.mailfrom=linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1bCTJQ-0001aa-9F; Mon, 13 Jun 2016 14:58:00 +0000 Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1bCTJM-0001SR-0n for linux-arm-kernel@lists.infradead.org; Mon, 13 Jun 2016 14:57:56 +0000 Received: by mail-wm0-x22c.google.com with SMTP id m124so83555706wme.1 for ; Mon, 13 Jun 2016 07:57:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=EkxjeggtSp8JIbMEeg/IoLDKbw0UUDvYnUdAfXkvluo=; b=bsQHTwG0l6r8FBW8yzkEa/LJyGEThe/fx/K3Hu5v3aOvCMf00Mu4KYYvatQ9m9MncV 2IAan4LLxL8GOqqj8bJKbcNf0n3jLLrHr1upARNU0ZkL++Vkz1q8yYdAnTw+g2KZQeO4 OvwQsKKqYpvNZQssxgLWAjcL0ePkv3vKIWMog= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=EkxjeggtSp8JIbMEeg/IoLDKbw0UUDvYnUdAfXkvluo=; b=fkQW+IItyHLysLPM3JCU6xdOKvuXNOHBM55QoFeKs/r1lu+PtYygXQ/3Q6Kw8idm83 S3po1Qs7d0Wmw7WvXTPi9oboN9nn9AMsIUslZhB0aL2/hkKZAJRdlSzdRDlHSRiZQ8v3 L1A86J7buOoW1ikohikHdADrOPmoXbau/I2+sQLMXYd4MtJeWcdhud+4S21L62x/opK3 WqrJstO3ZxnpV4fHgrXqLFtg0jVzihx6neW+81Tlh/41nbE3ZsbBNRTl96X1yr+dILgD EGxJg3MEkYg72JVLKqYNI/Xpv6m/+XNPba+5rk6FOMiV+RTNbUZwUuguEebFjb9jb12Z L/TQ== X-Gm-Message-State: ALyK8tJUrD94o9ArTyvYQ/gG4PoPirZi1lsw7QKgAaGZ1d2oTC/yWgjaymrFwZpdrYFpxh/n X-Received: by 10.28.105.216 with SMTP id z85mr1640616wmh.75.1465829853998; Mon, 13 Jun 2016 07:57:33 -0700 (PDT) Received: from ards-macbook-pro.lan (ip503c5505.speed.planet.nl. [80.60.85.5]) by smtp.gmail.com with ESMTPSA id a84sm2953035wma.0.2016.06.13.07.57.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 13 Jun 2016 07:57:33 -0700 (PDT) From: Ard Biesheuvel To: linux-arm-kernel@lists.infradead.org, arnd@arndb.de Subject: [PATCH] arm64: defconfig: disable plain NEON implementation of AES Date: Mon, 13 Jun 2016 16:57:22 +0200 Message-Id: <1465829842-3668-1-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160613_075756_394821_9DD498CB X-CRM114-Status: UNSURE ( 9.90 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2a00:1450:400c:c09:0:0:0:22c listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: catalin.marinas@arm.com, arm@kernel.org, Ard Biesheuvel MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org The plain NEON implementation of AES is only suited for v8 cores that lack the ARMv8 Crypto Extensions but have an implementation of the NEON tbl/tbx instruction that is not pathetically slow. Unfortunately, this is currently the empty set, so there is no point in including this implementation by default. So disable it. Signed-off-by: Ard Biesheuvel --- arch/arm64/configs/defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.9.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index fd2d74d0491e..ab76f74e859b 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -343,5 +343,5 @@ CONFIG_CRYPTO_SHA2_ARM64_CE=y CONFIG_CRYPTO_GHASH_ARM64_CE=y CONFIG_CRYPTO_AES_ARM64_CE_CCM=y CONFIG_CRYPTO_AES_ARM64_CE_BLK=y -CONFIG_CRYPTO_AES_ARM64_NEON_BLK=y +# CONFIG_CRYPTO_AES_ARM64_NEON_BLK is not set CONFIG_CRYPTO_CRC32_ARM64=y