Re: [PATCH] xen/virtio: Handle PCI devices which Host controller is described in DT

2022-10-20 Thread Oleksandr Tyshchenko
On 19.10.22 23:38, Stefano Stabellini wrote: Hello Stefano > + Vikram > > On Wed, 19 Oct 2022, Oleksandr Tyshchenko wrote: Regarding the virtio-mmio (platform) devices, yes, we could expose them with status "disabled", and they won't get probed by default. To be honest, I have exp

Re: [PATCH] xen/virtio: Handle PCI devices which Host controller is described in DT

2022-10-19 Thread Stefano Stabellini
+ Vikram On Wed, 19 Oct 2022, Oleksandr Tyshchenko wrote: > >> Regarding the virtio-mmio (platform) devices, yes, we could expose them > >> with status "disabled", and they won't get probed by default. > >> To be honest, I have experimented with that, when I was thinking of > >> possible hotplug f

Re: [PATCH] xen/virtio: Handle PCI devices which Host controller is described in DT

2022-10-19 Thread Oleksandr Tyshchenko
On 17.10.22 23:39, Stefano Stabellini wrote: Hello Stefano > On Sat, 15 Oct 2022, Oleksandr Tyshchenko wrote: >> On 13.10.22 03:33, Stefano Stabellini wrote: >> >> Hello Stefano >> >>> On Wed, 12 Oct 2022, Oleksandr Tyshchenko wrote: > On Thu, 6 Oct 2022, Oleksandr Tyshchenko wrote: >> F

Re: [PATCH] xen/virtio: Handle PCI devices which Host controller is described in DT

2022-10-17 Thread Stefano Stabellini
On Sat, 15 Oct 2022, Oleksandr Tyshchenko wrote: > On 13.10.22 03:33, Stefano Stabellini wrote: > > Hello Stefano > > > On Wed, 12 Oct 2022, Oleksandr Tyshchenko wrote: > >>> On Thu, 6 Oct 2022, Oleksandr Tyshchenko wrote: > From: Oleksandr Tyshchenko > > Use the same "xen-grant-d

Re: [PATCH] xen/virtio: Handle PCI devices which Host controller is described in DT

2022-10-15 Thread Oleksandr Tyshchenko
On 13.10.22 03:33, Stefano Stabellini wrote: Hello Stefano > On Wed, 12 Oct 2022, Oleksandr Tyshchenko wrote: >>> On Thu, 6 Oct 2022, Oleksandr Tyshchenko wrote: From: Oleksandr Tyshchenko Use the same "xen-grant-dma" device concept (based on generic IOMMU device-tree bindin

Re: [PATCH] xen/virtio: Handle PCI devices which Host controller is described in DT

2022-10-12 Thread Stefano Stabellini
On Wed, 12 Oct 2022, Oleksandr Tyshchenko wrote: > > On Thu, 6 Oct 2022, Oleksandr Tyshchenko wrote: > >> From: Oleksandr Tyshchenko > >> > >> Use the same "xen-grant-dma" device concept (based on generic IOMMU > >> device-tree bindings) for the PCI devices behind device-tree based > >> PCI Host c

Re: [PATCH] xen/virtio: Handle PCI devices which Host controller is described in DT

2022-10-12 Thread Oleksandr Tyshchenko
On 07.10.22 04:14, Stefano Stabellini wrote: Hello Stefano Thank you for the detailed analysis. Please see answers below. > On Thu, 6 Oct 2022, Oleksandr Tyshchenko wrote: >> From: Oleksandr Tyshchenko >> >> Use the same "xen-grant-dma" device concept (based on generic IOMMU >> device-tree bi

Re: [PATCH] xen/virtio: Handle PCI devices which Host controller is described in DT

2022-10-07 Thread Stefano Stabellini
On Fri, 7 Oct 2022, Juergen Gross wrote: > On 06.10.22 19:48, Oleksandr Tyshchenko wrote: > > From: Oleksandr Tyshchenko > > > > Use the same "xen-grant-dma" device concept (based on generic IOMMU > > device-tree bindings) for the PCI devices behind device-tree based > > PCI Host controller. > >

Re: [PATCH] xen/virtio: Handle PCI devices which Host controller is described in DT

2022-10-06 Thread Juergen Gross
On 06.10.22 19:48, Oleksandr Tyshchenko wrote: From: Oleksandr Tyshchenko Use the same "xen-grant-dma" device concept (based on generic IOMMU device-tree bindings) for the PCI devices behind device-tree based PCI Host controller. Signed-off-by: Oleksandr Tyshchenko --- Slightly RFC. This is n

Re: [PATCH] xen/virtio: Handle PCI devices which Host controller is described in DT

2022-10-06 Thread Stefano Stabellini
On Thu, 6 Oct 2022, Oleksandr Tyshchenko wrote: > From: Oleksandr Tyshchenko > > Use the same "xen-grant-dma" device concept (based on generic IOMMU > device-tree bindings) for the PCI devices behind device-tree based > PCI Host controller. > > Signed-off-by: Oleksandr Tyshchenko > --- > Slight