Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.1/patches/2229233/?format=api
{ "id": 2229233, "url": "http://patchwork.ozlabs.org/api/1.1/patches/2229233/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-pci/patch/20260427221155.2144848-24-dakr@kernel.org/", "project": { "id": 28, "url": "http://patchwork.ozlabs.org/api/1.1/projects/28/?format=api", "name": "Linux PCI development", "link_name": "linux-pci", "list_id": "linux-pci.vger.kernel.org", "list_email": "linux-pci@vger.kernel.org", "web_url": null, "scm_url": null, "webscm_url": null }, "msgid": "<20260427221155.2144848-24-dakr@kernel.org>", "date": "2026-04-27T22:11:21", "name": "[REF,23/24] gpu: nova-core: replace ARef<Device> with &'a Device in SysmemFlush", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "6c9aa35537eb92aab44d3353184e7eb176d774d7", "submitter": { "id": 89037, "url": "http://patchwork.ozlabs.org/api/1.1/people/89037/?format=api", "name": "Danilo Krummrich", "email": "dakr@kernel.org" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-pci/patch/20260427221155.2144848-24-dakr@kernel.org/mbox/", "series": [ { "id": 501733, "url": "http://patchwork.ozlabs.org/api/1.1/series/501733/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-pci/list/?series=501733", "date": "2026-04-27T22:10:58", "name": "rust: device: Higher-Ranked Lifetime Types for device drivers", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/501733/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2229233/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2229233/checks/", "tags": {}, "headers": { "Return-Path": "\n <linux-pci+bounces-53291-incoming=patchwork.ozlabs.org@vger.kernel.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "linux-pci@vger.kernel.org" ], "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256\n header.s=k20201202 header.b=B4Wy1KVG;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c09:e001:a7::12fc:5321; helo=sto.lore.kernel.org;\n envelope-from=linux-pci+bounces-53291-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)", "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org\n header.b=\"B4Wy1KVG\"", "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=10.30.226.201" ], "Received": [ "from sto.lore.kernel.org (sto.lore.kernel.org\n [IPv6:2600:3c09:e001:a7::12fc:5321])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g4Hxf5h9Vz1xvV\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 28 Apr 2026 08:17:42 +1000 (AEST)", "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sto.lore.kernel.org (Postfix) with ESMTP id 4F7AC30371E1\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 27 Apr 2026 22:15:41 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 3248E401A23;\n\tMon, 27 Apr 2026 22:14:34 +0000 (UTC)", "from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org\n [10.30.226.201])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id DFBDC3AE183;\n\tMon, 27 Apr 2026 22:14:33 +0000 (UTC)", "by smtp.kernel.org (Postfix) with ESMTPSA id 90922C19425;\n\tMon, 27 Apr 2026 22:14:27 +0000 (UTC)" ], "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1777328074; cv=none;\n b=EbfthtNvB4TxPoj1Ur6859Z685sXecFI+ZRmzZmL6I2at3mEoNj2uys112MAV9mOrikqpOGWZ26sGFqYFQrxkuv8xyBk10QfPK+ckxdy6Rn011B1ODESv+LFztRVZND5WduJvk/CmOb9mC49D+DlUqZfNcI1nV3hkJq/Xkn1xo4=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1777328074; c=relaxed/simple;\n\tbh=3Y4jgtQFS1dMkKwizJ/kytTN4rfwuMJ6Fr3rkFzLank=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=i46AdG2uuoAKjRnzLJo2csfCXW/i42aEEDtkHsZ7DIM0pqqVFug2EP+JSYUOuqrStUvHHfCRYL2OQC1YAkATTGdjFrAyyky46vg0BGcbslvxtf9PSzEBvrbfJRDEt5DV1qCm71Ll86VgzDxP5Q2Wv8Ya8WH1VXmJnCfbIL7fc70=", "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org\n header.b=B4Wy1KVG; arc=none smtp.client-ip=10.30.226.201", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org;\n\ts=k20201202; t=1777328073;\n\tbh=3Y4jgtQFS1dMkKwizJ/kytTN4rfwuMJ6Fr3rkFzLank=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=B4Wy1KVGfeNbp6Dt+rvDiw8edx31HNXJTJqeVmBLQ4y5ANPxgjDpgr61KAeWXJ/jC\n\t 6Vns2yDV17GvYmbiaG3DXD4NfG/9eyGdP3OuF4XFtE0OPfg+XgYqKaW26Ukoc8FI+s\n\t pE44TP/BrjMZsmA+mzo25XeLlGNx6VblNyrbZ3kGqIV1OjN3m7PEo2Xqn8BBDPg6b/\n\t sjAY4OkBNam75q9uxZPdPNK7qIR8h7WUkjRQEYoELitutB7KsIUMj2phUwEW7tHXn3\n\t 5KTFo/gvhoxUHpiJ8uMN6JuI8cwmrTy5FZp+y9emB+oXf6PS1NY4aLfOlSmJVVnBGE\n\t fgLFqIwoBZMEA==", "From": "Danilo Krummrich <dakr@kernel.org>", "To": "gregkh@linuxfoundation.org,\n\trafael@kernel.org,\n\tacourbot@nvidia.com,\n\taliceryhl@google.com,\n\tdavid.m.ertman@intel.com,\n\tira.weiny@intel.com,\n\tleon@kernel.org,\n\tviresh.kumar@linaro.org,\n\tm.wilczynski@samsung.com,\n\tukleinek@kernel.org,\n\tbhelgaas@google.com,\n\tkwilczynski@kernel.org,\n\tabdiel.janulgue@gmail.com,\n\trobin.murphy@arm.com,\n\tmarkus.probst@posteo.de,\n\tojeda@kernel.org,\n\tboqun@kernel.org,\n\tgary@garyguo.net,\n\tbjorn3_gh@protonmail.com,\n\tlossin@kernel.org,\n\ta.hindborg@kernel.org,\n\ttmgross@umich.edu", "Cc": "driver-core@lists.linux.dev,\n\tlinux-kernel@vger.kernel.org,\n\tnova-gpu@lists.linux.dev,\n\tdri-devel@lists.freedesktop.org,\n\tlinux-pm@vger.kernel.org,\n\tlinux-pwm@vger.kernel.org,\n\tlinux-pci@vger.kernel.org,\n\trust-for-linux@vger.kernel.org,\n\tDanilo Krummrich <dakr@kernel.org>", "Subject": "[PATCH REF 23/24] gpu: nova-core: replace ARef<Device> with &'a\n Device in SysmemFlush", "Date": "Tue, 28 Apr 2026 00:11:21 +0200", "Message-ID": "<20260427221155.2144848-24-dakr@kernel.org>", "X-Mailer": "git-send-email 2.54.0", "In-Reply-To": "<20260427221155.2144848-1-dakr@kernel.org>", "References": "<20260427221155.2144848-1-dakr@kernel.org>", "Precedence": "bulk", "X-Mailing-List": "linux-pci@vger.kernel.org", "List-Id": "<linux-pci.vger.kernel.org>", "List-Subscribe": "<mailto:linux-pci+subscribe@vger.kernel.org>", "List-Unsubscribe": "<mailto:linux-pci+unsubscribe@vger.kernel.org>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit" }, "content": "Now that SysmemFlush is lifetime-parameterized, the ARef<Device> is\nunnecessary -- a plain &'a Device reference suffices.\n\nSigned-off-by: Danilo Krummrich <dakr@kernel.org>\n---\n drivers/gpu/nova-core/fb.rs | 9 ++++-----\n 1 file changed, 4 insertions(+), 5 deletions(-)", "diff": "diff --git a/drivers/gpu/nova-core/fb.rs b/drivers/gpu/nova-core/fb.rs\nindex cbc42e98afca..e5a2c9d42f27 100644\n--- a/drivers/gpu/nova-core/fb.rs\n+++ b/drivers/gpu/nova-core/fb.rs\n@@ -15,8 +15,7 @@\n Alignable,\n Alignment, //\n },\n- sizes::*,\n- sync::aref::ARef, //\n+ sizes::*, //\n };\n \n use crate::{\n@@ -49,7 +48,7 @@\n pub(crate) struct SysmemFlush<'a> {\n /// Chipset we are operating on.\n chipset: Chipset,\n- device: ARef<device::Device>,\n+ device: &'a device::Device,\n bar: &'a Bar0,\n /// Keep the page alive as long as we need it.\n page: CoherentHandle,\n@@ -58,7 +57,7 @@ pub(crate) struct SysmemFlush<'a> {\n impl<'a> SysmemFlush<'a> {\n /// Allocate a memory page and register it as the sysmem flush page.\n pub(crate) fn register(\n- dev: &device::Device<device::Bound>,\n+ dev: &'a device::Device<device::Bound>,\n bar: &'a Bar0,\n chipset: Chipset,\n ) -> Result<Self> {\n@@ -68,7 +67,7 @@ pub(crate) fn register(\n \n Ok(Self {\n chipset,\n- device: dev.into(),\n+ device: dev,\n bar,\n page,\n })\n", "prefixes": [ "REF", "23/24" ] }