Re: [Qemu-devel] [PATCH qemu v17 06/12] memory: Add reporting of supported page sizes

2016-06-14 Thread David Gibson
On Wed, Jun 08, 2016 at 04:05:48PM +1000, Alexey Kardashevskiy wrote: > On 08/06/16 16:00, David Gibson wrote: > > On Mon, Jun 06, 2016 at 03:31:04PM +0200, Paolo Bonzini wrote: > >> > >> > >> On 02/06/2016 05:35, David Gibson wrote: > >>> On Wed, Jun 01, 2016 at 06:57:37PM +1000, Alexey Kardashevs

Re: [Qemu-devel] [PATCH qemu v17 06/12] memory: Add reporting of supported page sizes

2016-06-14 Thread Alexey Kardashevskiy
On 08/06/16 16:05, Alexey Kardashevskiy wrote: > On 08/06/16 16:00, David Gibson wrote: >> On Mon, Jun 06, 2016 at 03:31:04PM +0200, Paolo Bonzini wrote: >>> >>> >>> On 02/06/2016 05:35, David Gibson wrote: On Wed, Jun 01, 2016 at 06:57:37PM +1000, Alexey Kardashevskiy wrote: >> Every IOMM

Re: [Qemu-devel] [PATCH qemu v17 06/12] memory: Add reporting of supported page sizes

2016-06-07 Thread Alexey Kardashevskiy
On 08/06/16 16:00, David Gibson wrote: > On Mon, Jun 06, 2016 at 03:31:04PM +0200, Paolo Bonzini wrote: >> >> >> On 02/06/2016 05:35, David Gibson wrote: >>> On Wed, Jun 01, 2016 at 06:57:37PM +1000, Alexey Kardashevskiy wrote: > Every IOMMU has some granularity which MemoryRegionIOMMUOps::tran

Re: [Qemu-devel] [PATCH qemu v17 06/12] memory: Add reporting of supported page sizes

2016-06-07 Thread David Gibson
On Mon, Jun 06, 2016 at 03:31:04PM +0200, Paolo Bonzini wrote: > > > On 02/06/2016 05:35, David Gibson wrote: > > On Wed, Jun 01, 2016 at 06:57:37PM +1000, Alexey Kardashevskiy wrote: > >> > Every IOMMU has some granularity which MemoryRegionIOMMUOps::translate > >> > uses when translating, howev

Re: [Qemu-devel] [PATCH qemu v17 06/12] memory: Add reporting of supported page sizes

2016-06-06 Thread Alexey Kardashevskiy
On 06/06/16 23:31, Paolo Bonzini wrote: > > > On 02/06/2016 05:35, David Gibson wrote: >> On Wed, Jun 01, 2016 at 06:57:37PM +1000, Alexey Kardashevskiy wrote: Every IOMMU has some granularity which MemoryRegionIOMMUOps::translate uses when translating, however this information is not a

Re: [Qemu-devel] [PATCH qemu v17 06/12] memory: Add reporting of supported page sizes

2016-06-06 Thread Paolo Bonzini
On 02/06/2016 05:35, David Gibson wrote: > On Wed, Jun 01, 2016 at 06:57:37PM +1000, Alexey Kardashevskiy wrote: >> > Every IOMMU has some granularity which MemoryRegionIOMMUOps::translate >> > uses when translating, however this information is not available outside >> > the translate context for

Re: [Qemu-devel] [PATCH qemu v17 06/12] memory: Add reporting of supported page sizes

2016-06-03 Thread Alex Williamson
On Wed, 1 Jun 2016 18:57:37 +1000 Alexey Kardashevskiy wrote: > Every IOMMU has some granularity which MemoryRegionIOMMUOps::translate > uses when translating, however this information is not available outside > the translate context for various checks. > > This adds a get_page_sizes callback t

Re: [Qemu-devel] [PATCH qemu v17 06/12] memory: Add reporting of supported page sizes

2016-06-01 Thread David Gibson
On Wed, Jun 01, 2016 at 06:57:37PM +1000, Alexey Kardashevskiy wrote: > Every IOMMU has some granularity which MemoryRegionIOMMUOps::translate > uses when translating, however this information is not available outside > the translate context for various checks. > > This adds a get_page_sizes callb

[Qemu-devel] [PATCH qemu v17 06/12] memory: Add reporting of supported page sizes

2016-06-01 Thread Alexey Kardashevskiy
Every IOMMU has some granularity which MemoryRegionIOMMUOps::translate uses when translating, however this information is not available outside the translate context for various checks. This adds a get_page_sizes callback to MemoryRegionIOMMUOps and a wrapper for it so IOMMU users (such as VFIO) c