Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp8289292ybn; Tue, 1 Oct 2019 06:09:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqxgEqHk1BIwicPOYVdxrtxJfchhHfWfNgl9ubmFYbtAI4FRd/ckDLsieBgc5rvQnuE1iwZi X-Received: by 2002:a50:852c:: with SMTP id 41mr24713316edr.201.1569935385592; Tue, 01 Oct 2019 06:09:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569935385; cv=none; d=google.com; s=arc-20160816; b=ElNAswNcL/mDBcP/yvmiAlGHXGkVc7CAV5IOtGv+mm83Yt+dsG7fC0oyHuifJJ/0MV Rv/xtpdpxECXqx+y3xc3iOdwwIja0DLEtomZZmx8aRjSBqdPFA3udc9rvdL6YyaaGcRh 2YpGy6mYw6Xzb4xDspCYS/VU+mGSG68NgjSOiLi8gjaNRfj16WYkQXlh4LagwVtxRlYB vxeb3seTNs77EqYKROKnQ1FiQrtCMK0ZVME3Mp1ue+RkM7z54jB0suxbYmJVKCuiBVvl HUMdnxLvB6nOMARqTFYMGrFTL2VXLVPQbep2thY1VrnydDveAhgfJwpO4l5kgIV7zO7j f1oQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=8nULUEMDvUhwoFyVQQVYQVo3QVzn/ISyXRTpuReZCAs=; b=CjQTGN/J0RQSXfbVqZLgNyKpFbCXMg0BQq7mjdxab/ZYWAkOTeHFKz3CBwh4/3ctJF 1j7XRA9c6oETbaRxKAXQ7GQAGv6HjAk64ib9OxMN9tzRlr3o9ici9X6QciBPNpGQDMA1 dsthzMfXor/ydykYJ8HgjFeASGa9E8grDHhfv/J9uUAgL4rhn68wXbdrcHL+8cAqBzhf QrHlk5sGOXEnzVN4Ykki4kxZ8uWHHvAYfTlkyKTS2s3rWyKByYn6PdYX7F5+ST0rdhyx IcmUGpmY59LcE5cqhA3o3RlEWnF5WRi5Yh/IhHwZgFTrh4Ci89gSkyaMvTGLwyQT8Q8I dUBA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a29si9435622eda.246.2019.10.01.06.09.13; Tue, 01 Oct 2019 06:09:45 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726490AbfJANIA (ORCPT + 99 others); Tue, 1 Oct 2019 09:08:00 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:59040 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725821AbfJANH7 (ORCPT ); Tue, 1 Oct 2019 09:07:59 -0400 Received: from gwarestrin.arnor.me.apana.org.au ([192.168.0.7]) by fornost.hmeau.com with smtp (Exim 4.89 #2 (Debian)) id 1iFHsh-00010Y-2b; Tue, 01 Oct 2019 23:07:56 +1000 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Tue, 01 Oct 2019 23:07:53 +1000 Date: Tue, 1 Oct 2019 23:07:53 +1000 From: Herbert Xu To: Ard Biesheuvel Cc: linux-crypto@vger.kernel.org, Ard Biesheuvel Subject: Re: [PATCH 1/2] crypto: arm/aes-ce - build for v8 architecture explicitly Message-ID: <20191001130753.GA3434@gondor.apana.org.au> References: <20190917085001.792-1-ard.biesheuvel@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190917085001.792-1-ard.biesheuvel@arm.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Tue, Sep 17, 2019 at 09:50:00AM +0100, Ard Biesheuvel wrote: > From: Ard Biesheuvel > > The NEON/Crypto Extensions based AES implementation for 32-bit ARM > can be built in a kernel that targets ARMv6 CPUs and higher, even > though the actual code will not be able to run on that generation, > but it allows for a portable image to be generated that can will > use the special instructions only when they are available. > > Since those instructions are part of a FPU profile rather than a > CPU profile, we don't override the architecture in the assembler > code, and most of the scalar code is simple enough to be ARMv6 > compatible. However, that changes with commit c61b1607ed4fbbf2, > which introduces calls to the movw/movt instructions, which are > v7+ only. > > So override the architecture in the .S file to armv8-a, which > matches the architecture specification in the crypto-neon-fp-armv8 > FPU specificier that we already using. Note that using armv7-a > here may trigger an issue with the upcoming Clang 10 release, > which no longer permits .arch/.fpu combinations it views as > incompatible. > > Reported-by: kbuild test robot > Fixes: c61b1607ed4fbbf2("crypto: arm/aes-ce - implement ciphertext stealing ...") > Signed-off-by: Ard Biesheuvel > --- > arch/arm/crypto/aes-ce-core.S | 1 + > 1 file changed, 1 insertion(+) All applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt