Re: [PATCH] net: mvneta: explicitly disable BM on 64bit platform

2016-03-31 Thread Jisheng Zhang
Hi Marcin, On Thu, 31 Mar 2016 08:49:19 +0200 Marcin Wojtas wrote: > Hi Jisheng, > > 2016-03-31 7:53 GMT+02:00 Jisheng Zhang : > > Hi Gregory, > > > > On Wed, 30 Mar 2016 17:11:41 +0200 Gregory CLEMENT wrote: > > > >> Hi Jisheng, > >> > >> On mer., mars 30 2016, Jisheng Zhang wrote: > >> >

Re: [PATCH] net: mvneta: explicitly disable BM on 64bit platform

2016-03-30 Thread Marcin Wojtas
Hi Jisheng, 2016-03-31 7:53 GMT+02:00 Jisheng Zhang : > Hi Gregory, > > On Wed, 30 Mar 2016 17:11:41 +0200 Gregory CLEMENT wrote: > >> Hi Jisheng, >> >> On mer., mars 30 2016, Jisheng Zhang wrote: >> >> > The mvneta BM can't work on 64bit platform, as the BM hardware expects >> > buf virtual add

Re: [PATCH] net: mvneta: explicitly disable BM on 64bit platform

2016-03-30 Thread Jisheng Zhang
Hi Gregory, On Wed, 30 Mar 2016 17:11:41 +0200 Gregory CLEMENT wrote: > Hi Jisheng, > > On mer., mars 30 2016, Jisheng Zhang wrote: > > > The mvneta BM can't work on 64bit platform, as the BM hardware expects > > buf virtual address to be placed in the first four bytes of mapped > > buffer,

Re: [PATCH] net: mvneta: explicitly disable BM on 64bit platform

2016-03-30 Thread Gregory CLEMENT
Hi Jisheng, On mer., mars 30 2016, Jisheng Zhang wrote: > The mvneta BM can't work on 64bit platform, as the BM hardware expects > buf virtual address to be placed in the first four bytes of mapped > buffer, but obviously the virtual address on 64bit platform can't be > stored in 4 bytes. So w

[PATCH] net: mvneta: explicitly disable BM on 64bit platform

2016-03-30 Thread Jisheng Zhang
The mvneta BM can't work on 64bit platform, as the BM hardware expects buf virtual address to be placed in the first four bytes of mapped buffer, but obviously the virtual address on 64bit platform can't be stored in 4 bytes. So we have to explicitly disable BM on 64bit platform. Signed-off-by: Ji