Re: [RFC PATCH v1 14/31] ARC: syscall support

2013-01-16 Thread Vineet Gupta
On Thursday 15 November 2012 06:05 PM, Arnd Bergmann wrote: > On Thursday 15 November 2012, Vineet Gupta wrote: >> So the primary concern here is not breaking the userspace ABI - right ? >> >> For syscalls I agree that we will indeed need to fix the ABI - by fixing >> uClibc. And if uClibc doesn't

Re: [RFC PATCH v1 14/31] ARC: syscall support

2013-01-16 Thread Vineet Gupta
On Thursday 15 November 2012 06:05 PM, Arnd Bergmann wrote: On Thursday 15 November 2012, Vineet Gupta wrote: So the primary concern here is not breaking the userspace ABI - right ? For syscalls I agree that we will indeed need to fix the ABI - by fixing uClibc. And if uClibc doesn't merge

Re: [RFC PATCH v1 14/31] ARC: syscall support

2012-11-15 Thread Arnd Bergmann
On Thursday 15 November 2012, Vineet Gupta wrote: > So the primary concern here is not breaking the userspace ABI - right ? > > For syscalls I agree that we will indeed need to fix the ABI - by fixing > uClibc. And if uClibc doesn't merge the fixes we can stay out of tree > for uClibc - as we

Re: [RFC PATCH v1 14/31] ARC: syscall support

2012-11-15 Thread Arnd Bergmann
On Thursday 15 November 2012, Vineet Gupta wrote: So the primary concern here is not breaking the userspace ABI - right ? For syscalls I agree that we will indeed need to fix the ABI - by fixing uClibc. And if uClibc doesn't merge the fixes we can stay out of tree for uClibc - as we

Re: [RFC PATCH v1 14/31] ARC: syscall support

2012-11-14 Thread Vineet Gupta
On Tuesday 13 November 2012 04:07 PM, Arnd Bergmann wrote: > On Tuesday 13 November 2012, Gilad Ben-Yossef wrote: >> So, I completely agree about not adding more deprecated system call or >> ABIs (thinking about the ptrace regset issues in another patch in the >> same patchset), but on the other

Re: [RFC PATCH v1 14/31] ARC: syscall support

2012-11-14 Thread James Hogan
On 14/11/12 12:23, Arnd Bergmann wrote: > On Tuesday 13 November 2012, James Hogan wrote: >> Hopefully with several architecture maintainers asking for this it might >> get somewhere, but indeed we're aware of the feedback problem on that list. >> >> The points that I've considered for defaulting

Re: [RFC PATCH v1 14/31] ARC: syscall support

2012-11-14 Thread Arnd Bergmann
On Tuesday 13 November 2012, James Hogan wrote: > Hopefully with several architecture maintainers asking for this it might > get somewhere, but indeed we're aware of the feedback problem on that list. > > The points that I've considered for defaulting to old syscalls: > * doesn't change existing

Re: [RFC PATCH v1 14/31] ARC: syscall support

2012-11-14 Thread Arnd Bergmann
On Tuesday 13 November 2012, James Hogan wrote: Hopefully with several architecture maintainers asking for this it might get somewhere, but indeed we're aware of the feedback problem on that list. The points that I've considered for defaulting to old syscalls: * doesn't change existing

Re: [RFC PATCH v1 14/31] ARC: syscall support

2012-11-14 Thread James Hogan
On 14/11/12 12:23, Arnd Bergmann wrote: On Tuesday 13 November 2012, James Hogan wrote: Hopefully with several architecture maintainers asking for this it might get somewhere, but indeed we're aware of the feedback problem on that list. The points that I've considered for defaulting to old

Re: [RFC PATCH v1 14/31] ARC: syscall support

2012-11-14 Thread Vineet Gupta
On Tuesday 13 November 2012 04:07 PM, Arnd Bergmann wrote: On Tuesday 13 November 2012, Gilad Ben-Yossef wrote: So, I completely agree about not adding more deprecated system call or ABIs (thinking about the ptrace regset issues in another patch in the same patchset), but on the other hand I

Re: [RFC PATCH v1 14/31] ARC: syscall support

2012-11-13 Thread James Hogan
On 13/11/12 12:01, Jonas Bonn wrote: > On 13 November 2012 12:41, James Hogan wrote: >> The uClibc patches I mentioned have been posted, see here: >> >> http://lists.busybox.net/pipermail/uclibc/2012-November/047110.html >> >> Please do try them out and provide any feedback. >> > > Hi James, >

Re: [RFC PATCH v1 14/31] ARC: syscall support

2012-11-13 Thread Jonas Bonn
On 13 November 2012 12:41, James Hogan wrote: > The uClibc patches I mentioned have been posted, see here: > > http://lists.busybox.net/pipermail/uclibc/2012-November/047110.html > > Please do try them out and provide any feedback. > Hi James, Many thanks for picking this up... This is the

Re: [RFC PATCH v1 14/31] ARC: syscall support

2012-11-13 Thread James Hogan
On 09/11/12 09:50, James Hogan wrote: > On 07/11/12 14:21, Arnd Bergmann wrote: >> On Wednesday 07 November 2012, Vineet Gupta wrote: >>> + * Being uClibc based we need some of the deprecated syscalls: >>> + * -Not emulated by uClibc at all >>> + * unlink, mkdir,... (needed by Busybox, LTP

Re: [RFC PATCH v1 14/31] ARC: syscall support

2012-11-13 Thread Arnd Bergmann
On Tuesday 13 November 2012, Gilad Ben-Yossef wrote: > So, I completely agree about not adding more deprecated system call or > ABIs (thinking about the ptrace regset issues in another patch in the > same patchset), but on the other hand I have to wonder if having a > port in the tree that doesn't

Re: [RFC PATCH v1 14/31] ARC: syscall support

2012-11-13 Thread Gilad Ben-Yossef
On Wed, Nov 7, 2012 at 4:21 PM, Arnd Bergmann wrote: > On Wednesday 07 November 2012, Vineet Gupta wrote: >> + * Being uClibc based we need some of the deprecated syscalls: >> + * -Not emulated by uClibc at all >> + * unlink, mkdir,... (needed by Busybox, LTP etc) >> + * times (needed by

Re: [RFC PATCH v1 14/31] ARC: syscall support

2012-11-13 Thread Gilad Ben-Yossef
On Wed, Nov 7, 2012 at 4:21 PM, Arnd Bergmann a...@arndb.de wrote: On Wednesday 07 November 2012, Vineet Gupta wrote: + * Being uClibc based we need some of the deprecated syscalls: + * -Not emulated by uClibc at all + * unlink, mkdir,... (needed by Busybox, LTP etc) + * times (needed

Re: [RFC PATCH v1 14/31] ARC: syscall support

2012-11-13 Thread Arnd Bergmann
On Tuesday 13 November 2012, Gilad Ben-Yossef wrote: So, I completely agree about not adding more deprecated system call or ABIs (thinking about the ptrace regset issues in another patch in the same patchset), but on the other hand I have to wonder if having a port in the tree that doesn't

Re: [RFC PATCH v1 14/31] ARC: syscall support

2012-11-13 Thread James Hogan
On 09/11/12 09:50, James Hogan wrote: On 07/11/12 14:21, Arnd Bergmann wrote: On Wednesday 07 November 2012, Vineet Gupta wrote: + * Being uClibc based we need some of the deprecated syscalls: + * -Not emulated by uClibc at all + * unlink, mkdir,... (needed by Busybox, LTP etc) + *

Re: [RFC PATCH v1 14/31] ARC: syscall support

2012-11-13 Thread Jonas Bonn
On 13 November 2012 12:41, James Hogan james.ho...@imgtec.com wrote: The uClibc patches I mentioned have been posted, see here: http://lists.busybox.net/pipermail/uclibc/2012-November/047110.html Please do try them out and provide any feedback. Hi James, Many thanks for picking this up...

Re: [RFC PATCH v1 14/31] ARC: syscall support

2012-11-13 Thread James Hogan
On 13/11/12 12:01, Jonas Bonn wrote: On 13 November 2012 12:41, James Hogan james.ho...@imgtec.com wrote: The uClibc patches I mentioned have been posted, see here: http://lists.busybox.net/pipermail/uclibc/2012-November/047110.html Please do try them out and provide any feedback. Hi

Re: [RFC PATCH v1 14/31] ARC: syscall support

2012-11-09 Thread James Hogan
On 07/11/12 14:21, Arnd Bergmann wrote: > On Wednesday 07 November 2012, Vineet Gupta wrote: >> + * Being uClibc based we need some of the deprecated syscalls: >> + * -Not emulated by uClibc at all >> + * unlink, mkdir,... (needed by Busybox, LTP etc) >> + * times (needed by LTP pan test

Re: [RFC PATCH v1 14/31] ARC: syscall support

2012-11-09 Thread James Hogan
On 07/11/12 14:21, Arnd Bergmann wrote: On Wednesday 07 November 2012, Vineet Gupta wrote: + * Being uClibc based we need some of the deprecated syscalls: + * -Not emulated by uClibc at all + * unlink, mkdir,... (needed by Busybox, LTP etc) + * times (needed by LTP pan test harness)

Re: [RFC PATCH v1 14/31] ARC: syscall support

2012-11-07 Thread Arnd Bergmann
On Wednesday 07 November 2012, Vineet Gupta wrote: > + * Being uClibc based we need some of the deprecated syscalls: > + * -Not emulated by uClibc at all > + * unlink, mkdir,... (needed by Busybox, LTP etc) > + * times (needed by LTP pan test harness) > + * -Not emulated efficiently > + *

[RFC PATCH v1 14/31] ARC: syscall support

2012-11-07 Thread Vineet Gupta
Signed-off-by: Vineet Gupta --- arch/arc/include/asm/ptrace.h |5 ++ arch/arc/include/asm/syscall.h | 72 +++ arch/arc/include/asm/syscalls.h | 30 ++ arch/arc/include/asm/unistd.h | 44 ++ arch/arc/kernel/entry.S | 49

[RFC PATCH v1 14/31] ARC: syscall support

2012-11-07 Thread Vineet Gupta
Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/include/asm/ptrace.h |5 ++ arch/arc/include/asm/syscall.h | 72 +++ arch/arc/include/asm/syscalls.h | 30 ++ arch/arc/include/asm/unistd.h | 44 ++ arch/arc/kernel/entry.S

Re: [RFC PATCH v1 14/31] ARC: syscall support

2012-11-07 Thread Arnd Bergmann
On Wednesday 07 November 2012, Vineet Gupta wrote: + * Being uClibc based we need some of the deprecated syscalls: + * -Not emulated by uClibc at all + * unlink, mkdir,... (needed by Busybox, LTP etc) + * times (needed by LTP pan test harness) + * -Not emulated efficiently + *