Re: [Qemu-devel] [PATCH qemu] vfio/spapr: Allow backing bigger guest IOMMU pages with smaller physical pages

2018-05-02 Thread Alexey Kardashevskiy
On 3/5/18 11:03 am, David Gibson wrote: > On Wed, May 02, 2018 at 06:59:53PM +1000, Alexey Kardashevskiy wrote: >> On 2/5/18 4:37 pm, David Gibson wrote: >>> On Wed, May 02, 2018 at 02:45:57PM +1000, Alexey Kardashevskiy wrote: At the moment the PPC64/pseries guest only supports 4K/64K/16M IOM

Re: [Qemu-devel] [PATCH qemu] vfio/spapr: Allow backing bigger guest IOMMU pages with smaller physical pages

2018-05-02 Thread David Gibson
On Wed, May 02, 2018 at 06:59:53PM +1000, Alexey Kardashevskiy wrote: > On 2/5/18 4:37 pm, David Gibson wrote: > > On Wed, May 02, 2018 at 02:45:57PM +1000, Alexey Kardashevskiy wrote: > >> At the moment the PPC64/pseries guest only supports 4K/64K/16M IOMMU > >> pages and POWER8 CPU supports the e

Re: [Qemu-devel] [PATCH qemu] vfio/spapr: Allow backing bigger guest IOMMU pages with smaller physical pages

2018-05-02 Thread Alexey Kardashevskiy
On 2/5/18 4:37 pm, David Gibson wrote: > On Wed, May 02, 2018 at 02:45:57PM +1000, Alexey Kardashevskiy wrote: >> At the moment the PPC64/pseries guest only supports 4K/64K/16M IOMMU >> pages and POWER8 CPU supports the exact same set of page size so >> so far things worked fine. >> >> However POWE

Re: [Qemu-devel] [PATCH qemu] vfio/spapr: Allow backing bigger guest IOMMU pages with smaller physical pages

2018-05-01 Thread David Gibson
On Wed, May 02, 2018 at 02:45:57PM +1000, Alexey Kardashevskiy wrote: > At the moment the PPC64/pseries guest only supports 4K/64K/16M IOMMU > pages and POWER8 CPU supports the exact same set of page size so > so far things worked fine. > > However POWER9 supports different set of sizes - 4K/64K/2

[Qemu-devel] [PATCH qemu] vfio/spapr: Allow backing bigger guest IOMMU pages with smaller physical pages

2018-05-01 Thread Alexey Kardashevskiy
At the moment the PPC64/pseries guest only supports 4K/64K/16M IOMMU pages and POWER8 CPU supports the exact same set of page size so so far things worked fine. However POWER9 supports different set of sizes - 4K/64K/2M/1G and the last two - 2M and 1G - are not even allowed in the paravirt interfa