Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5614082imu; Mon, 26 Nov 2018 03:02:04 -0800 (PST) X-Google-Smtp-Source: AJdET5eyOsvFR7mbNqtzjF5EHcFaIKbGDyhFTJtpdDz4J3Si1i5lUJE9/9b4srGGauZj2s0AuCEh X-Received: by 2002:a62:e30d:: with SMTP id g13mr27198735pfh.151.1543230124868; Mon, 26 Nov 2018 03:02:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543230124; cv=none; d=google.com; s=arc-20160816; b=wyEqxdWioiNoQpo4Z1MG92DDzl5vvf/WSAOZOEhow21LekWapn4X0jtHTcpLt2SQWI Aro+WxAcq33la+hf71dBJQh5MR6BarxrStZePWljzfL8oAYQ/qQ38AJpRm7JVFv14dWL Heb+dXYV/CFpxwH66N/Yb5/+4S/ZWFCX1WYEfczS3XECxKOrikCZw4pogjc+mUcPLD/9 Pay7NP3NShCAgxaPXTOF3oOl+104n1dPmz8R9gCG64+BuKrSGBby+P8NPQABpPwAv6fh c1urekmB9+skih3lcRR1WEotuW+IQ9cB9YTTCE8vHA6jixRXKo/MzsdPuutf1MUg9vdM ycmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=fwYxVLPRY1+3Ros10B1wlk0zKHTbJaV/yu1lcmXeci0=; b=DVEWu51VJbgT77Ycv+WFXhuop9NC0CF4voRfjJfLebBwYQyzTN9D7AicI7kimyz1R8 5UhFg+Bdzw9qjQ+gxeggfnLJbEY4lfsoAdvdwrFVAFTVv1C5v2MHJ+OP5+61JS4ZbDKA tghElRlGzudsh9mhW00SpTZf5LcSfVrgUNeco79ZqvvFotdiYYxgxlnN9GSDnPcYXD/5 rcEMGr4Za7TIVm9STZsSX4/ZRqYdW51YSo/1N+xTS+wox8WRDLvgLc2wWfIuwoCTnGP0 SxyOkyiLfxmvSdgsimiXoinSVnlPCqXs78TCw/N/eogQpnuhD+UEW8Lmp95HCq92y2Dh y5Nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=GFxXlkE2; 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 o9si6927414pfe.63.2018.11.26.03.01.39; Mon, 26 Nov 2018 03:02:04 -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; dkim=pass header.i=@kernel.org header.s=default header.b=GFxXlkE2; 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 S1729692AbeKZVxk (ORCPT + 99 others); Mon, 26 Nov 2018 16:53:40 -0500 Received: from mail.kernel.org ([198.145.29.99]:35444 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729664AbeKZVxk (ORCPT ); Mon, 26 Nov 2018 16:53:40 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B707F21104; Mon, 26 Nov 2018 10:59:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1543229995; bh=Wj7f5rameFSk6t/vTaVDJFFnVOAw+nel2JYbihYH1Tw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GFxXlkE279+JFK4lZEUEuoDNB7fb5j7nLAEntr6TB3eYJQVdISsdVO9J/26sCPnnS 7Lhq0rr3c811pq6A5az+/J4U/rIzBXugNNkC0zJ8+Q2VubPcHWVC8K4C3IlL5DGbyf gJ1kLmPEaP3dVGzWNFTMUnXqKtU7E+poS6pgyP6M= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Ard Biesheuvel , Jeremy Linton , Catalin Marinas , Sasha Levin Subject: [PATCH 4.14 30/62] lib/raid6: Fix arm64 test build Date: Mon, 26 Nov 2018 11:51:11 +0100 Message-Id: <20181126105053.199254797@linuxfoundation.org> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181126105050.592727680@linuxfoundation.org> References: <20181126105050.592727680@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ [ Upstream commit 313a06e636808387822af24c507cba92703568b1 ] 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. Reviewed-by: Ard Biesheuvel Signed-off-by: Jeremy Linton Signed-off-by: Catalin Marinas Signed-off-by: Sasha Levin --- lib/raid6/test/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/raid6/test/Makefile b/lib/raid6/test/Makefile index be1010bdc435..565a77220fae 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' |\ -- 2.17.1