Re: [PATCH] xtensa: always retrieve all syscall arguments

2013-05-07 Thread Chris Zankel
Hi Dimitry, Thanks for fixing Xtensa. I recompiled head (de462cf99b2826a564f026cf79b631a1e10dad85) and verified that it works. -Chris On 05/06/2013 07:02 PM, Dmitry V. Levin wrote: > On Mon, May 06, 2013 at 09:49:22PM -0400, Mike Frysinger wrote: >> i think you do point out though that the value

Re: [PATCH] xtensa: always retrieve all syscall arguments

2013-05-06 Thread Chris Zankel
Hi Dimitry, On 05/06/2013 04:15 PM, Dmitry V. Levin wrote: > On Mon, May 06, 2013 at 03:17:55PM -0700, Chris Zankel wrote: >> The number of arguments specified in syscallent.h does not include >> registers that are skipped to align 64-bit arguments to even/odd >> regis

[PATCH] xtensa: disable socket and ipc subcall support

2013-05-06 Thread Chris Zankel
The Xtensa architecture also used dedicated syscalls and doesn't need to multiplex ipc and socket subcalls. * linux/syscall.h: Do not define SYS_socket_subcall and SYS_ipc_subcall for xtensa. Signed-off-by: Chris Zankel --- linux/syscall.h |3 ++- 1 file changed, 2 insertions(

[PATCH] xtensa: always retrieve all syscall arguments

2013-05-06 Thread Chris Zankel
The number of arguments specified in syscallent.h does not include registers that are skipped to align 64-bit arguments to even/odd register pairs. So, always retrieve all registers used for arguments. * syscall.c (get_syscall_args): always retrieve all syscall arguments Signed-off-by: Chris

Re: Upcoming release in May

2013-05-06 Thread Chris Zankel
Hi, Tested 6b03c9b5ced3d4f0d641443a73bd34ba481dbd1a for Xtensa. Builds fine and runs some simple tests. However I found a couple of issues and have sent patches to this list. * We didn't retrieve enough registers from the kernel when we skip registers to align 64-bit arguments to even/odd register

Re: [PATCH] Add support for Xtensa

2013-03-30 Thread Chris Zankel
Hi Dmitry, On 3/30/13 6:44 PM, Dmitry V. Levin wrote: > On Mon, Mar 25, 2013 at 10:29:05AM -0700, Chris Zankel wrote: >> On 03/22/2013 06:12 PM, Dmitry V. Levin wrote: >> >>> In this and other similar places, please collapse blocks of undefined >>>

Re: [PATCH] Add support for Xtensa

2013-03-26 Thread Chris Zankel
Hi Denys, On 03/26/2013 04:25 AM, Denys Vlasenko wrote: > On 03/25/2013 06:29 PM, Chris Zankel wrote: >> I checked again, but couldn't find a good way to use the regset >> directly. As a recap, Xtensa is a configurable processor with a >> variable number of intern

Re: [PATCH] Add support for Xtensa

2013-03-25 Thread Chris Zankel
Hi Dimitry, On 03/22/2013 06:12 PM, Dmitry V. Levin wrote: > On Fri, Mar 22, 2013 at 05:09:23PM -0700, Chris Zankel wrote: >> It would be great if you could apply the attached patch to add support >> for the Xtensa architecture. Xtensa was added to the kernel a long time >>

Re: [PATCH] Add support for Xtensa

2013-03-23 Thread Chris Zankel
Hi Dmitry, Thanks for your quick response. On 03/22/2013 06:12 PM, Dmitry V. Levin wrote: > > + { MA, 0, printargs, "SYS_2" }, /* 2 */ > + { MA, 0, printargs, "SYS_3" }, /* 3 */ > + { MA, 0, printargs, "SYS_4"

[PATCH] Add support for Xtensa

2013-03-22 Thread Chris Zankel
rom 870e5a9c11b711550493b46cdfc7b3241971c85a Mon Sep 17 00:00:00 2001 From: Chris Zankel Date: Fri, 22 Mar 2013 17:00:08 -0700 Subject: [PATCH] Add support for the XTENSA architecture * configure.ac: Add XTENSA to the list of supported architectures. * defs.h: Add XTENSA support. * linux/xte