Re: [PATCH V9 21/21] csky: support dword access for get_user_size()

2018-10-25 Thread Guo Ren
On Wed, Oct 24, 2018 at 08:17:47AM +0100, Arnd Bergmann wrote: > On Thu, Oct 18, 2018 at 9:57 AM Guo Ren wrote: > > > > On Thu, Oct 18, 2018 at 10:34:00AM +0200, Arnd Bergmann wrote: > > > On Thu, Oct 18, 2018 at 5:41 AM Guo Ren wrote: > > > > > > > > On Wed, Oct 17, 2018 at 05:44:17PM +0200,

Re: [PATCH V9 21/21] csky: support dword access for get_user_size()

2018-10-25 Thread Guo Ren
On Wed, Oct 24, 2018 at 08:17:47AM +0100, Arnd Bergmann wrote: > On Thu, Oct 18, 2018 at 9:57 AM Guo Ren wrote: > > > > On Thu, Oct 18, 2018 at 10:34:00AM +0200, Arnd Bergmann wrote: > > > On Thu, Oct 18, 2018 at 5:41 AM Guo Ren wrote: > > > > > > > > On Wed, Oct 17, 2018 at 05:44:17PM +0200,

Re: [PATCH V9 21/21] csky: support dword access for get_user_size()

2018-10-24 Thread Arnd Bergmann
On Thu, Oct 18, 2018 at 9:57 AM Guo Ren wrote: > > On Thu, Oct 18, 2018 at 10:34:00AM +0200, Arnd Bergmann wrote: > > On Thu, Oct 18, 2018 at 5:41 AM Guo Ren wrote: > > > > > > On Wed, Oct 17, 2018 at 05:44:17PM +0200, Arnd Bergmann wrote: > > > > On Tue, Oct 16, 2018 at 5:33 AM Guo Ren wrote:

Re: [PATCH V9 21/21] csky: support dword access for get_user_size()

2018-10-24 Thread Arnd Bergmann
On Thu, Oct 18, 2018 at 9:57 AM Guo Ren wrote: > > On Thu, Oct 18, 2018 at 10:34:00AM +0200, Arnd Bergmann wrote: > > On Thu, Oct 18, 2018 at 5:41 AM Guo Ren wrote: > > > > > > On Wed, Oct 17, 2018 at 05:44:17PM +0200, Arnd Bergmann wrote: > > > > On Tue, Oct 16, 2018 at 5:33 AM Guo Ren wrote:

Re: [PATCH V9 21/21] csky: support dword access for get_user_size()

2018-10-18 Thread Guo Ren
On Thu, Oct 18, 2018 at 10:34:00AM +0200, Arnd Bergmann wrote: > On Thu, Oct 18, 2018 at 5:41 AM Guo Ren wrote: > > > > On Wed, Oct 17, 2018 at 05:44:17PM +0200, Arnd Bergmann wrote: > > > On Tue, Oct 16, 2018 at 5:33 AM Guo Ren wrote: > > > > > > > > Support dword access for get_user_size and

Re: [PATCH V9 21/21] csky: support dword access for get_user_size()

2018-10-18 Thread Guo Ren
On Thu, Oct 18, 2018 at 10:34:00AM +0200, Arnd Bergmann wrote: > On Thu, Oct 18, 2018 at 5:41 AM Guo Ren wrote: > > > > On Wed, Oct 17, 2018 at 05:44:17PM +0200, Arnd Bergmann wrote: > > > On Tue, Oct 16, 2018 at 5:33 AM Guo Ren wrote: > > > > > > > > Support dword access for get_user_size and

Re: [PATCH V9 21/21] csky: support dword access for get_user_size()

2018-10-18 Thread Arnd Bergmann
On Thu, Oct 18, 2018 at 5:41 AM Guo Ren wrote: > > On Wed, Oct 17, 2018 at 05:44:17PM +0200, Arnd Bergmann wrote: > > On Tue, Oct 16, 2018 at 5:33 AM Guo Ren wrote: > > > > > > Support dword access for get_user_size and redesign put_user_size with > > > the same style of get_user_size. It's Ok

Re: [PATCH V9 21/21] csky: support dword access for get_user_size()

2018-10-18 Thread Arnd Bergmann
On Thu, Oct 18, 2018 at 5:41 AM Guo Ren wrote: > > On Wed, Oct 17, 2018 at 05:44:17PM +0200, Arnd Bergmann wrote: > > On Tue, Oct 16, 2018 at 5:33 AM Guo Ren wrote: > > > > > > Support dword access for get_user_size and redesign put_user_size with > > > the same style of get_user_size. It's Ok

Re: [PATCH V9 21/21] csky: support dword access for get_user_size()

2018-10-17 Thread Guo Ren
On Wed, Oct 17, 2018 at 05:44:17PM +0200, Arnd Bergmann wrote: > On Tue, Oct 16, 2018 at 5:33 AM Guo Ren wrote: > > > > Support dword access for get_user_size and redesign put_user_size with > > the same style of get_user_size. It's Ok to use xxx_user_asm_common for > > all size of variable with

Re: [PATCH V9 21/21] csky: support dword access for get_user_size()

2018-10-17 Thread Guo Ren
On Wed, Oct 17, 2018 at 05:44:17PM +0200, Arnd Bergmann wrote: > On Tue, Oct 16, 2018 at 5:33 AM Guo Ren wrote: > > > > Support dword access for get_user_size and redesign put_user_size with > > the same style of get_user_size. It's Ok to use xxx_user_asm_common for > > all size of variable with

Re: [PATCH V9 21/21] csky: support dword access for get_user_size()

2018-10-17 Thread Arnd Bergmann
On Tue, Oct 16, 2018 at 5:33 AM Guo Ren wrote: > > Support dword access for get_user_size and redesign put_user_size with > the same style of get_user_size. It's Ok to use xxx_user_asm_common for > all size of variable with ldb, ldh, ldw, ld.d > > ld.d rx, (addr, 0) could "rx <= addr" "and r(x+1)

Re: [PATCH V9 21/21] csky: support dword access for get_user_size()

2018-10-17 Thread Arnd Bergmann
On Tue, Oct 16, 2018 at 5:33 AM Guo Ren wrote: > > Support dword access for get_user_size and redesign put_user_size with > the same style of get_user_size. It's Ok to use xxx_user_asm_common for > all size of variable with ldb, ldh, ldw, ld.d > > ld.d rx, (addr, 0) could "rx <= addr" "and r(x+1)

[PATCH V9 21/21] csky: support dword access for get_user_size()

2018-10-15 Thread Guo Ren
Support dword access for get_user_size and redesign put_user_size with the same style of get_user_size. It's Ok to use xxx_user_asm_common for all size of variable with ldb, ldh, ldw, ld.d ld.d rx, (addr, 0) could "rx <= addr" "and r(x+1) <= addr+4" and this also follow abiv2 gcc ABI for dword

[PATCH V9 21/21] csky: support dword access for get_user_size()

2018-10-15 Thread Guo Ren
Support dword access for get_user_size and redesign put_user_size with the same style of get_user_size. It's Ok to use xxx_user_asm_common for all size of variable with ldb, ldh, ldw, ld.d ld.d rx, (addr, 0) could "rx <= addr" "and r(x+1) <= addr+4" and this also follow abiv2 gcc ABI for dword