Re: [PATCH v7 05/12] PCI: liveupdate: Keep bus numbers constant during Live Update
Pasha Tatashin <[email protected]> Fri, 17 Jul 2026 21:48:42 +0000
| Newsgroups | org.infradead.lists.kexec,org.kernel.vger.linux-doc,org.kernel.vger.linux-kernel,org.kernel.vger.linux-pci,org.kvack.linux-mm |
|---|---|
| Message-ID | <178432492211.189683.10563224295975168718.b4-review@b4> |
On Fri, 10 Jul 2026 21:26:08 +0000, David Matlack <[email protected]> wrote: > During a Live Update, preserved devices must be allowed to continue > performing memory transactions so the kernel cannot change the fabric > topology, including bus numbers, since that would require disabling > and flushing any memory transactions first. > > To keep bus numbers constant, always inherit the secondary and > subordinate bus numbers assigned to bridges during scanning, instead of > assigning new ones, if any PCI devices are being preserved. Note that > the kernel inherits bus numbers even on bridges without any downstream > endpoints that were preserved. This avoids accidentally assigning a > bridge a new window that overlaps with a preserved device that is > downstream of a different bridge. > > [...] Reviewed-by: Pasha Tatashin <[email protected]> -- Pasha Tatashin <[email protected]>