From patchwork Tue Feb 28 14:36:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 94616 Delivered-To: patch@linaro.org Received: by 10.140.20.113 with SMTP id 104csp1348891qgi; Tue, 28 Feb 2017 06:37:08 -0800 (PST) X-Received: by 10.98.3.3 with SMTP id 3mr2845332pfd.95.1488292628145; Tue, 28 Feb 2017 06:37:08 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r15si1948450pli.158.2017.02.28.06.37.08; Tue, 28 Feb 2017 06:37:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751769AbdB1OhH (ORCPT + 1 other); Tue, 28 Feb 2017 09:37:07 -0500 Received: from mail-wr0-f177.google.com ([209.85.128.177]:36225 "EHLO mail-wr0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751810AbdB1OhG (ORCPT ); Tue, 28 Feb 2017 09:37:06 -0500 Received: by mail-wr0-f177.google.com with SMTP id u108so10177231wrb.3 for ; Tue, 28 Feb 2017 06:37:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=mbYHBP1UoVzTL42a8kkkaSlgG5j1YM4w4xjvK3bgz80=; b=A9f2cdxKdaIvpyEF9jt/wJyICzPpzkmj3gUnfYlk4/Uk8AHCMyh3eUcuudm5fpgA9a AYvcZU4m/Y0wdVtBDPpjEfCaRazrdxZnbu77Em3TkdQ92itg6Q3tWh/xpveFKMLv3+SM ajFYs/uo4w+s4452KcN8VzbnlYlcpCcmJOu18= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=mbYHBP1UoVzTL42a8kkkaSlgG5j1YM4w4xjvK3bgz80=; b=lzN8astXLkdhMrTGG64OEBJ01YLZ6/lbk8iBXqM6udFoFb9yyig6vV2VxB0tgnC4x6 7lc/l8YHWnJTly+aT5e4C8nAionXw0pT0WrLrMyHKLb8tNtLwmX5ZxpQM2MTOb3nDcbg YUJBWdP6sNxYi3ktyDnb3suSymFxOKwcMcRemOjszB9K9drYK8FehZnbDJ6Xz91LLpj7 uIanjDX6OYxsqYiG7sqQrgRkSB1odggrTsGzNq6kvko+KXcskM+hhLd3P/7tdSjxGJTe s8E3jmpRMwh5EPmqtP1Fv9em2ebWVe6w8o/yHEF/DHiIDQa1B2LIQb5xtlLgEJOrlaim 3nVQ== X-Gm-Message-State: AMke39kvz8IJ2kdABwLY3yZbCgkFF2+kY6Iwt26rs9LwiS3xceDgXUbrmkoP4gzxsmOkmohC X-Received: by 10.223.138.250 with SMTP id z55mr2885076wrz.130.1488292624883; Tue, 28 Feb 2017 06:37:04 -0800 (PST) Received: from localhost.localdomain ([105.149.201.216]) by smtp.gmail.com with ESMTPSA id c9sm2934066wmf.18.2017.02.28.06.37.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 28 Feb 2017 06:37:04 -0800 (PST) From: Ard Biesheuvel To: linux-arm-kernel@lists.infradead.org, linux-crypto@vger.kernel.org, arnd@arndb.de Cc: herbert@gondor.apana.org.au, jonathanh@nvidia.com, Ard Biesheuvel Subject: [PATCH 1/2] crypto: arm/crc32 - fix build error with outdated binutils Date: Tue, 28 Feb 2017 14:36:56 +0000 Message-Id: <1488292617-27317-1-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Annotate a vmov instruction with an explicit element size of 32 bits. This is inferred by recent toolchains, but apparently, older versions need some help figuring this out. Signed-off-by: Ard Biesheuvel --- arch/arm/crypto/crc32-ce-core.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 diff --git a/arch/arm/crypto/crc32-ce-core.S b/arch/arm/crypto/crc32-ce-core.S index e63d400dc5c1..5cbd4a6fedad 100644 --- a/arch/arm/crypto/crc32-ce-core.S +++ b/arch/arm/crypto/crc32-ce-core.S @@ -135,7 +135,7 @@ ENTRY(crc32c_pmull_le) vld1.8 {q3-q4}, [BUF, :128]! vmov.i8 qzr, #0 vmov.i8 qCONSTANT, #0 - vmov dCONSTANTl[0], CRC + vmov.32 dCONSTANTl[0], CRC veor.8 d2, d2, dCONSTANTl sub LEN, LEN, #0x40 cmp LEN, #0x40