Re: [PATCH 15/16] switchtec_ntb: add memory window support

2017-07-05 Thread Bjorn Helgaas
On Wed, Jun 28, 2017 at 09:26:47PM -0600, Logan Gunthorpe wrote: > The switchtec hardware has two types of memory windows: LUTs and Direct. > The first area in each BAR is for LUT windows and the remaining area is > for the direct region. The total number of LUT entries is set by a > configuration

Re: [PATCH 15/16] switchtec_ntb: add memory window support

2017-07-05 Thread Bjorn Helgaas
On Wed, Jun 28, 2017 at 09:26:47PM -0600, Logan Gunthorpe wrote: > The switchtec hardware has two types of memory windows: LUTs and Direct. > The first area in each BAR is for LUT windows and the remaining area is > for the direct region. The total number of LUT entries is set by a > configuration

[PATCH 15/16] switchtec_ntb: add memory window support

2017-06-28 Thread Logan Gunthorpe
The switchtec hardware has two types of memory windows: LUTs and Direct. The first area in each BAR is for LUT windows and the remaining area is for the direct region. The total number of LUT entries is set by a configuration setting in hardware and they all must be the same size. (This is fixed

[PATCH 15/16] switchtec_ntb: add memory window support

2017-06-28 Thread Logan Gunthorpe
The switchtec hardware has two types of memory windows: LUTs and Direct. The first area in each BAR is for LUT windows and the remaining area is for the direct region. The total number of LUT entries is set by a configuration setting in hardware and they all must be the same size. (This is fixed