From: ard.biesheuvel@linaro.org (Ard Biesheuvel) Date: Fri, 10 Apr 2015 22:23:32 +0200 Subject: [PATCH v2] crypto/arm: accelerated SHA-512 using ARM generic ASM and NEON In-Reply-To: <5553652.sur4tr0YJi@wuerfel> References: <1428676148-28210-1-git-send-email-ard.biesheuvel@linaro.org> <5553652.sur4tr0YJi@wuerfel> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org > On 10 apr. 2015, at 22:08, Arnd Bergmann wrote: > >> On Friday 10 April 2015 16:29:08 Ard Biesheuvel wrote: >> +#if __ARM_MAX_ARCH__>=7 >> +.arch armv7-a >> +.fpu neon >> + > > This will cause a build failure on an ARMv7-M build, which is incompatible > with .arch armv7-a and .fpu neon. > The neon part depends on CONFIG_KERNEL_MODE_NEON, which would never be set for that platform, I suppose