Re: [PATCH v1 8/9] powerpc/powernv: Add OPAL support for Nest PMU

2015-06-04 Thread Madhavan Srinivasan
On Wednesday 03 June 2015 06:24 AM, Daniel Axtens wrote: +int64_t opal_nest_ima_control(uint32_t value); If I'm understanding things correctly, you call this function in patch 3. Quoting from that patch: +static void nest_init(void *dummy) +{ + opal_nest_ima_control(P8_NEST_ENGINE_START

Re: [PATCH v1 8/9] powerpc/powernv: Add OPAL support for Nest PMU

2015-06-02 Thread Daniel Axtens
> +int64_t opal_nest_ima_control(uint32_t value); If I'm understanding things correctly, you call this function in patch 3. Quoting from that patch: > +static void nest_init(void *dummy) > +{ > + opal_nest_ima_control(P8_NEST_ENGINE_START); > +} Does this patch need to be moved earlier in th

[PATCH v1 8/9] powerpc/powernv: Add OPAL support for Nest PMU

2015-06-02 Thread Madhavan Srinivasan
Nest Counters can be configured via PORE Engine and OPAL provides an interface to start/stop it. OPAL side patches are posted in the skiboot mailing. Cc: Stewart Smith Cc: Jeremy Kerr Cc: Benjamin Herrenschmidt Cc: Michael Ellerman Cc: Paul Mackerras Cc: Sukadev Bhattiprolu Cc: Anshuman Kha