unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#65875] [PATCH] gnu: Add vendor-reset.
@ 2023-09-11 17:59 Lars Rustand
  2023-10-06  9:47 ` bug#65875: " Mathieu Othacehe
  0 siblings, 1 reply; 2+ messages in thread
From: Lars Rustand @ 2023-09-11 17:59 UTC (permalink / raw)
  To: 65875

---
 gnu/packages/linux.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index b1bcda5e70..297fecc018 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -1791,6 +1791,36 @@ (define-public xpadneo
 which need to be installed separately.")
     (license license:gpl3+)))

+(define-public vendor-reset
+  (let ((commit "4b466e92a2d9f76ce1082cde982c7be0be91e248")
+        (revision "0"))
+    (package
+      (name "vendor-reset")
+      (version (git-version "0.1.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/gnif/vendor-reset")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "1gaf4j20grng689c9fylcqri3j9ycnhr2bsva2z6qcdqvzl6yxbi"))))
+      (build-system linux-module-build-system)
+      (arguments
+       (list #:tests? #f)) ;no test suite
+      (home-page "https://github.com/gnif/vendor-reset")
+      (synopsis
+       "Kernel module that resets GPUs that are affected by the reset bug")
+      (description
+       "This package provides a kernel module that is capable of
+resetting hardware devices into a state where they can be
+re-initialized or passed through into a virtual machine (VFIO).
+While it would be great to have these in the kernel as PCI quirks,
+some of the reset procedures are very complex and would never be
+accepted as a quirk (ie AMD Vega 10).")
+      (license license:gpl2))))
+


 ;;;
 ;;; Pluggable authentication modules (PAM).
--
2.41.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#65875: [PATCH] gnu: Add vendor-reset.
  2023-09-11 17:59 [bug#65875] [PATCH] gnu: Add vendor-reset Lars Rustand
@ 2023-10-06  9:47 ` Mathieu Othacehe
  0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Othacehe @ 2023-10-06  9:47 UTC (permalink / raw)
  To: Lars Rustand; +Cc: 65875-done


Hello,

Thanks for this patch!

I added a proper commit message, your copyright and renamed the package
vendor-reset-linux-module before applying.

Mathieu




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-10-06  9:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-11 17:59 [bug#65875] [PATCH] gnu: Add vendor-reset Lars Rustand
2023-10-06  9:47 ` bug#65875: " Mathieu Othacehe

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).