Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5618502imu; Mon, 26 Nov 2018 03:05:14 -0800 (PST) X-Google-Smtp-Source: AFSGD/WEpiMHs6MgCkQ5Yg+Z6+lrLtr1OUXBLtXyl+CIuDZu9DJz7uaEBUsuEMLpwhPS+M7wedhk X-Received: by 2002:a63:1560:: with SMTP id 32mr23881432pgv.383.1543230314275; Mon, 26 Nov 2018 03:05:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543230314; cv=none; d=google.com; s=arc-20160816; b=tCaLqtk+BLE1HTbxAJhzKRJong0BFBCQpCSFnKiLQnUxuShgjClSKxtRf0fKFf6ZKQ dx/VWed0W02NVW8VsV5dvrfnJ9rfYmdc4WEziyWnq0f6TokflTHQzm39sQjaPVOeUpLk e/FXd+6iRxmWloI57b5BXRAhR4bnGEciVCE9fVAItfOPplq4OfgAt4oNsm8WsQKdHY0h r9dI0V3ts7ehlBT1TviijukwlOucAsy66BA9h4Ps9JylSpMYS8UFdG+Nhx+aR+sPXCRP H65QxmnfLN6x6TWuvf2GK4uXQnJKSn619TQ93MhyCTB5y14AUVx6DVTvJuJ3gxR4lHct sRbA== 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=qoHqVjxQTXoceelvc0G91ZpKkQWPsPkJyFMFlMGKVxY=; b=IqvmDnfFKVB/iOT9wM+g8aA6xN9XCK/gdQzkj3ybkpauAsfn0w63hB71WbxerrmT9t iE2YklbcjnjLJskm27vmz+I/sGycSkUliQ4LG8cNZ4l+UqZavbrFfwzlvda+b9nFqSJR 9EkxEttVgZNLH8Xo/u/O85tNNARdN95gvjSDp2Doqlwm3ITkf661kiKfY+ENy1c5sZOR +y8j9JG8gT/oiXC52vyHpMdrFVE/79g3PggQjlo1egrqZFOP8SH9DXk7qol8C8bO47J+ xA/MqvCEl2wMIoeATqlpU7P4vYIrxdxdcQlMqwzgJD+HRdA/bffH56OIgH6A2gQvQHDh bk9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ayF5s0xN; 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 8si10940933plc.88.2018.11.26.03.04.59; Mon, 26 Nov 2018 03:05:14 -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=ayF5s0xN; 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 S1730935AbeKZV5y (ORCPT + 99 others); Mon, 26 Nov 2018 16:57:54 -0500 Received: from mail.kernel.org ([198.145.29.99]:42496 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729291AbeKZV5x (ORCPT ); Mon, 26 Nov 2018 16:57:53 -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 0776220645; Mon, 26 Nov 2018 11:04:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1543230247; bh=O/ao8AFCAclcigtm4liKGluTkCT19Y94pjKeG97UGxI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ayF5s0xNRZ8/Bxcz/kSJy5hZQ6+HIyVC/jd/uXDnOov+5lf+tlB6g2ofQnKX6urqy sBkLa/ubcj2+yH/hKl0VFtIMYT64+/a3boCSwIEugw9IljzbtomW6LplTdy2AJ5iL+ xYPtCgjYfVgn3atQhq2JhOe0fVPHRPF5BM+PlQvs= 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.19 063/118] lib/raid6: Fix arm64 test build Date: Mon, 26 Nov 2018 11:50:57 +0100 Message-Id: <20181126105103.383803960@linuxfoundation.org> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181126105059.832485122@linuxfoundation.org> References: <20181126105059.832485122@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.19-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 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' |\ -- 2.17.1