[PATCH v4 16/19] PCI: liveupdate: Add feature header to struct pci_dev_ser
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Tue Nov 10 22:16:54 PST 2026
> Precede each serialized PCI device entry in the PCI Live Update KHO block
> set with struct kho_ser_hdr via DECLARE_KHO_SER so future per-device PCI
> Live Update features can append fields to struct pci_dev_ser without
> breaking compatibility between adjacent kernels.
>
> Mark struct pci_dev_ser as 8-byte aligned since its largest member is u32,
> initialize the device block sets with kho_ser_size(pci_dev_ser),
> initialize each entry feature header in pci_flb_alloc_dev_ser(), and
> validate incoming device feature headers in pci_flb_retrieve() before
> accessing the struct pci_dev_ser payload.
>
> Signed-off-by: Tarun Sahu <tarunsahu at google.com>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261110050202.529473-1-tarunsahu@google.com?part=16
More information about the kexec
mailing list