On 21.04.2025 08:18, Jiqian Chen wrote: > Refactor REGISTER_VPCI_INIT to contain more capability specific > information, this is benifit for follow-on changes to hide capability > which initialization fails. > > What's more, change the definition of init_header() since it is > not a capability and it is needed for all devices' PCI config space. > > Note: > Call vpci_make_msix_hole() in the end of init_msix() since the > change of sequence of init_header() and init_msix(). > The fini hook will be implemented in follow-on changes. > > Signed-off-by: Jiqian Chen <jiqian.c...@amd.com>
>From the description I can't derive the need for ... > --- a/xen/include/xen/xen.lds.h > +++ b/xen/include/xen/xen.lds.h > @@ -187,7 +187,7 @@ > #define VPCI_ARRAY \ > . = ALIGN(POINTER_ALIGN); \ > __start_vpci_array = .; \ > - *(SORT(.data.vpci.*)) \ > + *(.data.vpci.*) \ > __end_vpci_array = .; > #else > #define VPCI_ARRAY ... this change. Jan