Re: [PATCH v6 03/11] powerpc/powernv: Detect supported IMC units and its events

2017-04-17 Thread Anju T Sudhakar
Hi Michael, On Thursday 13 April 2017 05:13 PM, Michael Ellerman wrote: Anju T Sudhakar writes: On Thursday 06 April 2017 02:07 PM, Stewart Smith wrote: Madhavan Srinivasan writes: --- a/arch/powerpc/platforms/powernv/opal-imc.c +++

Re: [PATCH v6 03/11] powerpc/powernv: Detect supported IMC units and its events

2017-04-17 Thread Anju T Sudhakar
Hi Michael, On Thursday 13 April 2017 05:13 PM, Michael Ellerman wrote: Anju T Sudhakar writes: On Thursday 06 April 2017 02:07 PM, Stewart Smith wrote: Madhavan Srinivasan writes: --- a/arch/powerpc/platforms/powernv/opal-imc.c +++ b/arch/powerpc/platforms/powernv/opal-imc.c @@ -33,6

Re: [PATCH v6 03/11] powerpc/powernv: Detect supported IMC units and its events

2017-04-13 Thread Michael Ellerman
Anju T Sudhakar writes: > On Thursday 06 April 2017 02:07 PM, Stewart Smith wrote: >> Madhavan Srinivasan writes: >>> --- a/arch/powerpc/platforms/powernv/opal-imc.c >>> +++ b/arch/powerpc/platforms/powernv/opal-imc.c >>> @@ -33,6 +33,388 @@ >>

Re: [PATCH v6 03/11] powerpc/powernv: Detect supported IMC units and its events

2017-04-13 Thread Michael Ellerman
Anju T Sudhakar writes: > On Thursday 06 April 2017 02:07 PM, Stewart Smith wrote: >> Madhavan Srinivasan writes: >>> --- a/arch/powerpc/platforms/powernv/opal-imc.c >>> +++ b/arch/powerpc/platforms/powernv/opal-imc.c >>> @@ -33,6 +33,388 @@ >> >>> +static void imc_pmu_setup(struct device_node

Re: [PATCH v6 03/11] powerpc/powernv: Detect supported IMC units and its events

2017-04-06 Thread Anju T Sudhakar
Hi Stewart, Thanks for the review. On Thursday 06 April 2017 02:07 PM, Stewart Smith wrote: Madhavan Srinivasan writes: --- a/arch/powerpc/platforms/powernv/opal-imc.c +++ b/arch/powerpc/platforms/powernv/opal-imc.c @@ -33,6 +33,388 @@ +static void

Re: [PATCH v6 03/11] powerpc/powernv: Detect supported IMC units and its events

2017-04-06 Thread Anju T Sudhakar
Hi Stewart, Thanks for the review. On Thursday 06 April 2017 02:07 PM, Stewart Smith wrote: Madhavan Srinivasan writes: --- a/arch/powerpc/platforms/powernv/opal-imc.c +++ b/arch/powerpc/platforms/powernv/opal-imc.c @@ -33,6 +33,388 @@ +static void imc_pmu_setup(struct device_node

Re: [PATCH v6 03/11] powerpc/powernv: Detect supported IMC units and its events

2017-04-06 Thread Stewart Smith
Madhavan Srinivasan writes: > --- a/arch/powerpc/platforms/powernv/opal-imc.c > +++ b/arch/powerpc/platforms/powernv/opal-imc.c > @@ -33,6 +33,388 @@ > +static void imc_pmu_setup(struct device_node *parent) > +{ > + struct device_node *child; > + int pmu_count =

Re: [PATCH v6 03/11] powerpc/powernv: Detect supported IMC units and its events

2017-04-06 Thread Stewart Smith
Madhavan Srinivasan writes: > --- a/arch/powerpc/platforms/powernv/opal-imc.c > +++ b/arch/powerpc/platforms/powernv/opal-imc.c > @@ -33,6 +33,388 @@ > +static void imc_pmu_setup(struct device_node *parent) > +{ > + struct device_node *child; > + int pmu_count = 0, rc = 0; > + const

Re: [PATCH v6 03/11] powerpc/powernv: Detect supported IMC units and its events

2017-04-05 Thread Madhavan Srinivasan
On Tuesday 04 April 2017 07:11 AM, Daniel Axtens wrote: Madhavan Srinivasan writes: From: Hemant Kumar Parse device tree to detect IMC units. Traverse through each IMC unit node to find supported events and corresponding unit/scale

Re: [PATCH v6 03/11] powerpc/powernv: Detect supported IMC units and its events

2017-04-05 Thread Madhavan Srinivasan
On Tuesday 04 April 2017 07:11 AM, Daniel Axtens wrote: Madhavan Srinivasan writes: From: Hemant Kumar Parse device tree to detect IMC units. Traverse through each IMC unit node to find supported events and corresponding unit/scale files (if any). Here is the DTS file for reference:

Re: [PATCH v6 03/11] powerpc/powernv: Detect supported IMC units and its events

2017-04-03 Thread Daniel Axtens
Madhavan Srinivasan writes: > From: Hemant Kumar > > Parse device tree to detect IMC units. Traverse through each IMC unit > node to find supported events and corresponding unit/scale files (if any). > > Here is the DTS file for reference: >

Re: [PATCH v6 03/11] powerpc/powernv: Detect supported IMC units and its events

2017-04-03 Thread Daniel Axtens
Madhavan Srinivasan writes: > From: Hemant Kumar > > Parse device tree to detect IMC units. Traverse through each IMC unit > node to find supported events and corresponding unit/scale files (if any). > > Here is the DTS file for reference: > > >

[PATCH v6 03/11] powerpc/powernv: Detect supported IMC units and its events

2017-04-03 Thread Madhavan Srinivasan
From: Hemant Kumar Parse device tree to detect IMC units. Traverse through each IMC unit node to find supported events and corresponding unit/scale files (if any). Here is the DTS file for reference:

[PATCH v6 03/11] powerpc/powernv: Detect supported IMC units and its events

2017-04-03 Thread Madhavan Srinivasan
From: Hemant Kumar Parse device tree to detect IMC units. Traverse through each IMC unit node to find supported events and corresponding unit/scale files (if any). Here is the DTS file for reference: https://github.com/open-power/ima-catalog/blob/master/81E00612.4E0100.dts The device