On Sat, Nov 29, 2025 at 11:34:49AM +0100, Lukas Wunner wrote:
On Wed, Nov 26, 2025 at 07:35:49PM +0000, David Matlack wrote:
Add an API to enable the PCI subsystem to track all devices that are preserved across a Live Update, including both incoming devices (passed from the previous kernel) and outgoing devices (passed to the next kernel).
Use PCI segment number and BDF to keep track of devices across Live Update. This means the kernel must keep both identifiers constant across a Live Update for any preserved device.
While bus numbers will *usually* stay the same across next and previous kernel, there are exceptions. E.g. if "pci=assign-busses" is specified on the command line, the kernel will re-assign bus numbers on every boot.
Stuff like this has to be disabled for this live update stuff, if the bus numbers are changed it will break the active use of the iommu across the kexec.
So while what you say is all technically true, I'm not sure this is necessary.
Jason