Re: [PATCH v6 13/20] arm64: ilp32: share aarch32 syscall wrappers to ilp32

2015-12-30 Thread Arnd Bergmann
On Wednesday 30 December 2015 20:29:05 Yury Norov wrote: > > So. For ilp32, the only wrapper left here, is compat_sys_mmap2_wrapper. > But this is workaroud, as comment tells: > Note: off_4k (w5) is always in units of 4K. If we can't do the > requested offset because it is not page

Re: [PATCH v6 13/20] arm64: ilp32: share aarch32 syscall wrappers to ilp32

2015-12-30 Thread Yury Norov
On Wed, Dec 23, 2015 at 09:41:54PM +0100, Arnd Bergmann wrote: > On Wednesday 23 December 2015, Catalin Marinas wrote: > > > That means we have to set ARCH_PACK_STATFS64 in the arm64 header files > > > though, and propagate the OABI alignment to arm64/ilp32 as well, rather > > > than using the 88-b

Re: [PATCH v6 13/20] arm64: ilp32: share aarch32 syscall wrappers to ilp32

2015-12-23 Thread Arnd Bergmann
On Wednesday 23 December 2015, Catalin Marinas wrote: > > That means we have to set ARCH_PACK_STATFS64 in the arm64 header files > > though, and propagate the OABI alignment to arm64/ilp32 as well, rather > > than using the 88-byte version that every other 32-bit architecture > > except for x86-32

Re: [PATCH v6 13/20] arm64: ilp32: share aarch32 syscall wrappers to ilp32

2015-12-23 Thread Catalin Marinas
On Tue, Dec 22, 2015 at 10:44:14PM +0100, Arnd Bergmann wrote: > On Tuesday 22 December 2015, Catalin Marinas wrote: > > > + > > > +ENTRY(compat_sys_statfs64_wrapper) > > > + mov w3, #84 > > > + cmp w1, #88 > > > + cselw1, w3, w1, eq > > > + b compat_sys_statfs64 >

Re: [PATCH v6 13/20] arm64: ilp32: share aarch32 syscall wrappers to ilp32

2015-12-22 Thread Yury Norov
On Tue, Dec 22, 2015 at 12:25:15PM +, Catalin Marinas wrote: > On Wed, Dec 16, 2015 at 12:42:39AM +0300, Yury Norov wrote: > > statfs64, fstat64 and mmap_pgoff has wrappers that needed both by aarch32 > > and > > ilp32 to workaround some issues. Here we create common file to share aarch32 > >

Re: [PATCH v6 13/20] arm64: ilp32: share aarch32 syscall wrappers to ilp32

2015-12-22 Thread Arnd Bergmann
On Tuesday 22 December 2015, Catalin Marinas wrote: > > + > > +ENTRY(compat_sys_statfs64_wrapper) > > + mov w3, #84 > > + cmp w1, #88 > > + cselw1, w3, w1, eq > > + b compat_sys_statfs64 > > +ENDPROC(compat_sys_statfs64_wrapper) > > + > > +ENTRY(compat_sys_fstatfs6

Re: [PATCH v6 13/20] arm64: ilp32: share aarch32 syscall wrappers to ilp32

2015-12-22 Thread Catalin Marinas
On Wed, Dec 16, 2015 at 12:42:39AM +0300, Yury Norov wrote: > statfs64, fstat64 and mmap_pgoff has wrappers that needed both by aarch32 and > ilp32 to workaround some issues. Here we create common file to share aarch32 > workarounds to with ilp32 code. [...] > --- /dev/null > +++ b/arch/arm64/kerne

Re: [PATCH v6 13/20] arm64: ilp32: share aarch32 syscall wrappers to ilp32

2015-12-18 Thread Yury Norov
On Thu, Dec 17, 2015 at 03:38:16PM +0100, Andreas Schwab wrote: > Yury Norov writes: > > > From: Jan Dakinevich > > > > statfs64, fstat64 and mmap_pgoff has wrappers that needed both by aarch32 > > and > > Typo: s/fstat64/fstatfs64/ > > Andreas. Thank you. -- To unsubscribe from this list: s

Re: [PATCH v6 13/20] arm64: ilp32: share aarch32 syscall wrappers to ilp32

2015-12-17 Thread Andreas Schwab
Yury Norov writes: > From: Jan Dakinevich > > statfs64, fstat64 and mmap_pgoff has wrappers that needed both by aarch32 and Typo: s/fstat64/fstatfs64/ Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for s