[PATCH v6 12/13] xen/arm: translate virtual PCI bus topology for guests

2022-02-03 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko There are three originators for the PCI configuration space access: 1. The domain that owns physical host bridge: MMIO handlers are there so we can update vPCI register handlers with the values written by the hardware domain, e.g. physical view of the registers vs g

Re: [PATCH v6 12/13] xen/arm: translate virtual PCI bus topology for guests

2022-02-03 Thread Jan Beulich
On 04.02.2022 07:34, Oleksandr Andrushchenko wrote: > --- a/xen/drivers/vpci/vpci.c > +++ b/xen/drivers/vpci/vpci.c > @@ -168,6 +168,35 @@ static void vpci_remove_virtual_device(struct domain *d, > pdev->vpci->guest_sbdf.sbdf = ~0; > } > > +/* > + * Find the physical device which is mapped

Re: [PATCH v6 12/13] xen/arm: translate virtual PCI bus topology for guests

2022-02-04 Thread Oleksandr Andrushchenko
Hi, Jan! On 04.02.22 09:56, Jan Beulich wrote: > On 04.02.2022 07:34, Oleksandr Andrushchenko wrote: >> --- a/xen/drivers/vpci/vpci.c >> +++ b/xen/drivers/vpci/vpci.c >> @@ -168,6 +168,35 @@ static void vpci_remove_virtual_device(struct domain *d, >> pdev->vpci->guest_sbdf.sbdf = ~0; >> }