Re: [Qemu-devel] [PULL, 08/14] spapr_pci/spapr_pci_vfio: Support Dynamic DMA Windows (DDW)

2017-11-09 Thread David Gibson
On Wed, Nov 08, 2017 at 09:52:12AM +1100, Alexey Kardashevskiy wrote: > On 07/11/17 19:42, Laurent Vivier wrote: > > On 05/07/2016 07:31, David Gibson wrote: > >> From: Alexey Kardashevskiy > >> > >> This adds support for Dynamic DMA Windows (DDW) option defined by > >> the SPAPR

Re: [Qemu-devel] [PULL, 08/14] spapr_pci/spapr_pci_vfio: Support Dynamic DMA Windows (DDW)

2017-11-07 Thread Alexey Kardashevskiy
On 07/11/17 19:42, Laurent Vivier wrote: > On 05/07/2016 07:31, David Gibson wrote: >> From: Alexey Kardashevskiy >> >> This adds support for Dynamic DMA Windows (DDW) option defined by >> the SPAPR specification which allows to have additional DMA window(s) >> >> The "ddw"

Re: [Qemu-devel] [PULL, 08/14] spapr_pci/spapr_pci_vfio: Support Dynamic DMA Windows (DDW)

2017-11-07 Thread Laurent Vivier
On 05/07/2016 07:31, David Gibson wrote: > From: Alexey Kardashevskiy > > This adds support for Dynamic DMA Windows (DDW) option defined by > the SPAPR specification which allows to have additional DMA window(s) > > The "ddw" property is enabled by default on a PHB but for

Re: [Qemu-devel] [PULL 08/14] spapr_pci/spapr_pci_vfio: Support Dynamic DMA Windows (DDW)

2016-07-11 Thread David Gibson
On Mon, Jul 11, 2016 at 04:21:29PM +0200, Paolo Bonzini wrote: > > > On 05/07/2016 07:31, David Gibson wrote: > > > > -if (tcet && tcet->nb_table) { > > -spapr_tce_table_disable(tcet); > > +if (tcet && tcet->nb_table) { > > +spapr_tce_table_disable(tcet); > > +

Re: [Qemu-devel] [PULL 08/14] spapr_pci/spapr_pci_vfio: Support Dynamic DMA Windows (DDW)

2016-07-11 Thread Paolo Bonzini
On 05/07/2016 07:31, David Gibson wrote: > > -if (tcet && tcet->nb_table) { > -spapr_tce_table_disable(tcet); > +if (tcet && tcet->nb_table) { > +spapr_tce_table_disable(tcet); > +} > } > > /* Register default 32bit DMA window */ > +tcet

[Qemu-devel] [PULL 08/14] spapr_pci/spapr_pci_vfio: Support Dynamic DMA Windows (DDW)

2016-07-04 Thread David Gibson
From: Alexey Kardashevskiy This adds support for Dynamic DMA Windows (DDW) option defined by the SPAPR specification which allows to have additional DMA window(s) The "ddw" property is enabled by default on a PHB but for compatibility the pseries-2.6 machine and older disable

[Qemu-devel] [PULL 08/14] spapr_pci/spapr_pci_vfio: Support Dynamic DMA Windows (DDW)

2016-07-04 Thread David Gibson
From: Alexey Kardashevskiy This adds support for Dynamic DMA Windows (DDW) option defined by the SPAPR specification which allows to have additional DMA window(s) The "ddw" property is enabled by default on a PHB but for compatibility the pseries-2.6 machine and older disable