Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.1/patches/2227520/?format=api
{ "id": 2227520, "url": "http://patchwork.ozlabs.org/api/1.1/patches/2227520/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-pci/patch/20260423212316.3431746-5-dmatlack@google.com/", "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": "<20260423212316.3431746-5-dmatlack@google.com>", "date": "2026-04-23T21:23:08", "name": "[v4,04/11] PCI: liveupdate: Document driver binding responsibilities", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "5ecee589b513c72130f5193cefcf70bb94a730f1", "submitter": { "id": 69449, "url": "http://patchwork.ozlabs.org/api/1.1/people/69449/?format=api", "name": "David Matlack", "email": "dmatlack@google.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-pci/patch/20260423212316.3431746-5-dmatlack@google.com/mbox/", "series": [ { "id": 501248, "url": "http://patchwork.ozlabs.org/api/1.1/series/501248/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-pci/list/?series=501248", "date": "2026-04-23T21:23:04", "name": "PCI: liveupdate: PCI core support for Live Update", "version": 4, "mbox": "http://patchwork.ozlabs.org/series/501248/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2227520/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2227520/checks/", "tags": {}, "headers": { "Return-Path": "\n <linux-pci+bounces-53071-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=google.com header.i=@google.com header.a=rsa-sha256\n header.s=20251104 header.b=UpCaZjJy;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c15:e001:75::12fc:5321; helo=sin.lore.kernel.org;\n envelope-from=linux-pci+bounces-53071-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)", "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=google.com header.i=@google.com\n header.b=\"UpCaZjJy\"", "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=209.85.214.202", "smtp.subspace.kernel.org;\n dmarc=pass (p=reject dis=none) header.from=google.com", "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=flex--dmatlack.bounces.google.com" ], "Received": [ "from sin.lore.kernel.org (sin.lore.kernel.org\n [IPv6:2600:3c15:e001:75::12fc:5321])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g1pxZ6Xw1z1y2d\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 24 Apr 2026 07:24:02 +1000 (AEST)", "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sin.lore.kernel.org (Postfix) with ESMTP id EED143004C9F\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 23 Apr 2026 21:23:58 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id B3C9C3BA251;\n\tThu, 23 Apr 2026 21:23:32 +0000 (UTC)", "from mail-pl1-f202.google.com (mail-pl1-f202.google.com\n [209.85.214.202])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id CD6913BED64\n\tfor <linux-pci@vger.kernel.org>; Thu, 23 Apr 2026 21:23:28 +0000 (UTC)", "by mail-pl1-f202.google.com with SMTP id\n d9443c01a7336-2b7a77b8ec9so10515385ad.3\n for <linux-pci@vger.kernel.org>; Thu, 23 Apr 2026 14:23:28 -0700 (PDT)" ], "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1776979411; cv=none;\n b=SIg3vfhvW1hHSy/t/E92N2xofhpDtWomd3ry96xzv1u8DYRyOd43c+eLeV1NJikNVoUn/uFzXniTiDDKRoPPjl1r4POSf/WS39HFtwrE11kvYuHXtTfVB/xRu7GwDqHWAkv2hJIwRHhmVQGMBttYqIwBydSkxM4q/A8/hulJ9ss=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1776979411; c=relaxed/simple;\n\tbh=dE5Wu3i/3oTCNIY4DxPIO1WQs74yLAprf78sku84Hgk=;\n\th=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From:\n\t To:Cc:Content-Type;\n b=tYCnxZiBXpUIcdK4fE1rzfHmXddgmRAZv4VknpNXoVBMDL+L7CiXgOh0KYANDKsSgHra+L8eieEJE+kmgM+YvibEnL4GFEDk3HcyYgLN2aJWwv8JzbRil253H+xCEdBz5GxfVsezkyBfsme5I1ckJefrIBy4tB8nE/xG6/3mpE4=", "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=reject dis=none) header.from=google.com;\n spf=pass smtp.mailfrom=flex--dmatlack.bounces.google.com;\n dkim=pass (2048-bit key) header.d=google.com header.i=@google.com\n header.b=UpCaZjJy; arc=none smtp.client-ip=209.85.214.202", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=google.com; s=20251104; t=1776979407; x=1777584207;\n darn=vger.kernel.org;\n h=cc:to:from:subject:message-id:references:mime-version:in-reply-to\n :date:from:to:cc:subject:date:message-id:reply-to;\n bh=cA/8iRDD7lhVYHGAuqnc3aBzPoZ7lUU2DgL4E3vJPEc=;\n b=UpCaZjJyglexDgqkb/6vhHNODNhfFff4wOY7JRTtVdk30fxK+tz5WI3aAmJfHms8lj\n qcx8taL6eEz2wgUHxlTKGm05dinaGUQ5hrTwWaXSfRpacdrCM6bBvbAUfsv/2T2IoJlA\n 4/aUxDgEDaA2fDUeJdUmv2lRowKRUDwLirJN8II8XBEyI0Rxhc0poz6ktLDomsLLgcil\n GQfoKNfCBuj5J9R/XsgkUpP0+MM9XjoCB47zmY0iM8xAA/EDF1SyOyYM/0Vs2RwC6NIH\n cNsIZNjEUzmsx+Q4ZQRgvpNp+aiDwNCwqfXir3pdDjRuk01Hur6FPePl/vpQEzC+tBsU\n n2PQ==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776979407; x=1777584207;\n h=cc:to:from:subject:message-id:references:mime-version:in-reply-to\n :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;\n bh=cA/8iRDD7lhVYHGAuqnc3aBzPoZ7lUU2DgL4E3vJPEc=;\n b=A5sK9Bug7GBBM65wrH7WlwvozyOAdpql0vpIbkj8plW22nnqnJwg4Xe5m+RaJsLjSu\n ei3Pvoj2Vyzo+juC2th7sGPAemtl62L0hFKUx6ekAJBr7FdLBDa8Xymo/VqMgR/Gqqzv\n aEVlBSEbCdj2N9LYSSjsp+jkF4n9t8rQYZtDb4OvLldAJ/71bCZlVHRrM/nftbI2qn/n\n /pWK4ZYt9FjOcbkNHNkp6ZRE4hRvh1LWBrUgix1xNcH/fIiWM6KspjUH5rzWRNEfDkck\n egCBA9SqTHardpjNwxVsD0Eurs7/hkrAp0k4NBJ6N9onLf14Db8aTKEww+RkpTR45O8L\n H7/Q==", "X-Forwarded-Encrypted": "i=1;\n AFNElJ9ojANVA0g8oh+cdzCy0CUer3adb74/Ucazp5egGYCv91udHd1ucYKIbNfBb4tLRZulyzz3Gfv2R+k=@vger.kernel.org", "X-Gm-Message-State": "AOJu0YzXEr1zRMafcxsKgSz4i7K3PWPFsmEgbW4DPyxLHx23e8gz0eSp\n\tAHoSEoTTN9emGGj/hV8aBBnNP6gmKKpQp+ejg9dyWQzaVBi+P0m/51drAnM/AWTIkODZBDYwNGm\n\twWsbegANXWDjY2Q==", "X-Received": "from pgjm19.prod.google.com ([2002:a63:fd53:0:b0:c79:7f30:5d18])\n (user=dmatlack job=prod-delivery.src-stubby-dispatcher) by\n 2002:a05:6a21:3399:b0:398:7982:21df with SMTP id\n adf61e73a8af0-3a08d687673mr31625673637.9.1776979406884;\n Thu, 23 Apr 2026 14:23:26 -0700 (PDT)", "Date": "Thu, 23 Apr 2026 21:23:08 +0000", "In-Reply-To": "<20260423212316.3431746-1-dmatlack@google.com>", "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", "References": "<20260423212316.3431746-1-dmatlack@google.com>", "X-Mailer": "git-send-email 2.54.0.rc2.544.gc7ae2d5bb8-goog", "Message-ID": "<20260423212316.3431746-5-dmatlack@google.com>", "Subject": "[PATCH v4 04/11] PCI: liveupdate: Document driver binding\n responsibilities", "From": "David Matlack <dmatlack@google.com>", "To": "iommu@lists.linux.dev, kexec@lists.infradead.org,\n\tlinux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org,\n\tlinux-pci@vger.kernel.org", "Cc": "Adithya Jayachandran <ajayachandra@nvidia.com>,\n Alexander Graf <graf@amazon.com>,\n\tAlex Williamson <alex@shazbot.org>, Bjorn Helgaas <bhelgaas@google.com>,\n Chris Li <chrisl@kernel.org>,\n\tDavid Matlack <dmatlack@google.com>, David Rientjes <rientjes@google.com>,\n\tJacob Pan <jacob.pan@linux.microsoft.com>, Jason Gunthorpe <jgg@nvidia.com>,\n\tJoerg Roedel <joro@8bytes.org>, Jonathan Corbet <corbet@lwn.net>,\n Josh Hilke <jrhilke@google.com>,\n\tLeon Romanovsky <leonro@nvidia.com>, Lukas Wunner <lukas@wunner.de>,\n Mike Rapoport <rppt@kernel.org>,\n\tParav Pandit <parav@nvidia.com>, Pasha Tatashin <pasha.tatashin@soleen.com>,\n\tPranjal Shrivastava <praan@google.com>, Pratyush Yadav <pratyush@kernel.org>,\n\tRobin Murphy <robin.murphy@arm.com>, Saeed Mahameed <saeedm@nvidia.com>,\n\tSamiullah Khawaja <skhawaja@google.com>,\n Shuah Khan <skhan@linuxfoundation.org>,\n\tWill Deacon <will@kernel.org>, William Tu <witu@nvidia.com>,\n Yi Liu <yi.l.liu@intel.com>", "Content-Type": "text/plain; charset=\"UTF-8\"" }, "content": "Document how driver binding works during a Live Update and what the PCI\ncore expects of drivers and users. Note that this is only a description\nof the current division of responsibilities. These can change in the\nfuture if we decide.\n\nSigned-off-by: David Matlack <dmatlack@google.com>\n---\n drivers/pci/liveupdate.c | 16 ++++++++++++++++\n 1 file changed, 16 insertions(+)", "diff": "diff --git a/drivers/pci/liveupdate.c b/drivers/pci/liveupdate.c\nindex e616cecc37c8..c0a30d16d9b8 100644\n--- a/drivers/pci/liveupdate.c\n+++ b/drivers/pci/liveupdate.c\n@@ -77,6 +77,22 @@\n * preserved. These may be relaxed in the future:\n *\n * * The device cannot be a Virtual Function (VF).\n+ *\n+ * Driver Binding\n+ * ==============\n+ *\n+ * In the outgoing kernel, it is the driver's responsibility to ensure that it\n+ * does not release a device between pci_liveupdate_preserve() and\n+ * pci_liveupdate_unpreserve().\n+ *\n+ * In the incoming kernel, it is the driver's responsibility to ensure that it\n+ * does not release a preserved device between probe() and\n+ * pci_liveupdate_finish().\n+ *\n+ * It is the user's responsibility to ensure that incoming preserved devices are\n+ * bound to the correct driver. i.e. The PCI core does not protect against a\n+ * device getting preserved by driver A in the outgoing kernel and then getting\n+ * bound to driver B in the incoming kernel.\n */\n \n #define pr_fmt(fmt) \"PCI: liveupdate: \" fmt\n", "prefixes": [ "v4", "04/11" ] }