Received: by 10.213.65.68 with SMTP id h4csp1108765imn; Wed, 14 Mar 2018 09:50:39 -0700 (PDT) X-Google-Smtp-Source: AG47ELu0qdCbd/Yfj5RhksYFlHEluMi+crqo9Ajrthj139cxoP+ypCGd/7egUb21E9zWi/ZWQBSE X-Received: by 10.99.135.67 with SMTP id i64mr4026775pge.346.1521046239467; Wed, 14 Mar 2018 09:50:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521046239; cv=none; d=google.com; s=arc-20160816; b=gSuui7LQXE/5PnJBUpfeRPMDV3qDODVuWSR4bHrlMb8iEEpLpiyIXW+kpzRF8+RPYv tIYHR7fp46pmff1xZ3YGvg7XGyrfy5J00oeRkm6jZntSSzeizIXh0g8VkNKgepVrMAGb n5sv0VQrU3Y6S/TgHLiHQrGGvcs15BDPBtFvMA3wPV4Mh1f+ZrVFso25ljeusePUHzv1 fkLATnFiafYpcrQOT9EGGXtteHHVHeqLKVr38/GjDVvX7nXgmed1o9PjiMnChRqIiiw2 w3lDpgko87VdSDLqZnXPrGids/Y7uJn+uQnasa+eZHgam/7lXexc7TQcrkD8v1n3Uefk f/4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=qDzr5oXzZDRNiMPA9uY0oO4UIxErGRrv0RQshQWmiIg=; b=AxCCsmy21PKGjegLCvFJ2CXo7UeKDaYsPRDN9ZMWpXZWfyRrbrXiYAyxOI9Rnl2MMh BS3fdPoAjPrt233z1V7f3FZNDkAAfZr73CcGOMCkw3ADhqnCTItrCUpJKSatDZ2JOl/R RANpdXl6qq0uMpbufYlViBjy1/2QN5G0xzpCxt+evrZ0DX6dektyTjT8CbSVog40lr5w oS3x90lY5tcoyga/Lq+ITFLVIwIejBK/XwmFvdGsGdcELQGUnxz8o4AUKjLIlktt0b3/ p8hYPPUm5+4iZ/T4MN/oFdbZCNLv/g1q37t65bWzb8BqX6Oi55itEv7POhRbdH7b2ogS 6Y5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=A0pIRo3z; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b9si2311767pfm.327.2018.03.14.09.50.24; Wed, 14 Mar 2018 09:50:39 -0700 (PDT) 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=@linaro.org header.s=google header.b=A0pIRo3z; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751508AbeCNQtP (ORCPT + 99 others); Wed, 14 Mar 2018 12:49:15 -0400 Received: from mail-io0-f193.google.com ([209.85.223.193]:45265 "EHLO mail-io0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750779AbeCNQtN (ORCPT ); Wed, 14 Mar 2018 12:49:13 -0400 Received: by mail-io0-f193.google.com with SMTP id m22so5118218iob.12 for ; Wed, 14 Mar 2018 09:49:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=qDzr5oXzZDRNiMPA9uY0oO4UIxErGRrv0RQshQWmiIg=; b=A0pIRo3zTY3/K7XFgg4tcZ82nbKZNnRTtm9aYMICjSc4AsieVdKiIJqJlmVyEaslIh kCE5OMB8e6Q48TA/JPzaBEu25wMh9Rk7+xwHVivOM31NmowtKmkLZlRky1ZhLbpbmK7v 9Nm8GqzwBsiLmB10pW0pedb5dXeE9qzEAeh4w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=qDzr5oXzZDRNiMPA9uY0oO4UIxErGRrv0RQshQWmiIg=; b=FvDgm6SWaOw7Vbtmdodi0ZCOkOo3Ktv8n8HkQxr2b5PsiVwZ6lndNaMHwaphSHYnPi 3eeFaslXmCPr8DOCH0bnDK6YRNiYSTPBrXBZs+rA1rqyu2dBwHtkCmJkL1/5/3SrTYSp HVg9c8BpfVNdcJpOamjvzPIJZRo3wwZ8kP73R4htzpoz3M65wk/QhGNZm0Vq9cJwdpGJ Bdi+XGLY9oQ/XU+B812L8909QY49tolU2CZ+a9tRzwjRMFhRejo265+2dO9Pw9u73EFJ ymmhdZF48A+zMpCUOR/kSZMiOXRB5cDl/j2Hp98lHyWXUVD6IuigxPYdwVPye511eLpI zP1A== X-Gm-Message-State: AElRT7FmXW/hSRHBVHK84maskIaH1hPnxSp6AwYZnYC5OWvtO9YiGEwp lb8B0di730W+W7jBNk8dWLrLalegAlUTDqvFLyxY8A== X-Received: by 10.107.14.16 with SMTP id 16mr978781ioo.170.1521046153215; Wed, 14 Mar 2018 09:49:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.138.209 with HTTP; Wed, 14 Mar 2018 09:49:12 -0700 (PDT) In-Reply-To: <20180314153603.3127932-8-arnd@arndb.de> References: <20180314153603.3127932-1-arnd@arndb.de> <20180314153603.3127932-8-arnd@arndb.de> From: Ard Biesheuvel Date: Wed, 14 Mar 2018 16:49:12 +0000 Message-ID: Subject: Re: [PATCH 07/47] raid: remove tile specific raid6 implementation To: Arnd Bergmann Cc: Linux Kernel Mailing List , Shaohua Li , Catalin Marinas , Ray Jui , linux-raid@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 14 March 2018 at 15:35, Arnd Bergmann wrote: > The Tile architecture is getting removed, so we no longer need this either. > > Signed-off-by: Arnd Bergmann Acked-by: Ard Biesheuvel > --- > include/linux/raid/pq.h | 1 - > lib/raid6/Makefile | 6 ---- > lib/raid6/algos.c | 3 -- > lib/raid6/test/Makefile | 7 ---- > lib/raid6/tilegx.uc | 87 ------------------------------------------------- > 5 files changed, 104 deletions(-) > delete mode 100644 lib/raid6/tilegx.uc > > diff --git a/include/linux/raid/pq.h b/include/linux/raid/pq.h > index 583cdd3d49ca..a366cc314479 100644 > --- a/include/linux/raid/pq.h > +++ b/include/linux/raid/pq.h > @@ -105,7 +105,6 @@ extern const struct raid6_calls raid6_avx2x4; > extern const struct raid6_calls raid6_avx512x1; > extern const struct raid6_calls raid6_avx512x2; > extern const struct raid6_calls raid6_avx512x4; > -extern const struct raid6_calls raid6_tilegx8; > extern const struct raid6_calls raid6_s390vx8; > > struct raid6_recov_calls { > diff --git a/lib/raid6/Makefile b/lib/raid6/Makefile > index 4add700ddfe3..44d6b46df051 100644 > --- a/lib/raid6/Makefile > +++ b/lib/raid6/Makefile > @@ -7,7 +7,6 @@ raid6_pq-y += algos.o recov.o tables.o int1.o int2.o int4.o \ > raid6_pq-$(CONFIG_X86) += recov_ssse3.o recov_avx2.o mmx.o sse1.o sse2.o avx2.o avx512.o recov_avx512.o > raid6_pq-$(CONFIG_ALTIVEC) += altivec1.o altivec2.o altivec4.o altivec8.o > raid6_pq-$(CONFIG_KERNEL_MODE_NEON) += neon.o neon1.o neon2.o neon4.o neon8.o recov_neon.o recov_neon_inner.o > -raid6_pq-$(CONFIG_TILEGX) += tilegx8.o > raid6_pq-$(CONFIG_S390) += s390vx8.o recov_s390xc.o > > hostprogs-y += mktables > @@ -115,11 +114,6 @@ $(obj)/neon8.c: UNROLL := 8 > $(obj)/neon8.c: $(src)/neon.uc $(src)/unroll.awk FORCE > $(call if_changed,unroll) > > -targets += tilegx8.c > -$(obj)/tilegx8.c: UNROLL := 8 > -$(obj)/tilegx8.c: $(src)/tilegx.uc $(src)/unroll.awk FORCE > - $(call if_changed,unroll) > - > targets += s390vx8.c > $(obj)/s390vx8.c: UNROLL := 8 > $(obj)/s390vx8.c: $(src)/s390vx.uc $(src)/unroll.awk FORCE > diff --git a/lib/raid6/algos.c b/lib/raid6/algos.c > index 476994723258..c65aa80d67ed 100644 > --- a/lib/raid6/algos.c > +++ b/lib/raid6/algos.c > @@ -75,9 +75,6 @@ const struct raid6_calls * const raid6_algos[] = { > &raid6_altivec4, > &raid6_altivec8, > #endif > -#if defined(CONFIG_TILEGX) > - &raid6_tilegx8, > -#endif > #if defined(CONFIG_S390) > &raid6_s390vx8, > #endif > diff --git a/lib/raid6/test/Makefile b/lib/raid6/test/Makefile > index be1010bdc435..fabc477b1417 100644 > --- a/lib/raid6/test/Makefile > +++ b/lib/raid6/test/Makefile > @@ -51,9 +51,6 @@ else > OBJS += altivec1.o altivec2.o altivec4.o altivec8.o > endif > endif > -ifeq ($(ARCH),tilegx) > -OBJS += tilegx8.o > -endif > > .c.o: > $(CC) $(CFLAGS) -c -o $@ $< > @@ -116,15 +113,11 @@ int16.c: int.uc ../unroll.awk > int32.c: int.uc ../unroll.awk > $(AWK) ../unroll.awk -vN=32 < int.uc > $@ > > -tilegx8.c: tilegx.uc ../unroll.awk > - $(AWK) ../unroll.awk -vN=8 < tilegx.uc > $@ > - > tables.c: mktables > ./mktables > tables.c > > clean: > rm -f *.o *.a mktables mktables.c *.uc int*.c altivec*.c neon*.c tables.c raid6test > - rm -f tilegx*.c > > spotless: clean > rm -f *~ > diff --git a/lib/raid6/tilegx.uc b/lib/raid6/tilegx.uc > deleted file mode 100644 > index 2dd291a11264..000000000000 > -- > 2.9.0 >