From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 5D0081B107 for ; Wed, 21 Nov 2018 17:51:16 +0100 (CET) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B72AA9F72B; Wed, 21 Nov 2018 16:51:15 +0000 (UTC) Received: from ktraynor.remote.csb (unknown [10.36.118.7]) by smtp.corp.redhat.com (Postfix) with ESMTP id CD4C25C241; Wed, 21 Nov 2018 16:51:13 +0000 (UTC) From: Kevin Traynor To: Shreyansh Jain Cc: dpdk stable Date: Wed, 21 Nov 2018 16:48:26 +0000 Message-Id: <20181121164828.32249-72-ktraynor@redhat.com> In-Reply-To: <20181121164828.32249-1-ktraynor@redhat.com> References: <20181121164828.32249-1-ktraynor@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Wed, 21 Nov 2018 16:51:15 +0000 (UTC) Subject: [dpdk-stable] patch 'bus/fslmc: fix physical addressing check' has been queued to stable release 18.08.1 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: , X-List-Received-Date: Wed, 21 Nov 2018 16:51:16 -0000 Hi, FYI, your patch has been queued to stable release 18.08.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/27/18. 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. If the code is different (ie: not only metadata diffs), due for example to a change in context or macro names, please double check it. Thanks. Kevin Traynor --- >>From 8ea2dc8bf1946c33bd004ed7c1ca88e0ac9bcadc Mon Sep 17 00:00:00 2001 From: Shreyansh Jain Date: Mon, 15 Oct 2018 17:31:52 +0530 Subject: [PATCH] bus/fslmc: fix physical addressing check [ upstream commit 0947cfde25ad5b05a45b8edcd7e92299dd0ee581 ] In case RTE_LIBRTE_DPAA2_USE_PHYS_IOVA is enabled, only supported class is RTE_IOVA_PA. Fixes: f7768afac101 ("bus/fslmc: support dynamic IOVA") Signed-off-by: Shreyansh Jain --- drivers/bus/fslmc/fslmc_bus.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/bus/fslmc/fslmc_bus.c b/drivers/bus/fslmc/fslmc_bus.c index d2900edc5..923a76017 100644 --- a/drivers/bus/fslmc/fslmc_bus.c +++ b/drivers/bus/fslmc/fslmc_bus.c @@ -491,4 +491,8 @@ rte_dpaa2_get_iommu_class(void) return RTE_IOVA_DC; +#ifdef RTE_LIBRTE_DPAA2_USE_PHYS_IOVA + return RTE_IOVA_PA; +#endif + /* check if all devices on the bus support Virtual addressing or not */ has_iova_va = fslmc_all_device_support_iova(); -- 2.19.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2018-11-21 16:44:32.891809863 +0000 +++ 0072-bus-fslmc-fix-physical-addressing-check.patch 2018-11-21 16:44:30.000000000 +0000 @@ -1,13 +1,14 @@ -From 0947cfde25ad5b05a45b8edcd7e92299dd0ee581 Mon Sep 17 00:00:00 2001 +From 8ea2dc8bf1946c33bd004ed7c1ca88e0ac9bcadc Mon Sep 17 00:00:00 2001 From: Shreyansh Jain Date: Mon, 15 Oct 2018 17:31:52 +0530 Subject: [PATCH] bus/fslmc: fix physical addressing check +[ upstream commit 0947cfde25ad5b05a45b8edcd7e92299dd0ee581 ] + In case RTE_LIBRTE_DPAA2_USE_PHYS_IOVA is enabled, only supported class is RTE_IOVA_PA. Fixes: f7768afac101 ("bus/fslmc: support dynamic IOVA") -Cc: stable@dpdk.org Signed-off-by: Shreyansh Jain --- @@ -15,10 +16,10 @@ 1 file changed, 4 insertions(+) diff --git a/drivers/bus/fslmc/fslmc_bus.c b/drivers/bus/fslmc/fslmc_bus.c -index 960f55071..2bc9457bc 100644 +index d2900edc5..923a76017 100644 --- a/drivers/bus/fslmc/fslmc_bus.c +++ b/drivers/bus/fslmc/fslmc_bus.c -@@ -497,4 +497,8 @@ rte_dpaa2_get_iommu_class(void) +@@ -491,4 +491,8 @@ rte_dpaa2_get_iommu_class(void) return RTE_IOVA_DC; +#ifdef RTE_LIBRTE_DPAA2_USE_PHYS_IOVA