From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id MBhxDx6D/2Sw5AAA9RJhRA:P1 (envelope-from ) for ; Mon, 11 Sep 2023 23:14:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id MBhxDx6D/2Sw5AAA9RJhRA (envelope-from ) for ; Mon, 11 Sep 2023 23:14:06 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id CD0D14607A for ; Mon, 11 Sep 2023 23:14:05 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=W1zcFg5I; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694466846; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=uCQFG8KuknngWHgAfTq9QRn9nHjTZIaGhH/ROx5G48c=; b=V2HD06OQkTsrR7WipixuSzYJ5QCOr/lSxDpFCo9T8swoAqVMfZT7QfaPd4uogoz1sa6rVK t3H5JWiBBqJR9BtbAjTsr54EjthXHKW2G1J6piPeJRQPOL5XHIWU8WZYHSXRKN32BcLcNr tFhvK4S+QdKHmW56oelaFJ+lw4CTV6tm8Rga9j/l+aK2dnSXaUV7DIQFwIb3ZchZ8cHjEy z6q+pDeLcSdmZR3NfyJ3aCHdGEGxzRl2wfCps4jUDQKKToit+1LiIWMgvofTuRifPGENDN x1MIxQs3auqET1bXjxhXqQPu1AsDmzjnNRWyXJMdh5E3jQw6baO4liA21F8ekQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=W1zcFg5I; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694466846; a=rsa-sha256; cv=none; b=O31V4Z4fQjBMjg392PhFGbGHqhE1rQheacoFzsXh3SwtquhjPN7rya8FcxSn4rnvgi0HC8 Eki+aDH89XCK01Zo9gt6JrlQwzGpGkGidltXBQS6lx4gly3HE7RF/M1tjV14ZaiJ6AU1lE 8hQ+xIiHddPDau0RoH8Rm1AMxRmNweEuw7ujnhscQPWGHeUPfWB20BRJIcupp8lj+2U/YR 4r7LCbeicflTSaB3KmaI2VNRm5fMq2eLgY3bKyP2svzIIjPHplyy3ojO34XB95OxyzEXxN Af7wwG+Akix3wiE0zDGavsLzcm5wGlCA92Er+ljCKM8BbzxJt1R8K84gEzNnog== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qfoEG-0003hR-UF; Mon, 11 Sep 2023 17:13:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qfn0p-00060w-0E for guix-patches@gnu.org; Mon, 11 Sep 2023 15:56:00 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qfn0o-0007F4-NT for guix-patches@gnu.org; Mon, 11 Sep 2023 15:55:58 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qfn0s-0003Mv-8p for guix-patches@gnu.org; Mon, 11 Sep 2023 15:56:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65875] [PATCH] gnu: Add vendor-reset. Resent-From: Lars Rustand Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 11 Sep 2023 19:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65875 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65875@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.169446213412912 (code B ref -1); Mon, 11 Sep 2023 19:56:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 Sep 2023 19:55:34 +0000 Received: from localhost ([127.0.0.1]:54909 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qfn0N-0003M8-6a for submit@debbugs.gnu.org; Mon, 11 Sep 2023 15:55:34 -0400 Received: from lists.gnu.org ([2001:470:142::17]:42952) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qflCC-0003VM-Jo for submit@debbugs.gnu.org; Mon, 11 Sep 2023 13:59:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qflC1-0004zt-PR for guix-patches@gnu.org; Mon, 11 Sep 2023 13:59:26 -0400 Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qflBz-0001IM-4Y for guix-patches@gnu.org; Mon, 11 Sep 2023 13:59:25 -0400 Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-501be2d45e0so7977222e87.3 for ; Mon, 11 Sep 2023 10:59:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694455157; x=1695059957; darn=gnu.org; h=content-disposition:mime-version:message-id:subject:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=uCQFG8KuknngWHgAfTq9QRn9nHjTZIaGhH/ROx5G48c=; b=W1zcFg5IobZeCJ5NcllksWsh4d5tuOso47FiYezbPwQnZ8hrwGLAkgU7GJdS4iGHKl Mm8yv9Y9aRRVeae491f4s6ShmgBuJ+06AamiZ//KNHhwA4c5R8585nFCuAfejZHrqjez w2LBDvTLhwptwJ5Ms2hxxawNiSzXhrAizOd9rMhD67njgqnDKKR+CoR1VYeaLWAus5vX WAVAHH6vcBtbmObDU8obusWNtk5TyYBnhQad3TVCNkO9Zvf46MyLAP4qxkeaDsqZQIAR r/UWAl+5W71EMB6hl5WcSmE3xRANv2eJS52UpYfepRc5DHrdwZMQcVTHRr/fYo6Ew/ED ws0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694455157; x=1695059957; h=content-disposition:mime-version:message-id:subject:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=uCQFG8KuknngWHgAfTq9QRn9nHjTZIaGhH/ROx5G48c=; b=ZB/k/rJSM+Sgyoas+mp5bNTMlN8y9amTCPjduFW1F5q+mHP2q2hMKZTO/iULOiVLJN f6OS8bpZ5tKzBJdfXj0dMF8rVf+++9PDtPVGEczMqLg17YisL+ITUe+nN2kWYc2g/hET qZdBcP4FcWcu8sI1323ouFLGoccWHAbg1PERwBNbo8B7LHGLTpTSgWsTQV1G0mlJE66/ n/+ioTNAI7qSzAYox+PGlEUQ1//WVk3+Bay9fGGQHsh0ugN/nMDgzFX6kDyu8VsSZmSB LciWctQExZirPQ6nL9anZJybv/52vDZ7FHjjbrY52xKtMG0iVPVyg2BO+cbnsodCluEy 46Zw== X-Gm-Message-State: AOJu0YxmOFU+30fAn0u69nRpp7B6E1kx/e3BKuHLiRmY5HxpA00wBllh x7h/nR5PnEcN+l/YCQzd+pSe2T8k+ok= X-Google-Smtp-Source: AGHT+IHitJwuhnvEroj/PbAimq0uG57A6oUigIDmLzkAeakgtpYwW75jOId9GTILgMYLbBjC3mBV3A== X-Received: by 2002:a19:7b1b:0:b0:4ff:8d9e:d36f with SMTP id w27-20020a197b1b000000b004ff8d9ed36fmr4872478lfc.39.1694455157143; Mon, 11 Sep 2023 10:59:17 -0700 (PDT) Received: from localhost (78.79-160-60.customer.lyse.net. [79.160.60.78]) by smtp.gmail.com with ESMTPSA id i25-20020ac25239000000b00500a467914esm1410902lfl.38.2023.09.11.10.59.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Sep 2023 10:59:16 -0700 (PDT) Date: Mon, 11 Sep 2023 19:59:02 +0200 From: Lars Rustand Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Received-SPF: pass client-ip=2a00:1450:4864:20::12e; envelope-from=rustand.lars@gmail.com; helo=mail-lf1-x12e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 11 Sep 2023 15:55:30 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Mon, 11 Sep 2023 17:13:55 -0400 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -4.62 X-Spam-Score: -4.62 X-Migadu-Queue-Id: CD0D14607A X-TUID: LMwkyRxxXDns --- 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