[Qemu-devel] linux-user: threading issue in the signal handler (Was: [PATCH] sh4-linux-user: fix multi-threading) regression.

2012-04-03 Thread cedric.vincent
On Mon, Mar 26, 2012 at 07:23:58PM +0200, Peter Maydell wrote: > 2012/3/26 Cédric VINCENT : > > the function cpu_restore_state() isn't expected to be called in user-mode, > > Is this really true? host_signal_handler() calls cpu_signal_handler() > calls handle_cpu_signala) calls cpu_restore_state()

Re: [Qemu-devel] [PATCH] sh4-linux-user: fix multi-threading regression.

2012-03-27 Thread cedric.vincent
On Mon, Mar 26, 2012 at 07:23:58PM +0200, Peter Maydell wrote: > 2012/3/26 Cédric VINCENT : > > This reverts commit fd4bab10 "target-sh4: optimize exceptions": > > [cc'ing Aurelien as the author of that commit] > > > the function cpu_restore_state() isn't expected to be called in user-mode, > >

Re: [Qemu-devel] Regression in QEMU user-mode (Was: "tcg: Reload local variables after return from longjmp")

2011-08-29 Thread cedric.vincent
Hi Paolo, On Mon, Aug 29, 2011 at 09:46:37AM +0200, Paolo Bonzini wrote: > On 08/29/2011 09:24 AM, cedric.vinc...@st.com wrote: > >> > > >> > Since you seem to have a nice test case close at hand, could you > >> > please test the fix proposed by Paolo? > > I suppose you are talking about this on

Re: [Qemu-devel] Regression in QEMU user-mode (Was: "tcg: Reload local variables after return from longjmp")

2011-08-29 Thread cedric.vincent
On Fri, Aug 26, 2011 at 07:37:51PM +0200, Blue Swirl wrote: > On Fri, Aug 26, 2011 at 2:28 PM, wrote: > > On Fri, Aug 26, 2011 at 04:19:26PM +0200, Peter Maydell wrote: > >> Yes; we've discussed this before in this thread: > >> http://lists.nongnu.org/archive/html/qemu-devel/2011-08/msg01623.html

Re: [Qemu-devel] Regression in QEMU user-mode (Was: "tcg: Reload local variables after return from longjmp")

2011-08-26 Thread cedric.vincent
On Fri, Aug 26, 2011 at 04:19:26PM +0200, Peter Maydell wrote: > Yes; we've discussed this before in this thread: > http://lists.nongnu.org/archive/html/qemu-devel/2011-08/msg01623.html > > That commit breaks multi-threaded usermode programs (well, even > more than they usually are). I think we de

[Qemu-devel] Regression in QEMU user-mode (Was: "tcg: Reload local variables after return from longjmp")

2011-08-26 Thread cedric.vincent
Hi Jan Kiszka & Blue Swirl, Hi would like to report a strange behaviour exposed by commit 0d101938 "tcg: Reload local variables after return from longjmp" (found with `git bisect` and then reverted to be sure). When emulating in *user-mode* the program `msgmerge`, I get the following error(s):

Re: [Qemu-devel] [PATCH 5/7] linux-user: Add syscall numbers from kernel 2.6.39.2

2011-07-11 Thread cedric.vincent
On Mon, Jul 11, 2011 at 04:11:00PM +0200, riku.voi...@iki.fi wrote: > From: Peter Maydell > > Add syscall numbers for new syscall numbers; this brings us > into line with Linux 2.6.39.2. The syscall #123 on SH4 should be "TARGET_NR_cacheflush" instead of "TARGET_NR_modify_ldt" [1]. The only con

Re: [Qemu-devel] [PATCH] arm-semi: Provide access to CLI arguments passed through the "-append" option

2011-06-28 Thread cedric.vincent
Ping. On 06/16/2011, Cedric VINCENT wrote: > This patch basically adapts the new semi-hosting command-line support > -- introduced by Wolfgang Schildbach in the commit 2e8785ac -- for use > in system-mode.

Re: [Qemu-devel] [PATCH 02/18] linux-user: Fix the load of ELF files that have no "useful" symbol

2011-06-21 Thread cedric.vincent
On Mon, Jun 20, 2011 at 06:20:07PM +0200, riku.voi...@iki.fi wrote: > > Signed-off-by: Cédric VINCENT > Signed-off-by: Yves JANIN > Signed-off-by: Riku Voipio The tag "Reviewed-by: Richard Henderson " is missing: http://lists.gnu.org/archive/html/qemu-devel/2011-06/msg00075.html

Re: [Qemu-devel] [PATCH 07/18] linux-user: Fix the computation of the requested heap size

2011-06-21 Thread cedric.vincent
On Mon, Jun 20, 2011 at 06:20:12PM +0200, riku.voi...@iki.fi wrote: > linux-user/syscall.c | 11 ++- > 1 files changed, 6 insertions(+), 5 deletions(-) This is not the latest version of the patch (that one introduced some regressions): http://patchwork.ozlabs.org/patch/100492/

Re: [Qemu-devel] [PATCH 09/18] linux-user: Define AT_RANDOM to support target stack protection mechanism.

2011-06-21 Thread cedric.vincent
On Mon, Jun 20, 2011 at 06:20:14PM +0200, riku.voi...@iki.fi wrote: > > 8<8<8<8<8<8<8<8<8<8<8<8< Looks like this mail was not extracted with "--scissors", the text above this line is not part of the commit message. Regards, Cédric.

Re: [Qemu-devel] [PATCH] linux-user: Define AT_RANDOM to support target dynamic linkers that do ASLR

2011-06-02 Thread cedric.vincent
On Wed, Jun 01, 2011 at 05:33:55PM +0200, Richard Henderson wrote: > On 06/01/2011 06:47 AM, cedric.vinc...@st.com wrote: > > On Wed, Jun 01, 2011 at 03:26:09PM +0200, Richard Henderson wrote: > >> > >> 16 bytes, not 16 bits. > > > > You're right it's not 16 bits, it's "sizeof(uintptr_t)" actually

Re: [Qemu-devel] [PATCH] linux-user: Define AT_RANDOM to support target dynamic linkers that do ASLR

2011-06-01 Thread cedric.vincent
On Wed, Jun 01, 2011 at 03:26:09PM +0200, Richard Henderson wrote: > > 16 bytes, not 16 bits. You're right it's not 16 bits, it's "sizeof(uintptr_t)" actually: http://repo.or.cz/w/glibc.git/blob/glibc-2.10:/sysdeps/unix/sysv/linux/dl-osinfo.h#l89 > Typos for auxiliary and readable. Thank