Re: [Qemu-devel] [RFC PATCH V7 00/19] Multithread TCG.

2015-10-21 Thread Claudio Fontana
On 07.10.2015 16:52, Frederic Konrad wrote: > Hi Claudio, > > I'll rebase soon tomorrow with a bit of luck ;). > > Thanks, > Fred a respectful ping on this one :-) I am looking at http://git.greensocs.com/fkonrad/mttcg.git branch multi_tcg_v7_bugfixed, is there something new? Ciao, Claudio >

Re: [Qemu-devel] [RFC PATCH V7 00/19] Multithread TCG.

2015-10-07 Thread Frederic Konrad
Hi Claudio, I'll rebase soon tomorrow with a bit of luck ;). Thanks, Fred On 07/10/2015 14:46, Claudio Fontana wrote: > Hello Frederic, > > On 11.08.2015 08:27, Frederic Konrad wrote: >> On 11/08/2015 08:15, Benjamin Herrenschmidt wrote: >>> On Mon, 2015-08-10 at 17:26 +0200, fred.kon...@greenso

Re: [Qemu-devel] [RFC PATCH V7 00/19] Multithread TCG.

2015-10-07 Thread Claudio Fontana
Hello Frederic, On 11.08.2015 08:27, Frederic Konrad wrote: > On 11/08/2015 08:15, Benjamin Herrenschmidt wrote: >> On Mon, 2015-08-10 at 17:26 +0200, fred.kon...@greensocs.com wrote: >>> From: KONRAD Frederic >>> >>> This is the 7th round of the MTTCG patch series. >>> >>> >>> It can be cloned f

Re: [Qemu-devel] [RFC PATCH V7 00/19] Multithread TCG.

2015-08-12 Thread Paolo Bonzini
On 12/08/2015 17:19, Frederic Konrad wrote: > BTW that affect KVM as well. Seems this mechanism is used as well with > qemu_cpu_kick_self().. Which is a little strange as it seems the SIGIPI > trigger a > dummy signal handler? > > memset(&sigact, 0, sizeof(sigact)); > sigact.sa_handler =

Re: [Qemu-devel] [RFC PATCH V7 00/19] Multithread TCG.

2015-08-12 Thread Frederic Konrad
On 11/08/2015 15:59, Frederic Konrad wrote: On 11/08/2015 14:45, Paolo Bonzini wrote: On 10/08/2015 17:26, fred.kon...@greensocs.com wrote: From: KONRAD Frederic This is the 7th round of the MTTCG patch series. Thanks to look at this. Here is a list of issues that I found: - tb_lock usage

Re: [Qemu-devel] [RFC PATCH V7 00/19] Multithread TCG.

2015-08-11 Thread Alex Bennée
Benjamin Herrenschmidt writes: > On Tue, 2015-08-11 at 08:54 +0100, Alex Bennée wrote: >> >> > How do you handle the memory model ? IE , ARM and PPC are OO while x86 >> > is (mostly) in order, so emulating ARM/PPC on x86 is fine but emulating >> > x86 on ARM or PPC will lead to problems unless

Re: [Qemu-devel] [RFC PATCH V7 00/19] Multithread TCG.

2015-08-11 Thread Paolo Bonzini
On 11/08/2015 15:59, Frederic Konrad wrote: >> - tb_lock usage in tb_find_fast is complicated and introduces the need >> for other complicated code such as the tb_invalidate callback. Instead, >> the tb locking should reuse the cpu-exec.c code for user-mode emulation, >> with additional locking

Re: [Qemu-devel] [RFC PATCH V7 00/19] Multithread TCG.

2015-08-11 Thread Frederic Konrad
On 11/08/2015 14:45, Paolo Bonzini wrote: On 10/08/2015 17:26, fred.kon...@greensocs.com wrote: From: KONRAD Frederic This is the 7th round of the MTTCG patch series. Thanks to look at this. Here is a list of issues that I found: - tb_lock usage in tb_find_fast is complicated and introduces

Re: [Qemu-devel] [RFC PATCH V7 00/19] Multithread TCG.

2015-08-11 Thread Paolo Bonzini
On 10/08/2015 17:26, fred.kon...@greensocs.com wrote: > From: KONRAD Frederic > > This is the 7th round of the MTTCG patch series. Here is a list of issues that I found: - tb_lock usage in tb_find_fast is complicated and introduces the need for other complicated code such as the tb_invalidate c

Re: [Qemu-devel] [RFC PATCH V7 00/19] Multithread TCG.

2015-08-11 Thread Benjamin Herrenschmidt
On Tue, 2015-08-11 at 10:29 +0100, Peter Maydell wrote: > Is it possible in some of these combinations to use the load-acquire > and store-release instructions rather than explicit barriers? > (ARMv8 has those, which I think should be slightly less heavyweight > than explicit barriers everywhere, i

Re: [Qemu-devel] [RFC PATCH V7 00/19] Multithread TCG.

2015-08-11 Thread Peter Maydell
On 11 August 2015 at 10:22, Benjamin Herrenschmidt wrote: > On Tue, 2015-08-11 at 08:54 +0100, Alex Bennée wrote: >> >> > How do you handle the memory model ? IE , ARM and PPC are OO while x86 >> > is (mostly) in order, so emulating ARM/PPC on x86 is fine but emulating >> > x86 on ARM or PPC will

Re: [Qemu-devel] [RFC PATCH V7 00/19] Multithread TCG.

2015-08-11 Thread Benjamin Herrenschmidt
On Tue, 2015-08-11 at 08:54 +0100, Alex Bennée wrote: > > > How do you handle the memory model ? IE , ARM and PPC are OO while x86 > > is (mostly) in order, so emulating ARM/PPC on x86 is fine but emulating > > x86 on ARM or PPC will lead to problems unless you generate memory > > barriers with ev

Re: [Qemu-devel] [RFC PATCH V7 00/19] Multithread TCG.

2015-08-11 Thread Alex Bennée
Benjamin Herrenschmidt writes: > On Mon, 2015-08-10 at 17:26 +0200, fred.kon...@greensocs.com wrote: >> From: KONRAD Frederic >> >> This is the 7th round of the MTTCG patch series. >> >> >> It can be cloned from: >> g...@git.greensocs.com:fkonrad/mttcg.git branch multi_tcg_v7. >> >> This pa

Re: [Qemu-devel] [RFC PATCH V7 00/19] Multithread TCG.

2015-08-10 Thread Frederic Konrad
On 11/08/2015 08:15, Benjamin Herrenschmidt wrote: On Mon, 2015-08-10 at 17:26 +0200, fred.kon...@greensocs.com wrote: From: KONRAD Frederic This is the 7th round of the MTTCG patch series. It can be cloned from: g...@git.greensocs.com:fkonrad/mttcg.git branch multi_tcg_v7. This patch-set t

Re: [Qemu-devel] [RFC PATCH V7 00/19] Multithread TCG.

2015-08-10 Thread Benjamin Herrenschmidt
On Mon, 2015-08-10 at 17:26 +0200, fred.kon...@greensocs.com wrote: > From: KONRAD Frederic > > This is the 7th round of the MTTCG patch series. > > > It can be cloned from: > g...@git.greensocs.com:fkonrad/mttcg.git branch multi_tcg_v7. > > This patch-set try to address the different issues i

Re: [Qemu-devel] [RFC PATCH V7 00/19] Multithread TCG.

2015-08-10 Thread Frederic Konrad
On 10/08/2015 20:34, Alex Bennée wrote: fred.kon...@greensocs.com writes: From: KONRAD Frederic This is the 7th round of the MTTCG patch series. It can be cloned from: g...@git.greensocs.com:fkonrad/mttcg.git branch multi_tcg_v7. I'm not seeing this yet, did you remember to push? oops sor

Re: [Qemu-devel] [RFC PATCH V7 00/19] Multithread TCG.

2015-08-10 Thread Alex Bennée
fred.kon...@greensocs.com writes: > From: KONRAD Frederic > > This is the 7th round of the MTTCG patch series. > > > It can be cloned from: > g...@git.greensocs.com:fkonrad/mttcg.git branch multi_tcg_v7. I'm not seeing this yet, did you remember to push? > > This patch-set try to address the

[Qemu-devel] [RFC PATCH V7 00/19] Multithread TCG.

2015-08-10 Thread fred . konrad
From: KONRAD Frederic This is the 7th round of the MTTCG patch series. It can be cloned from: g...@git.greensocs.com:fkonrad/mttcg.git branch multi_tcg_v7. This patch-set try to address the different issues in the global picture of MTTCG, presented on the wiki. == Needed patch for our work ==