On 2/10/26 05:53, Jan Beulich wrote:
> --- a/xen/include/xen/vpci.h
> +++ b/xen/include/xen/vpci.h
> @@ -30,20 +19,6 @@ typedef struct {
> */
> #define VPCI_MAX_VIRT_DEV (PCI_SLOT(~0) + 1)
>
> -#define REGISTER_VPCI_CAPABILITY(cap, name, finit, fclean, ext) \
> - static const vpci_capability_t name##_entry \
> - __used_section(".data.rel.ro.vpci") = { \
> - .id = (cap), \
> - .init = (finit), \
> - .cleanup = (fclean), \
> - .is_ext = (ext), \
> - }
> -
> -#define REGISTER_VPCI_CAP(name, finit, fclean) \
> - REGISTER_VPCI_CAPABILITY(PCI_CAP_ID_##name, name, finit, fclean, false)
> -#define REGISTER_VPCI_EXTCAP(name, finit, fclean) \
> - REGISTER_VPCI_CAPABILITY(PCI_EXT_CAP_ID_##name, name, finit, fclean,
> true)
> -
> int __must_check vpci_init_header(struct pci_dev *pdev);
Nit: I suppose vpci_init_header() could also move to the new private header file- [PATCH v4 0/5] (v)PCI: extended capability handling Jan Beulich
- [PATCH v4 1/5] x86/PCI: avoid re-evaluation of ext... Jan Beulich
- Re: [PATCH v4 1/5] x86/PCI: avoid re-evaluatio... Stewart Hildebrand
- [PATCH v4 2/5] vPCI: introduce private header Jan Beulich
- Re: [PATCH v4 2/5] vPCI: introduce private hea... Stewart Hildebrand
- Re: [PATCH v4 2/5] vPCI: introduce private... Jan Beulich
- Re: [PATCH v4 2/5] vPCI: introduce private hea... Stewart Hildebrand
- Re: [PATCH v4 2/5] vPCI: introduce private... Jan Beulich
- [PATCH v4 3/5] vPCI: move vpci_init_capabilities()... Jan Beulich
- Re: [PATCH v4 3/5] vPCI: move vpci_init_capabi... Stewart Hildebrand
- Re: [PATCH v4 3/5] vPCI: move vpci_init_capabi... Roger Pau Monné
- [PATCH v4 4/5] vPCI: move capability-list init Jan Beulich
- Re: [PATCH v4 4/5] vPCI: move capability-list ... Stewart Hildebrand
- Re: [PATCH v4 4/5] vPCI: move capability-list ... Roger Pau Monné
- [PATCH v4 5/5] vPCI: re-init extended-capabilities... Jan Beulich
- Re: [PATCH v4 5/5] vPCI: re-init extended-capa... Stewart Hildebrand
- Re: [PATCH v4 5/5] vPCI: re-init extended-... Jan Beulich
