[dpdk-stable] patch 'bus/pci: fix UIO resource access from secondary process' has been queued to LTS release 18.11.9
Kevin Traynor
ktraynor at redhat.com
Thu May 28 18:23:22 CEST 2020
Hi,
FYI, your patch has been queued to LTS release 18.11.9
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 06/03/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/2fb03c63e8138348d1f7de9f88976db943b4c78c
Thanks.
Kevin.
---
>From 2fb03c63e8138348d1f7de9f88976db943b4c78c Mon Sep 17 00:00:00 2001
From: Vijaya Mohan Guvva <vijay1054 at gmail.com>
Date: Fri, 24 Apr 2020 13:08:28 -0400
Subject: [PATCH] bus/pci: fix UIO resource access from secondary process
[ upstream commit e6cf7bee1c77a0f321cea3494a106bfa5de6f53c ]
For PCI devices presented through igb_uio, pcidev->mem_resource[] is
not populated when the device is initialized for secondary process.
Initialize pcidev->mem_resource[] with pci-bar mapped addresses.
Fixes: eee16c964cd6 ("pci: support multiple PCI regions per device")
Signed-off-by: Vijaya Mohan Guvva <vijay1054 at gmail.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>
---
drivers/bus/pci/pci_common_uio.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/bus/pci/pci_common_uio.c b/drivers/bus/pci/pci_common_uio.c
index 7ea73dbc5b..f4dca9da91 100644
--- a/drivers/bus/pci/pci_common_uio.c
+++ b/drivers/bus/pci/pci_common_uio.c
@@ -71,4 +71,5 @@ pci_uio_map_secondary(struct rte_pci_device *dev)
return -1;
}
+ dev->mem_resource[i].addr = mapaddr;
}
return 0;
--
2.21.3
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2020-05-28 17:13:04.055567581 +0100
+++ 0095-bus-pci-fix-UIO-resource-access-from-secondary-proce.patch 2020-05-28 17:12:59.216553798 +0100
@@ -1 +1 @@
-From e6cf7bee1c77a0f321cea3494a106bfa5de6f53c Mon Sep 17 00:00:00 2001
+From 2fb03c63e8138348d1f7de9f88976db943b4c78c Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit e6cf7bee1c77a0f321cea3494a106bfa5de6f53c ]
+
@@ -12 +13,0 @@
-Cc: stable at dpdk.org
More information about the stable
mailing list