Repository navigation
feat(kernel): add GDRCopy userspace and kernel module - #19416
Draft
Elaheh Dehghani (ellie-di) wants to merge 1 commit into
Draft
Elaheh Dehghani (ellie-di) wants to merge 1 commit into
Elaheh Dehghani (ellie-di) wants to merge 1 commit into
Conversation
Use kernel-specific releases for GDRCopy RPMs, centralize the CUDA version, and declare MIT licensing for each subpackage. Include refreshed rendered sources and the kernel lock. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
Author
|
/azp run |
|
Azure Pipelines: 2 pipeline(s) were filtered out due to trigger conditions. |
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
The unresolved upgrade lifecycle issue and unvalidated module loading, GPU transfers, and aarch64 build require human review.
1 open issue
What changed in this PR
Adds GDRCopy 2.6 userspace packages and the gdrdrv module to the kernel component.
Changes:
- Adds runtime, development, sanity-tool, and kernel-module packaging.
- Ties RPM releases to kernel builds and centralizes CUDA version configuration.
- Adds NVIDIA CUDA build dependencies and refreshes generated inputs.
| File | Description |
|---|---|
| specs/k/kernel/sources | Records the GDRCopy source checksum. |
| specs/k/kernel/kernel.spec | Renders GDRCopy integration and release bump. |
| specs/k/kernel/gdrcopy.inc | Renders package definitions and build steps. |
| locks/kernel.lock | Refreshes the component fingerprint. |
| distro/mock/azl4/azurelinux-4.0.tpl | Adds NVIDIA’s Azure Linux 3 CUDA repository. |
| base/comps/kernel/kernel.spec | Integrates GDRCopy into kernel build phases. |
| base/comps/kernel/kernel.comp.toml | Pins the GDRCopy source archive. |
| base/comps/kernel/gdrcopy.inc | Defines GDRCopy packaging and service lifecycle. |
Review effort: Balanced
|
|
||
| %postun -n kmod-gdrcopy | ||
| %{_sbindir}/depmod -a %{KVERREL} || : | ||
| %systemd_postun_with_restart gdrcopy.service |
📄❌ Rendered specs are out of dateFIX: — run this and commit the result: azldev component render erlang-rebar3 glib2 golang-x-oauth2 golang-x-text linux-sgx python-aiohttp python-beartype python-ecdsa rust-cssparser0.31 rust-databake rust-equator-macro rust-nalgebra0.33 rust-selectors0.25Or download the fix patch and apply it: gh run download 38981265935 -R microsoft/azurelinux -n rendered-specs-patch
git apply rendered-specs.patch
Content diffs`specs/e/erlang-rebar3/erlang-rebar3.spec`--- committed/specs/e/erlang-rebar3/erlang-rebar3.spec
+++ rendered/specs/e/erlang-rebar3/erlang-rebar3.spec
@@ -1,5 +1,5 @@
## START: Set by rpmautospec
-## (rpmautospec version 0.8.3)
+## (rpmautospec version 0.8.4)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 8;
`specs/g/glib2/glib2.spec`--- committed/specs/g/glib2/glib2.spec
+++ rendered/specs/g/glib2/glib2.spec
@@ -1,5 +1,5 @@
## START: Set by rpmautospec
-## (rpmautospec version 0.8.3)
+## (rpmautospec version 0.8.4)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 4;
`specs/g/golang-x-oauth2/golang-x-oauth2.spec`--- committed/specs/g/golang-x-oauth2/golang-x-oauth2.spec
+++ rendered/specs/g/golang-x-oauth2/golang-x-oauth2.spec
@@ -1,5 +1,5 @@
## START: Set by rpmautospec
-## (rpmautospec version 0.8.3)
+## (rpmautospec version 0.8.4)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 2;
`specs/g/golang-x-text/golang-x-text.spec`--- committed/specs/g/golang-x-text/golang-x-text.spec
+++ rendered/specs/g/golang-x-text/golang-x-text.spec
@@ -1,5 +1,5 @@
## START: Set by rpmautospec
-## (rpmautospec version 0.8.3)
+## (rpmautospec version 0.8.4)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 2;
`specs/l/linux-sgx/linux-sgx.spec`--- committed/specs/l/linux-sgx/linux-sgx.spec
+++ rendered/specs/l/linux-sgx/linux-sgx.spec
@@ -1,5 +1,5 @@
## START: Set by rpmautospec
-## (rpmautospec version 0.8.3)
+## (rpmautospec version 0.8.4)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 8;
`specs/p/python-aiohttp/python-aiohttp.spec`--- committed/specs/p/python-aiohttp/python-aiohttp.spec
+++ rendered/specs/p/python-aiohttp/python-aiohttp.spec
@@ -1,5 +1,5 @@
## START: Set by rpmautospec
-## (rpmautospec version 0.8.3)
+## (rpmautospec version 0.8.4)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 4;
`specs/p/python-beartype/python-beartype.spec`--- committed/specs/p/python-beartype/python-beartype.spec
+++ rendered/specs/p/python-beartype/python-beartype.spec
@@ -1,5 +1,5 @@
## START: Set by rpmautospec
-## (rpmautospec version 0.8.3)
+## (rpmautospec version 0.8.4)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 4;
`specs/p/python-ecdsa/python-ecdsa.spec`--- committed/specs/p/python-ecdsa/python-ecdsa.spec
+++ rendered/specs/p/python-ecdsa/python-ecdsa.spec
@@ -1,5 +1,5 @@
## START: Set by rpmautospec
-## (rpmautospec version 0.8.3)
+## (rpmautospec version 0.8.4)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 5;
`specs/r/rust-cssparser0.31/rust-cssparser0.31.spec`--- committed/specs/r/rust-cssparser0.31/rust-cssparser0.31.spec
+++ rendered/specs/r/rust-cssparser0.31/rust-cssparser0.31.spec
@@ -1,5 +1,5 @@
## START: Set by rpmautospec
-## (rpmautospec version 0.8.3)
+## (rpmautospec version 0.8.4)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 4;
`specs/r/rust-databake/rust-databake.spec`--- committed/specs/r/rust-databake/rust-databake.spec
+++ rendered/specs/r/rust-databake/rust-databake.spec
@@ -1,5 +1,5 @@
## START: Set by rpmautospec
-## (rpmautospec version 0.8.3)
+## (rpmautospec version 0.8.4)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 4;
… and 3 more file(s). Run the remediation command above to see all changes. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary