[dpdk-stable] patch 'bus/fslmc: fix physical addressing check' has been queued to stable release 18.08.1

Kevin Traynor ktraynor at redhat.com
Wed Nov 21 17:48:26 CET 2018


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 <shreyansh.jain at nxp.com>
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 <shreyansh.jain at nxp.com>
---
 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 <shreyansh.jain at nxp.com>
 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 at dpdk.org
 
 Signed-off-by: Shreyansh Jain <shreyansh.jain at nxp.com>
 ---
@@ -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


More information about the stable mailing list