Re: [virtio-dev] [PATCH v8 1/3] content: Document balloon feature free page hints

2020-09-04 Thread Alexander Duyck
On Fri, Sep 4, 2020 at 8:20 AM Jan Kiszka wrote: > > On 25.08.20 16:45, Alexander Duyck wrote: > > From: Alexander Duyck > > > > Free page hints allow the balloon driver to provide information on what > > pages are not currently in use so that we can avoid the cost of copying > > them in migratio

[virtio-dev] Re: [PATCH v3 0/6] Add virtio-iommu built-in topology

2020-09-04 Thread Auger Eric
Hi, On 8/21/20 3:15 PM, Jean-Philippe Brucker wrote: > Add a topology description to the virtio-iommu driver and enable x86 > platforms. > > Since [v2] we have made some progress on adding ACPI support for > virtio-iommu, which is the preferred boot method on x86. It will be a > new vendor-agnost

[virtio-dev] Re: [PATCH v3 2/6] iommu/virtio: Add topology helpers

2020-09-04 Thread Auger Eric
Hi Jean, On 8/21/20 3:15 PM, Jean-Philippe Brucker wrote: > To support topology description from ACPI and from the builtin > description, add helpers to keep track of I/O topology descriptors. > > To ease re-use of the helpers by other drivers and future ACPI > extensions, use the "virt_" prefix

[virtio-dev] Re: [PATCH v3 5/6] iommu/virtio: Support topology description in config space

2020-09-04 Thread Auger Eric
Hi Jean, On 8/21/20 3:15 PM, Jean-Philippe Brucker wrote: > Platforms without device-tree nor ACPI can provide a topology > description embedded into the virtio config space. Parse it. > > Use PCI FIXUP to probe the config space early, because we need to > discover the topology before any DMA con

[virtio-dev] Re: [PATCH v3 4/6] iommu/virtio: Add topology definitions

2020-09-04 Thread Auger Eric
Hi Jean, On 8/21/20 3:15 PM, Jean-Philippe Brucker wrote: > Add struct definitions for describing endpoints managed by the > virtio-iommu. When VIRTIO_IOMMU_F_TOPOLOGY is offered, an array of > virtio_iommu_topo_* structures in config space describes the endpoints, > identified either by their PCI

Re: [virtio-dev] [PATCH virtio v2] virtio-iommu: Add built-in topology description

2020-09-04 Thread Auger Eric
Hi Jean, On 8/20/20 3:29 PM, Jean-Philippe Brucker wrote: > Add a simple method to describe the IOMMU topology in the config space, > guarded by a new feature bit. A list of capabilities in the config space > describes the devices managed by the IOMMU and their endpoint IDs. > > As outlined in pa

[virtio-dev] Re: [PATCH v3 1/6] iommu/virtio: Move to drivers/iommu/virtio/

2020-09-04 Thread Auger Eric
Hi Jean, On 8/21/20 3:15 PM, Jean-Philippe Brucker wrote: > Before adding new files to the virtio-iommu driver, move it to its own > subfolder, similarly to other IOMMU drivers. > > Signed-off-by: Jean-Philippe Brucker > --- > drivers/iommu/Makefile| 3 +-- > drivers/iommu/v

Re: [virtio-dev] [PATCH v8 1/3] content: Document balloon feature free page hints

2020-09-04 Thread Jan Kiszka
On 25.08.20 16:45, Alexander Duyck wrote: > From: Alexander Duyck > > Free page hints allow the balloon driver to provide information on what > pages are not currently in use so that we can avoid the cost of copying > them in migration scenarios. Add a feature description for free page hints > de