From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f197.google.com (mail-pl1-f197.google.com [209.85.214.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 97C70477E4D for ; Tue, 28 Jul 2026 22:10:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.197 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785276639; cv=none; b=Fm4RzF05VXs5Yh+4W3SM+lKdOJIYywu615s5h7mpYCX7PwmI1iTI8XCMTHZ8EvXFm5yTVAb9u8wQdtNltlxtM6c0KgNXEH/ZHXe8oopubekzUB8vCUWbZIbYvedO5ftgSms7HjvVHuiuHNxFE4pXpEcdlx/hWqrXd8bwz5rPQQc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785276639; c=relaxed/simple; bh=VCB46nhFBZB79Q8ZNcMTRQ7UImsFfqC+gG7iDMJki10=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=JmXargw9qVA9S1TRxIG3FbES+WTj3EbA0K/FYWiJ8pA1sa64bmL8uZz8uvwMBoa7va/x4Ta2QeXx18ZNneuf4316IoBKa5XWvfbzbxs8hGOuJMKiP6cK3sIXu/J6xWZZiXxx++YaMPomC8Wee11huejQpId7d6IOTUa1Rts8Ofo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--dmatlack.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=qSjn2Qw5; arc=none smtp.client-ip=209.85.214.197 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--dmatlack.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="qSjn2Qw5" Received: by mail-pl1-f197.google.com with SMTP id d9443c01a7336-2d001671a54so6967925ad.2 for ; Tue, 28 Jul 2026 15:10:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1785276631; x=1785881431; darn=vger.kernel.org; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:from:to:cc:subject:date:message-id:reply-to :content-type; bh=jcNE6apqn+AHojLUlXt2w6cBeAI0PrY+z/kXQXeICZk=; b=qSjn2Qw5MKdOyux4EbFXkwjxUDF9hH49sO3r2DgWqlesRq2uYbqSUHmx9eDWKI5c2r dlPoD3/JqwxmgBBYlbDmaK0uUGrV/FA3FW30VwdRcz9cKI8pv5KJg6iBd+dUUWOlR0ex Yc7SjIpFB/rH+Vd8bzdJrwlKTF4336KM2VTp5P0BetcBxud0s9PrnvFQLmIXIVtx+Iif dDOi4jlEop+3X92CMmwR8AXUOX8eqH73NovoDLYkbzLqetQt3GShFeRjIzIYiXz+3SCt KicWQgtJuAGRll8n6WCOw6jbxwMHhJJnY6NvCmAyk2YMfa9hSuQk5CGsrfqOeIyHeKIU zfig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785276631; x=1785881431; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=jcNE6apqn+AHojLUlXt2w6cBeAI0PrY+z/kXQXeICZk=; b=b1hdwCYvsJbcZt0jmhoMr7aK0Fn8CgqjzfyKooltA6PTmijEO7oPBBcLe7qI9DcBGF MmrzjG9h4IP0O1Di9DLTso61gx1uZ4jVYnZzyxfOq8JLm7bsmsco0yo1qH2P7v38cVfn C/1PL4TbTI4cml4nq6IiorxQWVK3B3iyafzBv2S/w2uR5M2240wXqgfWrO/ipaHcaS59 09Wvk1ww2KO6dwSQ31D3rGxOeYmgnWM4jXjWcvN1mk7rWoaJFUumXGan/yApLCrTtpA7 5CFDXqLhlgqE2yvJSD0v/Vtjwmz0bdVKQi9t912pKKEL0MyYHbvt4Ur0ErRMXI2q42eZ nEjA== X-Forwarded-Encrypted: i=1; AHgh+RodUgGZjQsSy78rtR4+cFc6gKyuBgJhhHrHwRaoAYZiZbGIbNvP87LTHT7/0I0QI5X8nSchr9salpY=@vger.kernel.org X-Gm-Message-State: AOJu0YxrEqJqGXlYmVD4xt6svVx3onf9ZU3H5RAF9IfoInQk3yh5FHC7 /pCz6EY/YKEBTD/W/pLPXdRuK4dYLmUBROS9JZGq0Jd5k2YQpPZTLORMjCXVZTMr9kFdrMy3jt2 Mz+MxskU5WU02HA== X-Received: from plrp16.prod.google.com ([2002:a17:902:b090:b0:2cc:9345:c60a]) (user=dmatlack job=prod-delivery.src-stubby-dispatcher) by 2002:a17:903:b90:b0:2c9:df1b:e948 with SMTP id d9443c01a7336-2d015b145a4mr51662475ad.4.1785276630984; Tue, 28 Jul 2026 15:10:30 -0700 (PDT) Date: Tue, 28 Jul 2026 22:10:06 +0000 In-Reply-To: <20260728221007.2098560-1-dmatlack@google.com> Precedence: bulk X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20260728221007.2098560-1-dmatlack@google.com> X-Mailer: git-send-email 2.55.0.487.gaf234c4eb3-goog Message-ID: <20260728221007.2098560-13-dmatlack@google.com> Subject: [PATCH v8 12/12] Documentation: PCI: Add documentation for Live Update From: David Matlack To: kexec@lists.infradead.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-pci@vger.kernel.org Cc: Adithya Jayachandran , Alexander Graf , Alex Williamson , Bjorn Helgaas , Chris Li , David Matlack , David Rientjes , Jacob Pan , Jason Gunthorpe , Jonathan Corbet , Josh Hilke , Leon Romanovsky , Lukas Wunner , Mike Rapoport , Parav Pandit , Pasha Tatashin , Pranjal Shrivastava , Pratyush Yadav , Saeed Mahameed , Samiullah Khawaja , Shuah Khan , Vipin Sharma , William Tu , Yi Liu Content-Type: text/plain; charset="UTF-8" Add documentation files for the PCI subsystem's participation in Live Update. These documentation files are generated from the kernel-doc comments in the PCI Live Update source code. They describe the File-Lifecycle Bound (FLB) API, the device tracking API, and the specific policies applied to preserved devices (such as bus number inheritance and bus mastering preservation). Reviewed-by: Pranjal Shrivastava Signed-off-by: David Matlack --- Documentation/PCI/index.rst | 1 + Documentation/PCI/liveupdate.rst | 35 +++++++++++++++++++++++++++ Documentation/core-api/liveupdate.rst | 1 + MAINTAINERS | 1 + 4 files changed, 38 insertions(+) create mode 100644 Documentation/PCI/liveupdate.rst diff --git a/Documentation/PCI/index.rst b/Documentation/PCI/index.rst index 5d720d2a415e..23fb737ac969 100644 --- a/Documentation/PCI/index.rst +++ b/Documentation/PCI/index.rst @@ -20,3 +20,4 @@ PCI Bus Subsystem controller/index boot-interrupts tph + liveupdate diff --git a/Documentation/PCI/liveupdate.rst b/Documentation/PCI/liveupdate.rst new file mode 100644 index 000000000000..96b1d7f5df3a --- /dev/null +++ b/Documentation/PCI/liveupdate.rst @@ -0,0 +1,35 @@ +.. SPDX-License-Identifier: GPL-2.0-or-later + +=========================== +PCI Support for Live Update +=========================== + +.. kernel-doc:: drivers/pci/liveupdate.c + :doc: PCI Live Update + +Driver API +========== + +.. kernel-doc:: drivers/pci/liveupdate.c + :export: + +Internal API +============ + +.. kernel-doc:: drivers/pci/liveupdate.c + :internal: + +Live Update ABI +=============== + +.. kernel-doc:: include/linux/kho/abi/pci.h + :doc: PCI File-Lifecycle Bound (FLB) Live Update ABI + +.. kernel-doc:: include/linux/kho/abi/pci.h + :internal: + +See Also +======== + + * :doc:`/core-api/liveupdate` + * :doc:`/core-api/kho/index` diff --git a/Documentation/core-api/liveupdate.rst b/Documentation/core-api/liveupdate.rst index b3c689e633c1..2bce2644eba2 100644 --- a/Documentation/core-api/liveupdate.rst +++ b/Documentation/core-api/liveupdate.rst @@ -74,3 +74,4 @@ See Also - :doc:`Live Update uAPI ` - :doc:`/core-api/kho/index` +- :doc:`PCI ` diff --git a/MAINTAINERS b/MAINTAINERS index 08a724b860dc..347c435ca404 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -20833,6 +20833,7 @@ L: kexec@lists.infradead.org L: linux-pci@vger.kernel.org S: Maintained T: git git://git.kernel.org/pub/scm/linux/kernel/git/liveupdate/linux.git +F: Documentation/PCI/liveupdate.rst F: drivers/pci/liveupdate.c F: drivers/pci/liveupdate.h F: include/linux/kho/abi/pci.h -- 2.55.0.487.gaf234c4eb3-goog