Re: [Qemu-devel] Status of my hacks on the MTTCG WIP branch

2016-01-19 Thread alvise rigo
On Mon, Jan 18, 2016 at 8:09 PM, Alex Bennée wrote: > > > Alex Bennée writes: > > > alvise rigo writes: > > > >> On Fri, Jan 15, 2016 at 4:25 PM, Alex Bennée > >> wrote: > >>> > >>> alvise

Re: [Qemu-devel] Status of my hacks on the MTTCG WIP branch

2016-01-18 Thread Alex Bennée
Alex Bennée writes: > alvise rigo writes: > >> On Fri, Jan 15, 2016 at 4:25 PM, Alex Bennée wrote: >>> >>> alvise rigo writes: >>> On Fri, Jan 15, 2016 at 3:51 PM, Alex Bennée

Re: [Qemu-devel] Status of my hacks on the MTTCG WIP branch

2016-01-15 Thread Alex Bennée
Pranith Kumar writes: > Hi Alex, > > On Tue, Jan 12, 2016 at 12:29 PM, Alex Bennée > wrote: > >> > https://github.com/stsquad/qemu/tree/mttcg/multi_tcg_v8_wip_ajb_fix_locks >> > > I built this branch and ran an arm64 guest. It seems to be failing

Re: [Qemu-devel] Status of my hacks on the MTTCG WIP branch

2016-01-15 Thread alvise rigo
This problem could be related to a missing multi-threaded aware translation of the atomic instructions. I'm working on this missing piece, probably the next week I will publish something. Regards, alvise On Fri, Jan 15, 2016 at 3:24 PM, Pranith Kumar wrote: > Hi Alex, > >

Re: [Qemu-devel] Status of my hacks on the MTTCG WIP branch

2016-01-15 Thread KONRAD Frederic
Le 15/01/2016 15:24, Pranith Kumar a écrit : Hi Alex, On Fri, Jan 15, 2016 at 8:53 AM, Alex Bennée > wrote: > Can you try this branch: > > https://github.com/stsquad/qemu/tree/mttcg/multi_tcg_v8_wip_ajb_fix_locks-r1 > > I think I've

Re: [Qemu-devel] Status of my hacks on the MTTCG WIP branch

2016-01-15 Thread Alex Bennée
alvise rigo writes: > This problem could be related to a missing multi-threaded aware > translation of the atomic instructions. > I'm working on this missing piece, probably the next week I will > publish something. Maybe. We still have Fred's: Use atomic

Re: [Qemu-devel] Status of my hacks on the MTTCG WIP branch

2016-01-15 Thread Alex Bennée
alvise rigo writes: > On Fri, Jan 15, 2016 at 3:51 PM, Alex Bennée wrote: >> >> alvise rigo writes: >> >>> This problem could be related to a missing multi-threaded aware >>> translation of the atomic

Re: [Qemu-devel] Status of my hacks on the MTTCG WIP branch

2016-01-15 Thread KONRAD Frederic
Le 15/01/2016 15:46, Alex Bennée a écrit : KONRAD Frederic writes: Le 15/01/2016 15:24, Pranith Kumar a écrit : Hi Alex, On Fri, Jan 15, 2016 at 8:53 AM, Alex Bennée > wrote: Can you try this branch:

Re: [Qemu-devel] Status of my hacks on the MTTCG WIP branch

2016-01-15 Thread alvise rigo
On Fri, Jan 15, 2016 at 3:51 PM, Alex Bennée wrote: > > alvise rigo writes: > >> This problem could be related to a missing multi-threaded aware >> translation of the atomic instructions. >> I'm working on this missing piece, probably the

Re: [Qemu-devel] Status of my hacks on the MTTCG WIP branch

2016-01-15 Thread Pranith Kumar
Hi Alex, On Fri, Jan 15, 2016 at 8:53 AM, Alex Bennée wrote: > Can you try this branch: > > https://github.com/stsquad/qemu/tree/mttcg/multi_tcg_v8_wip_ajb_fix_locks-r1 > > I think I've caught all the things likely to screw up addressing. > I tried this branch and the

Re: [Qemu-devel] Status of my hacks on the MTTCG WIP branch

2016-01-15 Thread Alex Bennée
KONRAD Frederic writes: > Le 15/01/2016 15:24, Pranith Kumar a écrit : >> Hi Alex, >> >> On Fri, Jan 15, 2016 at 8:53 AM, Alex Bennée > > wrote: >> > Can you try this branch: >> > >> > >>

Re: [Qemu-devel] Status of my hacks on the MTTCG WIP branch

2016-01-15 Thread Alex Bennée
alvise rigo writes: > On Fri, Jan 15, 2016 at 4:25 PM, Alex Bennée wrote: >> >> alvise rigo writes: >> >>> On Fri, Jan 15, 2016 at 3:51 PM, Alex Bennée wrote: alvise rigo

Re: [Qemu-devel] Status of my hacks on the MTTCG WIP branch

2016-01-15 Thread alvise rigo
On Fri, Jan 15, 2016 at 4:25 PM, Alex Bennée wrote: > > alvise rigo writes: > >> On Fri, Jan 15, 2016 at 3:51 PM, Alex Bennée wrote: >>> >>> alvise rigo writes: >>> This problem

Re: [Qemu-devel] Status of my hacks on the MTTCG WIP branch

2016-01-15 Thread Paolo Bonzini
On 15/01/2016 15:49, KONRAD Frederic wrote: > >/* Move the TB to the head of the list */ > -*ptb1 = tb->phys_hash_next; > -tb->phys_hash_next = tcg_ctx.tb_ctx.tb_phys_hash[h]; > -tcg_ctx.tb_ctx.tb_phys_hash[h] = tb; > +//*ptb1 = tb->phys_hash_next; > +//

Re: [Qemu-devel] Status of my hacks on the MTTCG WIP branch

2016-01-14 Thread KONRAD Frederic
Le 14/01/2016 14:10, Alex Bennée a écrit : Alex Bennée writes: Pranith Kumar writes: Hi Alex, On Tue, Jan 12, 2016 at 12:29 PM, Alex Bennée wrote:

Re: [Qemu-devel] Status of my hacks on the MTTCG WIP branch

2016-01-14 Thread Alex Bennée
Alex Bennée writes: > Pranith Kumar writes: > >> Hi Alex, >> >> On Tue, Jan 12, 2016 at 12:29 PM, Alex Bennée >> wrote: >> >>> >> https://github.com/stsquad/qemu/tree/mttcg/multi_tcg_v8_wip_ajb_fix_locks >>> >> >> I built

Re: [Qemu-devel] Status of my hacks on the MTTCG WIP branch

2016-01-14 Thread Alex Bennée
KONRAD Frederic writes: > Le 14/01/2016 14:10, Alex Bennée a écrit : >> Alex Bennée writes: >> >>> Pranith Kumar writes: >>> Hi Alex, On Tue, Jan 12, 2016 at 12:29 PM, Alex Bennée

Re: [Qemu-devel] Status of my hacks on the MTTCG WIP branch

2016-01-13 Thread Alex Bennée
Pranith Kumar writes: > Hi Alex, > > On Tue, Jan 12, 2016 at 12:29 PM, Alex Bennée > wrote: > >> > https://github.com/stsquad/qemu/tree/mttcg/multi_tcg_v8_wip_ajb_fix_locks >> > > I built this branch and ran an arm64 guest. It seems to be failing

Re: [Qemu-devel] Status of my hacks on the MTTCG WIP branch

2016-01-12 Thread Pranith Kumar
Hi Alex, On Tue, Jan 12, 2016 at 12:29 PM, Alex Bennée wrote: > https://github.com/stsquad/qemu/tree/mttcg/multi_tcg_v8_wip_ajb_fix_locks > I built this branch and ran an arm64 guest. It seems to be failing similarly to what I reported earlier: #0 0x72211cc9

[Qemu-devel] Status of my hacks on the MTTCG WIP branch

2016-01-12 Thread Alex Bennée
Hi Fred, OK so I've made progress with the WIP branch you gave me to look at. Basically I've: * re-based to recent master * fixed up exit_request/tcg_current_cpu (in tcg: switch on multithread) * dropped the TLS exit_request and tcg_current_cpu patch * dropped the WIP: lock patch (was