Re: [PATCH v5] powerpc32: provide VIRT_CPU_ACCOUNTING

2016-02-22 Thread Michael Ellerman
On Mon, 2016-02-22 at 20:15 -0600, Scott Wood wrote: > On Tue, 2016-02-23 at 13:04 +1100, Michael Ellerman wrote: > > On Tue, 2016-02-16 at 15:21 -0600, Scott Wood wrote: > > > On Thu, 2016-02-11 at 17:16 +0100, Christophe Leroy wrote: > > > > This patch provides VIRT_CPU_ACCOUTING to PPC32 archite

Re: [PATCH v5] powerpc32: provide VIRT_CPU_ACCOUNTING

2016-02-22 Thread Scott Wood
On Tue, 2016-02-23 at 13:04 +1100, Michael Ellerman wrote: > On Tue, 2016-02-16 at 15:21 -0600, Scott Wood wrote: > > > On Thu, 2016-02-11 at 17:16 +0100, Christophe Leroy wrote: > > > > This patch provides VIRT_CPU_ACCOUTING to PPC32 architecture. > > > PPC32 doesn't have the PACA structure, so

Re: [PATCH v5] powerpc32: provide VIRT_CPU_ACCOUNTING

2016-02-22 Thread Michael Ellerman
On Tue, 2016-02-16 at 15:21 -0600, Scott Wood wrote: > On Thu, 2016-02-11 at 17:16 +0100, Christophe Leroy wrote: > > This patch provides VIRT_CPU_ACCOUTING to PPC32 architecture. > > PPC32 doesn't have the PACA structure, so we use the task_info > > structure to store the accounting data. > > >

Re: [PATCH v5] powerpc32: provide VIRT_CPU_ACCOUNTING

2016-02-22 Thread Scott Wood
On Wed, 2016-02-17 at 17:29 +0100, Christophe Leroy wrote: > > Le 16/02/2016 22:21, Scott Wood a écrit : > > On Thu, 2016-02-11 at 17:16 +0100, Christophe Leroy wrote: > > > This patch provides VIRT_CPU_ACCOUTING to PPC32 architecture. > > > PPC32 doesn't have the PACA structure, so we use the tas

Re: [PATCH v5] powerpc32: provide VIRT_CPU_ACCOUNTING

2016-02-17 Thread Christophe Leroy
Le 16/02/2016 22:21, Scott Wood a écrit : On Thu, 2016-02-11 at 17:16 +0100, Christophe Leroy wrote: This patch provides VIRT_CPU_ACCOUTING to PPC32 architecture. PPC32 doesn't have the PACA structure, so we use the task_info structure to store the accounting data. In order to reuse on PPC32

Re: [PATCH v5] powerpc32: provide VIRT_CPU_ACCOUNTING

2016-02-16 Thread Scott Wood
On Thu, 2016-02-11 at 17:16 +0100, Christophe Leroy wrote: > This patch provides VIRT_CPU_ACCOUTING to PPC32 architecture. > PPC32 doesn't have the PACA structure, so we use the task_info > structure to store the accounting data. > > In order to reuse on PPC32 the PPC64 functions, all u64 data has

Re: [PATCH v5] powerpc32: provide VIRT_CPU_ACCOUNTING

2016-02-15 Thread Christophe Leroy
Le 14/02/2016 21:40, Denis Kirjanov a écrit : On 2/11/16, Christophe Leroy wrote: This patch provides VIRT_CPU_ACCOUTING to PPC32 architecture. PPC32 doesn't have the PACA structure, so we use the task_info structure to store the accounting data. In order to reuse on PPC32 the PPC64 functions,

Re: [PATCH v5] powerpc32: provide VIRT_CPU_ACCOUNTING

2016-02-14 Thread Denis Kirjanov
On 2/11/16, Christophe Leroy wrote: > This patch provides VIRT_CPU_ACCOUTING to PPC32 architecture. > PPC32 doesn't have the PACA structure, so we use the task_info > structure to store the accounting data. > > In order to reuse on PPC32 the PPC64 functions, all u64 data has > been replaced by 'un

Re: [PATCH v5] powerpc32: provide VIRT_CPU_ACCOUNTING

2016-02-12 Thread Denis Kirjanov
On 2/11/16, Christophe Leroy wrote: > This patch provides VIRT_CPU_ACCOUTING to PPC32 architecture. > PPC32 doesn't have the PACA structure, so we use the task_info > structure to store the accounting data. > > In order to reuse on PPC32 the PPC64 functions, all u64 data has > been replaced by 'un

[PATCH v5] powerpc32: provide VIRT_CPU_ACCOUNTING

2016-02-11 Thread Christophe Leroy
This patch provides VIRT_CPU_ACCOUTING to PPC32 architecture. PPC32 doesn't have the PACA structure, so we use the task_info structure to store the accounting data. In order to reuse on PPC32 the PPC64 functions, all u64 data has been replaced by 'unsigned long' so that it is u32 on PPC32 and u64