Re: [PATCH v2 2/6] powerpc/pseries/iommu: Update call to ibm,query-pe-dma-windows

2020-07-01 Thread Leonardo Bras
On Thu, 2020-07-02 at 10:18 +1000, Alexey Kardashevskiy wrote: > > On 02/07/2020 00:04, Leonardo Bras wrote: > > On Wed, 2020-07-01 at 18:17 +1000, Alexey Kardashevskiy wrote: > > > > +#define DDW_EXT_SIZE 0 > > > > +#define DDW_EXT_RESET_DMA_WIN 1 > > > > +#define

Re: [PATCH v2 2/6] powerpc/pseries/iommu: Update call to ibm,query-pe-dma-windows

2020-07-01 Thread Alexey Kardashevskiy
On 02/07/2020 00:04, Leonardo Bras wrote: > On Wed, 2020-07-01 at 18:17 +1000, Alexey Kardashevskiy wrote: >> >>> +#define DDW_EXT_SIZE 0 >>> +#define DDW_EXT_RESET_DMA_WIN 1 >>> +#define DDW_EXT_QUERY_OUT_SIZE 2 >> >> #define DDW_EXT_LAST (DDW_EXT_QUERY_OUT_SIZE + 1) >>

Re: [PATCH v2 2/6] powerpc/pseries/iommu: Update call to ibm,query-pe-dma-windows

2020-07-01 Thread Leonardo Bras
On Wed, 2020-07-01 at 18:17 +1000, Alexey Kardashevskiy wrote: > > > +#define DDW_EXT_SIZE 0 > > +#define DDW_EXT_RESET_DMA_WIN 1 > > +#define DDW_EXT_QUERY_OUT_SIZE 2 > > #define DDW_EXT_LAST (DDW_EXT_QUERY_OUT_SIZE + 1) > ... > > > > + > > static struct

Re: [PATCH v2 2/6] powerpc/pseries/iommu: Update call to ibm,query-pe-dma-windows

2020-07-01 Thread Alexey Kardashevskiy
On 24/06/2020 16:24, Leonardo Bras wrote: > From LoPAR level 2.8, "ibm,ddw-extensions" index 3 can make the number of > outputs from "ibm,query-pe-dma-windows" go from 5 to 6. > > This change of output size is meant to expand the address size of > largest_available_block PE TCE from 32-bit to