patch 'gpu/cuda: fix dependency loading path' has been queued to stable release 21.11.1
Kevin Traynor
ktraynor at redhat.com
Tue Mar 8 15:14:51 CET 2022
Hi,
FYI, your patch has been queued to stable release 21.11.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 03/14/22. 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
This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/6662207061b1d707d5a6e95488e8a7bcfe4a0d0c
Thanks.
Kevin
---
>From 6662207061b1d707d5a6e95488e8a7bcfe4a0d0c Mon Sep 17 00:00:00 2001
From: Elena Agostini <eagostini at nvidia.com>
Date: Tue, 1 Mar 2022 19:42:05 +0000
Subject: [PATCH] gpu/cuda: fix dependency loading path
[ upstream commit 0105d49e7e6e8e0442646f401f5bc61cf6a6ca14 ]
A slash was missing in libcuda.so path for dlopen.
Signed-off-by: Elena Agostini <eagostini at nvidia.com>
---
drivers/gpu/cuda/cuda.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/cuda/cuda.c b/drivers/gpu/cuda/cuda.c
index d3a7234a09..fd577f7167 100644
--- a/drivers/gpu/cuda/cuda.c
+++ b/drivers/gpu/cuda/cuda.c
@@ -164,5 +164,5 @@ cuda_loader(void)
snprintf(cuda_path, 1024, "%s", "libcuda.so");
else
- snprintf(cuda_path, 1024, "%s%s", getenv("CUDA_PATH_L"), "libcuda.so");
+ snprintf(cuda_path, 1024, "%s/%s", getenv("CUDA_PATH_L"), "libcuda.so");
cudalib = dlopen(cuda_path, RTLD_LAZY);
--
2.34.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2022-03-08 13:55:29.288936366 +0000
+++ 0036-gpu-cuda-fix-dependency-loading-path.patch 2022-03-08 13:55:28.507315194 +0000
@@ -1 +1 @@
-From 0105d49e7e6e8e0442646f401f5bc61cf6a6ca14 Mon Sep 17 00:00:00 2001
+From 6662207061b1d707d5a6e95488e8a7bcfe4a0d0c Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 0105d49e7e6e8e0442646f401f5bc61cf6a6ca14 ]
+
@@ -14 +16 @@
-index efb5d146f6..cf9e59535c 100644
+index d3a7234a09..fd577f7167 100644
@@ -17 +19 @@
-@@ -170,5 +170,5 @@ cuda_loader(void)
+@@ -164,5 +164,5 @@ cuda_loader(void)
More information about the stable
mailing list