Re: [PATCH v2 1/3] asm-generic/io.h: Implement generic {read,write}s*()

2014-07-14 Thread Stephen Boyd
On 07/14/14 02:10, Thierry Reding wrote: > The reason behind this was that people have been told to migrate towards > using io{read,write}{8,16,32}_rep() because {read,write}s{b,w,l}() are > not as "portable". The only reason why the aren't portable is because no > generic versions of them existed.

Re: [PATCH v2 1/3] asm-generic/io.h: Implement generic {read,write}s*()

2014-07-14 Thread Thierry Reding
On Fri, Jul 11, 2014 at 02:59:38PM -0700, Stephen Boyd wrote: > On 07/11/14 08:31, Thierry Reding wrote: > > From: Thierry Reding > > > > This patch implements generic versions of readsb(), readsw(), readsl(), > > readsq(), writesb(), writesw(), writesl() and writesq(). Variants of > > these strin

Re: [PATCH v2 1/3] asm-generic/io.h: Implement generic {read,write}s*()

2014-07-11 Thread Stephen Boyd
On 07/11/14 08:31, Thierry Reding wrote: > From: Thierry Reding > > This patch implements generic versions of readsb(), readsw(), readsl(), > readsq(), writesb(), writesw(), writesl() and writesq(). Variants of > these string functions for I/O accesses (ins*() and outs*() as well as > ioread*_rep(

Re: [PATCH v2 1/3] asm-generic/io.h: Implement generic {read,write}s*()

2014-07-11 Thread Catalin Marinas
On Fri, Jul 11, 2014 at 04:31:10PM +0100, Thierry Reding wrote: > From: Thierry Reding > > This patch implements generic versions of readsb(), readsw(), readsl(), > readsq(), writesb(), writesw(), writesl() and writesq(). Variants of > these string functions for I/O accesses (ins*() and outs*() a

[PATCH v2 1/3] asm-generic/io.h: Implement generic {read,write}s*()

2014-07-11 Thread Thierry Reding
From: Thierry Reding This patch implements generic versions of readsb(), readsw(), readsl(), readsq(), writesb(), writesw(), writesl() and writesq(). Variants of these string functions for I/O accesses (ins*() and outs*() as well as ioread*_rep() and iowrite*_rep()) are now implemented in terms o