Re: [PATCH v3 14/16] switchtec_ntb: implement scratchpad registers

2017-08-02 Thread Logan Gunthorpe
On 02/08/17 10:32 AM, Jon Mason wrote: > After a long-ish conversation on IRC, the way we want to go forward > would be to provide 2 ways of communicating prior to the MW's being > setup: SPADs and Message Registers. The HW driver would make > available whichever ones are supported by the hardw

Re: [PATCH v3 14/16] switchtec_ntb: implement scratchpad registers

2017-08-02 Thread Jon Mason
On Wed, Aug 2, 2017 at 9:06 AM, Allen Hubbe wrote: > From: Logan Gunthorpe >> On 01/08/17 01:10 PM, Jon Mason wrote: >> > It would probaly be better if I remarked about the SPADs in the actual >> > patch about the SPADS :) >> > >> > The whole point of using the SPADs in the NTB driver was to worka

RE: [PATCH v3 14/16] switchtec_ntb: implement scratchpad registers

2017-08-02 Thread Allen Hubbe
From: Logan Gunthorpe > On 01/08/17 01:10 PM, Jon Mason wrote: > > It would probaly be better if I remarked about the SPADs in the actual > > patch about the SPADS :) > > > > The whole point of using the SPADs in the NTB driver was to workaround > > the problems establishing a connection between th

Re: [PATCH v3 14/16] switchtec_ntb: implement scratchpad registers

2017-08-01 Thread Logan Gunthorpe
On 01/08/17 01:10 PM, Jon Mason wrote: > It would probaly be better if I remarked about the SPADs in the actual > patch about the SPADS :) > > The whole point of using the SPADs in the NTB driver was to workaround > the problems establishing a connection between the two sides of the > NTB and wh

Re: [PATCH v3 14/16] switchtec_ntb: implement scratchpad registers

2017-08-01 Thread Jon Mason
On Tue, Jul 25, 2017 at 02:57:51PM -0600, Logan Gunthorpe wrote: > Seeing there is no dedicated hardware for this, we simply add > these as entries in the shared memory window. Thus, we could support > any number of them but 128 seems like enough, for now. It would probaly be better if I remarked