Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5641572imu; Mon, 26 Nov 2018 03:24:23 -0800 (PST) X-Google-Smtp-Source: AJdET5e4XMnphSIZ50wtpaKO10AlLAoYXcFz935yz7Mmn+ps3WxfSUCV3STm8mQ1Xnwg1pXBLJFI X-Received: by 2002:a63:e655:: with SMTP id p21mr24191895pgj.70.1543231463526; Mon, 26 Nov 2018 03:24:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543231463; cv=none; d=google.com; s=arc-20160816; b=uF22J1ZM0zikoxLQOdHyO3EpoJGgd1Lrh6R85yM4mankViHT+7dC7PEh0D/3zvuG6H Lb+KR2NCW02z4GRAgJE6ci7Nj1NIezisW+PXot1seeHN7Ct/d/4maUQAiMtXMmbPRfnq 8Tkl4kywvwuZgpLczXHFngl9dMpf/SG48cl7zLGHh9I4b9H71j9CwI/44kVpMWN2dvnl FhBwj8H+EFr1wniQ2w52uo8F3kf6bmwNs/SqCFeRxBSwQUi/b5eKIV24zQO1Pu4e51FS F1941h6hjLocSPXaSJJcB5H6PHovD0AS6iLHwcXDYeqm9Zw5hmYtR3Thu3lsgi+EvE0l iaHA== 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=uKlo311pnaYNVohsDWFCnUbmg4NSlJ55AhBEoeG8p4Y=; b=WzNpFNbH5e4ueNfvZBmpsPUyiFIvMIBIFcUZMNsiZy9GVLMahr5RYPgNqKnz8cJyjL DlinLi5mp9CPhTtGS7UK0A1N6WhvNyho1g/9UK94xNdy+scOI4xYqy2ZXO/Vdj1CAt5p S1qauzYghBYJi9IaRiyVXwEnvDsrQ+60U1IlOy11djTlnk6mHfIecbBH6qofV95360vs cqYu+iZQynlQrBevtS/09s64X/qzFxF95oaMU1H5UD2j2w6slX2OuUCInDKmFtWE08dn QvI+9q6IaNzFetBHfStoj8MJZSQnJWL3sGBoOVVTnxPB6vjrM/dhfUg0kPTIVKEu1qwD XszA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="ZMq+S/VD"; 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 t5si28883pgm.79.2018.11.26.03.24.08; Mon, 26 Nov 2018 03:24:23 -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="ZMq+S/VD"; 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 S1728468AbeKZVuV (ORCPT + 99 others); Mon, 26 Nov 2018 16:50:21 -0500 Received: from mail.kernel.org ([198.145.29.99]:59524 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726950AbeKZVuU (ORCPT ); Mon, 26 Nov 2018 16:50:20 -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 E16562089F; Mon, 26 Nov 2018 10:56:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1543229796; bh=dsvoUj1At/JPM36WakFhzod6p58EmgVwGdVLhvSpH/E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZMq+S/VDj1yYNFX/swt9ROPETYTUpwKf9uJUA1DH7AG9MB+hZhgHRRrr0dLtJEKnm JDMCNUlJMdFONfkfVlyIjT9quyKI0PJrOh0J4EdX2J5EHzkBqPUIvsfB/nWX/br6s/ zEMtnCRUUwOHL2IqcyJ/NJ4yPCR7c2G5CT+bLSrg= 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.4 52/70] lib/raid6: Fix arm64 test build Date: Mon, 26 Nov 2018 11:51:07 +0100 Message-Id: <20181126105051.910948607@linuxfoundation.org> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181126105046.722096341@linuxfoundation.org> References: <20181126105046.722096341@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.4-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 29090f3db677..28c089cb13f1 100644 --- a/lib/raid6/test/Makefile +++ b/lib/raid6/test/Makefile @@ -26,7 +26,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 @@ -37,7 +37,7 @@ ifeq ($(IS_X86),yes) gcc -c -x assembler - >&/dev/null && \ rm ./-.o && echo -DCONFIG_AS_AVX2=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