From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 74B78A0546 for ; Fri, 17 Jul 2020 18:32:51 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4ED271BED6; Fri, 17 Jul 2020 18:32:51 +0200 (CEST) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by dpdk.org (Postfix) with ESMTP id 68A611BED2 for ; Fri, 17 Jul 2020 18:32:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1595003569; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lQ4C3djHPU2hcTAszej5wxEJ9qCTGujxnVkOaMSMGWM=; b=c+wNyyNNK2HjJutOfXHSzweBZt/vlLA/0WSD/bDAJlLYGJHdQvL8xp69sN+FRGmuh5J1rT YqAcccRGSzObHGUEzkl6T0q9yHo3v4w5tRyp0pYAnXiHXQCOnm9FvlRg7OTkbKlw3+FqAL vxhWnHT7MSWoMdui76Hi7AnTSFnHnmM= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-7-29QQ4g8EOoWwzJFNH0ayuQ-1; Fri, 17 Jul 2020 12:32:45 -0400 X-MC-Unique: 29QQ4g8EOoWwzJFNH0ayuQ-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 8D03D80183C; Fri, 17 Jul 2020 16:32:44 +0000 (UTC) Received: from rh.redhat.com (unknown [10.33.36.168]) by smtp.corp.redhat.com (Postfix) with ESMTP id ABD7372E48; Fri, 17 Jul 2020 16:32:43 +0000 (UTC) From: Kevin Traynor To: Ruifeng Wang Cc: Ferruh Yigit , dpdk stable Date: Fri, 17 Jul 2020 17:32:02 +0100 Message-Id: <20200717163214.4839-14-ktraynor@redhat.com> In-Reply-To: <20200717163214.4839-1-ktraynor@redhat.com> References: <20200717163214.4839-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=ktraynor@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'eal/arm: add vcopyq intrinsic for aarch32' has been queued to LTS release 18.11.10 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Hi, FYI, your patch has been queued to LTS release 18.11.10 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 07/23/20. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/kevintraynor/dpdk-stable-queue This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable-queue/commit/b6c30d848b74f32a71d35486e6ceebe878118d57 Thanks. Kevin. --- >From b6c30d848b74f32a71d35486e6ceebe878118d57 Mon Sep 17 00:00:00 2001 From: Ruifeng Wang Date: Wed, 24 Jun 2020 15:10:12 +0800 Subject: [PATCH] eal/arm: add vcopyq intrinsic for aarch32 [ upstream commit 4eb25acdb773b30c94adb0080659c9280bca4ee1 ] vcopyq_laneq_u32 should be implemented for aarch32 which doesn't have the intrinsic. This fixes build of examples/l3fwd for armv7. Fixes: 3c4b4024c225 ("arch/arm: add vcopyq_laneq_u32 for old gcc") Signed-off-by: Ruifeng Wang Reviewed-by: Ferruh Yigit --- lib/librte_eal/common/include/arch/arm/rte_vect.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/librte_eal/common/include/arch/arm/rte_vect.h b/lib/librte_eal/common/include/arch/arm/rte_vect.h index 2a18a68546..71e56ec63e 100644 --- a/lib/librte_eal/common/include/arch/arm/rte_vect.h +++ b/lib/librte_eal/common/include/arch/arm/rte_vect.h @@ -63,5 +63,9 @@ vaddvq_u16(uint16x8_t a) #endif -#if defined(RTE_TOOLCHAIN_GCC) && (GCC_VERSION < 70000) +#if defined(RTE_ARCH_ARM) || \ +(defined(RTE_ARCH_ARM64) && RTE_TOOLCHAIN_GCC && (GCC_VERSION < 70000)) +/* NEON intrinsic vcopyq_laneq_u32() is not supported in ARMv7-A(AArch32) + * On AArch64, this intrinsic is supported since GCC version 7. + */ static inline uint32x4_t vcopyq_laneq_u32(uint32x4_t a, const int lane_a, -- 2.21.3 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2020-07-17 17:17:00.779618644 +0100 +++ 0014-eal-arm-add-vcopyq-intrinsic-for-aarch32.patch 2020-07-17 17:16:59.986771296 +0100 @@ -1 +1 @@ -From 4eb25acdb773b30c94adb0080659c9280bca4ee1 Mon Sep 17 00:00:00 2001 +From b6c30d848b74f32a71d35486e6ceebe878118d57 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 4eb25acdb773b30c94adb0080659c9280bca4ee1 ] + @@ -11 +12,0 @@ -Cc: stable@dpdk.org @@ -16 +17 @@ - lib/librte_eal/arm/include/rte_vect.h | 6 +++++- + lib/librte_eal/common/include/arch/arm/rte_vect.h | 6 +++++- @@ -19,4 +20,4 @@ -diff --git a/lib/librte_eal/arm/include/rte_vect.h b/lib/librte_eal/arm/include/rte_vect.h -index 9287a11173..01c51712a1 100644 ---- a/lib/librte_eal/arm/include/rte_vect.h -+++ b/lib/librte_eal/arm/include/rte_vect.h +diff --git a/lib/librte_eal/common/include/arch/arm/rte_vect.h b/lib/librte_eal/common/include/arch/arm/rte_vect.h +index 2a18a68546..71e56ec63e 100644 +--- a/lib/librte_eal/common/include/arch/arm/rte_vect.h ++++ b/lib/librte_eal/common/include/arch/arm/rte_vect.h @@ -26 +27 @@ --#if RTE_CC_IS_GNU && (GCC_VERSION < 70000) +-#if defined(RTE_TOOLCHAIN_GCC) && (GCC_VERSION < 70000) @@ -28 +29 @@ -+(defined(RTE_ARCH_ARM64) && RTE_CC_IS_GNU && (GCC_VERSION < 70000)) ++(defined(RTE_ARCH_ARM64) && RTE_TOOLCHAIN_GCC && (GCC_VERSION < 70000))