Re: [PATCH 1/3] xen/arm: call vpci_add_handlers on x86

2021-10-19 Thread Bertrand Marquis
Hi Jan, > On 19 Oct 2021, at 13:29, Jan Beulich wrote: > > On 19.10.2021 12:40, Bertrand Marquis wrote: >> --- a/xen/drivers/passthrough/pci.c >> +++ b/xen/drivers/passthrough/pci.c >> @@ -756,11 +756,6 @@ int pci_add_device(u16 seg, u8 bus, u8 devfn, >> if ( !pdev->domain ) >> { >>

Re: [PATCH 1/3] xen/arm: call vpci_add_handlers on x86

2021-10-19 Thread Jan Beulich
On 19.10.2021 12:40, Bertrand Marquis wrote: > --- a/xen/drivers/passthrough/pci.c > +++ b/xen/drivers/passthrough/pci.c > @@ -756,11 +756,6 @@ int pci_add_device(u16 seg, u8 bus, u8 devfn, > if ( !pdev->domain ) > { > pdev->domain = hardware_domain; > -#ifdef CONFIG_ARM > -

[PATCH 1/3] xen/arm: call vpci_add_handlers on x86

2021-10-19 Thread Bertrand Marquis
Xen might not be able to discover at boot time all devices or some devices might appear after specific actions from dom0. In this case dom0 can use the PHYSDEVOP_pci_device_add to signal some PCI devices to Xen. As those devices where not known from Xen before, the vpci handlers must be properly