Re: [Qemu-devel] [Qemu-ppc] [PATCH RFC v1 0/3] Enable MTTCG on PPC64

2017-04-11 Thread Alex Bennée
Benjamin Herrenschmidt writes: > On Tue, 2017-04-11 at 14:28 +0200, Cédric Le Goater wrote: >> I really don't know. >> >> Ben, now that we have mttcg activated by default on ppc, it takes >> a while for the linux kernel to do the early setup. I think we are >> in the code section where we spin l

Re: [Qemu-devel] [Qemu-ppc] [PATCH RFC v1 0/3] Enable MTTCG on PPC64

2017-04-11 Thread Benjamin Herrenschmidt
On Tue, 2017-04-11 at 14:28 +0200, Cédric Le Goater wrote: > I really don't know.  > > Ben, now that we have mttcg activated by default on ppc, it takes  > a while for the linux kernel to do the early setup. I think we are > in the code section where we spin loop the secondaries. Most of the > tim

Re: [Qemu-devel] [Qemu-ppc] [PATCH RFC v1 0/3] Enable MTTCG on PPC64

2017-04-11 Thread Cédric Le Goater
On 04/10/2017 07:20 PM, Alex Bennée wrote: > > Cédric Le Goater writes: > >> On 04/07/2017 08:07 AM, Cédric Le Goater wrote: >>> On 04/07/2017 07:24 AM, Nikunj A Dadhania wrote: Cédric Le Goater writes: > Hello Nikunj, > > On 04/06/2017 12:22 PM, Nikunj A Dadhania wrote: >

Re: [Qemu-devel] [Qemu-ppc] [PATCH RFC v1 0/3] Enable MTTCG on PPC64

2017-04-10 Thread Alex Bennée
Cédric Le Goater writes: > On 04/07/2017 08:07 AM, Cédric Le Goater wrote: >> On 04/07/2017 07:24 AM, Nikunj A Dadhania wrote: >>> Cédric Le Goater writes: >>> Hello Nikunj, On 04/06/2017 12:22 PM, Nikunj A Dadhania wrote: > The series enables Multi-Threaded TCG on PPC64

Re: [Qemu-devel] [Qemu-ppc] [PATCH RFC v1 0/3] Enable MTTCG on PPC64

2017-04-10 Thread Nikunj A Dadhania
Cédric Le Goater writes: > On 04/10/2017 06:44 PM, Nikunj A Dadhania wrote: >> Cédric Le Goater writes: >> >>> On 04/07/2017 08:07 AM, Cédric Le Goater wrote: On 04/07/2017 07:24 AM, Nikunj A Dadhania wrote: > Cédric Le Goater writes: sure. pnv is still on 2.9, so I will reb

Re: [Qemu-devel] [Qemu-ppc] [PATCH RFC v1 0/3] Enable MTTCG on PPC64

2017-04-10 Thread Cédric Le Goater
On 04/10/2017 06:44 PM, Nikunj A Dadhania wrote: > Cédric Le Goater writes: > >> On 04/07/2017 08:07 AM, Cédric Le Goater wrote: >>> On 04/07/2017 07:24 AM, Nikunj A Dadhania wrote: Cédric Le Goater writes: > Hello Nikunj, > > On 04/06/2017 12:22 PM, Nikunj A Dadhania wrote

Re: [Qemu-devel] [Qemu-ppc] [PATCH RFC v1 0/3] Enable MTTCG on PPC64

2017-04-10 Thread Nikunj A Dadhania
Cédric Le Goater writes: > On 04/07/2017 08:07 AM, Cédric Le Goater wrote: >> On 04/07/2017 07:24 AM, Nikunj A Dadhania wrote: >>> Cédric Le Goater writes: >>> Hello Nikunj, On 04/06/2017 12:22 PM, Nikunj A Dadhania wrote: > The series enables Multi-Threaded TCG on PPC64 >

Re: [Qemu-devel] [Qemu-ppc] [PATCH RFC v1 0/3] Enable MTTCG on PPC64

2017-04-10 Thread Cédric Le Goater
On 04/07/2017 08:07 AM, Cédric Le Goater wrote: > On 04/07/2017 07:24 AM, Nikunj A Dadhania wrote: >> Cédric Le Goater writes: >> >>> Hello Nikunj, >>> >>> On 04/06/2017 12:22 PM, Nikunj A Dadhania wrote: The series enables Multi-Threaded TCG on PPC64 Patch 01: Use atomic_cmpxchg in

Re: [Qemu-devel] [Qemu-ppc] [PATCH RFC v1 0/3] Enable MTTCG on PPC64

2017-04-06 Thread Cédric Le Goater
On 04/07/2017 07:24 AM, Nikunj A Dadhania wrote: > Cédric Le Goater writes: > >> Hello Nikunj, >> >> On 04/06/2017 12:22 PM, Nikunj A Dadhania wrote: >>> The series enables Multi-Threaded TCG on PPC64 >>> >>> Patch 01: Use atomic_cmpxchg in store conditional >>> 02: Handle first write to pa

Re: [Qemu-devel] [Qemu-ppc] [PATCH RFC v1 0/3] Enable MTTCG on PPC64

2017-04-06 Thread Nikunj A Dadhania
Cédric Le Goater writes: > Hello Nikunj, > > On 04/06/2017 12:22 PM, Nikunj A Dadhania wrote: >> The series enables Multi-Threaded TCG on PPC64 >> >> Patch 01: Use atomic_cmpxchg in store conditional >> 02: Handle first write to page during atomic operation >> 03: Generate memory bar

Re: [Qemu-devel] [Qemu-ppc] [PATCH RFC v1 0/3] Enable MTTCG on PPC64

2017-04-06 Thread luigi burdo
Hi i can help test it too on my two Be machine. If some one help me to find where is the patch or where i can download the commits Thanks Luigi

Re: [Qemu-devel] [Qemu-ppc] [PATCH RFC v1 0/3] Enable MTTCG on PPC64

2017-04-06 Thread G 3
On Apr 6, 2017, at 1:08 PM, luigi burdo wrote: Hi i can help test it too on my two Be machine. If some one help me to find where is the patch or where i can download the commits Thanks Luigi Here are the patches: 1/3 https://patchwork.ozlabs.org/patch/747691/ 2/3 https://patch

Re: [Qemu-devel] [Qemu-ppc] [PATCH RFC v1 0/3] Enable MTTCG on PPC64

2017-04-06 Thread G 3
On Apr 6, 2017, at 9:32 AM, Cédric Le Goater wrote: On 04/06/2017 03:28 PM, G 3 wrote: On Apr 6, 2017, at 9:26 AM, Cédric Le Goater wrote: Hello Nikunj, On 04/06/2017 12:22 PM, Nikunj A Dadhania wrote: The series enables Multi-Threaded TCG on PPC64 Patch 01: Use atomic_cmpxchg in store c

Re: [Qemu-devel] [Qemu-ppc] [PATCH RFC v1 0/3] Enable MTTCG on PPC64

2017-04-06 Thread G 3
On Apr 6, 2017, at 9:26 AM, Cédric Le Goater wrote: Hello Nikunj, On 04/06/2017 12:22 PM, Nikunj A Dadhania wrote: The series enables Multi-Threaded TCG on PPC64 Patch 01: Use atomic_cmpxchg in store conditional 02: Handle first write to page during atomic operation 03: Generate

Re: [Qemu-devel] [Qemu-ppc] [PATCH RFC v1 0/3] Enable MTTCG on PPC64

2017-04-06 Thread Cédric Le Goater
On 04/06/2017 03:28 PM, G 3 wrote: > > On Apr 6, 2017, at 9:26 AM, Cédric Le Goater wrote: > >> Hello Nikunj, >> >> On 04/06/2017 12:22 PM, Nikunj A Dadhania wrote: >>> The series enables Multi-Threaded TCG on PPC64 >>> >>> Patch 01: Use atomic_cmpxchg in store conditional >>> 02: Handle fi

Re: [Qemu-devel] [Qemu-ppc] [PATCH RFC v1 0/3] Enable MTTCG on PPC64

2017-04-06 Thread Cédric Le Goater
Hello Nikunj, On 04/06/2017 12:22 PM, Nikunj A Dadhania wrote: > The series enables Multi-Threaded TCG on PPC64 > > Patch 01: Use atomic_cmpxchg in store conditional > 02: Handle first write to page during atomic operation > 03: Generate memory barriers for sync/isync and load/store c