From patchwork Tue Nov 6 00:14:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeremy Linton X-Patchwork-Id: 150234 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp3251273ljp; Mon, 5 Nov 2018 16:14:58 -0800 (PST) X-Google-Smtp-Source: AJdET5dsV+lk50i/n2sCpDM846jtbkLtslHPvdHT+F/9+qpQjS1QujRok7TCuYBRBBk7K1ZFP9qb X-Received: by 2002:a63:4d:: with SMTP id 74mr19640366pga.248.1541463298172; Mon, 05 Nov 2018 16:14:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541463298; cv=none; d=google.com; s=arc-20160816; b=F+GgKxKE0Qyh1AZNlsXB4VIyUmOYrdPTM0t+3J24DB9WUsHCW3rVenHHiwgvDI54eA eBvfq1fbzQiRSpX/TI0N6n//bfYwTLfeHmd3qKq5M5+zAnzEyxEepxVkq94KKLZpgCKh o+4WXOsjvAG2cakumkw6DavGKohF4YIfO1aqhvCC5MVPOTn/w5GU/Y0wzeU86462qDsR seDpcTokQKiTFme7Z/mlzxqerGADiOWXLLiH/SdZPX9wNeFqoN9k5kq5UUi+DveSytMh tFNxfJAuFIUhkmFEQFZOuuGAcatzLhPz9ZtZbQ0anrjpPUfnNUmhbPZ/eGLbxJ2QQ+Vx Xktg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=WDEQsU1CekP4bB8Akc/Q8RdCiwR3d7OuhmkMAI2ct70=; b=C3i8wNxBaX0nHEv8s1cblW+5O/sZkgLtozPS6oEPyGUEXbPSlPFtu4tkDzcufwuq7+ YA1y9PUOhHSq7YzIRmG0x7BgMLUJisztUnj7zCKepI3KeKpfUC2xwFvJBt7kbJa/5DDf 93iRBspPIce+k1R0WrZeRUYNo2IHBLErkoV2BIeT9ZgW8q0KNQaot2gGN5ZF0lJ2eg1D vZeCgRIm8jLQuXlZ3BdbOBuHweTprjQVPtg2EkF10XmPpA3ttVI1WYvEyXL1TyUSDXZk CiavvuWbbE5L+T65QEul279GlrAQ9eowmoQs5SOLKfg/CtKCE4+6QPEFz8DS5GP73Qht ScSA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 1-v6si18079721plj.53.2018.11.05.16.14.57; Mon, 05 Nov 2018 16:14:58 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729031AbeKFJhQ (ORCPT + 32 others); Tue, 6 Nov 2018 04:37:16 -0500 Received: from foss.arm.com ([217.140.101.70]:53540 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725796AbeKFJhQ (ORCPT ); Tue, 6 Nov 2018 04:37:16 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id DCA61A78; Mon, 5 Nov 2018 16:14:55 -0800 (PST) Received: from beelzebub.austin.arm.com (beelzebub.austin.arm.com [10.118.12.119]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 7F54C3F718; Mon, 5 Nov 2018 16:14:55 -0800 (PST) From: Jeremy Linton To: linux-kernel@vger.kernel.org Cc: matthew.brown.dev@gmail.com, mpe@ellerman.id.au, ard.biesheuvel@linaro.org, arnd@arndb.de, Jeremy Linton Subject: [PATCH] lib/raid6: Fix arm64 test build Date: Mon, 5 Nov 2018 18:14:41 -0600 Message-Id: <20181106001441.42934-1-jeremy.linton@arm.com> X-Mailer: git-send-email 2.17.2 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The lib/raid6/test fails to build the neon objects on arm64 because the correct machine type is 'aarch64'. Once this is correctly enabled, the neon recovery objects need to be added to the build. Signed-off-by: Jeremy Linton --- lib/raid6/test/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.17.2 Reviewed-by: Ard Biesheuvel diff --git a/lib/raid6/test/Makefile b/lib/raid6/test/Makefile index 5d73f5cb4d8a..79777645cac9 100644 --- a/lib/raid6/test/Makefile +++ b/lib/raid6/test/Makefile @@ -27,7 +27,7 @@ ifeq ($(ARCH),arm) CFLAGS += -I../../../arch/arm/include -mfpu=neon HAS_NEON = yes endif -ifeq ($(ARCH),arm64) +ifeq ($(ARCH),aarch64) CFLAGS += -I../../../arch/arm64/include HAS_NEON = yes endif @@ -41,7 +41,7 @@ ifeq ($(IS_X86),yes) gcc -c -x assembler - >&/dev/null && \ rm ./-.o && echo -DCONFIG_AS_AVX512=1) else ifeq ($(HAS_NEON),yes) - OBJS += neon.o neon1.o neon2.o neon4.o neon8.o + OBJS += neon.o neon1.o neon2.o neon4.o neon8.o recov_neon.o recov_neon_inner.o CFLAGS += -DCONFIG_KERNEL_MODE_NEON=1 else HAS_ALTIVEC := $(shell printf '\#include \nvector int a;\n' |\