Re: [PATCH v3 1/2] xen-pciback: prepare for the split for stub and PV

2021-09-23 Thread Oleksandr Andrushchenko
On 23.09.21 22:47, Stefano Stabellini wrote: > On Thu, 23 Sep 2021, Oleksandr Andrushchenko wrote: >> Currently PCI backend implements multiple functionalities at a time. >> To name a few: >> 1. It is used as a database for assignable PCI devices, e.g. xl >> pci-assignable-{add|remove|list} ma

Re: [PATCH v3 1/2] xen-pciback: prepare for the split for stub and PV

2021-09-23 Thread Stefano Stabellini
On Thu, 23 Sep 2021, Oleksandr Andrushchenko wrote: > Currently PCI backend implements multiple functionalities at a time. > To name a few: > 1. It is used as a database for assignable PCI devices, e.g. xl >pci-assignable-{add|remove|list} manipulates that list. So, whenever >the toolstack

Re: [PATCH v3 1/2] xen-pciback: prepare for the split for stub and PV

2021-09-23 Thread Jan Beulich
On 23.09.2021 13:12, Juergen Gross wrote: > On 23.09.21 13:10, Jan Beulich wrote: >> On 23.09.2021 11:53, Oleksandr Andrushchenko wrote: >>> --- a/drivers/xen/Kconfig >>> +++ b/drivers/xen/Kconfig >>> @@ -180,10 +180,34 @@ config SWIOTLB_XEN >>> select DMA_OPS >>> select SWIOTLB >>> >>>

Re: [PATCH v3 1/2] xen-pciback: prepare for the split for stub and PV

2021-09-23 Thread Oleksandr Andrushchenko
On 23.09.21 14:10, Jan Beulich wrote: > On 23.09.2021 11:53, Oleksandr Andrushchenko wrote: >> --- a/drivers/xen/Kconfig >> +++ b/drivers/xen/Kconfig >> @@ -180,10 +180,34 @@ config SWIOTLB_XEN >> select DMA_OPS >> select SWIOTLB >> >> +config XEN_PCI_STUB >> +bool >> + >> +config

Re: [PATCH v3 1/2] xen-pciback: prepare for the split for stub and PV

2021-09-23 Thread Juergen Gross
On 23.09.21 13:10, Jan Beulich wrote: On 23.09.2021 11:53, Oleksandr Andrushchenko wrote: --- a/drivers/xen/Kconfig +++ b/drivers/xen/Kconfig @@ -180,10 +180,34 @@ config SWIOTLB_XEN select DMA_OPS select SWIOTLB +config XEN_PCI_STUB + bool + +config XEN_PCIDEV_STUB +

Re: [PATCH v3 1/2] xen-pciback: prepare for the split for stub and PV

2021-09-23 Thread Jan Beulich
On 23.09.2021 11:53, Oleksandr Andrushchenko wrote: > --- a/drivers/xen/Kconfig > +++ b/drivers/xen/Kconfig > @@ -180,10 +180,34 @@ config SWIOTLB_XEN > select DMA_OPS > select SWIOTLB > > +config XEN_PCI_STUB > + bool > + > +config XEN_PCIDEV_STUB > + tristate "Xen PCI-device

[PATCH v3 1/2] xen-pciback: prepare for the split for stub and PV

2021-09-23 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Currently PCI backend implements multiple functionalities at a time. To name a few: 1. It is used as a database for assignable PCI devices, e.g. xl pci-assignable-{add|remove|list} manipulates that list. So, whenever the toolstack needs to know which PCI device